@mediusinc/mng-commons 0.0.1-rc.3 → 0.2.1-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +16 -0
- package/README.md +96 -1
- package/assets/i18n/en.json +156 -0
- package/assets/i18n/sl.json +156 -0
- package/assets/images/effect-ondark.png +0 -0
- package/assets/images/effect-ondark.svg +38 -0
- package/assets/images/effect-ondark@2x.png +0 -0
- package/assets/images/effect-onlight.png +0 -0
- package/assets/images/effect-onlight.svg +38 -0
- package/assets/images/effect-onlight@2x.png +0 -0
- package/assets/images/pages/exception-ondark.png +0 -0
- package/assets/images/pages/exception-onlight.png +0 -0
- package/assets/images/pages/login-ondark.png +0 -0
- package/assets/images/pages/login-onlight.png +0 -0
- package/assets/templates/tableview-route.component.html +5 -0
- package/karma.conf.js +51 -0
- package/ng-package.json +14 -0
- package/package.json +3 -24
- package/scss/common/layout/_breadcrumb.scss +96 -0
- package/scss/common/layout/_config.scss +101 -0
- package/scss/common/layout/_dashboard.scss +16 -0
- package/scss/common/layout/_exception.scss +131 -0
- package/scss/common/layout/_footer.scss +29 -0
- package/scss/common/layout/_help.scss +157 -0
- package/scss/common/layout/_inlinemenu.scss +55 -0
- package/scss/common/layout/_invoice.scss +176 -0
- package/scss/common/layout/_landing.scss +639 -0
- package/scss/common/layout/_layout_dark.scss +23 -0
- package/scss/common/layout/_layout_light.scss +23 -0
- package/scss/common/layout/_loader.scss +18 -0
- package/scss/common/layout/_login.scss +106 -0
- package/scss/common/layout/_main.scss +45 -0
- package/scss/common/layout/_mixins.scss +214 -0
- package/scss/common/layout/_rightmenu.scss +125 -0
- package/scss/common/layout/_topbar.scss +189 -0
- package/scss/common/layout/_typography.scss +63 -0
- package/scss/common/layout/_utils.scss +96 -0
- package/scss/common/layout/_widgets.scss +391 -0
- package/scss/common/layout/menu/_menu.scss +7 -0
- package/scss/common/layout/menu/_menu_common.scss +183 -0
- package/scss/common/layout/menu/_menu_overlay.scss +52 -0
- package/scss/common/layout/menu/_menu_sidebar.scss +232 -0
- package/scss/common/layout/menu/_menu_slim.scss +138 -0
- package/scss/common/layout/menu/_menu_static.scss +70 -0
- package/scss/common/layout/menu/_menu_theme.scss +365 -0
- package/scss/common/theme/_theme_dark.scss +5 -0
- package/scss/common/theme/_theme_light.scss +5 -0
- package/scss/common/theme/designer/_colors.scss +18 -0
- package/scss/common/theme/designer/_common.scss +40 -0
- package/scss/common/theme/designer/_components.scss +101 -0
- package/scss/common/theme/designer/_mixins.scss +174 -0
- package/scss/common/theme/designer/components/button/_button.scss +560 -0
- package/scss/common/theme/designer/components/button/_speeddial.scss +79 -0
- package/scss/common/theme/designer/components/button/_splitbutton.scss +1 -0
- package/scss/common/theme/designer/components/data/_carousel.scss +37 -0
- package/scss/common/theme/designer/components/data/_datatable.scss +266 -0
- package/scss/common/theme/designer/components/data/_dataview.scss +55 -0
- package/scss/common/theme/designer/components/data/_filter.scss +138 -0
- package/scss/common/theme/designer/components/data/_fullcalendar.scss +324 -0
- package/scss/common/theme/designer/components/data/_orderlist.scss +91 -0
- package/scss/common/theme/designer/components/data/_organizationchart.scss +50 -0
- package/scss/common/theme/designer/components/data/_paginator.scss +83 -0
- package/scss/common/theme/designer/components/data/_picklist.scss +91 -0
- package/scss/common/theme/designer/components/data/_timeline.scss +38 -0
- package/scss/common/theme/designer/components/data/_tree.scss +144 -0
- package/scss/common/theme/designer/components/data/_treetable.scss +242 -0
- package/scss/common/theme/designer/components/data/_virtualscroller.scss +28 -0
- package/scss/common/theme/designer/components/file/_fileupload.scss +58 -0
- package/scss/common/theme/designer/components/input/_autocomplete.scss +103 -0
- package/scss/common/theme/designer/components/input/_calendar.scss +212 -0
- package/scss/common/theme/designer/components/input/_cascadeselect.scss +98 -0
- package/scss/common/theme/designer/components/input/_checkbox.scss +85 -0
- package/scss/common/theme/designer/components/input/_chips.scss +41 -0
- package/scss/common/theme/designer/components/input/_colorpicker.scss +19 -0
- package/scss/common/theme/designer/components/input/_dropdown.scss +136 -0
- package/scss/common/theme/designer/components/input/_editor.scss +122 -0
- package/scss/common/theme/designer/components/input/_inputgroup.scss +69 -0
- package/scss/common/theme/designer/components/input/_inputmask.scss +3 -0
- package/scss/common/theme/designer/components/input/_inputnumber.scss +3 -0
- package/scss/common/theme/designer/components/input/_inputswitch.scss +58 -0
- package/scss/common/theme/designer/components/input/_inputtext.scss +97 -0
- package/scss/common/theme/designer/components/input/_listbox.scss +82 -0
- package/scss/common/theme/designer/components/input/_multiselect.scss +164 -0
- package/scss/common/theme/designer/components/input/_password.scss +33 -0
- package/scss/common/theme/designer/components/input/_radiobutton.scss +78 -0
- package/scss/common/theme/designer/components/input/_rating.scss +48 -0
- package/scss/common/theme/designer/components/input/_selectbutton.scss +50 -0
- package/scss/common/theme/designer/components/input/_slider.scss +69 -0
- package/scss/common/theme/designer/components/input/_togglebutton.scss +48 -0
- package/scss/common/theme/designer/components/input/_treeselect.scss +89 -0
- package/scss/common/theme/designer/components/menu/_breadcrumb.scss +42 -0
- package/scss/common/theme/designer/components/menu/_contextmenu.scss +50 -0
- package/scss/common/theme/designer/components/menu/_dock.scss +51 -0
- package/scss/common/theme/designer/components/menu/_megamenu.scss +102 -0
- package/scss/common/theme/designer/components/menu/_menu.scss +41 -0
- package/scss/common/theme/designer/components/menu/_menubar.scss +179 -0
- package/scss/common/theme/designer/components/menu/_panelmenu.scss +137 -0
- package/scss/common/theme/designer/components/menu/_slidemenu.scss +55 -0
- package/scss/common/theme/designer/components/menu/_steps.scss +55 -0
- package/scss/common/theme/designer/components/menu/_tabmenu.scss +49 -0
- package/scss/common/theme/designer/components/menu/_tieredmenu.scss +56 -0
- package/scss/common/theme/designer/components/messages/_inlinemessage.scss +64 -0
- package/scss/common/theme/designer/components/messages/_message.scss +102 -0
- package/scss/common/theme/designer/components/messages/_toast.scss +95 -0
- package/scss/common/theme/designer/components/misc/_avatar.scss +30 -0
- package/scss/common/theme/designer/components/misc/_badge.scss +48 -0
- package/scss/common/theme/designer/components/misc/_blockui.scss +3 -0
- package/scss/common/theme/designer/components/misc/_chip.scss +36 -0
- package/scss/common/theme/designer/components/misc/_inplace.scss +17 -0
- package/scss/common/theme/designer/components/misc/_progressbar.scss +17 -0
- package/scss/common/theme/designer/components/misc/_scrolltop.scss +20 -0
- package/scss/common/theme/designer/components/misc/_skeleton.scss +8 -0
- package/scss/common/theme/designer/components/misc/_tag.scss +33 -0
- package/scss/common/theme/designer/components/misc/_terminal.scss +11 -0
- package/scss/common/theme/designer/components/multimedia/_galleria.scss +141 -0
- package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +67 -0
- package/scss/common/theme/designer/components/overlay/_dialog.scss +63 -0
- package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +62 -0
- package/scss/common/theme/designer/components/overlay/_sidebar.scss +27 -0
- package/scss/common/theme/designer/components/overlay/_tooltip.scss +33 -0
- package/scss/common/theme/designer/components/panel/_accordion.scss +119 -0
- package/scss/common/theme/designer/components/panel/_card.scss +30 -0
- package/scss/common/theme/designer/components/panel/_divider.scss +31 -0
- package/scss/common/theme/designer/components/panel/_fieldset.scss +47 -0
- package/scss/common/theme/designer/components/panel/_panel.scss +42 -0
- package/scss/common/theme/designer/components/panel/_scrollpanel.scss +6 -0
- package/scss/common/theme/designer/components/panel/_splitter.scss +19 -0
- package/scss/common/theme/designer/components/panel/_tabview.scss +66 -0
- package/scss/common/theme/designer/components/panel/_toolbar.scss +10 -0
- package/scss/common/theme/extensions/_button.scss +99 -0
- package/scss/common/theme/extensions/_calendar.scss +18 -0
- package/scss/common/theme/extensions/_card.scss +6 -0
- package/scss/common/theme/extensions/_carousel.scss +13 -0
- package/scss/common/theme/extensions/_checkbox.scss +10 -0
- package/scss/common/theme/extensions/_contextmenu.scss +16 -0
- package/scss/common/theme/extensions/_datatable.scss +83 -0
- package/scss/common/theme/extensions/_dialog.scss +14 -0
- package/scss/common/theme/extensions/_fieldset.scss +6 -0
- package/scss/common/theme/extensions/_galleria.scss +25 -0
- package/scss/common/theme/extensions/_megamenu.scss +18 -0
- package/scss/common/theme/extensions/_menu.scss +14 -0
- package/scss/common/theme/extensions/_menubar.scss +14 -0
- package/scss/common/theme/extensions/_orderlist.scss +38 -0
- package/scss/common/theme/extensions/_paginator.scss +19 -0
- package/scss/common/theme/extensions/_panelmenu.scss +20 -0
- package/scss/common/theme/extensions/_password.scss +5 -0
- package/scss/common/theme/extensions/_picklist.scss +38 -0
- package/scss/common/theme/extensions/_radiobutton.scss +8 -0
- package/scss/common/theme/extensions/_sidebar.scss +19 -0
- package/scss/common/theme/extensions/_slidemenu.scss +10 -0
- package/scss/common/theme/extensions/_slider.scss +6 -0
- package/scss/common/theme/extensions/_steps.scss +50 -0
- package/scss/common/theme/extensions/_tieredmenu.scss +14 -0
- package/scss/common/theme/extensions/_toast.scss +6 -0
- package/scss/common/theme/extensions/_tree.scss +36 -0
- package/scss/common/theme/extensions/_treetable.scss +35 -0
- package/scss/common/theme/extensions/_vendor_extensions.scss +27 -0
- package/scss/common/variables/layout/_common.scss +12 -0
- package/scss/common/variables/layout/_layout_dark.scss +71 -0
- package/scss/common/variables/layout/_layout_light.scss +71 -0
- package/scss/common/variables/theme/_theme_dark.scss +897 -0
- package/scss/common/variables/theme/_theme_light.scss +885 -0
- package/scss/layout/default/_mng-variables-layout-dark.scss +2 -0
- package/scss/layout/default/_mng-variables-layout-light.scss +2 -0
- package/scss/layout/default/layout-dark.scss +2 -0
- package/scss/layout/default/layout-light.scss +2 -0
- package/scss/mng-commons-dark.scss +5 -0
- package/scss/mng-commons-light.scss +5 -0
- package/scss/mng-overrides/_layout_action.scss +3 -0
- package/scss/mng-overrides/_layout_dialog.scss +34 -0
- package/scss/mng-overrides/_layout_forms.scss +31 -0
- package/scss/mng-overrides/_layout_radio.scss +3 -0
- package/scss/mng-overrides/_layout_styles.scss +4 -0
- package/scss/mng-overrides/_theme_datatable.scss +9 -0
- package/scss/mng-overrides/_theme_dialog.scss +9 -0
- package/scss/mng-overrides/_theme_dropdown.scss +6 -0
- package/scss/mng-overrides/_theme_styles.scss +9 -0
- package/scss/mng-overrides/_theme_tableview.scss +94 -0
- package/scss/theme/default/_mng-variables-theme-dark.scss +8 -0
- package/scss/theme/default/_mng-variables-theme-light.scss +8 -0
- package/scss/theme/default/theme-dark.scss +2 -0
- package/scss/theme/default/theme-light.scss +2 -0
- package/src/lib/api/models/builders/query-param.builder.ts +54 -0
- package/src/lib/api/models/filter-match-type.model.ts +25 -0
- package/src/lib/api/models/filter-param.model.ts +59 -0
- package/{lib/api/models/index.d.ts → src/lib/api/models/index.ts} +10 -8
- package/src/lib/api/models/mappers.ts +18 -0
- package/{lib/api/models/query-mode.model.d.ts → src/lib/api/models/query-mode.model.ts} +18 -16
- package/src/lib/api/models/query-param.model.ts +99 -0
- package/src/lib/api/models/query-result.model.ts +77 -0
- package/{lib/api/models/serialization.model.d.ts → src/lib/api/models/serialization.model.ts} +9 -8
- package/src/lib/api/services/crud-api.abstract.service.ts +113 -0
- package/src/lib/api/services/index.ts +1 -0
- package/{lib/api/utils/index.d.ts → src/lib/api/utils/index.ts} +2 -2
- package/src/lib/api/utils/medius-rest.util.ts +146 -0
- package/src/lib/api/utils/object-serializer.util.ts +227 -0
- package/src/lib/components/action/action.component.html +30 -0
- package/src/lib/components/action/action.component.ts +77 -0
- package/src/lib/components/action/dialog/action-dialog.component.html +26 -0
- package/src/lib/components/action/dialog/action-dialog.component.ts +171 -0
- package/{lib/components/action/index.d.ts → src/lib/components/action/index.ts} +3 -3
- package/src/lib/components/action/models/action-confirmation-service.model.ts +7 -0
- package/src/lib/components/action/models/action-execution.model.ts +81 -0
- package/src/lib/components/action/models/index.ts +2 -0
- package/src/lib/components/action/route/action-route.component.html +1 -0
- package/src/lib/components/action/route/action-route.component.ts +159 -0
- package/src/lib/components/form/autocomplete/autocomplete.component.html +16 -0
- package/src/lib/components/form/autocomplete/autocomplete.component.ts +113 -0
- package/src/lib/components/form/dropdown/dropdown.component.html +29 -0
- package/src/lib/components/form/dropdown/dropdown.component.ts +109 -0
- package/src/lib/components/form/editor/form-editor.component.html +5 -0
- package/src/lib/components/form/editor/form-editor.component.ts +149 -0
- package/src/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.html +7 -0
- package/src/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.ts +21 -0
- package/src/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.html +9 -0
- package/src/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.ts +22 -0
- package/src/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.html +8 -0
- package/src/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.ts +10 -0
- package/src/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.html +56 -0
- package/src/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.ts +22 -0
- package/src/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.html +13 -0
- package/src/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.scss +4 -0
- package/src/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.ts +114 -0
- package/src/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.html +37 -0
- package/src/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.ts +133 -0
- package/src/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.html +10 -0
- package/src/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.ts +10 -0
- package/{lib/components/form/formly/fields/index.d.ts → src/lib/components/form/formly/fields/index.ts} +7 -7
- package/src/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.html +7 -0
- package/src/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.ts +13 -0
- package/src/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.html +6 -0
- package/src/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.ts +13 -0
- package/{lib/components/form/formly/wrappers/index.d.ts → src/lib/components/form/formly/wrappers/index.ts} +2 -2
- package/src/lib/components/form/index.ts +3 -0
- package/src/lib/components/form/models/form-editor.event.ts +7 -0
- package/src/lib/components/form/models/index.ts +1 -0
- package/src/lib/components/layout/breadcrumb.component.html +5 -0
- package/src/lib/components/layout/breadcrumb.component.ts +12 -0
- package/src/lib/components/layout/footer.component.html +7 -0
- package/src/lib/components/layout/footer.component.ts +15 -0
- package/src/lib/components/layout/index.ts +6 -0
- package/src/lib/components/layout/main-layout.component.html +26 -0
- package/src/lib/components/layout/main-layout.component.ts +54 -0
- package/src/lib/components/layout/menu-item.component.html +41 -0
- package/src/lib/components/layout/menu-item.component.ts +170 -0
- package/src/lib/components/layout/menu.component.html +27 -0
- package/src/lib/components/layout/menu.component.ts +17 -0
- package/src/lib/components/layout/services/index.ts +1 -0
- package/src/lib/components/layout/services/main-layout.component.service.ts +231 -0
- package/src/lib/components/layout/topbar.component.html +38 -0
- package/src/lib/components/layout/topbar.component.ts +62 -0
- package/{lib/components/tableview/index.d.ts → src/lib/components/tableview/index.ts} +5 -3
- package/src/lib/components/tableview/models/index.ts +1 -0
- package/src/lib/components/tableview/models/table.event.ts +22 -0
- package/src/lib/components/tableview/route/tableview-route.abstract.component.ts +31 -0
- package/src/lib/components/tableview/services/index.ts +1 -0
- package/src/lib/components/tableview/services/tableview.component.service.ts +22 -0
- package/src/lib/components/tableview/table/column-filter/column-filter.component.html +36 -0
- package/src/lib/components/tableview/table/column-filter/column-filter.component.ts +70 -0
- package/src/lib/components/tableview/table/column-value/column-value.component.html +14 -0
- package/src/lib/components/tableview/table/column-value/column-value.component.ts +19 -0
- package/src/lib/components/tableview/table/table.component.html +110 -0
- package/src/lib/components/tableview/table/table.component.ts +327 -0
- package/src/lib/components/tableview/tableview.component.html +37 -0
- package/src/lib/components/tableview/tableview.component.ts +78 -0
- package/src/lib/config/formly.config.ts +154 -0
- package/{lib/config/index.d.ts → src/lib/config/index.ts} +1 -1
- package/{lib/models/config/index.d.ts → src/lib/config/models/index.ts} +1 -1
- package/src/lib/config/models/mng-config.model.ts +35 -0
- package/src/lib/data-providers/base.data-provider.ts +42 -0
- package/src/lib/data-providers/editor.data-provider.ts +60 -0
- package/src/lib/data-providers/index.ts +5 -0
- package/src/lib/data-providers/lookup.data-provider.ts +29 -0
- package/src/lib/data-providers/table.data-provider.ts +8 -0
- package/src/lib/data-providers/tableview.data-provider.ts +29 -0
- package/src/lib/descriptors/action.descriptor.ts +439 -0
- package/src/lib/descriptors/editor.descriptor.ts +880 -0
- package/src/lib/descriptors/field.validator.ts +35 -0
- package/src/lib/descriptors/index.ts +7 -0
- package/src/lib/descriptors/lookup.descriptor.ts +20 -0
- package/src/lib/descriptors/model.descriptor.ts +47 -0
- package/src/lib/descriptors/table.descriptor.ts +514 -0
- package/src/lib/descriptors/tableview.descriptor.ts +180 -0
- package/src/lib/directives/component.directive.ts +18 -0
- package/src/lib/directives/index.ts +2 -0
- package/src/lib/directives/template.directive.ts +24 -0
- package/src/lib/mng-commons.module.ts +240 -0
- package/src/lib/models/index.ts +2 -0
- package/src/lib/models/router.model.ts +16 -0
- package/src/lib/models/user.model.ts +9 -0
- package/src/lib/pipes/boolean.pipe.ts +17 -0
- package/{lib/pipes/index.d.ts → src/lib/pipes/index.ts} +2 -1
- package/src/lib/pipes/property-path.pipe.ts +30 -0
- package/src/lib/services/action.service.ts +310 -0
- package/src/lib/services/commons.service.ts +407 -0
- package/src/lib/services/configuration.service.ts +98 -0
- package/{lib/services/index.d.ts → src/lib/services/index.ts} +4 -6
- package/src/lib/services/navigation.service.ts +42 -0
- package/src/lib/services/providers/commons-init.provider.ts +5 -0
- package/src/lib/services/providers/config-service.provider.ts +22 -0
- package/src/lib/services/providers/formly-config.provider.ts +39 -0
- package/{lib/services/providers/index.d.ts → src/lib/services/providers/index.ts} +3 -2
- package/src/lib/services/tokens/browser-storage.token.ts +9 -0
- package/src/lib/services/tokens/index.ts +2 -0
- package/src/lib/services/tokens/module-config.token.ts +5 -0
- package/{lib/models/types/index.d.ts → src/lib/types/index.ts} +2 -2
- package/src/lib/types/type.decorator.ts +7 -0
- package/src/lib/types/type.model.ts +12 -0
- package/src/lib/utils/editor-formly.util.ts +193 -0
- package/src/lib/utils/i18n.util.ts +148 -0
- package/{lib/utils/index.d.ts → src/lib/utils/index.ts} +5 -4
- package/src/lib/utils/model.util.ts +66 -0
- package/src/lib/utils/toast.util.ts +49 -0
- package/src/lib/utils/type.util.ts +44 -0
- package/{public-api.d.ts → src/public-api.ts} +42 -22
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/lib/api/models/builders/query-param.builder.mjs +0 -49
- package/esm2020/lib/api/models/filter-match-type.model.mjs +0 -24
- package/esm2020/lib/api/models/filter-param.model.mjs +0 -46
- package/esm2020/lib/api/models/index.mjs +0 -9
- package/esm2020/lib/api/models/mappers.mjs +0 -17
- package/esm2020/lib/api/models/query-mode.model.mjs +0 -19
- package/esm2020/lib/api/models/query-param.model.mjs +0 -69
- package/esm2020/lib/api/models/query-result.model.mjs +0 -45
- package/esm2020/lib/api/models/serialization.model.mjs +0 -2
- package/esm2020/lib/api/services/abstract-crud-api.service.mjs +0 -72
- package/esm2020/lib/api/services/index.mjs +0 -2
- package/esm2020/lib/api/utils/index.mjs +0 -3
- package/esm2020/lib/api/utils/medius-rest.util.mjs +0 -70
- package/esm2020/lib/api/utils/object-serializer.util.mjs +0 -226
- package/esm2020/lib/components/action/action.component.mjs +0 -63
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +0 -148
- package/esm2020/lib/components/action/index.mjs +0 -4
- package/esm2020/lib/components/action/route/action-route.component.mjs +0 -144
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +0 -140
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +0 -58
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +0 -51
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +0 -16
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +0 -26
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +0 -94
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +0 -124
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +0 -17
- package/esm2020/lib/components/form/formly/fields/index.mjs +0 -8
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +0 -17
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +0 -16
- package/esm2020/lib/components/form/formly/wrappers/index.mjs +0 -3
- package/esm2020/lib/components/form/index.mjs +0 -2
- package/esm2020/lib/components/layout/app.breadcrumb.component.mjs +0 -27
- package/esm2020/lib/components/layout/app.footer.component.mjs +0 -35
- package/esm2020/lib/components/layout/app.main.component.mjs +0 -25
- package/esm2020/lib/components/layout/app.main.component.service.mjs +0 -133
- package/esm2020/lib/components/layout/app.menu.component.mjs +0 -38
- package/esm2020/lib/components/layout/app.menuitem.component.mjs +0 -243
- package/esm2020/lib/components/layout/app.topbar.component.mjs +0 -135
- package/esm2020/lib/components/layout/index.mjs +0 -7
- package/esm2020/lib/components/tableview/index.mjs +0 -4
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +0 -31
- package/esm2020/lib/components/tableview/table/table.component.mjs +0 -173
- package/esm2020/lib/components/tableview/tableview.component.mjs +0 -82
- package/esm2020/lib/components/tableview/tableview.component.service.mjs +0 -18
- package/esm2020/lib/config/formly.config.mjs +0 -165
- package/esm2020/lib/config/index.mjs +0 -2
- package/esm2020/lib/directives/index.mjs +0 -2
- package/esm2020/lib/directives/template.directive.mjs +0 -25
- package/esm2020/lib/mng-commons.module.mjs +0 -338
- package/esm2020/lib/models/action/action.model.mjs +0 -58
- package/esm2020/lib/models/action/index.mjs +0 -2
- package/esm2020/lib/models/config/index.mjs +0 -2
- package/esm2020/lib/models/config/mng-config.model.mjs +0 -3
- package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +0 -283
- package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +0 -647
- package/esm2020/lib/models/descriptors/index.mjs +0 -6
- package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +0 -34
- package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +0 -123
- package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +0 -124
- package/esm2020/lib/models/events/editor-event.model.mjs +0 -14
- package/esm2020/lib/models/events/index.mjs +0 -3
- package/esm2020/lib/models/events/table-event.model.mjs +0 -16
- package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +0 -2
- package/esm2020/lib/models/interfaces/index.mjs +0 -2
- package/esm2020/lib/models/providers/data-provider.model.mjs +0 -86
- package/esm2020/lib/models/providers/index.mjs +0 -2
- package/esm2020/lib/models/types/index.mjs +0 -3
- package/esm2020/lib/models/types/type.decorator.mjs +0 -8
- package/esm2020/lib/models/types/type.model.mjs +0 -2
- package/esm2020/lib/models/validators/field.validator.mjs +0 -21
- package/esm2020/lib/models/validators/index.mjs +0 -2
- package/esm2020/lib/pipes/index.mjs +0 -2
- package/esm2020/lib/pipes/property-path.pipe.mjs +0 -36
- package/esm2020/lib/services/action.service.mjs +0 -239
- package/esm2020/lib/services/breadcrumb.service.mjs +0 -21
- package/esm2020/lib/services/configuration.service.mjs +0 -77
- package/esm2020/lib/services/index.mjs +0 -7
- package/esm2020/lib/services/menu.service.mjs +0 -26
- package/esm2020/lib/services/navigation.service.mjs +0 -49
- package/esm2020/lib/services/providers/config-service.provider.mjs +0 -12
- package/esm2020/lib/services/providers/formly-config.provider.mjs +0 -31
- package/esm2020/lib/services/providers/index.mjs +0 -3
- package/esm2020/lib/services/settings.service.mjs +0 -40
- package/esm2020/lib/utils/editor-formly.util.mjs +0 -165
- package/esm2020/lib/utils/i18n.util.mjs +0 -75
- package/esm2020/lib/utils/index.mjs +0 -5
- package/esm2020/lib/utils/model.util.mjs +0 -38
- package/esm2020/lib/utils/type.util.mjs +0 -43
- package/esm2020/mediusinc-mng-commons.mjs +0 -5
- package/esm2020/public-api.mjs +0 -33
- package/fesm2015/mediusinc-mng-commons.mjs +0 -5056
- package/fesm2015/mediusinc-mng-commons.mjs.map +0 -1
- package/fesm2020/mediusinc-mng-commons.mjs +0 -5012
- package/fesm2020/mediusinc-mng-commons.mjs.map +0 -1
- package/lib/api/models/builders/query-param.builder.d.ts +0 -11
- package/lib/api/models/filter-match-type.model.d.ts +0 -21
- package/lib/api/models/filter-param.model.d.ts +0 -23
- package/lib/api/models/mappers.d.ts +0 -6
- package/lib/api/models/query-param.model.d.ts +0 -31
- package/lib/api/models/query-result.model.d.ts +0 -36
- package/lib/api/services/abstract-crud-api.service.d.ts +0 -23
- package/lib/api/services/index.d.ts +0 -1
- package/lib/api/utils/medius-rest.util.d.ts +0 -6
- package/lib/api/utils/object-serializer.util.d.ts +0 -30
- package/lib/components/action/action.component.d.ts +0 -36
- package/lib/components/action/dialog/action-dialog.component.d.ts +0 -48
- package/lib/components/action/route/action-route.component.d.ts +0 -32
- package/lib/components/form/editor/form-editor.component.d.ts +0 -37
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +0 -21
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +0 -19
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +0 -6
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +0 -12
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +0 -17
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +0 -36
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +0 -6
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +0 -8
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +0 -8
- package/lib/components/form/index.d.ts +0 -1
- package/lib/components/layout/app.breadcrumb.component.d.ts +0 -16
- package/lib/components/layout/app.footer.component.d.ts +0 -8
- package/lib/components/layout/app.main.component.d.ts +0 -12
- package/lib/components/layout/app.main.component.service.d.ts +0 -40
- package/lib/components/layout/app.menu.component.d.ts +0 -14
- package/lib/components/layout/app.menuitem.component.d.ts +0 -31
- package/lib/components/layout/app.topbar.component.d.ts +0 -16
- package/lib/components/layout/index.d.ts +0 -6
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +0 -15
- package/lib/components/tableview/table/table.component.d.ts +0 -47
- package/lib/components/tableview/tableview.component.d.ts +0 -36
- package/lib/components/tableview/tableview.component.service.d.ts +0 -11
- package/lib/config/formly.config.d.ts +0 -8
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/template.directive.d.ts +0 -11
- package/lib/mng-commons.module.d.ts +0 -74
- package/lib/models/action/action.model.d.ts +0 -53
- package/lib/models/action/index.d.ts +0 -1
- package/lib/models/config/mng-config.model.d.ts +0 -19
- package/lib/models/descriptors/action-descriptor.model.d.ts +0 -124
- package/lib/models/descriptors/editor-descriptor.model.d.ts +0 -248
- package/lib/models/descriptors/index.d.ts +0 -5
- package/lib/models/descriptors/model-descriptor.model.d.ts +0 -15
- package/lib/models/descriptors/table-descriptor.model.d.ts +0 -45
- package/lib/models/descriptors/tableview-descriptor.model.d.ts +0 -38
- package/lib/models/events/editor-event.model.d.ts +0 -11
- package/lib/models/events/index.d.ts +0 -2
- package/lib/models/events/table-event.model.d.ts +0 -17
- package/lib/models/interfaces/confirmation-service.model.d.ts +0 -6
- package/lib/models/interfaces/index.d.ts +0 -1
- package/lib/models/providers/data-provider.model.d.ts +0 -62
- package/lib/models/providers/index.d.ts +0 -1
- package/lib/models/types/type.decorator.d.ts +0 -2
- package/lib/models/types/type.model.d.ts +0 -10
- package/lib/models/validators/field.validator.d.ts +0 -18
- package/lib/models/validators/index.d.ts +0 -1
- package/lib/pipes/property-path.pipe.d.ts +0 -7
- package/lib/services/action.service.d.ts +0 -92
- package/lib/services/breadcrumb.service.d.ts +0 -9
- package/lib/services/configuration.service.d.ts +0 -35
- package/lib/services/menu.service.d.ts +0 -11
- package/lib/services/navigation.service.d.ts +0 -14
- package/lib/services/providers/config-service.provider.d.ts +0 -5
- package/lib/services/providers/formly-config.provider.d.ts +0 -4
- package/lib/services/settings.service.d.ts +0 -18
- package/lib/utils/editor-formly.util.d.ts +0 -9
- package/lib/utils/i18n.util.d.ts +0 -14
- package/lib/utils/model.util.d.ts +0 -5
- package/lib/utils/type.util.d.ts +0 -15
- package/mediusinc-mng-commons-0.0.1-rc.3.tgz +0 -0
- package/mediusinc-mng-commons.d.ts +0 -5
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FilterMatchType, QueryParam } from '../';
|
|
2
|
-
export declare class QueryParamBuilder {
|
|
3
|
-
private queryParam;
|
|
4
|
-
constructor(queryParam: QueryParam);
|
|
5
|
-
static create(itemsPerPage?: number, itemsOffset?: number): QueryParamBuilder;
|
|
6
|
-
withItemsPerPage(itemsPerPage: number): QueryParamBuilder;
|
|
7
|
-
withItemsOffset(itemsOffset: number): QueryParamBuilder;
|
|
8
|
-
withSort(property: string, asc?: boolean): QueryParamBuilder;
|
|
9
|
-
withFilter(property: string, value: any, valueTo?: any, matchType?: FilterMatchType, matchCaseSensitive?: boolean): QueryParamBuilder;
|
|
10
|
-
build(): QueryParam;
|
|
11
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export declare enum FilterMatchType {
|
|
13
|
-
Contains,
|
|
14
|
-
EndsWith,
|
|
15
|
-
Equals,
|
|
16
|
-
FromTo,
|
|
17
|
-
In,
|
|
18
|
-
NotEquals,
|
|
19
|
-
NotIn,
|
|
20
|
-
StartsWith
|
|
21
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AttributeDef } from './serialization.model';
|
|
13
|
-
import { FilterMatchType } from './filter-match-type.model';
|
|
14
|
-
export declare class FilterParam {
|
|
15
|
-
'property'?: string;
|
|
16
|
-
'filterMatchCaseSensitive'?: boolean;
|
|
17
|
-
'filterMatchType'?: FilterMatchType;
|
|
18
|
-
'filterValue'?: object;
|
|
19
|
-
'filterValueTo'?: object;
|
|
20
|
-
static discriminator: string | undefined;
|
|
21
|
-
static attributeTypeMap: Array<AttributeDef>;
|
|
22
|
-
static getAttributeTypeMap(): AttributeDef[];
|
|
23
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { FilterParam } from './filter-param.model';
|
|
13
|
-
import { QueryMode } from './query-mode.model';
|
|
14
|
-
import { AttributeDef } from './serialization.model';
|
|
15
|
-
export declare class QueryParam {
|
|
16
|
-
'filterAllParam'?: string;
|
|
17
|
-
'filterAllProperties'?: Array<string>;
|
|
18
|
-
'filterParams'?: Array<FilterParam>;
|
|
19
|
-
'groupByProperties'?: Array<string>;
|
|
20
|
-
'itemsOffset': number;
|
|
21
|
-
'itemsPerPage': number;
|
|
22
|
-
'queryMode'?: QueryMode;
|
|
23
|
-
'selectInTwoSteps'?: boolean;
|
|
24
|
-
'sortAsc'?: Array<boolean>;
|
|
25
|
-
'sortEnumByOrdinal'?: boolean;
|
|
26
|
-
'sortProperty'?: Array<string>;
|
|
27
|
-
'validateProperties'?: Array<string>;
|
|
28
|
-
static discriminator: string | undefined;
|
|
29
|
-
static attributeTypeMap: Array<AttributeDef>;
|
|
30
|
-
static getAttributeTypeMap(): AttributeDef[];
|
|
31
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AttributeDef } from './serialization.model';
|
|
13
|
-
export declare class QueryResultBase {
|
|
14
|
-
'selectInTwoSteps'?: boolean;
|
|
15
|
-
'allDataCount'?: number;
|
|
16
|
-
static discriminator: string | undefined;
|
|
17
|
-
static attributeTypeMap: Array<AttributeDef>;
|
|
18
|
-
}
|
|
19
|
-
export declare class QueryResultWithObject extends QueryResultBase {
|
|
20
|
-
'pageData'?: Array<object>;
|
|
21
|
-
static discriminator: string | undefined;
|
|
22
|
-
static attributeTypeMap: Array<AttributeDef>;
|
|
23
|
-
static getAttributeTypeMap(): AttributeDef[];
|
|
24
|
-
}
|
|
25
|
-
export declare class QueryResult<T> extends QueryResultBase implements IQueryResult {
|
|
26
|
-
'pageData'?: Array<T>;
|
|
27
|
-
static discriminator: string | undefined;
|
|
28
|
-
static attributeTypeMapBase: Array<AttributeDef>;
|
|
29
|
-
static attributeTypeMap: Array<AttributeDef>;
|
|
30
|
-
static getAttributeTypeMap(): AttributeDef[];
|
|
31
|
-
}
|
|
32
|
-
export interface IQueryResult {
|
|
33
|
-
selectInTwoSteps?: boolean;
|
|
34
|
-
allDataCount?: number;
|
|
35
|
-
pageData?: Array<any>;
|
|
36
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { QueryParam, QueryResult } from '../models';
|
|
4
|
-
import { ClassType } from '../../models/types';
|
|
5
|
-
export declare abstract class AbstractCrudApiService<T, QRT extends QueryResult<T>> {
|
|
6
|
-
protected type: ClassType<T>;
|
|
7
|
-
protected queryResultType: ClassType<QRT>;
|
|
8
|
-
protected http: HttpClient;
|
|
9
|
-
private readonly objectSerializer;
|
|
10
|
-
protected constructor(type: ClassType<T>, queryResultType: ClassType<QRT>, http: HttpClient);
|
|
11
|
-
protected abstract getBasePath(): string;
|
|
12
|
-
protected abstract getServiceBasePath(): string;
|
|
13
|
-
protected getGetAllPostPath(): string;
|
|
14
|
-
protected getCreatePostPath(): string;
|
|
15
|
-
protected getUpdatePutPath(id: any, item: T): string;
|
|
16
|
-
protected getGetByIdGetPath(id: any): string;
|
|
17
|
-
protected getRemoveDeletePath(id: any, item: T): string;
|
|
18
|
-
createPost(item: T): Observable<T>;
|
|
19
|
-
getAllPost(queryParam?: QueryParam): Observable<QRT>;
|
|
20
|
-
getByIdGet(id: any): Observable<T>;
|
|
21
|
-
updatePut(id: any, item: T): Observable<T>;
|
|
22
|
-
removeDelete(id: any, item: T): Observable<any>;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './abstract-crud-api.service';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FilterMetadata, LazyLoadEvent } from 'primeng/api';
|
|
2
|
-
import { QueryParam, QueryParamBuilder } from '../models';
|
|
3
|
-
export declare class MediusRestUtil {
|
|
4
|
-
static fromLazyLoadEventToQueryParams(event: LazyLoadEvent): QueryParam;
|
|
5
|
-
static addFilterFromFilterMetadata(queryParamBuilder: QueryParamBuilder, property: string, filterMetadata: FilterMetadata): void;
|
|
6
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AttributeDef, SerializableTypeMap } from '../models';
|
|
2
|
-
import { ClassType } from '../../models/types';
|
|
3
|
-
export declare class ObjectSerializer {
|
|
4
|
-
private readonly _primitives;
|
|
5
|
-
private readonly _typeMap;
|
|
6
|
-
private readonly _enumMap;
|
|
7
|
-
private static _instance;
|
|
8
|
-
/**
|
|
9
|
-
* Only use one instance of object (out of Angular context)
|
|
10
|
-
*/
|
|
11
|
-
static get(): ObjectSerializer;
|
|
12
|
-
get primitives(): string[];
|
|
13
|
-
get typeMap(): SerializableTypeMap;
|
|
14
|
-
get enumMap(): SerializableTypeMap;
|
|
15
|
-
findAttributeDefinitionByClassType(type: ClassType<any>, attributeName: string): AttributeDef | null;
|
|
16
|
-
findAttributeDefinition(typeName: string, attributeName: string): AttributeDef | null;
|
|
17
|
-
findAttributesDefinitionByClassType(type: ClassType<any>): Array<AttributeDef> | null;
|
|
18
|
-
findAttributesDefinition(typeName: string): Array<AttributeDef> | null;
|
|
19
|
-
findByClassType(type: ClassType<any>): any;
|
|
20
|
-
findType(typeName: string): any;
|
|
21
|
-
findEnum(enumName: string): any;
|
|
22
|
-
registerTypes(types: SerializableTypeMap): void;
|
|
23
|
-
registerType(type: ClassType<any>, optTypeName?: string): void;
|
|
24
|
-
registerEnums(enums: SerializableTypeMap): void;
|
|
25
|
-
findCorrectType(data: any, expectedType: string): any;
|
|
26
|
-
serializeClass<T>(data: any, type: ClassType<T>): any;
|
|
27
|
-
serialize(data: any, type: string): any;
|
|
28
|
-
deserializeClass<T>(data: any, type: ClassType<T>): any;
|
|
29
|
-
deserialize(data: any, type: string): any;
|
|
30
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { ConfirmationService } from 'primeng/api';
|
|
6
|
-
import { IdType } from '../../models/types';
|
|
7
|
-
import { ActionData } from '../../models/action';
|
|
8
|
-
import { ActionDescriptor } from '../../models/descriptors';
|
|
9
|
-
import { IConfirmationService } from '../../models/interfaces';
|
|
10
|
-
import { ActionService } from '../../services';
|
|
11
|
-
import { TableviewComponentService } from '../tableview/tableview.component.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class ActionComponent<T, S> implements OnInit, IConfirmationService {
|
|
14
|
-
private route;
|
|
15
|
-
private translate;
|
|
16
|
-
private actionService;
|
|
17
|
-
private confirmationService;
|
|
18
|
-
private tableviewService;
|
|
19
|
-
action: ActionDescriptor<T>;
|
|
20
|
-
item?: T;
|
|
21
|
-
itemId?: IdType;
|
|
22
|
-
actionData?: ActionData;
|
|
23
|
-
private loadingSubject;
|
|
24
|
-
$loading: Observable<boolean>;
|
|
25
|
-
cmpId: string;
|
|
26
|
-
$isVisible: Observable<boolean>;
|
|
27
|
-
$isEnabled: Observable<boolean>;
|
|
28
|
-
$label: Observable<string | null>;
|
|
29
|
-
constructor(route: ActivatedRoute, translate: TranslateService, actionService: ActionService, confirmationService: ConfirmationService, tableviewService: TableviewComponentService<T, S>);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
triggerAction(event: Event): void;
|
|
32
|
-
getConfirmationService(): ConfirmationService;
|
|
33
|
-
getConfirmationServiceInstanceKey(action: ActionDescriptor<any>): string;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent<any, any>, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent<any, any>, "mng-action", never, { "action": "action"; "item": "item"; "itemId": "itemId"; "actionData": "actionData"; }, {}, never, never>;
|
|
36
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { ActionData, ActionRunResult } from '../../../models/action';
|
|
6
|
-
import { ActionEditorDescriptor } from '../../../models/descriptors';
|
|
7
|
-
import { IdType } from '../../../models/types';
|
|
8
|
-
import { IEditorDataProvider } from '../../../models/providers';
|
|
9
|
-
import { MngEditorSubmitEvent } from '../../../models/events';
|
|
10
|
-
import { ActionService } from '../../../services';
|
|
11
|
-
import { TemplateDirective } from '../../../directives';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class ActionDialogComponent<T, S> implements OnInit, OnDestroy {
|
|
14
|
-
private injector;
|
|
15
|
-
private translate;
|
|
16
|
-
dialogRef: DynamicDialogRef;
|
|
17
|
-
dialogConfig: DynamicDialogConfig;
|
|
18
|
-
private actionService;
|
|
19
|
-
action: ActionEditorDescriptor<T>;
|
|
20
|
-
itemId?: IdType;
|
|
21
|
-
item?: T;
|
|
22
|
-
actionData?: ActionData;
|
|
23
|
-
dataProvider?: IEditorDataProvider<T, S>;
|
|
24
|
-
private createEventEmitter;
|
|
25
|
-
private visibleChangeEventEmitter;
|
|
26
|
-
templates: QueryList<TemplateDirective>;
|
|
27
|
-
private submitButtonElementRef;
|
|
28
|
-
private editorComponent;
|
|
29
|
-
cmpId: string;
|
|
30
|
-
private loadingSubject;
|
|
31
|
-
private submitLoadingSubject;
|
|
32
|
-
loading$: Observable<boolean>;
|
|
33
|
-
submitLoading$: Observable<boolean>;
|
|
34
|
-
isSaveButton: boolean;
|
|
35
|
-
private tableviewService?;
|
|
36
|
-
private sourceComponent;
|
|
37
|
-
private subscriptions;
|
|
38
|
-
constructor(injector: Injector, translate: TranslateService, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, actionService: ActionService);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
onSubmit(event: MngEditorSubmitEvent<T>): void;
|
|
42
|
-
closeDialog(result?: ActionRunResult<T, any, any>): void;
|
|
43
|
-
saveItem(): void;
|
|
44
|
-
private loadItemWithDataProvider;
|
|
45
|
-
private setDialogHeaderTitle;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent<any, any>, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent<any, any>, "mng-action-dialog", never, { "action": "action"; "itemId": "itemId"; "item": "item"; "actionData": "actionData"; "dataProvider": "dataProvider"; }, { "createEventEmitter": "onFinished"; "visibleChangeEventEmitter": "onVisibleChange"; }, ["templates"], never>;
|
|
48
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { ConfirmationService } from 'primeng/api';
|
|
4
|
-
import { ActionDescriptor } from '../../../models/descriptors';
|
|
5
|
-
import { IConfirmationService } from '../../../models/interfaces';
|
|
6
|
-
import { ActionService, NavigationService } from '../../../services';
|
|
7
|
-
import { TableviewComponentService } from '../../tableview/tableview.component.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ActionRouteComponent<T, S> implements OnInit, OnDestroy, IConfirmationService {
|
|
10
|
-
private router;
|
|
11
|
-
private route;
|
|
12
|
-
private confirmationService;
|
|
13
|
-
private navigationService;
|
|
14
|
-
private actionService;
|
|
15
|
-
private tableviewService;
|
|
16
|
-
private actions;
|
|
17
|
-
private activeAction?;
|
|
18
|
-
private dialogRef?;
|
|
19
|
-
private dialogCloseSubscription?;
|
|
20
|
-
private subscriptions;
|
|
21
|
-
cmpId: string;
|
|
22
|
-
constructor(router: Router, route: ActivatedRoute, confirmationService: ConfirmationService, navigationService: NavigationService, actionService: ActionService, tableviewService: TableviewComponentService<T, S>);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
getConfirmationService(): ConfirmationService;
|
|
26
|
-
getConfirmationServiceInstanceKey(action: ActionDescriptor<any>): string;
|
|
27
|
-
private activateAction;
|
|
28
|
-
private deactivateAction;
|
|
29
|
-
private findActiveAction;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionRouteComponent<any, any>, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionRouteComponent<any, any>, "mng-action-route", never, {}, {}, never, never>;
|
|
32
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
|
|
4
|
-
import { Message } from 'primeng/api';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { EditorDescriptor } from '../../../models/descriptors';
|
|
7
|
-
import { TemplateDirective } from '../../../directives';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class FormEditorComponent<T> implements OnInit, AfterContentInit, OnDestroy {
|
|
10
|
-
descriptor: EditorDescriptor<T>;
|
|
11
|
-
submitLoading: Observable<boolean> | boolean;
|
|
12
|
-
item?: T;
|
|
13
|
-
isSubmitButtonVisible: boolean;
|
|
14
|
-
isFormDisabled: null;
|
|
15
|
-
private submitEventEmitter;
|
|
16
|
-
templates: QueryList<TemplateDirective>;
|
|
17
|
-
submitButtonElementRef?: ElementRef;
|
|
18
|
-
form: FormGroup;
|
|
19
|
-
formOptions: FormlyFormOptions;
|
|
20
|
-
formFields: FormlyFieldConfig[];
|
|
21
|
-
formOrigItem?: T;
|
|
22
|
-
formModel: any;
|
|
23
|
-
formMessages: Message[];
|
|
24
|
-
submitLoading$: Observable<boolean>;
|
|
25
|
-
private subscriptions;
|
|
26
|
-
constructor();
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngAfterContentInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
submit(): void;
|
|
31
|
-
onSubmit(event: Event): void;
|
|
32
|
-
private isAnyFieldInvalid;
|
|
33
|
-
private updateFormModel;
|
|
34
|
-
private updateFormState;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent<any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormEditorComponent<any>, "mng-form-editor", never, { "descriptor": "descriptor"; "submitLoading": "submitLoading"; "item": "item"; "isSubmitButtonVisible": "isSubmitButtonVisible"; "isFormDisabled": "isFormDisabled"; }, { "submitEventEmitter": "onSubmit"; }, ["templates"], never>;
|
|
37
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { FieldType } from '@ngx-formly/core';
|
|
4
|
-
import { Observable, Subject, Subscription } from 'rxjs';
|
|
5
|
-
import { FieldLookupDescriptor } from '../../../../../models/descriptors';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormlyFieldAutocompleteComponent<T> extends FieldType implements OnInit {
|
|
8
|
-
private injector;
|
|
9
|
-
aFormControl: FormControl;
|
|
10
|
-
descriptor: FieldLookupDescriptor<T, any>;
|
|
11
|
-
suggestionsSubject: Subject<Array<any>>;
|
|
12
|
-
suggestionsAsync: Observable<Array<any>>;
|
|
13
|
-
searchSubscription: Subscription | null;
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
private dataProviderService;
|
|
16
|
-
constructor(injector: Injector);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
onSearch(event: any): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldAutocompleteComponent<any>, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldAutocompleteComponent<any>, "mng-formly-field-autocomplete", never, {}, {}, never, never>;
|
|
21
|
-
}
|
package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { FieldType } from '@ngx-formly/core';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { FieldLookupDescriptor } from '../../../../../models/descriptors';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormlyFieldDropdownComponent<T> extends FieldType {
|
|
8
|
-
private injector;
|
|
9
|
-
dFormControl: FormControl;
|
|
10
|
-
descriptor: FieldLookupDescriptor<T, any>;
|
|
11
|
-
itemsSubject: Subject<Array<any>>;
|
|
12
|
-
itemsAsync: Observable<Array<any>>;
|
|
13
|
-
useDataProvider: boolean;
|
|
14
|
-
private dataProviderService;
|
|
15
|
-
constructor(injector: Injector);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDropdownComponent<any>, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDropdownComponent<any>, "mng-formly-field-dropdown", never, {}, {}, never, never>;
|
|
19
|
-
}
|
package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FieldType } from '@ngx-formly/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormlyFieldFieldsetComponent extends FieldType {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldFieldsetComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldFieldsetComponent, "mng-formly-field-fieldset", never, {}, {}, never, never>;
|
|
6
|
-
}
|
package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { FieldType } from '@ngx-formly/core';
|
|
4
|
-
import { FieldInputDescriptor } from '../../../../../models/descriptors';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormlyFieldInputComponent extends FieldType implements OnInit {
|
|
7
|
-
iFormControl: FormControl;
|
|
8
|
-
descriptor: FieldInputDescriptor<any>;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputComponent, "mng-formly-field-input", never, {}, {}, never, never>;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { FieldManyEditorDescriptor, ActionDescriptor } from '../../../../../models/descriptors';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormlyFieldTableDialogFormComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
7
|
-
descriptor: FieldManyEditorDescriptor<T, ET>;
|
|
8
|
-
itemsSubject: Subject<Array<T>>;
|
|
9
|
-
items$: Observable<Array<T>>;
|
|
10
|
-
toolbarActions: Array<ActionDescriptor<T>>;
|
|
11
|
-
rowActions: Array<ActionDescriptor<T>>;
|
|
12
|
-
private subscriptions;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTableDialogFormComponent<any, any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTableDialogFormComponent<any, any>, "mng-formly-table-dialog-form-field", never, {}, {}, never, never>;
|
|
17
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
|
3
|
-
import { Message } from 'primeng/api';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { QueryResult } from '../../../../../api/models';
|
|
6
|
-
import { FieldManyToManyEditorDescriptor } from '../../../../../models/descriptors';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FormlyFieldTableDialogMultiselectComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
9
|
-
private injector;
|
|
10
|
-
descriptor: FieldManyToManyEditorDescriptor<T, ET>;
|
|
11
|
-
itemsSubject: Subject<Array<T>>;
|
|
12
|
-
itemsAsync: Observable<Array<T>>;
|
|
13
|
-
addItemsSubject: Subject<QueryResult<T>>;
|
|
14
|
-
addItemsAsync: Observable<QueryResult<T>>;
|
|
15
|
-
dialogUseDataProvider: boolean;
|
|
16
|
-
private dialogDataProviderService;
|
|
17
|
-
private dialogIsLoadingSubject;
|
|
18
|
-
isDialogVisible: boolean;
|
|
19
|
-
dialogAreItemsLoaded: boolean;
|
|
20
|
-
dialogSelectedAddItems: Array<any>;
|
|
21
|
-
dialogMessages: Message[];
|
|
22
|
-
dialogIsLoading$: Observable<boolean>;
|
|
23
|
-
hasAddAction: boolean;
|
|
24
|
-
hasDeleteAction: boolean;
|
|
25
|
-
private subscriptions;
|
|
26
|
-
constructor(injector: Injector);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
openAddDialog(): void;
|
|
30
|
-
onSelectionChange(items: Array<any>): void;
|
|
31
|
-
hideDialog(): void;
|
|
32
|
-
addItems(): void;
|
|
33
|
-
removeItem(item: any): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTableDialogMultiselectComponent<any, any>, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTableDialogMultiselectComponent<any, any>, "mng-formly-table-multiselect-add-field", never, {}, {}, never, never>;
|
|
36
|
-
}
|
package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FieldType } from '@ngx-formly/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormlyFieldTabsComponent extends FieldType {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTabsComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTabsComponent, "mng-formly-field-tabs", never, {}, {}, never, never>;
|
|
6
|
-
}
|
package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FieldWrapper } from '@ngx-formly/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormlyFieldWrapperComponent extends FieldWrapper implements OnInit {
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldWrapperComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldWrapperComponent, "mng-formly-field-wrapper", never, {}, {}, never, never>;
|
|
8
|
-
}
|
package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FieldWrapper } from '@ngx-formly/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormlyTableWrapperComponent extends FieldWrapper implements OnInit {
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTableWrapperComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTableWrapperComponent, "mng-formly-table-wrapper", never, {}, {}, never, never>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './editor/form-editor.component';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { AppBreadcrumbService } from '../../services/breadcrumb.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AppBreadcrumbComponent implements OnDestroy {
|
|
7
|
-
breadcrumbService: AppBreadcrumbService;
|
|
8
|
-
subscription: Subscription;
|
|
9
|
-
items: MenuItem[];
|
|
10
|
-
home: MenuItem;
|
|
11
|
-
search: string;
|
|
12
|
-
constructor(breadcrumbService: AppBreadcrumbService);
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcrumbComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcrumbComponent, "app-breadcrumb", never, {}, {}, never, never>;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AppSettingsService } from '../../services/settings.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AppFooterComponent {
|
|
4
|
-
appSettings: AppSettingsService;
|
|
5
|
-
constructor(appSettings: AppSettingsService);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppFooterComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppFooterComponent, "app-footer", never, {}, {}, never, never>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AppSettingsService } from '../../services/settings.service';
|
|
2
|
-
import { MenuService } from '../../services/menu.service';
|
|
3
|
-
import { AppMainComponentService } from './app.main.component.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AppMainComponent {
|
|
6
|
-
private menuService;
|
|
7
|
-
appSettings: AppSettingsService;
|
|
8
|
-
appMainService: AppMainComponentService;
|
|
9
|
-
constructor(menuService: MenuService, appSettings: AppSettingsService, appMainService: AppMainComponentService);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppMainComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppMainComponent, "app-main", never, {}, {}, never, never>;
|
|
12
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AppSettingsService } from '../../services/settings.service';
|
|
2
|
-
import { MenuService } from '../../services/menu.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AppMainComponentService {
|
|
5
|
-
private appSettings;
|
|
6
|
-
private menuService;
|
|
7
|
-
overlayMenuActive: boolean;
|
|
8
|
-
staticMenuDesktopInactive: boolean;
|
|
9
|
-
staticMenuMobileActive: boolean;
|
|
10
|
-
sidebarActive: boolean;
|
|
11
|
-
sidebarStatic: boolean;
|
|
12
|
-
menuClick: boolean;
|
|
13
|
-
menuHoverActive: boolean;
|
|
14
|
-
topbarMenuActive: boolean;
|
|
15
|
-
topbarItemClick: boolean;
|
|
16
|
-
activeTopbarItem: any;
|
|
17
|
-
configActive: boolean;
|
|
18
|
-
configClick: boolean;
|
|
19
|
-
rightMenuActive: boolean;
|
|
20
|
-
rightMenuClick: boolean;
|
|
21
|
-
searchActive: boolean;
|
|
22
|
-
searchClick: boolean;
|
|
23
|
-
pinActive: boolean;
|
|
24
|
-
constructor(appSettings: AppSettingsService, menuService: MenuService);
|
|
25
|
-
onLayoutClick(): void;
|
|
26
|
-
onSidebarClick(event: any): void;
|
|
27
|
-
onToggleMenu(event: any): void;
|
|
28
|
-
onSidebarMouseOver(event: any): void;
|
|
29
|
-
onSidebarMouseLeave(event: any): void;
|
|
30
|
-
onMenuButtonClick(event: any): void;
|
|
31
|
-
onTopbarItemClick(event: any, item: any): void;
|
|
32
|
-
onTopbarSubItemClick(event: any): void;
|
|
33
|
-
onConfigClick(event: any): void;
|
|
34
|
-
onRightMenuButtonClick(): void;
|
|
35
|
-
onRightMenuClick(event: any): void;
|
|
36
|
-
isDesktop(): boolean;
|
|
37
|
-
isMobile(): boolean;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppMainComponentService, never>;
|
|
39
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppMainComponentService>;
|
|
40
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MenuItem } from 'primeng/api';
|
|
3
|
-
import { AppSettingsService } from '../../services/settings.service';
|
|
4
|
-
import { AppMainComponentService } from './app.main.component.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AppMenuComponent implements OnInit {
|
|
7
|
-
appSettings: AppSettingsService;
|
|
8
|
-
appMainService: AppMainComponentService;
|
|
9
|
-
model: MenuItem[];
|
|
10
|
-
constructor(appSettings: AppSettingsService, appMainService: AppMainComponentService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppMenuComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppMenuComponent, "app-menu", never, {}, {}, never, never>;
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { MenuService } from '../../services/menu.service';
|
|
5
|
-
import { AppSettingsService } from '../../services/settings.service';
|
|
6
|
-
import { AppMainComponentService } from './app.main.component.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AppMenuitemComponent implements OnInit, OnDestroy {
|
|
9
|
-
appSettings: AppSettingsService;
|
|
10
|
-
appMainService: AppMainComponentService;
|
|
11
|
-
router: Router;
|
|
12
|
-
private cd;
|
|
13
|
-
private menuService;
|
|
14
|
-
item: any;
|
|
15
|
-
index: number;
|
|
16
|
-
root: boolean;
|
|
17
|
-
parentKey: string | null;
|
|
18
|
-
active: boolean;
|
|
19
|
-
hover: boolean;
|
|
20
|
-
menuSourceSubscription: Subscription;
|
|
21
|
-
menuResetSubscription: Subscription;
|
|
22
|
-
key: string;
|
|
23
|
-
constructor(appSettings: AppSettingsService, appMainService: AppMainComponentService, router: Router, cd: ChangeDetectorRef, menuService: MenuService);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
updateActiveStateFromRoute(): void;
|
|
26
|
-
itemClick(event: Event): void;
|
|
27
|
-
onMouseEnter(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppMenuitemComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppMenuitemComponent, "[app-menuitem]", never, { "item": "item"; "index": "index"; "root": "root"; "parentKey": "parentKey"; }, {}, never, never>;
|
|
31
|
-
}
|