Jelajahi Sumber

cleanup pages

andre 2 tahun lalu
induk
melakukan
c73ed213c0

+ 1 - 14
app/UI/Client/Ressource/Forms/AddRessourceForm.php

@@ -1,28 +1,15 @@
 <?php
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
-use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Models\ClassOfService;
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Repository\ClassOfServices;
+
 use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
 use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Forms\SortedFieldForm;
-use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\RowSection;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\RessourceDataProvider;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Sections\AdditionalSection;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Sections\GeneralSection;
-use ThurData\Servers\KerioEmail\App\Validators\PasswordsValidator;
-use ThurData\Servers\KerioEmail\App\Validators\RepeatPasswordValidator;
-use function ThurData\Servers\KerioEmail\Core\Helper\di;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\BaseForm;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Password;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\HalfPageSection;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\InputGroup;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\InputGroupElements;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\RawSection;
 
 /**
  *

+ 0 - 2
app/UI/Client/Ressource/Forms/ChangePasswordForm.php

@@ -2,7 +2,6 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\EditRessourceDataProvider;
 use ThurData\Servers\KerioEmail\App\Validators\PasswordsValidator;
 use ThurData\Servers\KerioEmail\App\Validators\RepeatPasswordValidator;
@@ -10,7 +9,6 @@ use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\BaseForm;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Password;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
 
 /**
  *

+ 0 - 3
app/UI/Client/Ressource/Forms/ChangeStatusForm.php

@@ -2,14 +2,11 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
 
-
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\RessourceDataProvider;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\EditRessourceDataProvider;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\BaseForm;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
 
 /**
  *

+ 0 - 9
app/UI/Client/Ressource/Forms/EditRessourceForm.php

@@ -2,24 +2,15 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
 
-
-use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Repository\ClassOfServices;
 use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
 use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Forms\SortedFieldForm;
-use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\RowSection;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\RessourceDataProvider;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\EditRessourceDataProvider;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Sections\EditAdditionalSection;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Sections\EditGeneralSection;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\HalfPageSection;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\InputGroup;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\InputGroupElements;
 
 /**

+ 0 - 3
app/UI/Client/Ressource/Forms/MassChangeStatusForm.php

@@ -9,12 +9,9 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
 
-
-use ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Providers\DeleteListDataProvider;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\RessourceDataProvider;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\BaseForm;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
 

+ 0 - 4
app/UI/Client/Ressource/Forms/MassDeleteRessourceForm.php

@@ -9,13 +9,9 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms;
 
-
-use ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Providers\DeleteListDataProvider;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Providers\DeleteRessourceDataProvider;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\BaseForm;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
 
 class MassDeleteRessourceForm extends BaseForm implements ClientArea
 {

+ 1 - 1
app/UI/Client/Ressource/Modals/AddRessourceModal.php

@@ -1,6 +1,6 @@
 <?php
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
-use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Modals\ModalExtendedTabsEdit;
+
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\AddRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;

+ 0 - 2
app/UI/Client/Ressource/Modals/ChangePasswordModal.php

@@ -2,9 +2,7 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\ChangePasswordForm;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\EditRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
 

+ 0 - 3
app/UI/Client/Ressource/Modals/ChangeStatusModal.php

@@ -9,11 +9,8 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\ChangeStatusForm;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\EditRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
 
 class ChangeStatusModal extends BaseEditModal implements ClientArea

+ 0 - 2
app/UI/Client/Ressource/Modals/DeleteRessourceModal.php

@@ -2,9 +2,7 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\DeleteRessourceForm;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\EditRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;
 

+ 0 - 3
app/UI/Client/Ressource/Modals/EditRessourceModal.php

@@ -2,9 +2,6 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
-use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Modals\ModalExtendedTabsEdit;
-use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\AddRessourceForm;
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\EditRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;

+ 0 - 2
app/UI/Client/Ressource/Modals/MassChangeStatusModal.php

@@ -9,11 +9,9 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\MassChangeStatusForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;
 
 class MassChangeStatusModal extends BaseEditModal implements ClientArea
 {

+ 0 - 1
app/UI/Client/Ressource/Modals/MassDeleteRessourceModal.php

@@ -9,7 +9,6 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals;
 
-
 use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Forms\MassDeleteRessourceForm;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;