@mediusinc/mng-commons 0.0.1-rc.2 → 0.2.0
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/README.md +97 -2
- 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/esm2020/lib/api/models/builders/query-param.builder.mjs +9 -10
- package/esm2020/lib/api/models/filter-match-type.model.mjs +14 -12
- package/esm2020/lib/api/models/filter-param.model.mjs +6 -6
- package/esm2020/lib/api/models/mappers.mjs +12 -12
- package/esm2020/lib/api/models/query-mode.model.mjs +7 -7
- package/esm2020/lib/api/models/query-param.model.mjs +5 -5
- package/esm2020/lib/api/models/query-result.model.mjs +15 -15
- package/esm2020/lib/api/services/{abstract-crud-api.service.mjs → crud-api.abstract.service.mjs} +2 -2
- package/esm2020/lib/api/services/index.mjs +2 -2
- package/esm2020/lib/api/utils/medius-rest.util.mjs +99 -47
- package/esm2020/lib/api/utils/object-serializer.util.mjs +1 -1
- package/esm2020/lib/components/action/action.component.mjs +10 -8
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +24 -24
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -0
- package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -0
- package/esm2020/lib/components/action/models/index.mjs +3 -0
- package/esm2020/lib/components/action/route/action-route.component.mjs +9 -9
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -0
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -0
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +24 -23
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +9 -48
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +9 -41
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +5 -5
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +5 -5
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +33 -18
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +11 -13
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +5 -5
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +5 -5
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +5 -5
- package/esm2020/lib/components/form/index.mjs +3 -1
- package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -0
- package/esm2020/lib/components/form/models/index.mjs +2 -0
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -0
- package/esm2020/lib/components/layout/footer.component.mjs +17 -0
- package/esm2020/lib/components/layout/index.mjs +7 -7
- package/esm2020/lib/components/layout/main-layout.component.mjs +54 -0
- package/esm2020/lib/components/layout/menu-item.component.mjs +173 -0
- package/esm2020/lib/components/layout/menu.component.mjs +20 -0
- package/esm2020/lib/components/layout/services/index.mjs +2 -0
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -0
- package/esm2020/lib/components/layout/topbar.component.mjs +59 -0
- package/esm2020/lib/components/tableview/index.mjs +3 -1
- package/esm2020/lib/components/tableview/models/index.mjs +2 -0
- package/esm2020/lib/components/tableview/models/table.event.mjs +16 -0
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +2 -9
- package/esm2020/lib/components/tableview/services/index.mjs +2 -0
- package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +17 -0
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +74 -0
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -0
- package/esm2020/lib/components/tableview/table/table.component.mjs +180 -46
- package/esm2020/lib/components/tableview/tableview.component.mjs +13 -13
- package/esm2020/lib/config/formly.config.mjs +35 -64
- package/esm2020/lib/{models/config → config/models}/index.mjs +1 -1
- package/esm2020/lib/config/models/mng-config.model.mjs +2 -0
- package/esm2020/lib/data-providers/base.data-provider.mjs +24 -0
- package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -0
- package/esm2020/lib/data-providers/index.mjs +6 -0
- package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -0
- package/esm2020/lib/data-providers/table.data-provider.mjs +2 -0
- package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -0
- package/esm2020/lib/descriptors/action.descriptor.mjs +332 -0
- package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -0
- package/esm2020/lib/descriptors/field.validator.mjs +21 -0
- package/esm2020/lib/descriptors/index.mjs +8 -0
- package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -0
- package/esm2020/lib/descriptors/model.descriptor.mjs +34 -0
- package/esm2020/lib/descriptors/table.descriptor.mjs +401 -0
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -0
- package/esm2020/lib/directives/component.directive.mjs +23 -0
- package/esm2020/lib/directives/index.mjs +2 -1
- package/esm2020/lib/directives/template.directive.mjs +11 -7
- package/esm2020/lib/mng-commons.module.mjs +201 -129
- package/esm2020/lib/models/index.mjs +3 -0
- package/esm2020/lib/models/router.model.mjs +2 -0
- package/esm2020/lib/models/user.model.mjs +2 -0
- package/esm2020/lib/pipes/boolean.pipe.mjs +22 -0
- package/esm2020/lib/pipes/index.mjs +2 -1
- package/esm2020/lib/pipes/property-path.pipe.mjs +5 -5
- package/esm2020/lib/services/action.service.mjs +55 -25
- package/esm2020/lib/services/commons.service.mjs +353 -0
- package/esm2020/lib/services/configuration.service.mjs +8 -7
- package/esm2020/lib/services/index.mjs +2 -4
- package/esm2020/lib/services/navigation.service.mjs +5 -6
- package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -0
- package/esm2020/lib/services/providers/config-service.provider.mjs +14 -6
- package/esm2020/lib/services/providers/formly-config.provider.mjs +2 -2
- package/esm2020/lib/services/providers/index.mjs +2 -1
- package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -0
- package/esm2020/lib/services/tokens/index.mjs +3 -0
- package/esm2020/lib/services/tokens/module-config.token.mjs +3 -0
- package/esm2020/lib/types/index.mjs +3 -0
- package/esm2020/lib/types/type.decorator.mjs +7 -0
- package/esm2020/lib/types/type.model.mjs +2 -0
- package/esm2020/lib/utils/editor-formly.util.mjs +23 -12
- package/esm2020/lib/utils/i18n.util.mjs +63 -13
- package/esm2020/lib/utils/index.mjs +2 -1
- package/esm2020/lib/utils/model.util.mjs +20 -1
- package/esm2020/lib/utils/toast.util.mjs +39 -0
- package/esm2020/lib/utils/type.util.mjs +2 -6
- package/esm2020/public-api.mjs +12 -9
- package/fesm2015/mediusinc-mng-commons.mjs +4552 -3358
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +4520 -3356
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/models/builders/query-param.builder.d.ts +9 -9
- package/lib/api/models/filter-match-type.model.d.ts +7 -5
- package/lib/api/models/filter-param.model.d.ts +3 -3
- package/lib/api/models/query-mode.model.d.ts +1 -1
- package/lib/api/models/query-param.model.d.ts +5 -5
- package/lib/api/models/query-result.model.d.ts +5 -5
- package/lib/api/services/{abstract-crud-api.service.d.ts → crud-api.abstract.service.d.ts} +4 -4
- package/lib/api/services/index.d.ts +1 -1
- package/lib/api/utils/medius-rest.util.d.ts +9 -3
- package/lib/api/utils/object-serializer.util.d.ts +1 -1
- package/lib/components/action/action.component.d.ts +10 -10
- package/lib/components/action/dialog/action-dialog.component.d.ts +13 -15
- package/lib/{models/interfaces/confirmation-service.model.d.ts → components/action/models/action-confirmation-service.model.d.ts} +2 -2
- package/lib/{models/action/action.model.d.ts → components/action/models/action-execution.model.d.ts} +3 -3
- package/lib/components/action/models/index.d.ts +2 -0
- package/lib/components/action/route/action-route.component.d.ts +8 -8
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -0
- package/lib/components/form/dropdown/dropdown.component.d.ts +34 -0
- package/lib/components/form/editor/form-editor.component.d.ts +9 -7
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +4 -14
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +4 -12
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +3 -3
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +4 -4
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +4 -4
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +7 -7
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +3 -3
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +3 -3
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +3 -3
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/models/form-editor.event.d.ts +5 -0
- package/lib/components/form/models/index.d.ts +1 -0
- package/lib/components/layout/breadcrumb.component.d.ts +8 -0
- package/lib/components/layout/footer.component.d.ts +9 -0
- package/lib/components/layout/index.d.ts +6 -6
- package/lib/components/layout/main-layout.component.d.ts +21 -0
- package/lib/components/layout/menu-item.component.d.ts +29 -0
- package/lib/components/layout/menu.component.d.ts +10 -0
- package/lib/components/layout/services/index.d.ts +1 -0
- package/lib/components/layout/services/main-layout.component.service.d.ts +65 -0
- package/lib/components/layout/topbar.component.d.ts +25 -0
- package/lib/components/tableview/index.d.ts +2 -0
- package/lib/components/tableview/models/index.d.ts +1 -0
- package/lib/{models/events/table-event.model.d.ts → components/tableview/models/table.event.d.ts} +5 -5
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +2 -3
- package/lib/components/tableview/services/index.d.ts +1 -0
- package/lib/components/tableview/{tableview.component.service.d.ts → services/tableview.component.service.d.ts} +4 -2
- package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +22 -0
- package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -0
- package/lib/components/tableview/table/table.component.d.ts +45 -13
- package/lib/components/tableview/tableview.component.d.ts +11 -12
- package/lib/config/formly.config.d.ts +8 -2
- package/lib/{models/config → config/models}/index.d.ts +0 -0
- package/lib/config/models/mng-config.model.d.ts +34 -0
- package/lib/data-providers/base.data-provider.d.ts +17 -0
- package/lib/data-providers/editor.data-provider.d.ts +25 -0
- package/lib/data-providers/index.d.ts +5 -0
- package/lib/data-providers/lookup.data-provider.d.ts +14 -0
- package/lib/data-providers/table.data-provider.d.ts +6 -0
- package/lib/data-providers/tableview.data-provider.d.ts +15 -0
- package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts} +27 -3
- package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts} +18 -11
- package/lib/{models/validators → descriptors}/field.validator.d.ts +0 -0
- package/lib/descriptors/index.d.ts +7 -0
- package/lib/descriptors/lookup.descriptor.d.ts +17 -0
- package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts} +0 -0
- package/lib/descriptors/table.descriptor.d.ts +164 -0
- package/lib/{models/descriptors/tableview-descriptor.model.d.ts → descriptors/tableview.descriptor.d.ts} +7 -6
- package/lib/directives/component.directive.d.ts +11 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/template.directive.d.ts +7 -5
- package/lib/mng-commons.module.d.ts +70 -65
- package/lib/models/index.d.ts +2 -0
- package/lib/models/router.model.d.ts +14 -0
- package/lib/models/user.model.d.ts +8 -0
- package/lib/pipes/boolean.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/property-path.pipe.d.ts +3 -3
- package/lib/services/action.service.d.ts +10 -10
- package/lib/services/commons.service.d.ts +72 -0
- package/lib/services/configuration.service.d.ts +3 -3
- package/lib/services/index.d.ts +1 -3
- package/lib/services/navigation.service.d.ts +3 -3
- package/lib/services/providers/commons-init.provider.d.ts +2 -0
- package/lib/services/providers/config-service.provider.d.ts +4 -4
- package/lib/services/providers/formly-config.provider.d.ts +2 -2
- package/lib/services/providers/index.d.ts +1 -0
- package/lib/services/tokens/browser-storage.token.d.ts +2 -0
- package/lib/services/tokens/index.d.ts +2 -0
- package/lib/services/tokens/module-config.token.d.ts +3 -0
- package/lib/{models/types → types}/index.d.ts +0 -0
- package/lib/{models/types → types}/type.decorator.d.ts +0 -0
- package/lib/{models/types → types}/type.model.d.ts +0 -0
- package/lib/utils/editor-formly.util.d.ts +1 -1
- package/lib/utils/i18n.util.d.ts +8 -4
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/model.util.d.ts +3 -1
- package/lib/utils/toast.util.d.ts +13 -0
- package/lib/utils/type.util.d.ts +1 -1
- package/mediusinc-mng-commons-0.2.0.tgz +0 -0
- package/package.json +4 -4
- package/public-api.d.ts +10 -7
- 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/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/tableview/tableview.component.service.mjs +0 -18
- package/esm2020/lib/models/action/action.model.mjs +0 -58
- package/esm2020/lib/models/action/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/services/breadcrumb.service.mjs +0 -21
- package/esm2020/lib/services/menu.service.mjs +0 -26
- package/esm2020/lib/services/settings.service.mjs +0 -40
- 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/models/action/index.d.ts +0 -1
- package/lib/models/config/mng-config.model.d.ts +0 -19
- package/lib/models/descriptors/index.d.ts +0 -5
- package/lib/models/descriptors/table-descriptor.model.d.ts +0 -45
- package/lib/models/events/editor-event.model.d.ts +0 -11
- package/lib/models/events/index.d.ts +0 -2
- 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/validators/index.d.ts +0 -1
- package/lib/services/breadcrumb.service.d.ts +0 -9
- package/lib/services/menu.service.d.ts +0 -11
- package/lib/services/settings.service.d.ts +0 -18
- package/mediusinc-mng-commons-0.0.1-rc.2.tgz +0 -0
package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ClassType } from '../types';
|
|
3
|
-
import { EditorDescriptor, ModelDescriptor } from '
|
|
4
|
-
import { IDataProvider, IEditorDataProvider } from '../providers';
|
|
5
|
-
import { ActionExecContext } from '../action';
|
|
3
|
+
import { EditorDescriptor, ModelDescriptor } from './';
|
|
4
|
+
import { IDataProvider, IEditorDataProvider } from '../data-providers';
|
|
5
|
+
import { ActionExecContext } from '../components/action/models';
|
|
6
6
|
export declare class ActionDescriptor<T> {
|
|
7
7
|
protected readonly _model: ModelDescriptor<T>;
|
|
8
8
|
protected readonly _actionName: string;
|
|
@@ -18,6 +18,7 @@ export declare class ActionDescriptor<T> {
|
|
|
18
18
|
protected _title?: string | null;
|
|
19
19
|
protected _icon?: string;
|
|
20
20
|
protected _className: string;
|
|
21
|
+
protected _tooltip?: string | null;
|
|
21
22
|
protected _runFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
|
|
22
23
|
protected _isVisibleFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>;
|
|
23
24
|
protected _isEnabledFunction?: (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>;
|
|
@@ -27,6 +28,12 @@ export declare class ActionDescriptor<T> {
|
|
|
27
28
|
private _runConfirmationMessage?;
|
|
28
29
|
private _runConfirmationAcceptTitle?;
|
|
29
30
|
private _runConfirmationRejectTitle?;
|
|
31
|
+
protected _hasRunNotificationSuccess: boolean;
|
|
32
|
+
private _runNotificationSuccessTitle?;
|
|
33
|
+
private _runNotificationSuccessMessage?;
|
|
34
|
+
private _hasRunNotificationError;
|
|
35
|
+
private _runNotificationErrorTitle?;
|
|
36
|
+
private _runNotificationErrorMessage?;
|
|
30
37
|
constructor(model: ModelDescriptor<T>, actionName: string, parentType?: ClassType<any>, parentProperty?: string);
|
|
31
38
|
get model(): ModelDescriptor<T>;
|
|
32
39
|
get parentTypeName(): string | undefined;
|
|
@@ -39,6 +46,7 @@ export declare class ActionDescriptor<T> {
|
|
|
39
46
|
get routeUrl(): string | null;
|
|
40
47
|
get title(): string | null | undefined;
|
|
41
48
|
get icon(): string | undefined;
|
|
49
|
+
get tooltip(): string | null | undefined;
|
|
42
50
|
get runFunction(): (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
|
|
43
51
|
get isVisibleFunction(): ((ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>) | undefined;
|
|
44
52
|
get isEnabledFunction(): ((ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<boolean>) | undefined;
|
|
@@ -50,6 +58,12 @@ export declare class ActionDescriptor<T> {
|
|
|
50
58
|
get runConfirmationMessage(): string | undefined;
|
|
51
59
|
get runConfirmationAcceptTitle(): string | undefined;
|
|
52
60
|
get runConfirmationRejectTitle(): string | undefined;
|
|
61
|
+
get hasRunNotificationSuccess(): boolean;
|
|
62
|
+
get runNotificationSuccessTitle(): string | undefined;
|
|
63
|
+
get runNotificationSuccessMessage(): string | undefined;
|
|
64
|
+
get hasRunNotificationError(): boolean;
|
|
65
|
+
get runNotificationErrorTitle(): string | undefined;
|
|
66
|
+
get runNotificationErrorMessage(): string | undefined;
|
|
53
67
|
withRunFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<T>): this;
|
|
54
68
|
withIsVisibleFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<boolean>): this;
|
|
55
69
|
withIsEnabledFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<boolean>): this;
|
|
@@ -65,18 +79,27 @@ export declare class ActionDescriptor<T> {
|
|
|
65
79
|
*/
|
|
66
80
|
withTitle(title: string | null): this;
|
|
67
81
|
withIcon(icon: string): this;
|
|
82
|
+
withTooltip(tooltip: string | null): this;
|
|
68
83
|
withClassName(className: string): this;
|
|
69
84
|
withPosition(position: ActionPositionEnum): this;
|
|
70
85
|
withRunConfirmation(icon?: string, title?: string, message?: string, acceptTitle?: string, rejectTitle?: string): this;
|
|
86
|
+
withRunNotificationSuccess(title?: string, message?: string, hasNotification?: boolean): void;
|
|
87
|
+
withRunNotificationError(title?: string, message?: string, hasNotification?: boolean): void;
|
|
71
88
|
}
|
|
72
89
|
export declare class ActionEditorDescriptor<T> extends ActionDescriptor<T> {
|
|
73
90
|
private readonly _editorDescriptor;
|
|
74
91
|
protected _editorTitle?: string;
|
|
92
|
+
private _hasFetchNotificationSuccess;
|
|
93
|
+
private _fetchNotificationSuccessTitle?;
|
|
94
|
+
private _fetchNotificationSuccessMessage?;
|
|
75
95
|
protected _fetchFunction?: (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
|
|
76
96
|
protected _submitFunction?: (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
|
|
77
97
|
constructor(editorDescriptor: EditorDescriptor<T>, actionName: string, parentType?: ClassType<any>, parentProperty?: string);
|
|
78
98
|
get editorTitle(): string | undefined;
|
|
79
99
|
get editorDescriptor(): EditorDescriptor<T>;
|
|
100
|
+
get hasFetchNotificationSuccess(): boolean;
|
|
101
|
+
get fetchNotificationSuccessTitle(): string | undefined;
|
|
102
|
+
get fetchNotificationSuccessMessage(): string | undefined;
|
|
80
103
|
get runFunction(): (ctx: ActionExecContext<T, any, IDataProvider<T, any>>) => Observable<T>;
|
|
81
104
|
get fetchFunction(): (ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>;
|
|
82
105
|
get submitFunction(): ((ctx: ActionExecContext<T, any, IEditorDataProvider<T, any>>) => Observable<T>) | undefined;
|
|
@@ -84,6 +107,7 @@ export declare class ActionEditorDescriptor<T> extends ActionDescriptor<T> {
|
|
|
84
107
|
withRunFunction<S>(fn: (ctx: ActionExecContext<T, S, IDataProvider<T, S>>) => Observable<T>): this;
|
|
85
108
|
withFetchFunction<S>(fn: (ctx: ActionExecContext<T, S, IEditorDataProvider<T, S>>) => Observable<T>): this;
|
|
86
109
|
withSubmitFunction<S>(fn: (ctx: ActionExecContext<T, S, IEditorDataProvider<T, S>>) => Observable<T>): this;
|
|
110
|
+
withFetchNotificationError(title?: string, message?: string, hasNotification?: boolean): void;
|
|
87
111
|
}
|
|
88
112
|
export declare class ActionEditorDetailsDescriptor<T> extends ActionEditorDescriptor<T> {
|
|
89
113
|
constructor(editorDescriptor: EditorDescriptor<T>);
|
package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts}
RENAMED
|
@@ -2,11 +2,10 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ClassType, EnumMemberType } from '
|
|
6
|
-
import { ILookupDataProvider, ITableDataProvider } from '
|
|
7
|
-
import { ModelDescriptor, TableDescriptor, TableviewDescriptor } from '
|
|
8
|
-
import {
|
|
9
|
-
import { QueryParam, QueryResult } from '../../api/models';
|
|
5
|
+
import { ClassType, EnumMemberType } from '../types';
|
|
6
|
+
import { ILookupDataProvider, ITableDataProvider } from '../data-providers';
|
|
7
|
+
import { ModelDescriptor, TableDescriptor, TableviewDescriptor, FieldValidator, ILookupDescriptor } from './';
|
|
8
|
+
import { MediusQueryParam, MediusQueryResult } from '../api/models';
|
|
10
9
|
export declare class EditorDescriptor<T> {
|
|
11
10
|
static readonly defaultGroupName = "_default";
|
|
12
11
|
private readonly _model;
|
|
@@ -90,6 +89,9 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
|
|
|
90
89
|
private _datePickerMin?;
|
|
91
90
|
private _datePickerMax?;
|
|
92
91
|
private _datePickerShowTime;
|
|
92
|
+
private _maxLength?;
|
|
93
|
+
private _minLength?;
|
|
94
|
+
private _pattern?;
|
|
93
95
|
constructor(editor: EditorDescriptor<ET>, property: string);
|
|
94
96
|
get fieldType(): FieldInputDescriptor.TypeEnum;
|
|
95
97
|
get numberStep(): number | undefined;
|
|
@@ -103,6 +105,10 @@ export declare class FieldInputDescriptor<ET> extends AFieldDescriptor<string |
|
|
|
103
105
|
get datePickerMin(): Date | undefined;
|
|
104
106
|
get datePickerMax(): Date | undefined;
|
|
105
107
|
get datePickerShowTime(): boolean;
|
|
108
|
+
get maxLength(): number | undefined;
|
|
109
|
+
get minLength(): number | undefined;
|
|
110
|
+
get pattern(): string | RegExp | undefined;
|
|
111
|
+
asText(minLength?: number, maxLength?: number, pattern?: string | RegExp): this;
|
|
106
112
|
asTextarea(rows?: number): this;
|
|
107
113
|
asNumber(step?: number, min?: number, max?: number, minFractionDigits?: number, maxFractionDigits?: number): this;
|
|
108
114
|
asSwitch(): this;
|
|
@@ -120,15 +126,16 @@ export declare namespace FieldInputDescriptor {
|
|
|
120
126
|
Datepicker = 5
|
|
121
127
|
}
|
|
122
128
|
}
|
|
123
|
-
export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET> {
|
|
129
|
+
export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET> implements ILookupDescriptor<T> {
|
|
124
130
|
protected readonly _modelType: ClassType<T> | null;
|
|
125
|
-
protected
|
|
131
|
+
protected _lookupType: FieldLookupDescriptor.LookupTypeEnum;
|
|
126
132
|
protected _itemsLabelProperty?: string;
|
|
127
133
|
protected _itemsValueProperty?: string;
|
|
128
134
|
protected _dataKeyProperty?: string;
|
|
129
135
|
protected _dataProvider?: ILookupDataProvider<T, any>;
|
|
130
136
|
constructor(editor: EditorDescriptor<ET>, property: string, modelType: ClassType<T> | null);
|
|
131
|
-
get
|
|
137
|
+
get modelType(): ClassType<T> | null;
|
|
138
|
+
get lookupType(): FieldLookupDescriptor.LookupTypeEnum;
|
|
132
139
|
get itemsLabelProperty(): string | undefined;
|
|
133
140
|
get itemsValueProperty(): string | undefined;
|
|
134
141
|
get dataKeyProperty(): string | undefined;
|
|
@@ -136,13 +143,13 @@ export declare class FieldLookupDescriptor<T, ET> extends AFieldDescriptor<T, ET
|
|
|
136
143
|
withItemsLabelProperty(itemsLabelProperty: string): this;
|
|
137
144
|
withItemsValueProperty(itemsValueProperty: string): this;
|
|
138
145
|
withDataKeyProperty(property: string): this;
|
|
139
|
-
withLookup<S>(lookup: (queryParam?:
|
|
146
|
+
withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
|
|
140
147
|
withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
|
|
141
148
|
asAutocomplete(): this;
|
|
142
149
|
copy(): FieldLookupDescriptor<T, ET>;
|
|
143
150
|
}
|
|
144
151
|
export declare namespace FieldLookupDescriptor {
|
|
145
|
-
enum
|
|
152
|
+
enum LookupTypeEnum {
|
|
146
153
|
Dropdown = 0,
|
|
147
154
|
Autocomplete = 1
|
|
148
155
|
}
|
|
@@ -172,7 +179,7 @@ export declare class FieldManyToManyEditorDescriptor<T, ET> extends AFieldDescri
|
|
|
172
179
|
get hasLookupExcludeValues(): boolean;
|
|
173
180
|
get excludeFilterProperty(): string;
|
|
174
181
|
get excludeValueProperty(): string;
|
|
175
|
-
withLookup<S>(getAll: (queryParam:
|
|
182
|
+
withLookup<S>(getAll: (queryParam: MediusQueryParam, service?: S) => Observable<MediusQueryResult<T>>, serviceType?: Type<S>): this;
|
|
176
183
|
withLookupDataProvider(dataProvider: ITableDataProvider<T, any>): this;
|
|
177
184
|
withActions(actions?: Array<FieldManyToManyEditorDescriptor.ActionEnum>): this;
|
|
178
185
|
withLookupExclude(filterProperty: string, valueProperty: string, hasLookupExclude?: boolean): this;
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './action.descriptor';
|
|
2
|
+
export * from './editor.descriptor';
|
|
3
|
+
export * from './field.validator';
|
|
4
|
+
export * from './lookup.descriptor';
|
|
5
|
+
export * from './model.descriptor';
|
|
6
|
+
export * from './table.descriptor';
|
|
7
|
+
export * from './tableview.descriptor';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ILookupDataProvider } from '../data-providers';
|
|
4
|
+
import { ClassType } from '../types';
|
|
5
|
+
import { MediusQueryParam } from '../api/models';
|
|
6
|
+
export interface ILookupDescriptor<T> {
|
|
7
|
+
modelType: ClassType<T> | null;
|
|
8
|
+
itemsLabelProperty?: string;
|
|
9
|
+
itemsValueProperty?: string;
|
|
10
|
+
dataKeyProperty?: string;
|
|
11
|
+
dataProvider?: ILookupDataProvider<T, any>;
|
|
12
|
+
withItemsLabelProperty(itemsLabelProperty: string): this;
|
|
13
|
+
withItemsValueProperty(itemsLabelProperty: string): this;
|
|
14
|
+
withDataKeyProperty(dataKeyProperty: string): this;
|
|
15
|
+
withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
|
|
16
|
+
withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
|
|
17
|
+
}
|
package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ModelDescriptor } from './model.descriptor';
|
|
4
|
+
import { ILookupDescriptor } from './lookup.descriptor';
|
|
5
|
+
import { ClassType } from '../types';
|
|
6
|
+
import { ILookupDataProvider } from '../data-providers';
|
|
7
|
+
import { MediusQueryParam } from '../api/models';
|
|
8
|
+
export declare class TableDescriptor<T> {
|
|
9
|
+
private readonly _model;
|
|
10
|
+
private _filterDisplay;
|
|
11
|
+
private _paginationMode;
|
|
12
|
+
private _columns;
|
|
13
|
+
private _title?;
|
|
14
|
+
private _dataKeyProperty?;
|
|
15
|
+
private _hasDefaultSort;
|
|
16
|
+
private _defaultSortProperty;
|
|
17
|
+
private _defaultSortAsc;
|
|
18
|
+
private _rowHeight;
|
|
19
|
+
private _tableFullHeightOffset;
|
|
20
|
+
constructor(modelType: ClassType<T>, idProperty?: string, titleProperty?: string);
|
|
21
|
+
get model(): ModelDescriptor<T>;
|
|
22
|
+
get filterDisplay(): TableDescriptor.FilterDisplayEnum;
|
|
23
|
+
get paginationMode(): TableDescriptor.PaginationModeEnum;
|
|
24
|
+
get columns(): ColumnDescriptor<any, T>[];
|
|
25
|
+
get title(): string | undefined;
|
|
26
|
+
get dataKeyProperty(): string | undefined;
|
|
27
|
+
get hasDefaultSort(): boolean;
|
|
28
|
+
get defaultSortProperty(): string[];
|
|
29
|
+
get defaultSortAsc(): boolean[];
|
|
30
|
+
get rowHeight(): number;
|
|
31
|
+
get tableFullHeightOffset(): number;
|
|
32
|
+
addColumnDescriptor<CT>(column: ColumnDescriptor<CT, T>): TableDescriptor<T>;
|
|
33
|
+
addColumn(property: string): ColumnDescriptor<string, T>;
|
|
34
|
+
addColumnNumber(property: string, displayFormat?: string): ColumnDescriptor<number, T>;
|
|
35
|
+
addColumnDate(property: string, displayFormat?: string): ColumnDescriptor<Date, T>;
|
|
36
|
+
addColumnBoolean(property: string): ColumnDescriptor<boolean, T>;
|
|
37
|
+
addColumnObject<CT>(property: string, modelType: ClassType<CT>, displayProperty: string): ColumnDescriptor<CT, T>;
|
|
38
|
+
withFilterDisplay(filterDisplayType: TableDescriptor.FilterDisplayEnum): this;
|
|
39
|
+
withPaginationMode(paginationMode: TableDescriptor.PaginationModeEnum): this;
|
|
40
|
+
withTitle(title: string): TableDescriptor<T>;
|
|
41
|
+
withDataKeyProperty(property: string): TableDescriptor<T>;
|
|
42
|
+
withDefaultSort(property: string, asc?: boolean): TableDescriptor<T>;
|
|
43
|
+
withRowHeight(rowHeight: number): TableDescriptor<T>;
|
|
44
|
+
withTableFullHeightOffset(tableFullHeightOffset: number): TableDescriptor<T>;
|
|
45
|
+
private setDataKeyFromColumn;
|
|
46
|
+
copy(): TableDescriptor<T>;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace TableDescriptor {
|
|
49
|
+
enum PaginationModeEnum {
|
|
50
|
+
Pagination = 0,
|
|
51
|
+
InfiniteScroll = 1
|
|
52
|
+
}
|
|
53
|
+
enum FilterDisplayEnum {
|
|
54
|
+
Row = 0,
|
|
55
|
+
Menu = 1
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export declare class ColumnDescriptor<T, TT> {
|
|
59
|
+
private readonly _table;
|
|
60
|
+
private readonly _property;
|
|
61
|
+
private _modelType;
|
|
62
|
+
private _columnType;
|
|
63
|
+
private _title?;
|
|
64
|
+
private _displayPropertyPath?;
|
|
65
|
+
private _isSortEnabled;
|
|
66
|
+
private _filterDescriptor?;
|
|
67
|
+
private _displayFormat?;
|
|
68
|
+
constructor(table: TableDescriptor<TT>, property: string);
|
|
69
|
+
get table(): TableDescriptor<TT>;
|
|
70
|
+
get property(): string;
|
|
71
|
+
get modelType(): ClassType<T> | null;
|
|
72
|
+
get displayPropertyPath(): string | undefined;
|
|
73
|
+
get title(): string | undefined;
|
|
74
|
+
get isSortEnabled(): boolean;
|
|
75
|
+
get columnType(): ColumnDescriptor.TypeEnum;
|
|
76
|
+
get filterDescriptor(): FilterDescriptor<T> | undefined;
|
|
77
|
+
get displayFormat(): string | undefined;
|
|
78
|
+
asType(type?: ColumnDescriptor.TypeEnum): this;
|
|
79
|
+
asNumber(displayFormat?: string): this;
|
|
80
|
+
asDate(displayFormat?: string): this;
|
|
81
|
+
asBoolean(): this;
|
|
82
|
+
withModelType(modelType: ClassType<T>): this;
|
|
83
|
+
withTitle(title: string): this;
|
|
84
|
+
withDisplayPropertyPath(displayPropertyPath: string): this;
|
|
85
|
+
withFilter(): FilterDescriptor<T>;
|
|
86
|
+
withFilterLookup(): FilterLookupDescriptor<T>;
|
|
87
|
+
withSort(isEnabled?: boolean): this;
|
|
88
|
+
copy(): ColumnDescriptor<T, TT>;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace ColumnDescriptor {
|
|
91
|
+
enum TypeEnum {
|
|
92
|
+
String = 0,
|
|
93
|
+
Number = 1,
|
|
94
|
+
Boolean = 2,
|
|
95
|
+
Date = 3
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export declare class FilterDescriptor<T> {
|
|
99
|
+
protected readonly _property: string;
|
|
100
|
+
protected _filterType: FilterDescriptor.TypeEnum;
|
|
101
|
+
protected _filterProperty?: string;
|
|
102
|
+
protected _placeholder?: string;
|
|
103
|
+
protected _className: string;
|
|
104
|
+
constructor(property: string);
|
|
105
|
+
get property(): string;
|
|
106
|
+
get filterType(): FilterDescriptor.TypeEnum;
|
|
107
|
+
get filterProperty(): string | undefined;
|
|
108
|
+
get placeholder(): string | undefined;
|
|
109
|
+
get className(): string;
|
|
110
|
+
asFilterType(filterType: ColumnDescriptor.TypeEnum): this;
|
|
111
|
+
/**
|
|
112
|
+
* Sets different filter property name instead of default property. Use this if API requires different property provided to perform correct filter.
|
|
113
|
+
* @param filterProperty
|
|
114
|
+
*/
|
|
115
|
+
withFilterProperty(filterProperty: string): this;
|
|
116
|
+
withPlaceholder(placeholder: string): this;
|
|
117
|
+
withClassName(className: string): this;
|
|
118
|
+
protected copyFieldsTo(descriptor: FilterDescriptor<T>): void;
|
|
119
|
+
copy(): FilterDescriptor<T>;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace FilterDescriptor {
|
|
122
|
+
enum TypeEnum {
|
|
123
|
+
String = 0,
|
|
124
|
+
Number = 1,
|
|
125
|
+
Boolean = 2,
|
|
126
|
+
Date = 3,
|
|
127
|
+
Lookup = 4
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export declare class FilterLookupDescriptor<T> extends FilterDescriptor<T> implements ILookupDescriptor<T> {
|
|
131
|
+
private readonly _modelType;
|
|
132
|
+
private _lookupType?;
|
|
133
|
+
private _dataProvider?;
|
|
134
|
+
private _itemsLabelProperty?;
|
|
135
|
+
private _itemsValueProperty?;
|
|
136
|
+
private _dataKeyProperty?;
|
|
137
|
+
private _multiselect;
|
|
138
|
+
protected _dropdownClassName: string;
|
|
139
|
+
constructor(property: string, modelType: ClassType<T> | null);
|
|
140
|
+
get modelType(): ClassType<T> | null;
|
|
141
|
+
get lookupType(): FilterLookupDescriptor.LookupTypeEnum | undefined;
|
|
142
|
+
get itemsLabelProperty(): string | undefined;
|
|
143
|
+
get itemsValueProperty(): string | undefined;
|
|
144
|
+
get dataKeyProperty(): string | undefined;
|
|
145
|
+
get dataProvider(): ILookupDataProvider<T, any> | undefined;
|
|
146
|
+
get multiselect(): boolean;
|
|
147
|
+
withItemsLabelProperty(itemsLabelProperty: string): this;
|
|
148
|
+
withItemsValueProperty(itemsValueProperty: string): this;
|
|
149
|
+
withDataKeyProperty(dataKeyProperty: string): this;
|
|
150
|
+
get dropdownClassName(): string;
|
|
151
|
+
withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
|
|
152
|
+
withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
|
|
153
|
+
withMultiselect(multiselect?: boolean): this;
|
|
154
|
+
withDropdownClassName(dropdownClassName: string): this;
|
|
155
|
+
asAutocomplete(): this;
|
|
156
|
+
protected copyFieldsTo(descriptor: FilterLookupDescriptor<T>): void;
|
|
157
|
+
copy(): FilterLookupDescriptor<T>;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace FilterLookupDescriptor {
|
|
160
|
+
enum LookupTypeEnum {
|
|
161
|
+
Dropdown = 0,
|
|
162
|
+
Autocomplete = 1
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { ModelDescriptor } from './
|
|
3
|
-
import { AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor } from './editor-descriptor.model';
|
|
4
|
-
import { ColumnDescriptor, TableDescriptor } from './table-descriptor.model';
|
|
2
|
+
import { ModelDescriptor, AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, ColumnDescriptor, TableDescriptor } from './';
|
|
5
3
|
import { ClassType, EnumMemberType } from '../types';
|
|
6
4
|
export declare class TableviewDescriptor<T> {
|
|
7
5
|
private readonly _model;
|
|
@@ -23,9 +21,12 @@ export declare class TableviewDescriptor<T> {
|
|
|
23
21
|
withEditDescriptor(descriptor: EditorDescriptor<T>): this;
|
|
24
22
|
withTableTitle(title: string): this;
|
|
25
23
|
withValidator(name: string, expression: (control: AbstractControl) => boolean): this;
|
|
26
|
-
addColumnDescriptor<CT>(column: ColumnDescriptor<CT>): TableDescriptor<T>;
|
|
27
|
-
addColumn(property: string): ColumnDescriptor<string>;
|
|
28
|
-
addColumnNumber(property: string): ColumnDescriptor<number>;
|
|
24
|
+
addColumnDescriptor<CT>(column: ColumnDescriptor<CT, T>): TableDescriptor<T>;
|
|
25
|
+
addColumn(property: string): ColumnDescriptor<string, T>;
|
|
26
|
+
addColumnNumber(property: string, displayFormat?: string): ColumnDescriptor<number, T>;
|
|
27
|
+
addColumnDate(property: string, displayFormat?: string): ColumnDescriptor<Date, T>;
|
|
28
|
+
addColumnBoolean(property: string): ColumnDescriptor<boolean, T>;
|
|
29
|
+
addColumnObject<CT>(property: string, modelType: ClassType<CT>, displayProperty: string): ColumnDescriptor<CT, T>;
|
|
29
30
|
createTabGroup(name: string, title?: string): this;
|
|
30
31
|
createFieldGroup(name: string, title?: string): this;
|
|
31
32
|
addFieldDescriptor<FT>(field: AFieldDescriptor<FT, T>): this;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentRef, OnInit, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MngComponentDirective<T> implements OnInit {
|
|
4
|
+
viewContainerRef: ViewContainerRef;
|
|
5
|
+
component: Type<T>;
|
|
6
|
+
componentRef: ComponentRef<T>;
|
|
7
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MngComponentDirective<any>, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MngComponentDirective<any>, "[mngComponent]", never, { "component": "mngComponent"; }, {}, never>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class MngTemplateDirective {
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
|
+
private viewContainerRef;
|
|
5
6
|
type: string;
|
|
6
7
|
name: string;
|
|
7
|
-
constructor(template: TemplateRef<any
|
|
8
|
+
constructor(template: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
8
9
|
getType(): string;
|
|
9
|
-
|
|
10
|
-
static
|
|
10
|
+
getViewContainerRef(): ViewContainerRef;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MngTemplateDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MngTemplateDirective, "[mngTemplate]", never, { "type": "type"; "name": "mngTemplate"; }, {}, never>;
|
|
11
13
|
}
|
|
@@ -1,74 +1,79 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
2
|
import { InputTextModule } from 'primeng/inputtext';
|
|
4
|
-
import { MngModuleConfig } from './models
|
|
5
|
-
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
3
|
+
import { MngModuleConfig } from './config/models';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "./directives/
|
|
8
|
-
import * as i2 from "./
|
|
9
|
-
import * as i3 from "./
|
|
10
|
-
import * as i4 from "./
|
|
11
|
-
import * as i5 from "./components/layout/
|
|
12
|
-
import * as i6 from "./components/layout/
|
|
13
|
-
import * as i7 from "./components/layout/
|
|
14
|
-
import * as i8 from "./components/layout/
|
|
15
|
-
import * as i9 from "./components/
|
|
16
|
-
import * as i10 from "./components/
|
|
17
|
-
import * as i11 from "./components/form/
|
|
18
|
-
import * as i12 from "./components/form/
|
|
19
|
-
import * as i13 from "./components/form/formly/
|
|
20
|
-
import * as i14 from "./components/form/formly/
|
|
21
|
-
import * as i15 from "./components/form/formly/fields/formly-field-
|
|
22
|
-
import * as i16 from "./components/form/formly/fields/formly-field-
|
|
23
|
-
import * as i17 from "./components/form/formly/fields/formly-field-
|
|
24
|
-
import * as i18 from "./components/
|
|
25
|
-
import * as i19 from "./components/
|
|
26
|
-
import * as i20 from "./components/form/
|
|
27
|
-
import * as i21 from "./components/
|
|
28
|
-
import * as i22 from "./components/
|
|
29
|
-
import * as i23 from "./components/
|
|
30
|
-
import * as i24 from "
|
|
31
|
-
import * as i25 from "
|
|
32
|
-
import * as i26 from "
|
|
33
|
-
import * as i27 from "
|
|
34
|
-
import * as i28 from "
|
|
35
|
-
import * as i29 from "
|
|
36
|
-
import * as i30 from "
|
|
37
|
-
import * as i31 from "
|
|
38
|
-
import * as i32 from "
|
|
39
|
-
import * as i33 from "
|
|
40
|
-
import * as i34 from "
|
|
41
|
-
import * as i35 from "
|
|
42
|
-
import * as i36 from "primeng/
|
|
43
|
-
import * as i37 from "primeng/
|
|
44
|
-
import * as i38 from "primeng/
|
|
45
|
-
import * as i39 from "primeng/
|
|
46
|
-
import * as i40 from "primeng/
|
|
47
|
-
import * as i41 from "primeng/
|
|
48
|
-
import * as i42 from "primeng/
|
|
49
|
-
import * as i43 from "primeng/
|
|
50
|
-
import * as i44 from "primeng/
|
|
51
|
-
import * as i45 from "primeng/
|
|
52
|
-
import * as i46 from "primeng/
|
|
53
|
-
import * as i47 from "primeng/
|
|
54
|
-
import * as i48 from "primeng/
|
|
55
|
-
import * as i49 from "primeng/
|
|
56
|
-
import * as i50 from "primeng/
|
|
57
|
-
import * as i51 from "primeng/
|
|
58
|
-
import * as i52 from "primeng/
|
|
59
|
-
import * as i53 from "primeng/
|
|
60
|
-
import * as i54 from "primeng/
|
|
61
|
-
import * as i55 from "primeng/
|
|
62
|
-
import * as i56 from "primeng/
|
|
63
|
-
import * as i57 from "primeng/
|
|
64
|
-
import * as i58 from "primeng/
|
|
65
|
-
import * as i59 from "primeng/
|
|
66
|
-
import * as i60 from "primeng/
|
|
5
|
+
import * as i1 from "./directives/component.directive";
|
|
6
|
+
import * as i2 from "./directives/template.directive";
|
|
7
|
+
import * as i3 from "./pipes/property-path.pipe";
|
|
8
|
+
import * as i4 from "./pipes/boolean.pipe";
|
|
9
|
+
import * as i5 from "./components/layout/breadcrumb.component";
|
|
10
|
+
import * as i6 from "./components/layout/footer.component";
|
|
11
|
+
import * as i7 from "./components/layout/main-layout.component";
|
|
12
|
+
import * as i8 from "./components/layout/menu.component";
|
|
13
|
+
import * as i9 from "./components/layout/menu-item.component";
|
|
14
|
+
import * as i10 from "./components/layout/topbar.component";
|
|
15
|
+
import * as i11 from "./components/form/autocomplete/autocomplete.component";
|
|
16
|
+
import * as i12 from "./components/form/dropdown/dropdown.component";
|
|
17
|
+
import * as i13 from "./components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component";
|
|
18
|
+
import * as i14 from "./components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component";
|
|
19
|
+
import * as i15 from "./components/form/formly/fields/formly-field-input/formly-field-input.component";
|
|
20
|
+
import * as i16 from "./components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component";
|
|
21
|
+
import * as i17 from "./components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component";
|
|
22
|
+
import * as i18 from "./components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component";
|
|
23
|
+
import * as i19 from "./components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component";
|
|
24
|
+
import * as i20 from "./components/form/formly/fields/formly-field-tabs/formly-field-tabs.component";
|
|
25
|
+
import * as i21 from "./components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component";
|
|
26
|
+
import * as i22 from "./components/tableview/table/table.component";
|
|
27
|
+
import * as i23 from "./components/tableview/tableview.component";
|
|
28
|
+
import * as i24 from "./components/tableview/table/column-value/column-value.component";
|
|
29
|
+
import * as i25 from "./components/tableview/table/column-filter/column-filter.component";
|
|
30
|
+
import * as i26 from "./components/form/editor/form-editor.component";
|
|
31
|
+
import * as i27 from "./components/action/action.component";
|
|
32
|
+
import * as i28 from "./components/action/dialog/action-dialog.component";
|
|
33
|
+
import * as i29 from "./components/action/route/action-route.component";
|
|
34
|
+
import * as i30 from "@angular/common";
|
|
35
|
+
import * as i31 from "@angular/router";
|
|
36
|
+
import * as i32 from "@angular/common/http";
|
|
37
|
+
import * as i33 from "@angular/forms";
|
|
38
|
+
import * as i34 from "@ngx-translate/core";
|
|
39
|
+
import * as i35 from "@ngx-formly/core";
|
|
40
|
+
import * as i36 from "primeng/autocomplete";
|
|
41
|
+
import * as i37 from "primeng/breadcrumb";
|
|
42
|
+
import * as i38 from "primeng/button";
|
|
43
|
+
import * as i39 from "primeng/calendar";
|
|
44
|
+
import * as i40 from "primeng/card";
|
|
45
|
+
import * as i41 from "primeng/checkbox";
|
|
46
|
+
import * as i42 from "primeng/chip";
|
|
47
|
+
import * as i43 from "primeng/confirmdialog";
|
|
48
|
+
import * as i44 from "primeng/confirmpopup";
|
|
49
|
+
import * as i45 from "primeng/dialog";
|
|
50
|
+
import * as i46 from "primeng/dynamicdialog";
|
|
51
|
+
import * as i47 from "primeng/dropdown";
|
|
52
|
+
import * as i48 from "primeng/inputnumber";
|
|
53
|
+
import * as i49 from "primeng/inputmask";
|
|
54
|
+
import * as i50 from "primeng/inputswitch";
|
|
55
|
+
import * as i51 from "primeng/inputtext";
|
|
56
|
+
import * as i52 from "primeng/inputtextarea";
|
|
57
|
+
import * as i53 from "primeng/paginator";
|
|
58
|
+
import * as i54 from "primeng/radiobutton";
|
|
59
|
+
import * as i55 from "primeng/ripple";
|
|
60
|
+
import * as i56 from "primeng/selectbutton";
|
|
61
|
+
import * as i57 from "primeng/table";
|
|
62
|
+
import * as i58 from "primeng/tag";
|
|
63
|
+
import * as i59 from "primeng/toast";
|
|
64
|
+
import * as i60 from "primeng/togglebutton";
|
|
65
|
+
import * as i61 from "primeng/toolbar";
|
|
66
|
+
import * as i62 from "primeng/tooltip";
|
|
67
|
+
import * as i63 from "primeng/messages";
|
|
68
|
+
import * as i64 from "primeng/progressspinner";
|
|
69
|
+
import * as i65 from "primeng/tabview";
|
|
70
|
+
import * as i66 from "primeng/fieldset";
|
|
71
|
+
import * as i67 from "primeng/multiselect";
|
|
72
|
+
import * as i68 from "primeng/skeleton";
|
|
67
73
|
export declare const primeNgModules: (typeof InputTextModule)[];
|
|
68
|
-
export declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
|
|
69
74
|
export declare class MngCommonsModule {
|
|
70
75
|
static forRoot(config: MngModuleConfig): ModuleWithProviders<MngCommonsModule>;
|
|
71
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsModule, never>;
|
|
72
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.
|
|
77
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngFormEditorComponent, typeof i27.MngActionComponent, typeof i28.MngActionDialogComponent, typeof i29.MngActionRouteComponent], [typeof i30.CommonModule, typeof i31.RouterModule, typeof i32.HttpClientModule, typeof i33.ReactiveFormsModule, typeof i34.TranslateModule, typeof i35.FormlyModule, typeof i36.AutoCompleteModule, typeof i37.BreadcrumbModule, typeof i38.ButtonModule, typeof i39.CalendarModule, typeof i40.CardModule, typeof i41.CheckboxModule, typeof i42.ChipModule, typeof i43.ConfirmDialogModule, typeof i44.ConfirmPopupModule, typeof i45.DialogModule, typeof i46.DynamicDialogModule, typeof i47.DropdownModule, typeof i48.InputNumberModule, typeof i49.InputMaskModule, typeof i50.InputSwitchModule, typeof i51.InputTextModule, typeof i52.InputTextareaModule, typeof i53.PaginatorModule, typeof i54.RadioButtonModule, typeof i55.RippleModule, typeof i56.SelectButtonModule, typeof i57.TableModule, typeof i58.TagModule, typeof i59.ToastModule, typeof i60.ToggleButtonModule, typeof i61.ToolbarModule, typeof i62.TooltipModule, typeof i63.MessagesModule, typeof i64.ProgressSpinnerModule, typeof i65.TabViewModule, typeof i66.FieldsetModule, typeof i67.MultiSelectModule, typeof i68.SkeletonModule], [typeof i36.AutoCompleteModule, typeof i37.BreadcrumbModule, typeof i38.ButtonModule, typeof i39.CalendarModule, typeof i40.CardModule, typeof i41.CheckboxModule, typeof i42.ChipModule, typeof i43.ConfirmDialogModule, typeof i44.ConfirmPopupModule, typeof i45.DialogModule, typeof i46.DynamicDialogModule, typeof i47.DropdownModule, typeof i48.InputNumberModule, typeof i49.InputMaskModule, typeof i50.InputSwitchModule, typeof i51.InputTextModule, typeof i52.InputTextareaModule, typeof i53.PaginatorModule, typeof i54.RadioButtonModule, typeof i55.RippleModule, typeof i56.SelectButtonModule, typeof i57.TableModule, typeof i58.TagModule, typeof i59.ToastModule, typeof i60.ToggleButtonModule, typeof i61.ToolbarModule, typeof i62.TooltipModule, typeof i63.MessagesModule, typeof i64.ProgressSpinnerModule, typeof i65.TabViewModule, typeof i66.FieldsetModule, typeof i67.MultiSelectModule, typeof i68.SkeletonModule, typeof i1.MngComponentDirective, typeof i2.MngTemplateDirective, typeof i3.MngPropertyPathPipe, typeof i4.MngBooleanPipe, typeof i5.MngBreadcrumbComponent, typeof i6.MngFooterComponent, typeof i7.MngMainLayoutComponent, typeof i8.MngMenuComponent, typeof i9.MngMenuItemComponent, typeof i10.MngTopbarComponent, typeof i11.MngAutocompleteComponent, typeof i12.MngDropdownComponent, typeof i13.MngFormlyFieldWrapperComponent, typeof i14.MngFormlyTableWrapperComponent, typeof i15.MngFormlyFieldInputComponent, typeof i16.MngFormlyFieldDropdownComponent, typeof i17.MngFormlyFieldAutocompleteComponent, typeof i18.MngFormlyFieldTableDialogMultiselectComponent, typeof i19.MngFormlyFieldTableDialogFormComponent, typeof i20.MngFormlyFieldTabsComponent, typeof i21.MngFormlyFieldFieldsetComponent, typeof i22.MngTableComponent, typeof i23.MngTableviewComponent, typeof i24.MngTableColumnValueComponent, typeof i25.MngTableColumnFilterComponent, typeof i26.MngFormEditorComponent, typeof i27.MngActionComponent, typeof i28.MngActionDialogComponent, typeof i29.MngActionRouteComponent]>;
|
|
73
78
|
static ɵinj: i0.ɵɵInjectorDeclaration<MngCommonsModule>;
|
|
74
79
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Data } from '@angular/router';
|
|
2
|
+
import { MenuItem } from 'primeng/api';
|
|
3
|
+
import { Type } from '@angular/core';
|
|
4
|
+
export interface MngBreadcrumbMenuItem extends MenuItem {
|
|
5
|
+
isHome?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface MngRouterData extends Data {
|
|
8
|
+
breadcrumb?: string | string[] | MngBreadcrumbMenuItem | MngBreadcrumbMenuItem[] | ((routeUrl: string, route: ActivatedRouteSnapshot) => MngBreadcrumbMenuItem[]);
|
|
9
|
+
pageTitle?: string;
|
|
10
|
+
topbarComponent?: Type<any>;
|
|
11
|
+
breadcrumbComponent?: Type<any>;
|
|
12
|
+
menuComponent?: Type<any>;
|
|
13
|
+
footerComponent?: Type<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MngBooleanPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MngBooleanPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MngBooleanPipe, "boolean">;
|
|
7
|
+
}
|