feat(ui): create ViewComponents library to enable building class and view files components
- replace some helper components and forms with class components in the ui - create viewcomponents service and load the component function to be used in views
Showing
- app/Config/Autoload.php 2 additions, 1 deletionapp/Config/Autoload.php
- app/Helpers/components_helper.php 9 additions, 22 deletionsapp/Helpers/components_helper.php
- app/Helpers/form_helper.php 1 addition, 105 deletionsapp/Helpers/form_helper.php
- app/Libraries/ViewComponents/Component.php 36 additions, 0 deletionsapp/Libraries/ViewComponents/Component.php
- app/Libraries/ViewComponents/ComponentInterface.php 10 additions, 0 deletionsapp/Libraries/ViewComponents/ComponentInterface.php
- app/Libraries/ViewComponents/ComponentLoader.php 86 additions, 0 deletionsapp/Libraries/ViewComponents/ComponentLoader.php
- app/Libraries/ViewComponents/Config/Services.php 30 additions, 0 deletionsapp/Libraries/ViewComponents/Config/Services.php
- app/Libraries/ViewComponents/Config/ViewComponents.php 16 additions, 0 deletionsapp/Libraries/ViewComponents/Config/ViewComponents.php
- app/Libraries/ViewComponents/Exceptions/ComponentNotFoundException.php 12 additions, 0 deletions.../ViewComponents/Exceptions/ComponentNotFoundException.php
- app/Libraries/ViewComponents/Helpers/view_components_helper.php 28 additions, 0 deletions...braries/ViewComponents/Helpers/view_components_helper.php
- app/Resources/js/modules/xml-editor.ts 4 additions, 0 deletionsapp/Resources/js/modules/xml-editor.ts
- app/View/Components/Button.php 98 additions, 0 deletionsapp/View/Components/Button.php
- app/View/Components/Forms/Input.php 15 additions, 0 deletionsapp/View/Components/Forms/Input.php
- app/View/Components/Forms/Label.php 42 additions, 0 deletionsapp/View/Components/Forms/Label.php
- app/View/Components/Forms/MarkdownEditor.php 78 additions, 0 deletionsapp/View/Components/Forms/MarkdownEditor.php
- app/View/Components/Forms/MultiSelect.php 31 additions, 0 deletionsapp/View/Components/Forms/MultiSelect.php
- app/View/Components/Forms/Select.php 31 additions, 0 deletionsapp/View/Components/Forms/Select.php
- app/View/Components/Forms/Toggler.php 49 additions, 0 deletionsapp/View/Components/Forms/Toggler.php
- app/View/Components/Forms/XMLEditor.php 30 additions, 0 deletionsapp/View/Components/Forms/XMLEditor.php
- app/View/Components/Icon.php 27 additions, 0 deletionsapp/View/Components/Icon.php
Loading
Please register or sign in to comment