@acorex/platform 18.2.0 → 18.2.2
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/common/lib/app/application.types.d.ts +18 -2
- package/common/lib/data/data.types.d.ts +1 -1
- package/common/lib/data/entity-storage-service.d.ts +1 -2
- package/common/lib/layout/component-slot/component-slot-loader.service.d.ts +2 -2
- package/common/lib/layout/component-slot/component-slot.types.d.ts +2 -1
- package/common/lib/layout/menu/index.d.ts +0 -1
- package/common/lib/layout/menu/menu.provider.d.ts +12 -5
- package/common/lib/layout/menu/menu.service.d.ts +8 -2
- package/common/lib/layout/menu/menu.types.d.ts +9 -6
- package/common/lib/settings/index.d.ts +2 -1
- package/common/lib/settings/setting-definition.provider.d.ts +19 -0
- package/common/lib/settings/settings.types.d.ts +42 -0
- package/common/lib/utils/index.d.ts +0 -1
- package/esm2022/common/lib/app/application.types.mjs +13 -1
- package/esm2022/common/lib/common.module.mjs +14 -16
- package/esm2022/common/lib/data/data.types.mjs +1 -1
- package/esm2022/common/lib/data/dexie-storage.service.mjs +2 -2
- package/esm2022/common/lib/data/entity-storage-service.mjs +5 -5
- package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +6 -5
- package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +1 -1
- package/esm2022/common/lib/layout/menu/index.mjs +1 -2
- package/esm2022/common/lib/layout/menu/menu.provider.mjs +105 -28
- package/esm2022/common/lib/layout/menu/menu.service.mjs +42 -10
- package/esm2022/common/lib/layout/menu/menu.types.mjs +1 -1
- package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +2 -1
- package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +4 -4
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +22 -22
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +2 -2
- package/esm2022/common/lib/settings/index.mjs +3 -2
- package/esm2022/common/lib/settings/setting-definition.provider.mjs +229 -0
- package/esm2022/common/lib/settings/settings.types.mjs +7 -2
- package/esm2022/common/lib/utils/index.mjs +1 -2
- package/esm2022/common/lib/workflows/common.workflow.mjs +5 -3
- package/esm2022/layout/builder/lib/builder/builder.service.mjs +3 -2
- package/esm2022/layout/builder/lib/builder/datasource-provider.service.mjs +27 -0
- package/esm2022/layout/builder/lib/builder/index.mjs +2 -1
- package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +2 -1
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.directive.mjs +3 -9
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +7 -5
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +59 -6
- package/esm2022/layout/designer/lib/designer/components/board/board.component.mjs +66 -47
- package/esm2022/layout/designer/lib/designer/components/breadcrumbs/breadcrumbs.component.mjs +27 -32
- package/esm2022/layout/designer/lib/designer/components/drawers/data-sources/data-sources.component.mjs +5 -4
- package/esm2022/layout/designer/lib/designer/components/grid-drawer/grid-drawer.component.mjs +2 -2
- package/esm2022/layout/designer/lib/designer/components/header-menu/header-menu.component.mjs +35 -10
- package/esm2022/layout/designer/lib/designer/components/size-mode/view-size-toolbar.component.mjs +23 -23
- package/esm2022/layout/designer/lib/designer/components/widget-picker/widget-picker.component.mjs +3 -3
- package/esm2022/layout/designer/lib/designer/designer.component.mjs +10 -9
- package/esm2022/layout/designer/lib/designer/index.mjs +2 -1
- package/esm2022/layout/designer/lib/designer/shared/designer-connector.service.mjs +5 -5
- package/esm2022/layout/designer/lib/designer/shared/designer.service.mjs +158 -63
- package/esm2022/layout/designer/lib/designer/shared/designer.types.mjs +1 -1
- package/esm2022/layout/designer/lib/designer/shared/generic-commands.types.mjs +52 -0
- package/esm2022/layout/designer/lib/designer/shared/widget-designer-renderer.directive.mjs +35 -38
- package/esm2022/layout/designer/lib/preview/preview-viewer.component.mjs +12 -3
- package/esm2022/layout/designer/lib/preview/preview.component.mjs +3 -2
- package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +7 -6
- package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +5 -7
- package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +3 -3
- package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +21 -18
- package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +8 -7
- package/esm2022/layout/entity/lib/entity.config.mjs +6 -6
- package/esm2022/layout/entity/lib/entity.service.mjs +18 -0
- package/esm2022/layout/entity/lib/entity.viewmodel.mjs +7 -5
- package/esm2022/layout/entity/lib/index.mjs +2 -1
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +10 -4
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +42 -32
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +3 -3
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +20 -19
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +79 -40
- package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +6 -5
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +30 -10
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +9 -8
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +24 -18
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.mjs +12 -10
- package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/root-layout/components/menu/root-menu.component.mjs +4 -3
- package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +2 -4
- package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +6 -1
- package/esm2022/themes/shared/lib/shared.module.mjs +25 -4
- package/esm2022/widgets/lib/properties/editors.props.mjs +4 -2
- package/esm2022/widgets/lib/properties/general.props.mjs +2 -2
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +44 -20
- package/esm2022/widgets/lib/widgets/editors/contact/popup-component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +17 -15
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +7 -10
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +13 -6
- package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/select/index.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +9 -20
- package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +20 -25
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-designer.component.mjs +35 -17
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +41 -19
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-view.component.mjs +24 -15
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +4 -2
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.mjs +14 -7
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-view.component.mjs +29 -67
- package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +32 -17
- package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +1 -22
- package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +76 -78
- package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +9 -9
- package/esm2022/widgets/lib/widgets/layout/template/template-picker/template-picker.component.mjs +120 -0
- package/esm2022/widgets/lib/widgets/layout/template/template-widget-edit.component.mjs +65 -24
- package/esm2022/widgets/lib/widgets/layout/template/template-widget-view.component.mjs +27 -7
- package/esm2022/widgets/lib/widgets/layout/template/template.provider.mjs +18 -1
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-D4k52w2k.mjs → acorex-platform-common-avatar-widget-edit.component-vDhYokEG.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-D4k52w2k.mjs.map → acorex-platform-common-avatar-widget-edit.component-vDhYokEG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-avatar-widget-view.component-Bbg1imZG.mjs → acorex-platform-common-avatar-widget-view.component-Dew3CVLm.mjs} +3 -4
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-Dew3CVLm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-CRFI7vNR.mjs → acorex-platform-common-boolean-widget-filter.component-BdE7WOK5.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-CRFI7vNR.mjs.map → acorex-platform-common-boolean-widget-filter.component-BdE7WOK5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-change-password.component-Djd4SeNv.mjs → acorex-platform-common-change-password.component-g_GEw3IZ.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-change-password.component-Djd4SeNv.mjs.map → acorex-platform-common-change-password.component-g_GEw3IZ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-BCUcZiP_.mjs → acorex-platform-common-checkbox-widget-column.component-Bj5rjEk1.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-BCUcZiP_.mjs.map → acorex-platform-common-checkbox-widget-column.component-Bj5rjEk1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-GgWLpxV0.mjs → acorex-platform-common-checkbox-widget-edit.component-ChXbJsuG.mjs} +4 -5
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-ChXbJsuG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-KuRnDGoQ.mjs → acorex-platform-common-checkbox-widget-view.component-CbQwjE_u.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-KuRnDGoQ.mjs.map → acorex-platform-common-checkbox-widget-view.component-CbQwjE_u.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-DaXNK6e2.mjs → acorex-platform-common-dateTime-widget-column.component-QUYyDVw8.mjs} +3 -4
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-QUYyDVw8.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-XOReyHZ-.mjs → acorex-platform-common-dateTime-widget-edit.component-CzLb3xnR.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-XOReyHZ-.mjs.map → acorex-platform-common-dateTime-widget-edit.component-CzLb3xnR.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-3PJx2C6G.mjs → acorex-platform-common-dateTime-widget-filter.component-DZRQ6yVk.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-3PJx2C6G.mjs.map → acorex-platform-common-dateTime-widget-filter.component-DZRQ6yVk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-BWTedYCf.mjs → acorex-platform-common-dateTime-widget-view.component-DxNwm_5m.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-BWTedYCf.mjs.map → acorex-platform-common-dateTime-widget-view.component-DxNwm_5m.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-column.component-MySWR3RG.mjs → acorex-platform-common-email-widget-column.component-Cm-fhlNZ.mjs} +3 -4
- package/fesm2022/acorex-platform-common-email-widget-column.component-Cm-fhlNZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-DzqW3Ay6.mjs → acorex-platform-common-email-widget-edit.component-BfXFBLF6.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-DzqW3Ay6.mjs.map → acorex-platform-common-email-widget-edit.component-BfXFBLF6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-view.component-ikN6SIj0.mjs → acorex-platform-common-email-widget-view.component-ClRjKVy6.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-email-widget-view.component-ikN6SIj0.mjs.map → acorex-platform-common-email-widget-view.component-ClRjKVy6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-column.component-GtbElxmS.mjs → acorex-platform-common-file-widget-column.component-B0v2rSWI.mjs} +2 -3
- package/fesm2022/acorex-platform-common-file-widget-column.component-B0v2rSWI.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CPSsJviw.mjs → acorex-platform-common-file-widget-edit.component-DsIqehpt.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CPSsJviw.mjs.map → acorex-platform-common-file-widget-edit.component-DsIqehpt.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-filter.component-D-_WnxlE.mjs → acorex-platform-common-file-widget-filter.component-C3uBjqF-.mjs} +3 -4
- package/fesm2022/acorex-platform-common-file-widget-filter.component-C3uBjqF-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-view.component-BU8iWCVR.mjs → acorex-platform-common-file-widget-view.component-DTl_Rehd.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-file-widget-view.component-BU8iWCVR.mjs.map → acorex-platform-common-file-widget-view.component-DTl_Rehd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-DMu9OW45.mjs → acorex-platform-common-gallery-widget-edit.component-DHeFVg5x.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-DMu9OW45.mjs.map → acorex-platform-common-gallery-widget-edit.component-DHeFVg5x.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-BNYgn0eK.mjs → acorex-platform-common-gallery-widget-filter.component-Di446i2c.mjs} +3 -4
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-Di446i2c.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-D52gjNcJ.mjs → acorex-platform-common-gallery-widget-view.component-CkcRvfv-.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-D52gjNcJ.mjs.map → acorex-platform-common-gallery-widget-view.component-CkcRvfv-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-B7Hq-1ny.mjs → acorex-platform-common-largetext-widget-edit.component-D89AlBSm.mjs} +2 -3
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-D89AlBSm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-column.component-2ccF27nN.mjs → acorex-platform-common-lookup-widget-column.component-CB0ehp_y.mjs} +3 -4
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CB0ehp_y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-Cn3yALld.mjs → acorex-platform-common-lookup-widget-edit.component-B0HQnsb8.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-Cn3yALld.mjs.map → acorex-platform-common-lookup-widget-edit.component-B0HQnsb8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-NY-w7EgD.mjs → acorex-platform-common-lookup-widget-filter.component-Dxj_XEYV.mjs} +4 -5
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-Dxj_XEYV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-view.component-DjbS0xsx.mjs → acorex-platform-common-lookup-widget-view.component-BtO3feA9.mjs} +3 -4
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-BtO3feA9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-edit.component-CHyEencO.mjs → acorex-platform-common-map-widget-edit.component-hXIZrhzg.mjs} +3 -4
- package/fesm2022/acorex-platform-common-map-widget-edit.component-hXIZrhzg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-view.component-BMK6QTKt.mjs → acorex-platform-common-map-widget-view.component-RgV-r8q6.mjs} +3 -4
- package/fesm2022/acorex-platform-common-map-widget-view.component-RgV-r8q6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-column.component-iVdgR19k.mjs → acorex-platform-common-messenger-widget-column.component-DGWQWuzM.mjs} +3 -4
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-DGWQWuzM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-BicSI2_5.mjs → acorex-platform-common-messenger-widget-edit.component-Blv1qL4e.mjs} +3 -4
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-Blv1qL4e.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-DlSSOqrz.mjs → acorex-platform-common-messenger-widget-view.component-DEbnPggG.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-DlSSOqrz.mjs.map → acorex-platform-common-messenger-widget-view.component-DEbnPggG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-number-widget-edit.component-DlLjt4OQ.mjs → acorex-platform-common-number-widget-edit.component-gQCEBhPv.mjs} +3 -4
- package/fesm2022/acorex-platform-common-number-widget-edit.component-gQCEBhPv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-DPZQomNX.mjs → acorex-platform-common-number-widget-filter.component-CvEw3awN.mjs} +4 -5
- package/fesm2022/acorex-platform-common-number-widget-filter.component-CvEw3awN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-number-widget-view.component-BW1ftaLk.mjs → acorex-platform-common-number-widget-view.component-ROrdklif.mjs} +3 -4
- package/fesm2022/acorex-platform-common-number-widget-view.component-ROrdklif.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-column.component-BZEavb7p.mjs → acorex-platform-common-password-widget-column.component-vXdE4UjM.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-password-widget-column.component-BZEavb7p.mjs.map → acorex-platform-common-password-widget-column.component-vXdE4UjM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-password-widget-edit.component-De5r-L4i.mjs → acorex-platform-common-password-widget-edit.component-BCOoHtGl.mjs} +3 -4
- package/fesm2022/acorex-platform-common-password-widget-edit.component-BCOoHtGl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-view.component-Dw4xxdOT.mjs → acorex-platform-common-password-widget-view.component-rpjAeimk.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-password-widget-view.component-Dw4xxdOT.mjs.map → acorex-platform-common-password-widget-view.component-rpjAeimk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-column.component-BTbtfPty.mjs → acorex-platform-common-phone-widget-column.component-BbuUbPCu.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-phone-widget-column.component-BTbtfPty.mjs.map → acorex-platform-common-phone-widget-column.component-BbuUbPCu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-Ay4y8j_t.mjs → acorex-platform-common-phone-widget-edit.component-Bo_aOxfZ.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-Ay4y8j_t.mjs.map → acorex-platform-common-phone-widget-edit.component-Bo_aOxfZ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-D4WqjjBP.mjs → acorex-platform-common-phone-widget-view.component-DDBCR_QY.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-D4WqjjBP.mjs.map → acorex-platform-common-phone-widget-view.component-DDBCR_QY.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-B5rev2NB.mjs → acorex-platform-common-rich-text-widget-column.component-BHiq7hdp.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-B5rev2NB.mjs.map → acorex-platform-common-rich-text-widget-column.component-BHiq7hdp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-BHBRQKhj.mjs → acorex-platform-common-rich-text-widget-edit.component-12odUyzb.mjs} +3 -4
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-12odUyzb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-0bIoY7Ws.mjs → acorex-platform-common-rich-text-widget-view.component-Xr0ohz5L.mjs} +3 -4
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-Xr0ohz5L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-CzJWP4YT.mjs → acorex-platform-common-selection-list-widget-column.component-C2JikSdw.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-CzJWP4YT.mjs.map → acorex-platform-common-selection-list-widget-column.component-C2JikSdw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-DhYa6y65.mjs → acorex-platform-common-selection-list-widget-edit.component-C1QPfHCm.mjs} +4 -5
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-C1QPfHCm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-B344MeXJ.mjs → acorex-platform-common-selection-list-widget-filter.component-DIgxHmqa.mjs} +3 -4
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DIgxHmqa.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-Czk5DzgK.mjs → acorex-platform-common-selection-list-widget-view.component-D-VQ4JNC.mjs} +3 -4
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-D-VQ4JNC.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-YSGjL25D.mjs → acorex-platform-common-signature-pad-widget-edit.component-BimaJ4_d.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-YSGjL25D.mjs.map → acorex-platform-common-signature-pad-widget-edit.component-BimaJ4_d.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-D64btt99.mjs → acorex-platform-common-signature-pad-widget-view.component-USd0U707.mjs} +3 -4
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-USd0U707.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-string-widget-filter.component-5wb1x5Fa.mjs → acorex-platform-common-string-widget-filter.component-wI9D-Ju5.mjs} +4 -5
- package/fesm2022/acorex-platform-common-string-widget-filter.component-wI9D-Ju5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-text-widget-column.component-U-V3HD2V.mjs → acorex-platform-common-text-widget-column.component-Be7Nr0lJ.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-text-widget-column.component-U-V3HD2V.mjs.map → acorex-platform-common-text-widget-column.component-Be7Nr0lJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-text-widget-edit.component-BCs13zUr.mjs → acorex-platform-common-text-widget-edit.component-feJTTnye.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-text-widget-edit.component-BCs13zUr.mjs.map → acorex-platform-common-text-widget-edit.component-feJTTnye.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-text-widget-view.component-V1RkKuNZ.mjs → acorex-platform-common-text-widget-view.component-DsUAJ-md.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-text-widget-view.component-V1RkKuNZ.mjs.map → acorex-platform-common-text-widget-view.component-DsUAJ-md.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-FqKLeAhY.mjs → acorex-platform-common-toggle-widget-column.component-BFwzsY4-.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-FqKLeAhY.mjs.map → acorex-platform-common-toggle-widget-column.component-BFwzsY4-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-DKSnFdTQ.mjs → acorex-platform-common-toggle-widget-edit.component-Cuf9_RrU.mjs} +3 -4
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-Cuf9_RrU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-BOYPRUCt.mjs → acorex-platform-common-toggle-widget-view.component-DYz6VTey.mjs} +3 -4
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-BOYPRUCt.mjs.map → acorex-platform-common-toggle-widget-view.component-DYz6VTey.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +515 -237
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +92 -17
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +424 -231
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +206 -134
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs → acorex-platform-layouts-entity-create-view.component-JsGlDx_S.mjs} +3 -3
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs.map → acorex-platform-layouts-entity-create-view.component-JsGlDx_S.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-import-view.component-CZpEcVi9.mjs → acorex-platform-layouts-entity-import-view.component-9FK_Iro9.mjs} +2 -2
- package/fesm2022/{acorex-platform-layouts-entity-import-view.component-CZpEcVi9.mjs.map → acorex-platform-layouts-entity-import-view.component-9FK_Iro9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs → acorex-platform-layouts-entity-modify-view.component-CNbc8ewu.mjs} +3 -3
- package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs.map → acorex-platform-layouts-entity-modify-view.component-CNbc8ewu.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layouts.mjs +14 -13
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BJ7inoTB.mjs → acorex-platform-themes-default-entity-master-create-view.component-Cf5ttvrG.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BJ7inoTB.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-Cf5ttvrG.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BLb_4pK5.mjs +306 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BLb_4pK5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CCvE7XiE.mjs +88 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CCvE7XiE.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CwrgQFY7.mjs +150 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CwrgQFY7.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +49 -27
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +23 -4
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-M_JuDPbt.mjs → acorex-platform-widgets-button-widget-designer.component-CPFA79Gx.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-M_JuDPbt.mjs.map → acorex-platform-widgets-button-widget-designer.component-CPFA79Gx.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs → acorex-platform-widgets-checkbox-widget-column.component-MInF2GVN.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-MInF2GVN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-e9O9qFIf.mjs → acorex-platform-widgets-checkbox-widget-designer.component-B7Qv2aYx.mjs} +5 -5
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-e9O9qFIf.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-B7Qv2aYx.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-CDA7Jwov.mjs → acorex-platform-widgets-checkbox-widget-view.component-DP4kITs-.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-CDA7Jwov.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-DP4kITs-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-Brsun0id.mjs → acorex-platform-widgets-color-box-widget-designer.component-uQBHAspe.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-uQBHAspe.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs → acorex-platform-widgets-contact-widget-filter.component-DnQZon-E.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs.map → acorex-platform-widgets-contact-widget-filter.component-DnQZon-E.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-BL_EAwUs.mjs → acorex-platform-widgets-page-widget-designer.component-DOulAanE.mjs} +76 -78
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DOulAanE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs → acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs.map → acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets-template-picker.component-DPlvwgbu.mjs +123 -0
- package/fesm2022/acorex-platform-widgets-template-picker.component-DPlvwgbu.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-template-widget-edit.component-JlCVB-Aq.mjs +135 -0
- package/fesm2022/acorex-platform-widgets-template-widget-edit.component-JlCVB-Aq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs → acorex-platform-widgets-text-block-widget-designer.component-BE6goaZc.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-BE6goaZc.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +438 -385
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1 -1
- package/layout/builder/lib/builder/datasource-provider.service.d.ts +24 -0
- package/layout/builder/lib/builder/index.d.ts +1 -0
- package/layout/builder/lib/builder/widget.types.d.ts +15 -9
- package/layout/designer/lib/designer/components/board/board.component.d.ts +8 -1
- package/layout/designer/lib/designer/components/drawers/data-sources/data-sources.component.d.ts +6 -4
- package/layout/designer/lib/designer/designer.component.d.ts +3 -2
- package/layout/designer/lib/designer/index.d.ts +1 -0
- package/layout/designer/lib/designer/shared/designer-connector.service.d.ts +10 -9
- package/layout/designer/lib/designer/shared/designer.service.d.ts +18 -5
- package/layout/designer/lib/designer/shared/designer.types.d.ts +0 -4
- package/layout/designer/lib/designer/shared/generic-commands.types.d.ts +9 -0
- package/layout/designer/lib/designer/shared/widget-designer-renderer.directive.d.ts +8 -5
- package/layout/designer/lib/preview/preview-viewer.component.d.ts +8 -1
- package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +8 -4
- package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +2 -1
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +1 -1
- package/layout/entity/lib/entity-master-list.viewmodel.d.ts +2 -3
- package/layout/entity/lib/entity-master-single.viewmodel.d.ts +2 -1
- package/layout/entity/lib/entity-master-update.viewmodel.d.ts +1 -1
- package/layout/entity/lib/entity.config.d.ts +1 -1
- package/layout/entity/lib/entity.service.d.ts +7 -0
- package/layout/entity/lib/entity.viewmodel.d.ts +6 -4
- package/layout/entity/lib/index.d.ts +1 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +14 -12
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +2 -2
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +13 -10
- package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +0 -1
- package/package.json +12 -12
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +1 -1
- package/themes/default/lib/layouts/root-layout/components/menu/root-menu.component.d.ts +8 -2
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +3 -6
- package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +14 -13
- package/themes/shared/lib/shared.module.d.ts +2 -1
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.d.ts +2 -0
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.d.ts +1 -3
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/select/index.d.ts +2 -2
- package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +3 -6
- package/widgets/lib/widgets/editors/select/select-box-widget-view.component.d.ts +2 -3
- package/widgets/lib/widgets/editors/selection-list/selection-list-widget-designer.component.d.ts +6 -7
- package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts +5 -6
- package/widgets/lib/widgets/editors/selection-list/selection-list-widget-view.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.d.ts +1 -2
- package/widgets/lib/widgets/editors/toggle/toggle-widget-print.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/toggle/toggle-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/layout/page/page-widget-designer.component.d.ts +8 -9
- package/widgets/lib/widgets/layout/template/template-picker/template-picker.component.d.ts +30 -0
- package/widgets/lib/widgets/layout/template/template-widget-edit.component.d.ts +3 -0
- package/widgets/lib/widgets/layout/template/template-widget-view.component.d.ts +1 -0
- package/widgets/lib/widgets/layout/template/template.provider.d.ts +3 -0
- package/common/lib/layout/menu/menu.loader.d.ts +0 -17
- package/common/lib/utils/router-util.service.d.ts +0 -12
- package/esm2022/common/lib/layout/menu/menu.loader.mjs +0 -39
- package/esm2022/common/lib/utils/router-util.service.mjs +0 -43
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-Bbg1imZG.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-GgWLpxV0.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-DaXNK6e2.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-column.component-MySWR3RG.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-column.component-GtbElxmS.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D-_WnxlE.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BNYgn0eK.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-B7Hq-1ny.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-2ccF27nN.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-NY-w7EgD.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-DjbS0xsx.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CHyEencO.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-view.component-BMK6QTKt.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-iVdgR19k.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-BicSI2_5.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-edit.component-DlLjt4OQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-filter.component-DPZQomNX.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-view.component-BW1ftaLk.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-edit.component-De5r-L4i.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-BHBRQKhj.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-0bIoY7Ws.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-DhYa6y65.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-B344MeXJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-Czk5DzgK.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-D64btt99.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-string-widget-filter.component-5wb1x5Fa.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-DKSnFdTQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BGKWaCth.mjs +0 -298
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BGKWaCth.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3phYOIw.mjs +0 -88
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3phYOIw.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BO_lAQc_.mjs +0 -150
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BO_lAQc_.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-Brsun0id.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-BL_EAwUs.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-template-widget-edit.component-gvAh-gH1.mjs +0 -96
- package/fesm2022/acorex-platform-widgets-template-widget-edit.component-gvAh-gH1.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i1$3 from '@acorex/components/badge';
|
|
2
2
|
import { AXBadgeModule } from '@acorex/components/badge';
|
|
3
3
|
import * as i5 from '@acorex/components/button';
|
|
4
4
|
import { AXButtonModule } from '@acorex/components/button';
|
|
@@ -6,63 +6,63 @@ import * as i3 from '@acorex/components/decorators';
|
|
|
6
6
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
7
7
|
import * as i4 from '@acorex/components/loading';
|
|
8
8
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
9
|
-
import * as i1$
|
|
10
|
-
import { AXPWidgetComponent, AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
|
9
|
+
import * as i1$7 from '@acorex/platform/layout/builder';
|
|
10
|
+
import { AXPWidgetComponent, AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
|
11
11
|
import * as i1$2 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import * as i0 from '@angular/core';
|
|
14
|
-
import { computed, EventEmitter,
|
|
15
|
-
import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource
|
|
14
|
+
import { computed, EventEmitter, ChangeDetectionStrategy, Component, inject, HostBinding, signal, effect, ViewEncapsulation, ViewChild, ChangeDetectorRef, InjectionToken, Injectable, HostListener, NgModule } from '@angular/core';
|
|
15
|
+
import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource } from '@acorex/components/common';
|
|
16
16
|
import * as i1 from '@acorex/components/check-box';
|
|
17
17
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
18
|
-
import * as i2 from '@angular/forms';
|
|
19
|
-
import { FormsModule } from '@angular/forms';
|
|
20
|
-
import * as i2$1 from '@acorex/components/label';
|
|
21
|
-
import { AXLabelModule } from '@acorex/components/label';
|
|
22
|
-
import { AXPClipBoardService } from '@acorex/platform/common';
|
|
23
18
|
import * as i3$1 from '@acorex/components/form';
|
|
24
19
|
import { AXFormModule } from '@acorex/components/form';
|
|
20
|
+
import * as i2 from '@acorex/components/label';
|
|
21
|
+
import { AXLabelModule } from '@acorex/components/label';
|
|
22
|
+
import { AXValidationModule, AXValidationService } from '@acorex/core/validation';
|
|
23
|
+
import * as i1$1 from '@angular/forms';
|
|
24
|
+
import { FormsModule } from '@angular/forms';
|
|
25
|
+
import { AXPClipBoardService } from '@acorex/platform/common';
|
|
25
26
|
import { AXPopupService } from '@acorex/components/popup';
|
|
26
|
-
import * as i3$
|
|
27
|
+
import * as i3$3 from '@acorex/components/select-box';
|
|
27
28
|
import { AXSelectBoxModule, AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
28
29
|
import * as i7 from '@acorex/components/text-box';
|
|
29
30
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
30
|
-
import * as
|
|
31
|
+
import * as i3$2 from '@acorex/core/translation';
|
|
31
32
|
import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
|
|
32
|
-
import { AXValidationModule, AXValidationService } from '@acorex/core/validation';
|
|
33
33
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
34
34
|
import { AXDateTimeFormatter } from '@acorex/core/date-time';
|
|
35
|
-
import * as
|
|
35
|
+
import * as i3$4 from '@acorex/components/datetime-box';
|
|
36
36
|
import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
|
|
37
|
-
import * as i4$
|
|
37
|
+
import * as i4$1 from '@acorex/components/text-area';
|
|
38
38
|
import { AXTextAreaModule } from '@acorex/components/text-area';
|
|
39
39
|
import { AXFormatService } from '@acorex/core/format';
|
|
40
|
-
import { isNumber,
|
|
41
|
-
import * as i1$
|
|
40
|
+
import { isNumber, sortBy, get, sum } from 'lodash-es';
|
|
41
|
+
import * as i1$4 from '@acorex/components/number-box';
|
|
42
42
|
import { AXNumberBoxModule } from '@acorex/components/number-box';
|
|
43
|
-
import * as i3$
|
|
43
|
+
import * as i3$5 from '@acorex/components/password-box';
|
|
44
44
|
import { AXPasswordBoxModule } from '@acorex/components/password-box';
|
|
45
45
|
import { AXPlatform } from '@acorex/core/platform';
|
|
46
46
|
import { AXPHtmlUtils } from '@acorex/platform/core';
|
|
47
|
-
import * as i1$
|
|
47
|
+
import * as i1$5 from '@acorex/components/wysiwyg';
|
|
48
48
|
import { AXWysiwygModule } from '@acorex/components/wysiwyg';
|
|
49
|
-
import * as i2$
|
|
49
|
+
import * as i2$1 from '@acorex/components/selection-list';
|
|
50
50
|
import { AXSelectionListModule } from '@acorex/components/selection-list';
|
|
51
|
-
import
|
|
51
|
+
import { first, Subscription } from 'rxjs';
|
|
52
|
+
import * as i2$2 from '@acorex/components/switch';
|
|
52
53
|
import { AXSwitchModule } from '@acorex/components/switch';
|
|
53
54
|
import * as i5$1 from '@acorex/components/uploader';
|
|
54
55
|
import { AXUploaderModule } from '@acorex/components/uploader';
|
|
55
56
|
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
|
56
|
-
import
|
|
57
|
-
import * as i2$5 from '@acorex/components/image';
|
|
57
|
+
import * as i2$3 from '@acorex/components/image';
|
|
58
58
|
import { AXImageModule } from '@acorex/components/image';
|
|
59
|
-
import * as i1$
|
|
59
|
+
import * as i1$6 from '@acorex/components/map';
|
|
60
60
|
import { AXMapModule } from '@acorex/components/map';
|
|
61
61
|
import { AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerService, AXPDesignerGridDrawerComponent, AXPDesignerAddWidgetButtonComponent } from '@acorex/platform/layout/designer';
|
|
62
|
-
import * as i1$
|
|
62
|
+
import * as i1$8 from '@acorex/components/qrcode';
|
|
63
63
|
import { AXQrcodeModule } from '@acorex/components/qrcode';
|
|
64
64
|
import { AXColorUtil } from '@acorex/core/utils';
|
|
65
|
-
import * as i2$
|
|
65
|
+
import * as i2$4 from '@acorex/components/color-box';
|
|
66
66
|
import { AXColorBoxModule } from '@acorex/components/color-box';
|
|
67
67
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
68
68
|
|
|
@@ -179,7 +179,7 @@ const AXP_THEME_PROPERTY = {
|
|
|
179
179
|
group: AXP_STYLING_PROPERTY_GROUP,
|
|
180
180
|
schema: {
|
|
181
181
|
dataType: 'string',
|
|
182
|
-
defaultValue: { id: 'default' },
|
|
182
|
+
defaultValue: { id: 'default', title: 'Default' },
|
|
183
183
|
interface: {
|
|
184
184
|
name: 'theme',
|
|
185
185
|
path: 'options.theme',
|
|
@@ -421,12 +421,14 @@ const AXP_VALUE_FIELD_PROPERTY = createStringProperty({
|
|
|
421
421
|
title: 'Value Field',
|
|
422
422
|
path: 'options.valueField',
|
|
423
423
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
424
|
+
defaultValue: "id",
|
|
424
425
|
});
|
|
425
426
|
const AXP_TEXT_FIELD_PROPERTY = createStringProperty({
|
|
426
427
|
name: 'textField',
|
|
427
428
|
title: 'Text Field',
|
|
428
429
|
path: 'options.textField',
|
|
429
430
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
431
|
+
defaultValue: "title",
|
|
430
432
|
});
|
|
431
433
|
const AXP_DESCRIPTION_PROPERTY = createStringProperty({
|
|
432
434
|
name: 'description',
|
|
@@ -458,7 +460,7 @@ const AXP_DATE_FORMAT_PROPERTY = createSelectProperty({
|
|
|
458
460
|
{ id: 'datetime', title: 'DateTime' },
|
|
459
461
|
{ id: 'time', title: 'Time' },
|
|
460
462
|
],
|
|
461
|
-
defaultValue: 'date',
|
|
463
|
+
defaultValue: { id: 'date', title: 'Date' },
|
|
462
464
|
path: 'options.format',
|
|
463
465
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
464
466
|
});
|
|
@@ -846,7 +848,7 @@ const AXPButtonWidget = {
|
|
|
846
848
|
],
|
|
847
849
|
components: {
|
|
848
850
|
designer: {
|
|
849
|
-
component: () => import('./acorex-platform-widgets-button-widget-designer.component-
|
|
851
|
+
component: () => import('./acorex-platform-widgets-button-widget-designer.component-CPFA79Gx.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
|
|
850
852
|
},
|
|
851
853
|
view: {
|
|
852
854
|
component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
|
|
@@ -860,38 +862,59 @@ const AXPButtonWidget = {
|
|
|
860
862
|
class AXPCheckBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
861
863
|
constructor() {
|
|
862
864
|
super(...arguments);
|
|
863
|
-
this.negative = computed(() => this.options()[
|
|
864
|
-
this.trulyText = computed(() => this.options()[
|
|
865
|
-
this.falsyText = computed(() => this.options()[
|
|
866
|
-
this.disabled = computed(() => this.options()[
|
|
867
|
-
this.readonly = computed(() => this.options()[
|
|
868
|
-
this.label = computed(() => this.options()[
|
|
865
|
+
this.negative = computed(() => this.options()['negative']);
|
|
866
|
+
this.trulyText = computed(() => this.options()['trulyText']);
|
|
867
|
+
this.falsyText = computed(() => this.options()['falsyText']);
|
|
868
|
+
this.disabled = computed(() => this.options()['disabled']);
|
|
869
|
+
this.readonly = computed(() => this.options()['readonly']);
|
|
870
|
+
this.label = computed(() => this.options()['label']);
|
|
871
|
+
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
869
872
|
}
|
|
870
873
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
871
874
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPCheckBoxWidgetEditComponent, isStandalone: true, selector: "axp-checkbox-widget-edit", usesInheritance: true, ngImport: i0, template: `
|
|
872
|
-
<ax-check-box
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
875
|
+
<ax-check-box
|
|
876
|
+
[ngModel]="this.getValue()"
|
|
877
|
+
[disabled]="disabled()"
|
|
878
|
+
[readonly]="readonly()"
|
|
879
|
+
(onValueChanged)="handleValueChanged($event)"
|
|
880
|
+
>
|
|
881
|
+
@for (validation of validationRules(); track $index) {
|
|
882
|
+
<ax-validation-rule
|
|
883
|
+
[rule]="validation.rule"
|
|
884
|
+
[message]="validation.options?.message"
|
|
885
|
+
[options]="validation.options"
|
|
886
|
+
></ax-validation-rule>
|
|
887
|
+
} @if(label()) {
|
|
888
|
+
<ax-label>{{ label() }}</ax-label>
|
|
876
889
|
}
|
|
877
890
|
</ax-check-box>
|
|
878
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
891
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXValidationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
879
892
|
}
|
|
880
893
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, decorators: [{
|
|
881
894
|
type: Component,
|
|
882
895
|
args: [{
|
|
883
896
|
selector: 'axp-checkbox-widget-edit',
|
|
884
897
|
template: `
|
|
885
|
-
<ax-check-box
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
898
|
+
<ax-check-box
|
|
899
|
+
[ngModel]="this.getValue()"
|
|
900
|
+
[disabled]="disabled()"
|
|
901
|
+
[readonly]="readonly()"
|
|
902
|
+
(onValueChanged)="handleValueChanged($event)"
|
|
903
|
+
>
|
|
904
|
+
@for (validation of validationRules(); track $index) {
|
|
905
|
+
<ax-validation-rule
|
|
906
|
+
[rule]="validation.rule"
|
|
907
|
+
[message]="validation.options?.message"
|
|
908
|
+
[options]="validation.options"
|
|
909
|
+
></ax-validation-rule>
|
|
910
|
+
} @if(label()) {
|
|
911
|
+
<ax-label>{{ label() }}</ax-label>
|
|
889
912
|
}
|
|
890
913
|
</ax-check-box>
|
|
891
914
|
`,
|
|
892
915
|
standalone: true,
|
|
893
916
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
894
|
-
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXLabelModule],
|
|
917
|
+
imports: [CommonModule, AXCheckBoxModule, FormsModule, AXFormModule, AXLabelModule, AXValidationModule],
|
|
895
918
|
}]
|
|
896
919
|
}] });
|
|
897
920
|
|
|
@@ -918,10 +941,10 @@ const AXPCheckBoxWidget = {
|
|
|
918
941
|
],
|
|
919
942
|
components: {
|
|
920
943
|
designer: {
|
|
921
|
-
component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-
|
|
944
|
+
component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-B7Qv2aYx.mjs').then((c) => c.AXPCheckBoxWidgetDesignerComponent),
|
|
922
945
|
},
|
|
923
946
|
view: {
|
|
924
|
-
component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-
|
|
947
|
+
component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-DP4kITs-.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
|
|
925
948
|
},
|
|
926
949
|
edit: {
|
|
927
950
|
component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
|
|
@@ -930,7 +953,7 @@ const AXPCheckBoxWidget = {
|
|
|
930
953
|
component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
|
|
931
954
|
},
|
|
932
955
|
column: {
|
|
933
|
-
component: () => import('./acorex-platform-widgets-checkbox-widget-column.component-
|
|
956
|
+
component: () => import('./acorex-platform-widgets-checkbox-widget-column.component-MInF2GVN.mjs').then((c) => c.AXPCheckBoxWidgetColumnComponent),
|
|
934
957
|
},
|
|
935
958
|
filter: {
|
|
936
959
|
component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
|
|
@@ -1018,7 +1041,7 @@ class popupComponent extends AXBasePageComponent {
|
|
|
1018
1041
|
<ax-button [text]="'apply' | translate | async" color="primary" (onClick)="handleClose(form)"></ax-button>
|
|
1019
1042
|
</ax-suffix>
|
|
1020
1043
|
</ax-footer>
|
|
1021
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type:
|
|
1044
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3$2.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i3$1.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }] }); }
|
|
1022
1045
|
}
|
|
1023
1046
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: popupComponent, decorators: [{
|
|
1024
1047
|
type: Component,
|
|
@@ -1263,7 +1286,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1263
1286
|
</ax-prefix>
|
|
1264
1287
|
</ax-button>
|
|
1265
1288
|
}
|
|
1266
|
-
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
1289
|
+
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3$2.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1267
1290
|
}
|
|
1268
1291
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, decorators: [{
|
|
1269
1292
|
type: Component,
|
|
@@ -1445,7 +1468,7 @@ class AXPContactWidgetViewComponent extends AXPWidgetComponent {
|
|
|
1445
1468
|
}
|
|
1446
1469
|
</div>
|
|
1447
1470
|
}
|
|
1448
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
1471
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1449
1472
|
}
|
|
1450
1473
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
|
|
1451
1474
|
type: Component,
|
|
@@ -1532,7 +1555,7 @@ const AXPContactWidget = {
|
|
|
1532
1555
|
component: () => Promise.resolve().then(function () { return contactWidgetEdit_component; }).then((c) => c.AXPContactWidgetEditComponent),
|
|
1533
1556
|
},
|
|
1534
1557
|
filter: {
|
|
1535
|
-
component: () => import('./acorex-platform-widgets-contact-widget-filter.component-
|
|
1558
|
+
component: () => import('./acorex-platform-widgets-contact-widget-filter.component-DnQZon-E.mjs').then((c) => c.AXPContactWidgetFilterComponent),
|
|
1536
1559
|
},
|
|
1537
1560
|
column: {
|
|
1538
1561
|
component: () => Promise.resolve().then(function () { return contactWidgetColumn_component; }).then((c) => c.AXPContactWidgetColumnComponent),
|
|
@@ -1550,6 +1573,7 @@ class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
1550
1573
|
constructor() {
|
|
1551
1574
|
super(...arguments);
|
|
1552
1575
|
this.formatter = inject(AXDateTimeFormatter);
|
|
1576
|
+
this.translationService = inject(AXTranslationService);
|
|
1553
1577
|
this.multiple = computed(() => this.options()['multiple']);
|
|
1554
1578
|
this.format = computed(() => {
|
|
1555
1579
|
const rawValue = this.options()['format'];
|
|
@@ -1565,15 +1589,20 @@ class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
1565
1589
|
: [this.handleFormat(this.getValue())]);
|
|
1566
1590
|
}
|
|
1567
1591
|
handleFormat(value) {
|
|
1568
|
-
return value
|
|
1592
|
+
return value
|
|
1593
|
+
? this.formatter.format(new Date(value), {
|
|
1594
|
+
format: this.format(),
|
|
1595
|
+
locale: this.translationService.getActiveLang() === 'fa' ? 'fa' : undefined,
|
|
1596
|
+
})
|
|
1597
|
+
: '---';
|
|
1569
1598
|
}
|
|
1570
1599
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1571
1600
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1572
1601
|
<div>
|
|
1573
1602
|
@if(multiple()){ @for (item of internalValue(); track $index) {
|
|
1574
|
-
<
|
|
1603
|
+
<span dir="ltr">{{ item }}</span>
|
|
1575
1604
|
} } @else {
|
|
1576
|
-
<
|
|
1605
|
+
<span dir="ltr">{{ internalValue()[0] }}</span>
|
|
1577
1606
|
}
|
|
1578
1607
|
</div>
|
|
1579
1608
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -1584,9 +1613,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1584
1613
|
template: `
|
|
1585
1614
|
<div>
|
|
1586
1615
|
@if(multiple()){ @for (item of internalValue(); track $index) {
|
|
1587
|
-
<
|
|
1616
|
+
<span dir="ltr">{{ item }}</span>
|
|
1588
1617
|
} } @else {
|
|
1589
|
-
<
|
|
1618
|
+
<span dir="ltr">{{ internalValue()[0] }}</span>
|
|
1590
1619
|
}
|
|
1591
1620
|
</div>
|
|
1592
1621
|
`,
|
|
@@ -1697,8 +1726,7 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1697
1726
|
></ax-button>
|
|
1698
1727
|
}
|
|
1699
1728
|
</div>
|
|
1700
|
-
|
|
1701
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.JsonPipe, name: "json" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i4$1.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1729
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$4.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1702
1730
|
}
|
|
1703
1731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetEditComponent, decorators: [{
|
|
1704
1732
|
type: Component,
|
|
@@ -1740,7 +1768,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1740
1768
|
></ax-button>
|
|
1741
1769
|
}
|
|
1742
1770
|
</div>
|
|
1743
|
-
{{format() | json}}
|
|
1744
1771
|
`,
|
|
1745
1772
|
standalone: true,
|
|
1746
1773
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1788,12 +1815,11 @@ var dateTimeBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
|
1788
1815
|
|
|
1789
1816
|
class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
1790
1817
|
constructor() {
|
|
1791
|
-
super();
|
|
1818
|
+
super(...arguments);
|
|
1792
1819
|
this.formatter = inject(AXDateTimeFormatter);
|
|
1793
|
-
this.
|
|
1820
|
+
this.translationService = inject(AXTranslationService);
|
|
1794
1821
|
this.convertedValue = computed(() => this.updateValue());
|
|
1795
1822
|
this.multiple = this.options['multiple'] || false;
|
|
1796
|
-
this.dir = signal('ltr');
|
|
1797
1823
|
this.format = computed(() => {
|
|
1798
1824
|
const rawValue = this.options['format'];
|
|
1799
1825
|
if (typeof rawValue == 'string')
|
|
@@ -1815,33 +1841,35 @@ class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
1815
1841
|
return this.handleFormat(rawValue);
|
|
1816
1842
|
}
|
|
1817
1843
|
};
|
|
1818
|
-
afterNextRender(() => {
|
|
1819
|
-
this.dir.set(getComputedStyle(this.elementRef.nativeElement).direction);
|
|
1820
|
-
});
|
|
1821
1844
|
}
|
|
1822
1845
|
handleFormat(value) {
|
|
1823
|
-
return value
|
|
1846
|
+
return value
|
|
1847
|
+
? this.formatter.format(new Date(value), {
|
|
1848
|
+
format: this.format(),
|
|
1849
|
+
locale: this.translationService.getActiveLang() === 'fa' ? 'fa' : undefined,
|
|
1850
|
+
})
|
|
1851
|
+
: '---';
|
|
1824
1852
|
}
|
|
1825
1853
|
isArray(val) {
|
|
1826
1854
|
return Array.isArray(val);
|
|
1827
1855
|
}
|
|
1828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetColumnComponent, deps:
|
|
1829
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex"
|
|
1830
|
-
<span [title]="convertedValue()">{{ convertedValue() }}</span>
|
|
1856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1857
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex">
|
|
1858
|
+
<span [dir]="'ltr'" [title]="convertedValue()">{{ convertedValue() }}</span>
|
|
1831
1859
|
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1832
1860
|
}
|
|
1833
1861
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetColumnComponent, decorators: [{
|
|
1834
1862
|
type: Component,
|
|
1835
1863
|
args: [{
|
|
1836
|
-
template: `<div class="ax-flex"
|
|
1837
|
-
<span [title]="convertedValue()">{{ convertedValue() }}</span>
|
|
1864
|
+
template: `<div class="ax-flex">
|
|
1865
|
+
<span [dir]="'ltr'" [title]="convertedValue()">{{ convertedValue() }}</span>
|
|
1838
1866
|
</div>`,
|
|
1839
1867
|
standalone: true,
|
|
1840
1868
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1841
1869
|
imports: [CommonModule],
|
|
1842
1870
|
inputs: ['rawValue'],
|
|
1843
1871
|
}]
|
|
1844
|
-
}]
|
|
1872
|
+
}] });
|
|
1845
1873
|
|
|
1846
1874
|
var dateTimeBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
1847
1875
|
__proto__: null,
|
|
@@ -1967,7 +1995,7 @@ class AXPEmailBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
1967
1995
|
}
|
|
1968
1996
|
</ng-template>
|
|
1969
1997
|
</div>
|
|
1970
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
1998
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1971
1999
|
}
|
|
1972
2000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
|
|
1973
2001
|
type: Component,
|
|
@@ -2168,7 +2196,7 @@ class AXPEmailBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2168
2196
|
}
|
|
2169
2197
|
}
|
|
2170
2198
|
</div>
|
|
2171
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
2199
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2172
2200
|
}
|
|
2173
2201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, decorators: [{
|
|
2174
2202
|
type: Component,
|
|
@@ -2476,7 +2504,7 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2476
2504
|
></ax-validation-rule>
|
|
2477
2505
|
}
|
|
2478
2506
|
</ax-text-area>
|
|
2479
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
2507
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4$1.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2480
2508
|
}
|
|
2481
2509
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
|
|
2482
2510
|
type: Component,
|
|
@@ -2680,7 +2708,7 @@ class AXPLinkWidgetViewComponent extends AXPWidgetComponent {
|
|
|
2680
2708
|
</div>
|
|
2681
2709
|
}
|
|
2682
2710
|
</ng-template>
|
|
2683
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
2711
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2684
2712
|
}
|
|
2685
2713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
|
|
2686
2714
|
type: Component,
|
|
@@ -2996,7 +3024,7 @@ class AXPLinkWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2996
3024
|
>
|
|
2997
3025
|
</ax-select-box>
|
|
2998
3026
|
} }
|
|
2999
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
3027
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3000
3028
|
}
|
|
3001
3029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetEditComponent, decorators: [{
|
|
3002
3030
|
type: Component,
|
|
@@ -3106,7 +3134,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
3106
3134
|
AXTextBoxModule,
|
|
3107
3135
|
AXValidationModule,
|
|
3108
3136
|
],
|
|
3109
|
-
inputs: [],
|
|
3110
3137
|
}]
|
|
3111
3138
|
}], propDecorators: { __class: [{
|
|
3112
3139
|
type: HostBinding,
|
|
@@ -3346,7 +3373,7 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3346
3373
|
</ax-button>
|
|
3347
3374
|
}
|
|
3348
3375
|
</div>
|
|
3349
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$
|
|
3376
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$4.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "changeOnScroll", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3350
3377
|
}
|
|
3351
3378
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, decorators: [{
|
|
3352
3379
|
type: Component,
|
|
@@ -3623,7 +3650,7 @@ class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3623
3650
|
<ax-clear-button></ax-clear-button>
|
|
3624
3651
|
}
|
|
3625
3652
|
</ax-password-box>
|
|
3626
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
3653
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "component", type: i3$5.AXPasswordBoxComponent, selector: "ax-password-box", inputs: ["readonly", "disabled", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "autoComplete", "showToggleButton", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3627
3654
|
}
|
|
3628
3655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetEditComponent, decorators: [{
|
|
3629
3656
|
type: Component,
|
|
@@ -3845,7 +3872,7 @@ class AXPPhoneBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
3845
3872
|
</ng-container>
|
|
3846
3873
|
</ng-template>
|
|
3847
3874
|
</div>
|
|
3848
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
3875
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3849
3876
|
}
|
|
3850
3877
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
|
|
3851
3878
|
type: Component,
|
|
@@ -4025,7 +4052,7 @@ class AXPPhoneBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4025
4052
|
</ax-prefix>
|
|
4026
4053
|
</ax-button>
|
|
4027
4054
|
</div>
|
|
4028
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
4055
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4029
4056
|
}
|
|
4030
4057
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetEditComponent, decorators: [{
|
|
4031
4058
|
type: Component,
|
|
@@ -4262,7 +4289,7 @@ class AXPRichTextWidgetViewComponent extends AXPWidgetComponent {
|
|
|
4262
4289
|
this.text = computed(() => this.htmlUtil.getTextFromHTML(this.getValue()));
|
|
4263
4290
|
}
|
|
4264
4291
|
async openPopup() {
|
|
4265
|
-
const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-
|
|
4292
|
+
const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs');
|
|
4266
4293
|
this.popupService.open(AXPRichTextPopupComponent, {
|
|
4267
4294
|
size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
|
|
4268
4295
|
header: true,
|
|
@@ -4340,7 +4367,7 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4340
4367
|
[options]="validation.options"
|
|
4341
4368
|
></ax-validation-rule>
|
|
4342
4369
|
}
|
|
4343
|
-
</ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$
|
|
4370
|
+
</ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$5.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$5.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i1$5.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "component", type: i1$5.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i1$5.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i1$5.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i1$5.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i1$5.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4344
4371
|
}
|
|
4345
4372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
|
|
4346
4373
|
type: Component,
|
|
@@ -4413,7 +4440,7 @@ class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
4413
4440
|
this.text = computed(() => this.htmlUtil.getTextFromHTML(this.rawValue));
|
|
4414
4441
|
}
|
|
4415
4442
|
async openPopup() {
|
|
4416
|
-
const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-
|
|
4443
|
+
const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs');
|
|
4417
4444
|
this.popupService.open(AXPRichTextPopupComponent, {
|
|
4418
4445
|
size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
|
|
4419
4446
|
header: true,
|
|
@@ -4503,99 +4530,71 @@ const AXPRichTextWidget = {
|
|
|
4503
4530
|
},
|
|
4504
4531
|
};
|
|
4505
4532
|
|
|
4506
|
-
class
|
|
4533
|
+
class AXPSelectBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
4507
4534
|
constructor() {
|
|
4508
4535
|
super(...arguments);
|
|
4509
|
-
this.
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
this.
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
this.textField = computed(() => this.options()['textField'] ?? 'title');
|
|
4536
|
+
this.multiple = this.options['multiple'];
|
|
4537
|
+
this.valueField = this.options['valueField'] ?? 'id';
|
|
4538
|
+
this.textField = this.options['textField'] ?? 'title';
|
|
4539
|
+
this.internalValue = computed(() => Array.isArray(this.rawValue)
|
|
4540
|
+
? this.rawValue.map((item) => this.extractItem(item))
|
|
4541
|
+
: [this.extractItem(this.rawValue)]);
|
|
4516
4542
|
}
|
|
4517
4543
|
extractItem(item) {
|
|
4518
4544
|
return typeof item == 'object'
|
|
4519
4545
|
? {
|
|
4520
|
-
|
|
4521
|
-
|
|
4546
|
+
[this.valueField]: item[this.valueField],
|
|
4547
|
+
[this.textField]: item[this.textField],
|
|
4522
4548
|
}
|
|
4523
4549
|
: {
|
|
4524
|
-
|
|
4525
|
-
|
|
4550
|
+
[this.valueField]: item,
|
|
4551
|
+
[this.textField]: item,
|
|
4526
4552
|
};
|
|
4527
4553
|
}
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
return cls;
|
|
4554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4555
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-gap-2">
|
|
4556
|
+
@for (item of internalValue(); track $index) {
|
|
4557
|
+
<ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
|
|
4533
4558
|
}
|
|
4534
|
-
|
|
4535
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
4536
|
-
<div>
|
|
4537
|
-
@if(multiple()) { @for (item of internalValue(); track $index) {
|
|
4538
|
-
<p>{{ item.text }}</p>
|
|
4539
|
-
} }@else {
|
|
4540
|
-
<p>{{ internalValue()[0].text }}</p>
|
|
4541
|
-
}
|
|
4542
|
-
</div>
|
|
4543
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4559
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4544
4560
|
}
|
|
4545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type:
|
|
4561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetColumnComponent, decorators: [{
|
|
4546
4562
|
type: Component,
|
|
4547
4563
|
args: [{
|
|
4548
|
-
template: `
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
<p>{{ internalValue()[0].text }}</p>
|
|
4554
|
-
}
|
|
4555
|
-
</div>
|
|
4556
|
-
`,
|
|
4564
|
+
template: ` <div class="ax-flex ax-gap-2">
|
|
4565
|
+
@for (item of internalValue(); track $index) {
|
|
4566
|
+
<ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
|
|
4567
|
+
}
|
|
4568
|
+
</div>`,
|
|
4557
4569
|
standalone: true,
|
|
4558
4570
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4559
|
-
imports: [CommonModule],
|
|
4560
|
-
inputs: [],
|
|
4571
|
+
imports: [CommonModule, AXBadgeModule],
|
|
4572
|
+
inputs: ['rawValue'],
|
|
4561
4573
|
}]
|
|
4562
|
-
}]
|
|
4563
|
-
type: HostBinding,
|
|
4564
|
-
args: ['class']
|
|
4565
|
-
}] } });
|
|
4574
|
+
}] });
|
|
4566
4575
|
|
|
4567
|
-
var
|
|
4576
|
+
var selectBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
4568
4577
|
__proto__: null,
|
|
4569
|
-
|
|
4578
|
+
AXPSelectBoxWidgetColumnComponent: AXPSelectBoxWidgetColumnComponent
|
|
4570
4579
|
});
|
|
4571
4580
|
|
|
4572
|
-
class AXPSelectBoxWidgetEditComponent extends
|
|
4581
|
+
class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
4573
4582
|
constructor() {
|
|
4574
4583
|
super(...arguments);
|
|
4575
4584
|
this.multiple = computed(() => this.options()['multiple']);
|
|
4576
4585
|
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
4577
|
-
this.dataSource = computed(() => {
|
|
4578
|
-
const rawValue = this.options()['dataSource'];
|
|
4579
|
-
if (rawValue instanceof AXDataSource) {
|
|
4580
|
-
return rawValue;
|
|
4581
|
-
}
|
|
4582
|
-
else if (Array.isArray(rawValue)) {
|
|
4583
|
-
return convertArrayToDataSource(rawValue);
|
|
4584
|
-
}
|
|
4585
|
-
else {
|
|
4586
|
-
return convertArrayToDataSource([]);
|
|
4587
|
-
}
|
|
4588
|
-
});
|
|
4589
|
-
this.valueField = computed(() => this.options()['valueField'] ?? 'id');
|
|
4590
|
-
this.textField = computed(() => this.options()['textField'] ?? 'title');
|
|
4591
4586
|
this.disabled = computed(() => this.options()['disabled']);
|
|
4592
4587
|
this.placeholder = computed(() => this.options()['placeholder'] ?? '');
|
|
4593
4588
|
this.hasClearButton = computed(() => this.options()['hasClearButton']);
|
|
4594
4589
|
}
|
|
4595
4590
|
handleValueChange(e) {
|
|
4596
4591
|
if (e.isUserInteraction) {
|
|
4597
|
-
|
|
4598
|
-
|
|
4592
|
+
if (this.multiple()) {
|
|
4593
|
+
this.setValue(e.component.selectedItems);
|
|
4594
|
+
}
|
|
4595
|
+
else {
|
|
4596
|
+
this.setValue(e.component.selectedItems[0]);
|
|
4597
|
+
}
|
|
4599
4598
|
}
|
|
4600
4599
|
}
|
|
4601
4600
|
refresh() {
|
|
@@ -4634,7 +4633,7 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4634
4633
|
></ax-validation-rule>
|
|
4635
4634
|
}
|
|
4636
4635
|
</ax-select-box>
|
|
4637
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
4636
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4638
4637
|
}
|
|
4639
4638
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetEditComponent, decorators: [{
|
|
4640
4639
|
type: Component,
|
|
@@ -4700,72 +4699,83 @@ var selectBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
|
4700
4699
|
AXPSelectBoxWidgetFilterComponent: AXPSelectBoxWidgetFilterComponent
|
|
4701
4700
|
});
|
|
4702
4701
|
|
|
4703
|
-
class
|
|
4702
|
+
class AXPSelectBoxWidgetPrintComponent extends AXPWidgetComponent {
|
|
4703
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4704
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSelectBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4705
|
+
}
|
|
4706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetPrintComponent, decorators: [{
|
|
4707
|
+
type: Component,
|
|
4708
|
+
args: [{
|
|
4709
|
+
template: ``,
|
|
4710
|
+
standalone: true,
|
|
4711
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4712
|
+
imports: [CommonModule],
|
|
4713
|
+
inputs: []
|
|
4714
|
+
}]
|
|
4715
|
+
}] });
|
|
4716
|
+
|
|
4717
|
+
var selectBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
4718
|
+
__proto__: null,
|
|
4719
|
+
AXPSelectBoxWidgetPrintComponent: AXPSelectBoxWidgetPrintComponent
|
|
4720
|
+
});
|
|
4721
|
+
|
|
4722
|
+
class AXPSelectBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
4704
4723
|
constructor() {
|
|
4705
4724
|
super(...arguments);
|
|
4706
|
-
this.multiple = this.options['multiple'];
|
|
4707
|
-
this.valueField = this.options['valueField'] ?? 'id';
|
|
4708
|
-
this.textField = this.options['textField'] ?? 'title';
|
|
4709
|
-
this.internalValue = computed(() => Array.isArray(this.
|
|
4710
|
-
? this.
|
|
4711
|
-
: [this.extractItem(this.
|
|
4725
|
+
this.multiple = computed(() => this.options()['multiple']);
|
|
4726
|
+
this.valueField = computed(() => this.options()['valueField'] ?? 'id');
|
|
4727
|
+
this.textField = computed(() => this.options()['textField'] ?? 'title');
|
|
4728
|
+
this.internalValue = computed(() => Array.isArray(this.getValue())
|
|
4729
|
+
? this.getValue().map((item) => this.extractItem(item))
|
|
4730
|
+
: [this.extractItem(this.getValue())]);
|
|
4712
4731
|
}
|
|
4713
4732
|
extractItem(item) {
|
|
4714
|
-
|
|
4733
|
+
const result = typeof item == 'object'
|
|
4715
4734
|
? {
|
|
4716
|
-
|
|
4717
|
-
|
|
4735
|
+
id: item[this.valueField()],
|
|
4736
|
+
text: item[this.textField()],
|
|
4718
4737
|
}
|
|
4719
4738
|
: {
|
|
4720
|
-
|
|
4721
|
-
|
|
4739
|
+
id: item,
|
|
4740
|
+
text: item,
|
|
4722
4741
|
};
|
|
4742
|
+
return result;
|
|
4723
4743
|
}
|
|
4724
|
-
|
|
4725
|
-
|
|
4744
|
+
get __class() {
|
|
4745
|
+
const cls = {};
|
|
4746
|
+
cls[`ax-flex`] = true;
|
|
4747
|
+
cls[`ax-gap-1`] = true;
|
|
4748
|
+
return cls;
|
|
4749
|
+
}
|
|
4750
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4751
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetViewComponent, isStandalone: true, selector: "axp-select-box-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
4726
4752
|
@for (item of internalValue(); track $index) {
|
|
4727
|
-
|
|
4753
|
+
<ax-badge [look]="'twotone'" [text]="item.text" color="primary"></ax-badge>
|
|
4728
4754
|
}
|
|
4729
|
-
|
|
4755
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4730
4756
|
}
|
|
4731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type:
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetViewComponent, decorators: [{
|
|
4732
4758
|
type: Component,
|
|
4733
4759
|
args: [{
|
|
4734
|
-
|
|
4760
|
+
selector: 'axp-select-box-widget-view',
|
|
4761
|
+
template: `
|
|
4735
4762
|
@for (item of internalValue(); track $index) {
|
|
4736
|
-
|
|
4763
|
+
<ax-badge [look]="'twotone'" [text]="item.text" color="primary"></ax-badge>
|
|
4737
4764
|
}
|
|
4738
|
-
|
|
4765
|
+
`,
|
|
4739
4766
|
standalone: true,
|
|
4740
4767
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4741
4768
|
imports: [CommonModule, AXBadgeModule],
|
|
4742
|
-
inputs: [
|
|
4743
|
-
}]
|
|
4744
|
-
}] });
|
|
4745
|
-
|
|
4746
|
-
var selectBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
4747
|
-
__proto__: null,
|
|
4748
|
-
AXPSelectBoxWidgetColumnComponent: AXPSelectBoxWidgetColumnComponent
|
|
4749
|
-
});
|
|
4750
|
-
|
|
4751
|
-
class AXPSelectBoxWidgetPrintComponent extends AXPWidgetComponent {
|
|
4752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4753
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSelectBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4754
|
-
}
|
|
4755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetPrintComponent, decorators: [{
|
|
4756
|
-
type: Component,
|
|
4757
|
-
args: [{
|
|
4758
|
-
template: ``,
|
|
4759
|
-
standalone: true,
|
|
4760
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4761
|
-
imports: [CommonModule],
|
|
4762
|
-
inputs: []
|
|
4769
|
+
inputs: [],
|
|
4763
4770
|
}]
|
|
4764
|
-
}]
|
|
4771
|
+
}], propDecorators: { __class: [{
|
|
4772
|
+
type: HostBinding,
|
|
4773
|
+
args: ['class']
|
|
4774
|
+
}] } });
|
|
4765
4775
|
|
|
4766
|
-
var
|
|
4776
|
+
var selectBoxWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
4767
4777
|
__proto__: null,
|
|
4768
|
-
|
|
4778
|
+
AXPSelectBoxWidgetViewComponent: AXPSelectBoxWidgetViewComponent
|
|
4769
4779
|
});
|
|
4770
4780
|
|
|
4771
4781
|
const AXPSelectBoxWidget = {
|
|
@@ -4810,62 +4820,87 @@ const AXPSelectBoxWidget = {
|
|
|
4810
4820
|
class AXPSelectionListWidgetViewComponent extends AXPWidgetComponent {
|
|
4811
4821
|
constructor() {
|
|
4812
4822
|
super(...arguments);
|
|
4813
|
-
this.internalValue = computed(() => this.updateValue());
|
|
4814
4823
|
this.items = computed(() => this.options()['items']);
|
|
4815
4824
|
this.valueField = computed(() => this.options()['valueField']);
|
|
4816
4825
|
this.textField = computed(() => this.options()['textField']);
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
}
|
|
4826
|
+
this.internalValue = computed(() => {
|
|
4827
|
+
return this.items().filter((item) => {
|
|
4828
|
+
if (Array.isArray(this.getValue()))
|
|
4829
|
+
return this.getValue().includes(item[this.valueField()]);
|
|
4830
|
+
else {
|
|
4831
|
+
return this.getValue() == item[this.valueField()];
|
|
4832
|
+
}
|
|
4833
|
+
});
|
|
4825
4834
|
});
|
|
4826
4835
|
}
|
|
4836
|
+
get __class() {
|
|
4837
|
+
const cls = {};
|
|
4838
|
+
cls[`ax-flex`] = true;
|
|
4839
|
+
cls[`ax-gap-1`] = true;
|
|
4840
|
+
return cls;
|
|
4841
|
+
}
|
|
4827
4842
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4828
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetViewComponent, isStandalone: true, selector: "
|
|
4843
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetViewComponent, isStandalone: true, selector: "axp-selection-list-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
4829
4844
|
@for (item of internalValue(); track $index) {
|
|
4830
|
-
<ax-badge
|
|
4845
|
+
<ax-badge [look]="'twotone'" [text]="item[this.textField()]" color="primary"></ax-badge>
|
|
4831
4846
|
}
|
|
4832
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
4847
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4833
4848
|
}
|
|
4834
4849
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetViewComponent, decorators: [{
|
|
4835
4850
|
type: Component,
|
|
4836
4851
|
args: [{
|
|
4852
|
+
selector: 'axp-selection-list-widget-view',
|
|
4837
4853
|
template: `
|
|
4838
4854
|
@for (item of internalValue(); track $index) {
|
|
4839
|
-
<ax-badge
|
|
4855
|
+
<ax-badge [look]="'twotone'" [text]="item[this.textField()]" color="primary"></ax-badge>
|
|
4840
4856
|
}
|
|
4841
4857
|
`,
|
|
4842
4858
|
standalone: true,
|
|
4843
4859
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4844
4860
|
imports: [AXBadgeModule],
|
|
4845
4861
|
}]
|
|
4846
|
-
}]
|
|
4862
|
+
}], propDecorators: { __class: [{
|
|
4863
|
+
type: HostBinding,
|
|
4864
|
+
args: ['class']
|
|
4865
|
+
}] } });
|
|
4847
4866
|
|
|
4848
4867
|
var selectionListWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
4849
4868
|
__proto__: null,
|
|
4850
4869
|
AXPSelectionListWidgetViewComponent: AXPSelectionListWidgetViewComponent
|
|
4851
4870
|
});
|
|
4852
4871
|
|
|
4853
|
-
class AXPSelectionListWidgetDesignerComponent extends
|
|
4872
|
+
class AXPSelectionListWidgetDesignerComponent extends AXPDataListWidgetComponent {
|
|
4854
4873
|
constructor() {
|
|
4855
4874
|
super(...arguments);
|
|
4856
|
-
this.
|
|
4875
|
+
this.multiple = computed(() => this.options()['multiple']);
|
|
4876
|
+
this.direction = computed(() => this.options()['direction']?.id ?? 'horizontal');
|
|
4877
|
+
this.disabled = computed(() => this.options()['disabled']);
|
|
4878
|
+
this.readonly = computed(() => this.options()['readonly']);
|
|
4879
|
+
this.displayItems = signal([]);
|
|
4880
|
+
this.samples = computed(() => Array.from({ length: 3 }).map((c, i) => {
|
|
4857
4881
|
const item = {};
|
|
4858
4882
|
item[this.valueField()] = i + 1;
|
|
4859
|
-
item[this.textField()] = `Item ${i + 1}`;
|
|
4883
|
+
item[this.textField()] = `Sample Item ${i + 1}`;
|
|
4860
4884
|
return item;
|
|
4861
4885
|
}));
|
|
4862
|
-
this.
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4886
|
+
this.ef = effect(() => {
|
|
4887
|
+
this.dataSource()
|
|
4888
|
+
.onChanged.pipe(first())
|
|
4889
|
+
.subscribe((e) => {
|
|
4890
|
+
if (this.items()?.length > 0) {
|
|
4891
|
+
this.displayItems.set(this.items());
|
|
4892
|
+
}
|
|
4893
|
+
else {
|
|
4894
|
+
if (e.items?.length > 0) {
|
|
4895
|
+
this.displayItems.set(e.items);
|
|
4896
|
+
}
|
|
4897
|
+
else {
|
|
4898
|
+
this.displayItems.set(this.samples());
|
|
4899
|
+
}
|
|
4900
|
+
}
|
|
4901
|
+
});
|
|
4902
|
+
this.dataSource().refresh();
|
|
4903
|
+
});
|
|
4869
4904
|
}
|
|
4870
4905
|
get __class() {
|
|
4871
4906
|
const cls = {};
|
|
@@ -4874,31 +4909,32 @@ class AXPSelectionListWidgetDesignerComponent extends AXPWidgetComponent {
|
|
|
4874
4909
|
return cls;
|
|
4875
4910
|
}
|
|
4876
4911
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4877
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSelectionListWidgetDesignerComponent, isStandalone: true, selector: "
|
|
4912
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSelectionListWidgetDesignerComponent, isStandalone: true, selector: "axp-selection-list-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
4878
4913
|
<ax-selection-list
|
|
4879
4914
|
class="ax-w-max"
|
|
4880
4915
|
[valueField]="valueField()"
|
|
4881
4916
|
[textField]="textField()"
|
|
4882
4917
|
[ngModel]="this.getValue()"
|
|
4883
|
-
[items]="
|
|
4918
|
+
[items]="displayItems()"
|
|
4884
4919
|
[multiple]="multiple()"
|
|
4885
4920
|
[direction]="direction()"
|
|
4886
4921
|
[disabled]="disabled()"
|
|
4887
4922
|
[readonly]="readonly()"
|
|
4888
4923
|
>
|
|
4889
4924
|
</ax-selection-list>
|
|
4890
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
4925
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i2$1.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4891
4926
|
}
|
|
4892
4927
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetDesignerComponent, decorators: [{
|
|
4893
4928
|
type: Component,
|
|
4894
4929
|
args: [{
|
|
4930
|
+
selector: 'axp-selection-list-widget',
|
|
4895
4931
|
template: `
|
|
4896
4932
|
<ax-selection-list
|
|
4897
4933
|
class="ax-w-max"
|
|
4898
4934
|
[valueField]="valueField()"
|
|
4899
4935
|
[textField]="textField()"
|
|
4900
4936
|
[ngModel]="this.getValue()"
|
|
4901
|
-
[items]="
|
|
4937
|
+
[items]="displayItems()"
|
|
4902
4938
|
[multiple]="multiple()"
|
|
4903
4939
|
[direction]="direction()"
|
|
4904
4940
|
[disabled]="disabled()"
|
|
@@ -4921,17 +4957,30 @@ var selectionListWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
|
4921
4957
|
AXPSelectionListWidgetDesignerComponent: AXPSelectionListWidgetDesignerComponent
|
|
4922
4958
|
});
|
|
4923
4959
|
|
|
4924
|
-
class AXPSelectionListWidgetEditComponent extends
|
|
4960
|
+
class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
4925
4961
|
constructor() {
|
|
4926
4962
|
super(...arguments);
|
|
4927
4963
|
this.multiple = computed(() => this.options()['multiple']);
|
|
4928
|
-
this.items = computed(() => this.options()['items']);
|
|
4929
|
-
this.valueField = computed(() => this.options()['valueField'] ?? 'id');
|
|
4930
|
-
this.textField = computed(() => this.options()['textField'] ?? 'text');
|
|
4931
4964
|
this.direction = computed(() => this.options()['direction']?.id ?? 'horizontal');
|
|
4932
|
-
this.disabled = computed(() => this.options()[
|
|
4933
|
-
this.readonly = computed(() => this.options()[
|
|
4934
|
-
this.
|
|
4965
|
+
this.disabled = computed(() => this.options()['disabled']);
|
|
4966
|
+
this.readonly = computed(() => this.options()['readonly']);
|
|
4967
|
+
this.displayItems = signal([]);
|
|
4968
|
+
this.ef = effect(() => {
|
|
4969
|
+
console.log(this.getValue());
|
|
4970
|
+
this.dataSource()
|
|
4971
|
+
.onChanged.pipe(first())
|
|
4972
|
+
.subscribe((e) => {
|
|
4973
|
+
console.log(e, this.getValue());
|
|
4974
|
+
if (this.items() && this.items().length) {
|
|
4975
|
+
this.displayItems.set(this.items());
|
|
4976
|
+
}
|
|
4977
|
+
else {
|
|
4978
|
+
this.displayItems.set(e.items);
|
|
4979
|
+
}
|
|
4980
|
+
});
|
|
4981
|
+
this.dataSource().refresh();
|
|
4982
|
+
});
|
|
4983
|
+
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
4935
4984
|
}
|
|
4936
4985
|
handleValueChange(e) {
|
|
4937
4986
|
if (e.isUserInteraction) {
|
|
@@ -4945,50 +4994,58 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4945
4994
|
return cls;
|
|
4946
4995
|
}
|
|
4947
4996
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4948
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetEditComponent, isStandalone: true, selector: "
|
|
4997
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetEditComponent, isStandalone: true, selector: "axp-selection-list-widget-edit", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
4949
4998
|
<ax-selection-list
|
|
4950
4999
|
class="ax-w-max"
|
|
4951
5000
|
[valueField]="valueField()"
|
|
4952
5001
|
[textField]="textField()"
|
|
4953
|
-
[ngModel]="
|
|
5002
|
+
[ngModel]="getValue()"
|
|
4954
5003
|
(onValueChanged)="handleValueChange($event)"
|
|
4955
|
-
[items]="
|
|
5004
|
+
[items]="displayItems()"
|
|
4956
5005
|
[multiple]="multiple()"
|
|
4957
5006
|
[disabled]="disabled()"
|
|
4958
5007
|
[readonly]="readonly()"
|
|
4959
5008
|
[direction]="direction()"
|
|
4960
5009
|
>
|
|
4961
5010
|
@for (validation of validationRules(); track $index) {
|
|
4962
|
-
<ax-validation-rule
|
|
5011
|
+
<ax-validation-rule
|
|
5012
|
+
[rule]="validation.rule"
|
|
5013
|
+
[message]="validation.options?.message"
|
|
5014
|
+
[options]="validation.options"
|
|
5015
|
+
></ax-validation-rule>
|
|
4963
5016
|
}
|
|
4964
5017
|
</ax-selection-list>
|
|
4965
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
5018
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i2$1.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4966
5019
|
}
|
|
4967
5020
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, decorators: [{
|
|
4968
5021
|
type: Component,
|
|
4969
5022
|
args: [{
|
|
5023
|
+
selector: 'axp-selection-list-widget-edit',
|
|
4970
5024
|
template: `
|
|
4971
5025
|
<ax-selection-list
|
|
4972
5026
|
class="ax-w-max"
|
|
4973
5027
|
[valueField]="valueField()"
|
|
4974
5028
|
[textField]="textField()"
|
|
4975
|
-
[ngModel]="
|
|
5029
|
+
[ngModel]="getValue()"
|
|
4976
5030
|
(onValueChanged)="handleValueChange($event)"
|
|
4977
|
-
[items]="
|
|
5031
|
+
[items]="displayItems()"
|
|
4978
5032
|
[multiple]="multiple()"
|
|
4979
5033
|
[disabled]="disabled()"
|
|
4980
5034
|
[readonly]="readonly()"
|
|
4981
5035
|
[direction]="direction()"
|
|
4982
5036
|
>
|
|
4983
5037
|
@for (validation of validationRules(); track $index) {
|
|
4984
|
-
<ax-validation-rule
|
|
5038
|
+
<ax-validation-rule
|
|
5039
|
+
[rule]="validation.rule"
|
|
5040
|
+
[message]="validation.options?.message"
|
|
5041
|
+
[options]="validation.options"
|
|
5042
|
+
></ax-validation-rule>
|
|
4985
5043
|
}
|
|
4986
5044
|
</ax-selection-list>
|
|
4987
5045
|
`,
|
|
4988
5046
|
standalone: true,
|
|
4989
5047
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4990
5048
|
imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule],
|
|
4991
|
-
inputs: [],
|
|
4992
5049
|
}]
|
|
4993
5050
|
}], propDecorators: { __class: [{
|
|
4994
5051
|
type: HostBinding,
|
|
@@ -5051,7 +5108,7 @@ class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
5051
5108
|
} }@else {
|
|
5052
5109
|
<ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
|
|
5053
5110
|
}
|
|
5054
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
5111
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5055
5112
|
}
|
|
5056
5113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, decorators: [{
|
|
5057
5114
|
type: Component,
|
|
@@ -5105,6 +5162,8 @@ const AXPSelectionListWidget = {
|
|
|
5105
5162
|
AXP_DATA_SOURCE_PROPERTY,
|
|
5106
5163
|
AXP_NAME_PROPERTY,
|
|
5107
5164
|
AXP_DATA_PATH_PROPERTY,
|
|
5165
|
+
AXP_VALUE_FIELD_PROPERTY,
|
|
5166
|
+
AXP_TEXT_FIELD_PROPERTY,
|
|
5108
5167
|
AXP_ALLOW_MULTIPLE_PROPERTY,
|
|
5109
5168
|
AXP_DIRECTION_PROPERTY,
|
|
5110
5169
|
AXP_DISABLED_PROPERTY,
|
|
@@ -5250,7 +5309,7 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5250
5309
|
</ax-button>
|
|
5251
5310
|
}
|
|
5252
5311
|
</div>
|
|
5253
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
5312
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5254
5313
|
}
|
|
5255
5314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBoxWidgetEditComponent, decorators: [{
|
|
5256
5315
|
type: Component,
|
|
@@ -5412,77 +5471,39 @@ class AXPToggleWidgetViewComponent extends AXPWidgetComponent {
|
|
|
5412
5471
|
this.trulyText = computed(() => this.options()['trulyText']);
|
|
5413
5472
|
}
|
|
5414
5473
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5415
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPToggleWidgetViewComponent, isStandalone: true, selector: "axp-switch-widget", usesInheritance: true, ngImport: i0, template: `
|
|
5416
|
-
@if(getValue()){
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
}
|
|
5430
|
-
}
|
|
5431
|
-
}@else
|
|
5432
|
-
{
|
|
5433
|
-
@if(falsyText())
|
|
5434
|
-
{
|
|
5435
|
-
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5436
|
-
}
|
|
5437
|
-
@else
|
|
5438
|
-
{
|
|
5439
|
-
@if(negative())
|
|
5440
|
-
{
|
|
5441
|
-
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5442
|
-
}@else
|
|
5443
|
-
{
|
|
5444
|
-
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5445
|
-
}
|
|
5446
|
-
}
|
|
5447
|
-
}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5474
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPToggleWidgetViewComponent, isStandalone: true, selector: "axp-switch-widget-view", usesInheritance: true, ngImport: i0, template: `
|
|
5475
|
+
@if(getValue()){ @if(trulyText()) {
|
|
5476
|
+
<ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
|
|
5477
|
+
} @else { @if(negative()) {
|
|
5478
|
+
<ax-icon class="fa-solid fa-check ax-text-sanger"> </ax-icon>
|
|
5479
|
+
} @else {
|
|
5480
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
5481
|
+
} } }@else { @if(falsyText()) {
|
|
5482
|
+
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5483
|
+
} @else { @if(negative()) {
|
|
5484
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5485
|
+
}@else {
|
|
5486
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5487
|
+
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5448
5488
|
}
|
|
5449
5489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
|
|
5450
5490
|
type: Component,
|
|
5451
5491
|
args: [{
|
|
5452
|
-
selector: 'axp-switch-widget',
|
|
5492
|
+
selector: 'axp-switch-widget-view',
|
|
5453
5493
|
template: `
|
|
5454
|
-
@if(getValue()){
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
}
|
|
5468
|
-
}
|
|
5469
|
-
}@else
|
|
5470
|
-
{
|
|
5471
|
-
@if(falsyText())
|
|
5472
|
-
{
|
|
5473
|
-
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5474
|
-
}
|
|
5475
|
-
@else
|
|
5476
|
-
{
|
|
5477
|
-
@if(negative())
|
|
5478
|
-
{
|
|
5479
|
-
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5480
|
-
}@else
|
|
5481
|
-
{
|
|
5482
|
-
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5483
|
-
}
|
|
5484
|
-
}
|
|
5485
|
-
}`,
|
|
5494
|
+
@if(getValue()){ @if(trulyText()) {
|
|
5495
|
+
<ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
|
|
5496
|
+
} @else { @if(negative()) {
|
|
5497
|
+
<ax-icon class="fa-solid fa-check ax-text-sanger"> </ax-icon>
|
|
5498
|
+
} @else {
|
|
5499
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
5500
|
+
} } }@else { @if(falsyText()) {
|
|
5501
|
+
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5502
|
+
} @else { @if(negative()) {
|
|
5503
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5504
|
+
}@else {
|
|
5505
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5506
|
+
} } }`,
|
|
5486
5507
|
standalone: true,
|
|
5487
5508
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5488
5509
|
imports: [CommonModule, AXDecoratorModule, AXBadgeModule],
|
|
@@ -5500,9 +5521,6 @@ class AXPToggleWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5500
5521
|
this.disabled = computed(() => this.options()['disabled']);
|
|
5501
5522
|
this.color = computed(() => this.options()['color']?.id ?? 'primary');
|
|
5502
5523
|
}
|
|
5503
|
-
onModelChange(e) {
|
|
5504
|
-
this.setValue(e);
|
|
5505
|
-
}
|
|
5506
5524
|
get __class() {
|
|
5507
5525
|
const cls = {};
|
|
5508
5526
|
//
|
|
@@ -5510,13 +5528,23 @@ class AXPToggleWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5510
5528
|
return cls;
|
|
5511
5529
|
}
|
|
5512
5530
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5513
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-switch-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-switch
|
|
5531
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-switch-widget-edit", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-switch
|
|
5532
|
+
[ngModel]="this.getValue()"
|
|
5533
|
+
[disabled]="disabled()"
|
|
5534
|
+
[color]="color()"
|
|
5535
|
+
(onValueChanged)="handleValueChanged($event)"
|
|
5536
|
+
></ax-switch>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$2.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5514
5537
|
}
|
|
5515
5538
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
|
|
5516
5539
|
type: Component,
|
|
5517
5540
|
args: [{
|
|
5518
|
-
selector: 'axp-switch-widget',
|
|
5519
|
-
template: `<ax-switch
|
|
5541
|
+
selector: 'axp-switch-widget-edit',
|
|
5542
|
+
template: `<ax-switch
|
|
5543
|
+
[ngModel]="this.getValue()"
|
|
5544
|
+
[disabled]="disabled()"
|
|
5545
|
+
[color]="color()"
|
|
5546
|
+
(onValueChanged)="handleValueChanged($event)"
|
|
5547
|
+
></ax-switch>`,
|
|
5520
5548
|
standalone: true,
|
|
5521
5549
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5522
5550
|
imports: [CommonModule, FormsModule, AXSwitchModule],
|
|
@@ -5572,7 +5600,7 @@ class AXPToggleWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
5572
5600
|
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5573
5601
|
}@else {
|
|
5574
5602
|
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5575
|
-
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
5603
|
+
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5576
5604
|
}
|
|
5577
5605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetColumnComponent, decorators: [{
|
|
5578
5606
|
type: Component,
|
|
@@ -5604,12 +5632,12 @@ var toggleWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
|
5604
5632
|
|
|
5605
5633
|
class AXPToggleWidgetPrintComponent extends AXPWidgetComponent {
|
|
5606
5634
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5607
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetPrintComponent, isStandalone: true, selector: "axp-swith-widget", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5635
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetPrintComponent, isStandalone: true, selector: "axp-swith-widget-print", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5608
5636
|
}
|
|
5609
5637
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetPrintComponent, decorators: [{
|
|
5610
5638
|
type: Component,
|
|
5611
5639
|
args: [{
|
|
5612
|
-
selector: 'axp-swith-widget',
|
|
5640
|
+
selector: 'axp-swith-widget-print',
|
|
5613
5641
|
template: ``,
|
|
5614
5642
|
standalone: true,
|
|
5615
5643
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6196,7 +6224,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetComponent {
|
|
|
6196
6224
|
<small>No Media!</small>
|
|
6197
6225
|
}
|
|
6198
6226
|
</div>
|
|
6199
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$
|
|
6227
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$3.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6200
6228
|
}
|
|
6201
6229
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
|
|
6202
6230
|
type: Component,
|
|
@@ -6361,7 +6389,7 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetComponent {
|
|
|
6361
6389
|
|
|
6362
6390
|
}
|
|
6363
6391
|
</div>
|
|
6364
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$
|
|
6392
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$3.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5$1.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: ["description"] }, { kind: "directive", type: i5$1.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple", "accept"], outputs: ["onChanged", "onFileUploadComplete", "onFilesUploadComplete"] }, { kind: "directive", type: i5$1.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6365
6393
|
}
|
|
6366
6394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
|
|
6367
6395
|
type: Component,
|
|
@@ -6548,7 +6576,7 @@ class AXPMapBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
6548
6576
|
[latitude]="initialLocation().latitude"
|
|
6549
6577
|
[longitude]="initialLocation().longitude"
|
|
6550
6578
|
></ax-map>
|
|
6551
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$
|
|
6579
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "hasDraw", "hasLocator", "markerPlace", "locatePlace", "markers"], outputs: ["onMarkerAdded", "onMarkerChanged", "onLocationFound"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6552
6580
|
}
|
|
6553
6581
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetViewComponent, decorators: [{
|
|
6554
6582
|
type: Component,
|
|
@@ -6619,7 +6647,7 @@ class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
6619
6647
|
[maxMarker]="maxMarker()"
|
|
6620
6648
|
>
|
|
6621
6649
|
</ax-map>
|
|
6622
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$
|
|
6650
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "hasDraw", "hasLocator", "markerPlace", "locatePlace", "markers"], outputs: ["onMarkerAdded", "onMarkerChanged", "onLocationFound"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6623
6651
|
}
|
|
6624
6652
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetEditComponent, decorators: [{
|
|
6625
6653
|
type: Component,
|
|
@@ -6883,7 +6911,7 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetComponent {
|
|
|
6883
6911
|
</div>
|
|
6884
6912
|
}
|
|
6885
6913
|
</div>
|
|
6886
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$
|
|
6914
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$3.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6887
6915
|
}
|
|
6888
6916
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetEditComponent, decorators: [{
|
|
6889
6917
|
type: Component,
|
|
@@ -6984,7 +7012,7 @@ class AXPSignatureWidgetViewComponent extends AXPWidgetComponent {
|
|
|
6984
7012
|
<span>{{placeholder()}}</span>
|
|
6985
7013
|
}
|
|
6986
7014
|
</div>
|
|
6987
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$
|
|
7015
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$3.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6988
7016
|
}
|
|
6989
7017
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetViewComponent, decorators: [{
|
|
6990
7018
|
type: Component,
|
|
@@ -7041,13 +7069,13 @@ const AXPSignatureWidget = {
|
|
|
7041
7069
|
class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
7042
7070
|
constructor() {
|
|
7043
7071
|
super(...arguments);
|
|
7044
|
-
this.backgroundColor = computed(() => this.options()[
|
|
7045
|
-
this.cssClass = computed(() => this.options()[
|
|
7046
|
-
this.flexAlignItems = computed(() => this.options()[
|
|
7047
|
-
this.flexJustifyContent = computed(() => this.options()[
|
|
7048
|
-
this.flexWrap = computed(() => this.options()[
|
|
7049
|
-
this.flexDirection = computed(() => this.options()[
|
|
7050
|
-
this.gap = computed(() => this.options()[
|
|
7072
|
+
this.backgroundColor = computed(() => this.options()['backgroundColor']);
|
|
7073
|
+
this.cssClass = computed(() => this.options()['cssClass']);
|
|
7074
|
+
this.flexAlignItems = computed(() => this.options()['flexAlignItems']?.id);
|
|
7075
|
+
this.flexJustifyContent = computed(() => this.options()['flexJustifyContent']?.id);
|
|
7076
|
+
this.flexWrap = computed(() => this.options()['flexWrap']?.id);
|
|
7077
|
+
this.flexDirection = computed(() => this.options()['flexDirection']?.id);
|
|
7078
|
+
this.gap = computed(() => this.options()['gap'] ?? 0);
|
|
7051
7079
|
}
|
|
7052
7080
|
get __class() {
|
|
7053
7081
|
const cls = {};
|
|
@@ -7080,13 +7108,18 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7080
7108
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7081
7109
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetDesignerComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class", "style": "this.__style" } }, providers: [
|
|
7082
7110
|
{
|
|
7083
|
-
provide: AXPContainerWidgetComponent,
|
|
7084
|
-
|
|
7111
|
+
provide: AXPContainerWidgetComponent,
|
|
7112
|
+
useExisting: AXPBlockWidgetDesignerComponent,
|
|
7113
|
+
},
|
|
7085
7114
|
], usesInheritance: true, ngImport: i0, template: `
|
|
7086
7115
|
@for (node of children(); track $index) {
|
|
7087
7116
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7088
7117
|
}
|
|
7089
|
-
|
|
7118
|
+
@empty {
|
|
7119
|
+
<axp-designer-add-widget-mini-button
|
|
7120
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
|
7121
|
+
></axp-designer-add-widget-mini-button>
|
|
7122
|
+
}
|
|
7090
7123
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetMiniButtonComponent, selector: "axp-designer-add-widget-mini-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7091
7124
|
}
|
|
7092
7125
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
|
|
@@ -7097,16 +7130,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7097
7130
|
@for (node of children(); track $index) {
|
|
7098
7131
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7099
7132
|
}
|
|
7100
|
-
|
|
7133
|
+
@empty {
|
|
7134
|
+
<axp-designer-add-widget-mini-button
|
|
7135
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
|
7136
|
+
></axp-designer-add-widget-mini-button>
|
|
7137
|
+
}
|
|
7101
7138
|
`,
|
|
7102
7139
|
standalone: true,
|
|
7103
7140
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7104
|
-
imports: [
|
|
7141
|
+
imports: [
|
|
7142
|
+
CommonModule,
|
|
7143
|
+
AXPLayoutBuilderModule,
|
|
7144
|
+
AXPWidgetDesignerRendererDirective,
|
|
7145
|
+
AXPDesignerAddWidgetMiniButtonComponent,
|
|
7146
|
+
],
|
|
7105
7147
|
providers: [
|
|
7106
7148
|
{
|
|
7107
|
-
provide: AXPContainerWidgetComponent,
|
|
7108
|
-
|
|
7109
|
-
|
|
7149
|
+
provide: AXPContainerWidgetComponent,
|
|
7150
|
+
useExisting: AXPBlockWidgetDesignerComponent,
|
|
7151
|
+
},
|
|
7152
|
+
],
|
|
7110
7153
|
}]
|
|
7111
7154
|
}], propDecorators: { __class: [{
|
|
7112
7155
|
type: HostBinding,
|
|
@@ -7170,7 +7213,7 @@ class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7170
7213
|
[mode]="this.mode"
|
|
7171
7214
|
></ng-container>
|
|
7172
7215
|
}
|
|
7173
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
7216
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7174
7217
|
}
|
|
7175
7218
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, decorators: [{
|
|
7176
7219
|
type: Component,
|
|
@@ -7248,7 +7291,7 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7248
7291
|
@for (node of children(); track $index) {
|
|
7249
7292
|
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7250
7293
|
}
|
|
7251
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
7294
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7252
7295
|
}
|
|
7253
7296
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, decorators: [{
|
|
7254
7297
|
type: Component,
|
|
@@ -7285,21 +7328,21 @@ const AXPPageWidget = {
|
|
|
7285
7328
|
properties: [
|
|
7286
7329
|
AXP_FONT_SIZE_PROPERTY,
|
|
7287
7330
|
AXP_THEME_PROPERTY,
|
|
7288
|
-
AXP_BG_COLOR_PROPERTY,
|
|
7331
|
+
cloneProperty(AXP_BG_COLOR_PROPERTY, { schema: { defaultValue: '#ffffff' } }),
|
|
7289
7332
|
createBooleanProperty({
|
|
7290
|
-
name:
|
|
7333
|
+
name: 'hasHeader',
|
|
7291
7334
|
path: 'options.hasHeader',
|
|
7292
|
-
title:
|
|
7335
|
+
title: 'Header',
|
|
7293
7336
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
7294
7337
|
defaultValue: true,
|
|
7295
7338
|
}),
|
|
7296
7339
|
createBooleanProperty({
|
|
7297
|
-
name:
|
|
7340
|
+
name: 'hasFooter',
|
|
7298
7341
|
path: 'options.hasFooter',
|
|
7299
|
-
title:
|
|
7342
|
+
title: 'Footer',
|
|
7300
7343
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
7301
7344
|
defaultValue: true,
|
|
7302
|
-
})
|
|
7345
|
+
}),
|
|
7303
7346
|
],
|
|
7304
7347
|
components: {
|
|
7305
7348
|
view: {
|
|
@@ -7312,7 +7355,7 @@ const AXPPageWidget = {
|
|
|
7312
7355
|
component: () => Promise.resolve().then(function () { return pageWidgetView_component; }).then((c) => c.AXPPageWidgetViewComponent),
|
|
7313
7356
|
},
|
|
7314
7357
|
designer: {
|
|
7315
|
-
component: () => import('./acorex-platform-widgets-page-widget-designer.component-
|
|
7358
|
+
component: () => import('./acorex-platform-widgets-page-widget-designer.component-DOulAanE.mjs').then((c) => c.AXPPageWidgetDesignerComponent),
|
|
7316
7359
|
},
|
|
7317
7360
|
},
|
|
7318
7361
|
};
|
|
@@ -7334,7 +7377,7 @@ class AXPRepeaterWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7334
7377
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"></ng-container>
|
|
7335
7378
|
}
|
|
7336
7379
|
}
|
|
7337
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
7380
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7338
7381
|
}
|
|
7339
7382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, decorators: [{
|
|
7340
7383
|
type: Component,
|
|
@@ -7451,7 +7494,7 @@ class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
|
7451
7494
|
You haven't added any items yet. Click “Start Adding Items” to get started!
|
|
7452
7495
|
</div>
|
|
7453
7496
|
</ng-template>
|
|
7454
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
7497
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7455
7498
|
}
|
|
7456
7499
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetEditComponent, decorators: [{
|
|
7457
7500
|
type: Component,
|
|
@@ -7704,6 +7747,7 @@ const AXPRepeaterWidget = {
|
|
|
7704
7747
|
const AXP_TEMPLATE_WIDGET_PROVIDER = new InjectionToken('AXP_TEMPLATE_WIDGET_PROVIDER');
|
|
7705
7748
|
class AXPTemplateWidgetProviderService {
|
|
7706
7749
|
constructor() {
|
|
7750
|
+
this.popupService = inject(AXPopupService);
|
|
7707
7751
|
this.providers = inject(AXP_TEMPLATE_WIDGET_PROVIDER, { optional: true });
|
|
7708
7752
|
}
|
|
7709
7753
|
async items(query) {
|
|
@@ -7732,6 +7776,20 @@ class AXPTemplateWidgetProviderService {
|
|
|
7732
7776
|
}
|
|
7733
7777
|
return null;
|
|
7734
7778
|
}
|
|
7779
|
+
async chooseTemplate() {
|
|
7780
|
+
const com = await import('./acorex-platform-widgets-template-picker.component-DPlvwgbu.mjs').then((c) => c.AXPTemplateWidgetPickerComponent);
|
|
7781
|
+
const widgets = await this.items();
|
|
7782
|
+
const result = await this.popupService.open(com, {
|
|
7783
|
+
title: 'Template Gallery',
|
|
7784
|
+
size: 'md',
|
|
7785
|
+
closeButton: true,
|
|
7786
|
+
data: {
|
|
7787
|
+
widgets: sortBy(widgets, (c) => c.title),
|
|
7788
|
+
},
|
|
7789
|
+
});
|
|
7790
|
+
const selected = result.data?.widgets;
|
|
7791
|
+
return selected[0];
|
|
7792
|
+
}
|
|
7735
7793
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTemplateWidgetProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7736
7794
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTemplateWidgetProviderService, providedIn: 'root' }); }
|
|
7737
7795
|
}
|
|
@@ -7743,14 +7801,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7743
7801
|
class AXPTemplateWidgetViewComponent extends AXPWidgetComponent {
|
|
7744
7802
|
constructor() {
|
|
7745
7803
|
super();
|
|
7804
|
+
this.metaKey = '__meta__';
|
|
7746
7805
|
this.templateProvider = inject(AXPTemplateWidgetProviderService);
|
|
7747
7806
|
this.templateId = computed(() => this.options()['templateId']);
|
|
7748
7807
|
this.nodeToRender = signal(null);
|
|
7749
7808
|
//
|
|
7750
7809
|
effect(async () => {
|
|
7751
|
-
const
|
|
7752
|
-
|
|
7753
|
-
|
|
7810
|
+
const value = this.getValue();
|
|
7811
|
+
const templateId = get(value, `${this.metaKey}.templateId`) ?? this.templateId();
|
|
7812
|
+
if (templateId) {
|
|
7813
|
+
const node = await this.templateProvider.get(templateId);
|
|
7814
|
+
if (node) {
|
|
7815
|
+
this.nodeToRender.set(node);
|
|
7816
|
+
}
|
|
7817
|
+
}
|
|
7818
|
+
else {
|
|
7819
|
+
this.nodeToRender.set(null);
|
|
7754
7820
|
}
|
|
7755
7821
|
}, { allowSignalWrites: true });
|
|
7756
7822
|
}
|
|
@@ -7758,8 +7824,12 @@ class AXPTemplateWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7758
7824
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPTemplateWidgetViewComponent, isStandalone: true, selector: "axp-template-widget", usesInheritance: true, ngImport: i0, template: `
|
|
7759
7825
|
@if(nodeToRender()) {
|
|
7760
7826
|
<ng-container axp-widget-renderer [node]="nodeToRender()!" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7827
|
+
} @else {
|
|
7828
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
7829
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
|
7830
|
+
</span>
|
|
7761
7831
|
}
|
|
7762
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
7832
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3$2.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7763
7833
|
}
|
|
7764
7834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTemplateWidgetViewComponent, decorators: [{
|
|
7765
7835
|
type: Component,
|
|
@@ -7768,11 +7838,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7768
7838
|
template: `
|
|
7769
7839
|
@if(nodeToRender()) {
|
|
7770
7840
|
<ng-container axp-widget-renderer [node]="nodeToRender()!" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7841
|
+
} @else {
|
|
7842
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
7843
|
+
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
|
7844
|
+
</span>
|
|
7771
7845
|
}
|
|
7772
7846
|
`,
|
|
7773
7847
|
standalone: true,
|
|
7774
7848
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7775
|
-
imports: [CommonModule, AXPLayoutBuilderModule],
|
|
7849
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule],
|
|
7776
7850
|
}]
|
|
7777
7851
|
}], ctorParameters: () => [] });
|
|
7778
7852
|
|
|
@@ -7867,7 +7941,7 @@ const AXPTemplateWidget = {
|
|
|
7867
7941
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
7868
7942
|
},
|
|
7869
7943
|
edit: {
|
|
7870
|
-
component: () => import('./acorex-platform-widgets-template-widget-edit.component-
|
|
7944
|
+
component: () => import('./acorex-platform-widgets-template-widget-edit.component-JlCVB-Aq.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
|
7871
7945
|
},
|
|
7872
7946
|
print: {
|
|
7873
7947
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
@@ -7904,7 +7978,7 @@ class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7904
7978
|
>
|
|
7905
7979
|
</ax-qrcode>
|
|
7906
7980
|
}
|
|
7907
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXQrcodeModule }, { kind: "component", type: i1$
|
|
7981
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXQrcodeModule }, { kind: "component", type: i1$8.AXQrcodeComponent, selector: "ax-qrcode", inputs: ["content", "size", "level", "color", "backgroundColor", "outputType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7908
7982
|
}
|
|
7909
7983
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, decorators: [{
|
|
7910
7984
|
type: Component,
|
|
@@ -8061,7 +8135,7 @@ class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
8061
8135
|
<ax-clear-button></ax-clear-button>
|
|
8062
8136
|
}
|
|
8063
8137
|
</ax-color-box>
|
|
8064
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type:
|
|
8138
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i2$4.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8065
8139
|
}
|
|
8066
8140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, decorators: [{
|
|
8067
8141
|
type: Component,
|
|
@@ -8187,7 +8261,7 @@ const AXPColorBoxWidget = {
|
|
|
8187
8261
|
],
|
|
8188
8262
|
components: {
|
|
8189
8263
|
designer: {
|
|
8190
|
-
component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-
|
|
8264
|
+
component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-uQBHAspe.mjs').then((c) => c.AXPColorBoxWidgetDesignerComponent),
|
|
8191
8265
|
},
|
|
8192
8266
|
view: {
|
|
8193
8267
|
component: () => Promise.resolve().then(function () { return colorBoxWidgetView_component; }).then((c) => c.AXPColorBoxWidgetViewComponent),
|
|
@@ -8238,7 +8312,7 @@ class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8238
8312
|
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8239
8313
|
}
|
|
8240
8314
|
</ax-form-field>
|
|
8241
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2
|
|
8315
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8242
8316
|
}
|
|
8243
8317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, decorators: [{
|
|
8244
8318
|
type: Component,
|
|
@@ -8293,7 +8367,7 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8293
8367
|
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
8294
8368
|
}
|
|
8295
8369
|
</ax-form-field>
|
|
8296
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2
|
|
8370
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetMiniButtonComponent, selector: "axp-designer-add-widget-mini-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8297
8371
|
}
|
|
8298
8372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, decorators: [{
|
|
8299
8373
|
type: Component,
|
|
@@ -8370,7 +8444,7 @@ class AXPGridWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8370
8444
|
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8371
8445
|
}
|
|
8372
8446
|
</div>
|
|
8373
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
8447
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8374
8448
|
}
|
|
8375
8449
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetViewComponent, decorators: [{
|
|
8376
8450
|
type: Component,
|
|
@@ -8419,27 +8493,6 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8419
8493
|
this.cells = computed(() => Array.from({ length: this.cols() * this.rows() }).map((c, index) => index));
|
|
8420
8494
|
this.settled = computed(() => this.cols() * this.rows() > 1 && this.children().length);
|
|
8421
8495
|
}
|
|
8422
|
-
// private e = effect(async () => {
|
|
8423
|
-
// if (this.settled()) {
|
|
8424
|
-
// const cols = this.cols();
|
|
8425
|
-
// const rows = this.rows();
|
|
8426
|
-
// const gap = this.gap();
|
|
8427
|
-
// // const gridstack = (await import('gridstack')).GridStack;
|
|
8428
|
-
// // const cols = this.cols();
|
|
8429
|
-
// // const rows = this.rows();
|
|
8430
|
-
// //
|
|
8431
|
-
// // // Initialize the grid with responsive options
|
|
8432
|
-
// // gridstack.init({
|
|
8433
|
-
// // cellHeight: 80,
|
|
8434
|
-
// // margin: 0,
|
|
8435
|
-
// // minRow: 1,
|
|
8436
|
-
// // column: 11,
|
|
8437
|
-
// // });
|
|
8438
|
-
// setTimeout(() => {
|
|
8439
|
-
// this.element.nativeElement.style.minHeight = this.placeholder?.nativeElement ? `${this.placeholder.nativeElement.clientHeight}px` : '100px';
|
|
8440
|
-
// }, 50);
|
|
8441
|
-
// }
|
|
8442
|
-
// })
|
|
8443
8496
|
handleDrawerSelect(e) {
|
|
8444
8497
|
this.designerService.update({
|
|
8445
8498
|
values: {
|
|
@@ -8605,7 +8658,7 @@ class AXPGridItemWidgetViewComponent extends AXPContainerWidgetComponent {
|
|
|
8605
8658
|
@for (child of children(); track $index) {
|
|
8606
8659
|
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8607
8660
|
}
|
|
8608
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
8661
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8609
8662
|
}
|
|
8610
8663
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, decorators: [{
|
|
8611
8664
|
type: Component,
|
|
@@ -8793,7 +8846,7 @@ class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8793
8846
|
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8794
8847
|
}
|
|
8795
8848
|
</div>
|
|
8796
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$
|
|
8849
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8797
8850
|
}
|
|
8798
8851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, decorators: [{
|
|
8799
8852
|
type: Component,
|
|
@@ -8888,7 +8941,7 @@ class AXPGridRowWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8888
8941
|
</div>
|
|
8889
8942
|
}
|
|
8890
8943
|
</div>
|
|
8891
|
-
`, isInline: true, styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8944
|
+
`, isInline: true, styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8892
8945
|
}
|
|
8893
8946
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetDesignerComponent, decorators: [{
|
|
8894
8947
|
type: Component,
|
|
@@ -8906,7 +8959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8906
8959
|
{
|
|
8907
8960
|
provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
|
|
8908
8961
|
}
|
|
8909
|
-
], styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity))}\n"] }]
|
|
8962
|
+
], styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity, 1))}\n"] }]
|
|
8910
8963
|
}], propDecorators: { handleMouseLeave: [{
|
|
8911
8964
|
type: HostListener,
|
|
8912
8965
|
args: ['mouseleave', ['$event']]
|
|
@@ -9012,14 +9065,14 @@ const AXPTextBlockWidget = {
|
|
|
9012
9065
|
component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
|
|
9013
9066
|
},
|
|
9014
9067
|
designer: {
|
|
9015
|
-
component: () => import('./acorex-platform-widgets-text-block-widget-designer.component-
|
|
9068
|
+
component: () => import('./acorex-platform-widgets-text-block-widget-designer.component-BE6goaZc.mjs').then((c) => c.AXPTextBlockWidgetDesignerComponent),
|
|
9016
9069
|
},
|
|
9017
9070
|
},
|
|
9018
9071
|
};
|
|
9019
9072
|
|
|
9020
9073
|
class AXPWidgetsModule {
|
|
9021
9074
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9022
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [i1$
|
|
9075
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [i1$7.AXPLayoutBuilderModule] }); }
|
|
9023
9076
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [AXPLayoutBuilderModule.forChild({
|
|
9024
9077
|
widgets: [
|
|
9025
9078
|
AXPDocumentWidget,
|