@acorex/platform 18.1.3 → 18.1.5
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/app-startup.service.d.ts +16 -0
- package/common/lib/app/application.types.d.ts +3 -1
- package/common/lib/app/index.d.ts +1 -0
- package/common/lib/common.module.d.ts +7 -1
- package/common/lib/configs/app.config.d.ts +1 -0
- package/common/lib/data/dexie-storage.service.d.ts +18 -2
- package/common/lib/data/entity-data-provider.d.ts +2 -2
- package/common/lib/data/{storage-service.d.ts → entity-storage-service.d.ts} +1 -1
- package/common/lib/data/index.d.ts +1 -1
- package/common/lib/layout/theme/components/slots/index.d.ts +0 -1
- package/common/lib/layout/theme/store/admin-layout.actions.d.ts +0 -1
- package/common/lib/layout/theme/store/admin-layout.effects.d.ts +1 -2
- package/common/lib/layout/theme/store/admin-layout.reducers.d.ts +0 -5
- package/common/lib/layout/theme/store/admin-layout.selectors.d.ts +0 -1
- package/common/lib/layout/theme/store/admin-layout.state.d.ts +0 -3
- package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +1 -1
- package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +1 -1
- package/common/lib/settings/index.d.ts +1 -1
- package/common/lib/settings/settings.provider.d.ts +7 -0
- package/common/lib/settings/settings.service.d.ts +8 -4
- package/common/lib/settings/settings.types.d.ts +2 -3
- package/common/lib/store/common.actions.d.ts +7 -1
- package/common/lib/store/common.effects.d.ts +6 -1
- package/esm2022/common/lib/app/app-startup.service.mjs +40 -0
- package/esm2022/common/lib/app/application.types.mjs +1 -1
- package/esm2022/common/lib/app/index.mjs +2 -1
- package/esm2022/common/lib/common.module.mjs +39 -9
- package/esm2022/common/lib/configs/app.config.mjs +2 -1
- package/esm2022/common/lib/data/dexie-storage.service.mjs +84 -2
- package/esm2022/common/lib/data/entity-data-provider.mjs +1 -1
- package/esm2022/common/lib/data/entity-storage-service.mjs +5 -0
- package/esm2022/common/lib/data/index.mjs +2 -2
- package/esm2022/common/lib/layout/theme/components/slots/index.mjs +1 -2
- package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +1 -2
- package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +6 -14
- package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +5 -7
- package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +1 -2
- package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +1 -4
- package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +15 -9
- package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +38 -11
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +43 -15
- package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +10 -6
- package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +15 -16
- package/esm2022/common/lib/settings/index.mjs +2 -2
- package/esm2022/common/lib/settings/settings.provider.mjs +35 -0
- package/esm2022/common/lib/settings/settings.service.mjs +36 -6
- package/esm2022/common/lib/settings/settings.types.mjs +1 -1
- package/esm2022/common/lib/store/common.actions.mjs +3 -2
- package/esm2022/common/lib/store/common.effects.mjs +10 -6
- package/esm2022/layout/builder/lib/builder/builder.service.mjs +4 -6
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.directive.mjs +33 -11
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +10 -13
- package/esm2022/layout/designer/lib/designer/components/add-widget-button/add-widget-line-button.component.mjs +49 -0
- package/esm2022/layout/designer/lib/designer/components/add-widget-button/add-widget-mini-button.component.mjs +53 -0
- package/esm2022/layout/designer/lib/designer/components/add-widget-button/index.mjs +4 -0
- package/esm2022/layout/designer/lib/designer/components/board/board.component.mjs +7 -3
- package/esm2022/layout/designer/lib/designer/components/drawers/data-sources/data-sources.component.mjs +1 -1
- package/esm2022/layout/designer/lib/designer/components/widget-picker/widget-picker.component.mjs +24 -9
- package/esm2022/layout/designer/lib/designer/designer.component.mjs +4 -4
- package/esm2022/layout/designer/lib/designer/index.mjs +3 -3
- package/esm2022/layout/designer/lib/designer/shared/designer-connector.service.mjs +1 -1
- package/esm2022/layout/designer/lib/designer/shared/designer.service.mjs +2 -4
- package/esm2022/layout/designer/lib/designer/shared/designer.types.mjs +6 -0
- package/esm2022/layout/designer/lib/designer/shared/widget-designer-renderer.directive.mjs +2 -3
- package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +3 -3
- package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +3 -4
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +23 -6
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +45 -9
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -1
- package/esm2022/themes/default/lib/default.module.mjs +7 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +17 -4
- package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +8 -3
- package/esm2022/themes/shared/index.mjs +3 -1
- package/esm2022/themes/shared/lib/comments/comment-list-view.component.mjs +44 -20
- package/esm2022/themes/shared/lib/comments/comments.service.mjs +1 -1
- package/esm2022/themes/shared/lib/comments/comments.type.mjs +1 -1
- package/esm2022/themes/shared/lib/components/theme-slot.component.mjs +117 -0
- package/esm2022/themes/shared/lib/services/theme.service.mjs +79 -0
- package/esm2022/themes/shared/lib/shared.module.mjs +14 -8
- package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +1 -2
- package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +35 -23
- package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-designer.component.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-edit.component.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-view.component.mjs +4 -3
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +33 -32
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +5 -24
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +32 -22
- package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +5 -4
- package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +5 -5
- package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +23 -11
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-print.component.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-view.component.mjs +68 -28
- package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +7 -8
- package/esm2022/widgets/lib/widgets/layout/block/block-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +3 -2
- package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +11 -10
- package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +6 -2
- package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +6 -6
- package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +5 -4
- package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +8 -19
- package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +5 -4
- package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.mjs +2 -1
- package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +5 -4
- package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +95 -9
- package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +18 -3
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.mjs +10 -10
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-edit.component.mjs +18 -11
- package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +3 -2
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-CfqY7kKi.mjs → acorex-platform-common-avatar-widget-edit.component-CSSz-dqg.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-CfqY7kKi.mjs.map → acorex-platform-common-avatar-widget-edit.component-CSSz-dqg.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-avatar-widget-view.component-DXC7INdQ.mjs → acorex-platform-common-avatar-widget-view.component-WofmamJK.mjs} +2 -3
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-WofmamJK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-DLGnsXy4.mjs → acorex-platform-common-boolean-widget-filter.component-ByoMpVAs.mjs} +14 -9
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-ByoMpVAs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-change-password.component-BBPFxmB6.mjs → acorex-platform-common-change-password.component-Djd4SeNv.mjs} +6 -6
- package/fesm2022/{acorex-platform-common-change-password.component-BBPFxmB6.mjs.map → acorex-platform-common-change-password.component-Djd4SeNv.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-Ch2bdAjo.mjs → acorex-platform-common-checkbox-widget-column.component-BAK1Wlh_.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-Ch2bdAjo.mjs.map → acorex-platform-common-checkbox-widget-column.component-BAK1Wlh_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs → acorex-platform-common-checkbox-widget-edit.component-C1PgHZsE.mjs} +2 -3
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-C1PgHZsE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-BhGOtblX.mjs → acorex-platform-common-checkbox-widget-view.component-B4BG4mCQ.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-BhGOtblX.mjs.map → acorex-platform-common-checkbox-widget-view.component-B4BG4mCQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs → acorex-platform-common-dateTime-widget-column.component-BnW8m1wn.mjs} +2 -3
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BnW8m1wn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs → acorex-platform-common-dateTime-widget-edit.component-DCYX2iyT.mjs} +5 -5
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs.map → acorex-platform-common-dateTime-widget-edit.component-DCYX2iyT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs → acorex-platform-common-dateTime-widget-filter.component-Dbxz84tm.mjs} +37 -11
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-Dbxz84tm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs → acorex-platform-common-dateTime-widget-view.component-Bg1h8xAj.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs.map → acorex-platform-common-dateTime-widget-view.component-Bg1h8xAj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-column.component-BOer2nZi.mjs → acorex-platform-common-email-widget-column.component-BqRR2jW9.mjs} +2 -3
- package/fesm2022/acorex-platform-common-email-widget-column.component-BqRR2jW9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs → acorex-platform-common-email-widget-edit.component-C7oCyByG.mjs} +5 -5
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs.map → acorex-platform-common-email-widget-edit.component-C7oCyByG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs → acorex-platform-common-email-widget-view.component-hfVZnW_L.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs.map → acorex-platform-common-email-widget-view.component-hfVZnW_L.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs → acorex-platform-common-file-widget-column.component-Dt2mR6hJ.mjs} +1 -2
- package/fesm2022/acorex-platform-common-file-widget-column.component-Dt2mR6hJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs → acorex-platform-common-file-widget-edit.component-DQol3UN8.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs.map → acorex-platform-common-file-widget-edit.component-DQol3UN8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-filter.component-Dwt-LYWG.mjs → acorex-platform-common-file-widget-filter.component-CGd1mY-z.mjs} +2 -3
- package/fesm2022/acorex-platform-common-file-widget-filter.component-CGd1mY-z.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs → acorex-platform-common-file-widget-view.component-lKWnGSSb.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs.map → acorex-platform-common-file-widget-view.component-lKWnGSSb.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs → acorex-platform-common-gallery-widget-edit.component-DgjY3ZWk.mjs} +6 -6
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs.map → acorex-platform-common-gallery-widget-edit.component-DgjY3ZWk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs → acorex-platform-common-gallery-widget-filter.component-CUw4kxTW.mjs} +2 -3
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-CUw4kxTW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs → acorex-platform-common-gallery-widget-view.component-DK52JTds.mjs} +5 -5
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs.map → acorex-platform-common-gallery-widget-view.component-DK52JTds.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs → acorex-platform-common-largetext-widget-edit.component-7bbHUOnp.mjs} +16 -18
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-7bbHUOnp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-column.component-BEZNLQZi.mjs → acorex-platform-common-lookup-widget-column.component-PGf5qjC4.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-lookup-widget-column.component-BEZNLQZi.mjs.map → acorex-platform-common-lookup-widget-column.component-PGf5qjC4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-D50jPeKP.mjs → acorex-platform-common-lookup-widget-edit.component-CGZf6rH2.mjs} +2 -3
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CGZf6rH2.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-CZHDDnR3.mjs → acorex-platform-common-lookup-widget-filter.component-CUBdIuu9.mjs} +41 -13
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CUBdIuu9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-view.component-CQCvJxgi.mjs → acorex-platform-common-lookup-widget-view.component-dmGctRc9.mjs} +2 -3
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-dmGctRc9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-edit.component-OanYRQ3B.mjs → acorex-platform-common-map-widget-edit.component-Cyi6AF9u.mjs} +2 -3
- package/fesm2022/acorex-platform-common-map-widget-edit.component-Cyi6AF9u.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-view.component-BWdndMYJ.mjs → acorex-platform-common-map-widget-view.component-Cbl1KClC.mjs} +2 -3
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cbl1KClC.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-column.component-BHP6R3OI.mjs → acorex-platform-common-messenger-widget-column.component-BGiTw0jL.mjs} +2 -3
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-BGiTw0jL.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-B7ycb6tX.mjs → acorex-platform-common-messenger-widget-edit.component-BBSmai_5.mjs} +4 -4
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-BBSmai_5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-Dz5X-FS5.mjs → acorex-platform-common-messenger-widget-view.component-C15KdEZ6.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-Dz5X-FS5.mjs.map → acorex-platform-common-messenger-widget-view.component-C15KdEZ6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-number-widget-edit.component-XSWI6466.mjs → acorex-platform-common-number-widget-edit.component-CGmS-gd7.mjs} +5 -6
- package/fesm2022/acorex-platform-common-number-widget-edit.component-CGmS-gd7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-BOT9wPJ5.mjs → acorex-platform-common-number-widget-filter.component-8RC01k_0.mjs} +6 -6
- package/fesm2022/acorex-platform-common-number-widget-filter.component-8RC01k_0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-number-widget-view.component-CP5aboLU.mjs → acorex-platform-common-number-widget-view.component-DGPcZ-yE.mjs} +2 -3
- package/fesm2022/acorex-platform-common-number-widget-view.component-DGPcZ-yE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-column.component-CGxTbd_S.mjs → acorex-platform-common-password-widget-column.component-O3L2DvZq.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-password-widget-column.component-CGxTbd_S.mjs.map → acorex-platform-common-password-widget-column.component-O3L2DvZq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-password-widget-edit.component-CHQ_Kp4t.mjs → acorex-platform-common-password-widget-edit.component-DZz6rAL3.mjs} +6 -7
- package/fesm2022/acorex-platform-common-password-widget-edit.component-DZz6rAL3.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-view.component-BQ9jlt6g.mjs → acorex-platform-common-password-widget-view.component-OxinnOs8.mjs} +3 -3
- package/fesm2022/{acorex-platform-common-password-widget-view.component-BQ9jlt6g.mjs.map → acorex-platform-common-password-widget-view.component-OxinnOs8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-column.component-RJp6wHul.mjs → acorex-platform-common-phone-widget-column.component-D9AXNMVq.mjs} +2 -3
- package/fesm2022/acorex-platform-common-phone-widget-column.component-D9AXNMVq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-BB5wTbjd.mjs → acorex-platform-common-phone-widget-edit.component-CKvODAMQ.mjs} +5 -5
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-BB5wTbjd.mjs.map → acorex-platform-common-phone-widget-edit.component-CKvODAMQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-SIzFWfjV.mjs → acorex-platform-common-phone-widget-view.component-Cx-SrpUs.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-SIzFWfjV.mjs.map → acorex-platform-common-phone-widget-view.component-Cx-SrpUs.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-Ced0WqvI.mjs → acorex-platform-common-rich-text-widget-column.component-C7IqYbqM.mjs} +2 -3
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-C7IqYbqM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-Do3YcmKg.mjs → acorex-platform-common-rich-text-widget-edit.component-DtEcLWte.mjs} +2 -2
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-DtEcLWte.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-BIRyPRtw.mjs → acorex-platform-common-rich-text-widget-view.component-DI4I6wII.mjs} +2 -3
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DI4I6wII.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-DxeK2RPc.mjs → acorex-platform-common-selection-list-widget-column.component-CHDTopqW.mjs} +2 -3
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-CHDTopqW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-CBLEeILz.mjs → acorex-platform-common-selection-list-widget-edit.component-Ds7Pc22g.mjs} +4 -5
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-Ds7Pc22g.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-B01t7mso.mjs → acorex-platform-common-selection-list-widget-filter.component-D7h2tUqB.mjs} +11 -9
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-D7h2tUqB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-QJMp11dd.mjs → acorex-platform-common-selection-list-widget-view.component-DGuotR-q.mjs} +2 -3
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-DGuotR-q.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-BQiY7RIp.mjs → acorex-platform-common-signature-pad-widget-edit.component-DPr0hCtB.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-BQiY7RIp.mjs.map → acorex-platform-common-signature-pad-widget-edit.component-DPr0hCtB.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-CEhRqgEn.mjs → acorex-platform-common-signature-pad-widget-view.component-CdqZ17tU.mjs} +2 -3
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-CdqZ17tU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-string-widget-filter.component--L4PeRCB.mjs → acorex-platform-common-string-widget-filter.component-Ctde9CDD.mjs} +6 -6
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Ctde9CDD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-text-widget-column.component-ytX4OqZX.mjs → acorex-platform-common-text-widget-column.component-BHd_WWKq.mjs} +2 -3
- package/fesm2022/acorex-platform-common-text-widget-column.component-BHd_WWKq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-text-widget-edit.component-CN7OyTfJ.mjs → acorex-platform-common-text-widget-edit.component-BwfelIOW.mjs} +4 -4
- package/fesm2022/acorex-platform-common-text-widget-edit.component-BwfelIOW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-text-widget-view.component-B-R4-5Ra.mjs → acorex-platform-common-text-widget-view.component-SHWXqKZS.mjs} +2 -3
- package/fesm2022/{acorex-platform-common-text-widget-view.component-B-R4-5Ra.mjs.map → acorex-platform-common-text-widget-view.component-SHWXqKZS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-B5NFRPgX.mjs → acorex-platform-common-toggle-widget-column.component-Dc_Ahdvn.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-B5NFRPgX.mjs.map → acorex-platform-common-toggle-widget-column.component-Dc_Ahdvn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-CLWHwf8V.mjs → acorex-platform-common-toggle-widget-edit.component-BnPyXdAA.mjs} +2 -2
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-BnPyXdAA.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-Di2S7vub.mjs → acorex-platform-common-toggle-widget-view.component-D14GMwWe.mjs} +4 -5
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-Di2S7vub.mjs.map → acorex-platform-common-toggle-widget-view.component-D14GMwWe.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +326 -181
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +43 -26
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer-preview.component-CaRHf4x_.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +125 -19
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +67 -15
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs.map +1 -1
- package/fesm2022/acorex-platform-layouts-entity-import-view.component-CZpEcVi9.mjs.map +1 -1
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs.map +1 -1
- package/fesm2022/acorex-platform-layouts.mjs +2 -1
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Q8eTfAVx.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CNXG0nP4.mjs +294 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CNXG0nP4.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BijYXMme.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bnrabotu.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +21 -12
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +239 -26
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-B9bfVuC4.mjs → acorex-platform-widgets-button-widget-designer.component-M_JuDPbt.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-M_JuDPbt.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DzGg-uFi.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs → acorex-platform-widgets-checkbox-widget-view.component-CDA7Jwov.mjs} +35 -23
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-CDA7Jwov.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-Bb3aXCNZ.mjs → acorex-platform-widgets-color-box-widget-designer.component-DIvi0BtT.mjs} +3 -2
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-DIvi0BtT.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-BL_EAwUs.mjs +153 -0
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-BL_EAwUs.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +286 -220
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/lib/builder/builder.service.d.ts +1 -1
- package/layout/builder/lib/builder/widget-renderer.component.directive.d.ts +5 -1
- package/layout/builder/lib/builder/widget.types.d.ts +4 -4
- package/layout/designer/lib/designer/components/add-widget-button/add-widget-line-button.component.d.ts +8 -0
- package/layout/designer/lib/designer/components/add-widget-button/add-widget-mini-button.component.d.ts +9 -0
- package/layout/designer/lib/designer/components/add-widget-button/index.d.ts +3 -0
- package/layout/designer/lib/designer/components/board/board.component.d.ts +1 -0
- package/layout/designer/lib/designer/components/drawers/data-sources/data-sources.component.d.ts +1 -1
- package/layout/designer/lib/designer/components/widget-picker/widget-picker.component.d.ts +3 -1
- package/layout/designer/lib/designer/index.d.ts +2 -2
- package/layout/designer/lib/designer/shared/designer-connector.service.d.ts +1 -1
- package/layout/designer/lib/designer/shared/designer.service.d.ts +2 -2
- package/layout/entity/lib/entity-master-list.viewmodel.d.ts +2 -1
- package/package.json +19 -19
- package/themes/default/lib/default.module.d.ts +2 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +3 -1
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +2 -1
- package/themes/shared/README.md +2 -3
- package/themes/shared/index.d.ts +2 -0
- package/themes/shared/lib/comments/comment-list-view.component.d.ts +3 -2
- package/themes/shared/lib/comments/comments.service.d.ts +6 -6
- package/themes/shared/lib/comments/comments.type.d.ts +5 -5
- package/themes/shared/lib/components/theme-slot.component.d.ts +23 -0
- package/themes/shared/lib/services/theme.service.d.ts +21 -0
- package/themes/shared/lib/shared.module.d.ts +6 -4
- package/widgets/lib/widgets/advance/map/map-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/advance/signature/signature-pad-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/color/color-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/color/color-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/color/color-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -3
- package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/number/number-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/password/password-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +2 -0
- package/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.d.ts +1 -1
- 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/grid/grid-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.d.ts +0 -2
- package/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/layout/page/page-widget-designer.component.d.ts +11 -1
- package/widgets/lib/widgets/layout/repeater/repeater-widget-edit.component.d.ts +3 -3
- package/common/lib/layout/theme/components/slots/theme-slot.component.d.ts +0 -8
- package/common/lib/settings/settings.loader.d.ts +0 -8
- package/esm2022/common/lib/data/storage-service.mjs +0 -5
- package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +0 -48
- package/esm2022/common/lib/settings/settings.loader.mjs +0 -17
- package/esm2022/layout/designer/lib/designer/shared/designer.typs.mjs +0 -6
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-DXC7INdQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-DLGnsXy4.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-column.component-BOer2nZi.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-filter.component-Dwt-LYWG.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-D50jPeKP.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CZHDDnR3.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-CQCvJxgi.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-edit.component-OanYRQ3B.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-view.component-BWdndMYJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-BHP6R3OI.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-B7ycb6tX.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-edit.component-XSWI6466.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-filter.component-BOT9wPJ5.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-view.component-CP5aboLU.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-edit.component-CHQ_Kp4t.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-phone-widget-column.component-RJp6wHul.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Ced0WqvI.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-Do3YcmKg.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-BIRyPRtw.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-DxeK2RPc.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-CBLEeILz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-B01t7mso.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-QJMp11dd.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-CEhRqgEn.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-string-widget-filter.component--L4PeRCB.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-text-widget-column.component-ytX4OqZX.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-text-widget-edit.component-CN7OyTfJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-CLWHwf8V.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs +0 -281
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-B9bfVuC4.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-Bb3aXCNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs +0 -67
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs.map +0 -1
- /package/layout/designer/lib/designer/shared/{designer.typs.d.ts → designer.types.d.ts} +0 -0
|
@@ -11,7 +11,7 @@ import { AXPWidgetComponent, AXPWidgetsCatalog, createStringProperty, createBool
|
|
|
11
11
|
import * as i1$3 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import * as i0 from '@angular/core';
|
|
14
|
-
import { computed, EventEmitter, Component, ChangeDetectionStrategy,
|
|
14
|
+
import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, HostBinding, signal, effect, ViewEncapsulation, ViewChild, ChangeDetectorRef, HostListener, NgModule } from '@angular/core';
|
|
15
15
|
import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
|
|
16
16
|
import * as i1 from '@acorex/components/check-box';
|
|
17
17
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
@@ -19,10 +19,10 @@ import * as i1$1 from '@angular/forms';
|
|
|
19
19
|
import { FormsModule } from '@angular/forms';
|
|
20
20
|
import * as i2 from '@acorex/components/label';
|
|
21
21
|
import { AXLabelModule } from '@acorex/components/label';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i3$1 from '@acorex/components/form';
|
|
23
23
|
import { AXFormModule } from '@acorex/components/form';
|
|
24
24
|
import { AXPopupService } from '@acorex/components/popup';
|
|
25
|
-
import * as i3$
|
|
25
|
+
import * as i3$2 from '@acorex/components/select-box';
|
|
26
26
|
import { AXSelectBoxModule, AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
27
27
|
import * as i7 from '@acorex/components/text-box';
|
|
28
28
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
@@ -32,15 +32,15 @@ import { AXValidationModule, AXValidationService } from '@acorex/core/validation
|
|
|
32
32
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
33
33
|
import { AXPClipBoardService } from '@acorex/platform/common';
|
|
34
34
|
import { AXDateTimeFormatter } from '@acorex/core/date-time';
|
|
35
|
-
import * as i3$
|
|
35
|
+
import * as i3$3 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
40
|
import { isNumber, sum, get } from 'lodash-es';
|
|
41
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$4 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';
|
|
@@ -58,7 +58,7 @@ import * as i2$4 from '@acorex/components/image';
|
|
|
58
58
|
import { AXImageModule } from '@acorex/components/image';
|
|
59
59
|
import * as i1$6 from '@acorex/components/map';
|
|
60
60
|
import { AXMapModule } from '@acorex/components/map';
|
|
61
|
-
import { AXPWidgetDesignerRendererDirective,
|
|
61
|
+
import { AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerService, AXPDesignerGridDrawerComponent, AXPDesignerAddWidgetButtonComponent } from '@acorex/platform/layout/designer';
|
|
62
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';
|
|
@@ -120,7 +120,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
120
120
|
standalone: true,
|
|
121
121
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
122
122
|
imports: [CommonModule, AXButtonModule, AXLoadingModule, AXDecoratorModule, AXBadgeModule],
|
|
123
|
-
inputs: [],
|
|
124
123
|
}]
|
|
125
124
|
}] });
|
|
126
125
|
|
|
@@ -837,6 +836,7 @@ const AXPButtonWidget = {
|
|
|
837
836
|
group: AXP_WIDGETS_ACTION_GROUP,
|
|
838
837
|
type: 'action',
|
|
839
838
|
properties: [
|
|
839
|
+
AXP_NAME_PROPERTY,
|
|
840
840
|
AXP_DISABLED_PROPERTY,
|
|
841
841
|
cloneProperty(AXP_TEXT_PROPERTY, { schema: { defaultValue: 'Click Here' } }),
|
|
842
842
|
AXP_STYLE_COLOR_PROPERTY,
|
|
@@ -846,7 +846,7 @@ const AXPButtonWidget = {
|
|
|
846
846
|
],
|
|
847
847
|
components: {
|
|
848
848
|
designer: {
|
|
849
|
-
component: () => import('./acorex-platform-widgets-button-widget-designer.component-
|
|
849
|
+
component: () => import('./acorex-platform-widgets-button-widget-designer.component-M_JuDPbt.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
|
|
850
850
|
},
|
|
851
851
|
view: {
|
|
852
852
|
component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
|
|
@@ -921,7 +921,7 @@ const AXPCheckBoxWidget = {
|
|
|
921
921
|
component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-DzGg-uFi.mjs').then((c) => c.AXPCheckBoxWidgetDesignerComponent),
|
|
922
922
|
},
|
|
923
923
|
view: {
|
|
924
|
-
component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-
|
|
924
|
+
component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-CDA7Jwov.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
|
|
925
925
|
},
|
|
926
926
|
edit: {
|
|
927
927
|
component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
|
|
@@ -1005,7 +1005,7 @@ class popupComponent extends AXBasePageComponent {
|
|
|
1005
1005
|
<ax-button [text]="'apply' | translate | async" color="primary" (onClick)="handleClose(form)"></ax-button>
|
|
1006
1006
|
</ax-suffix>
|
|
1007
1007
|
</ax-footer>
|
|
1008
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$2.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$3.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:
|
|
1008
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$2.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$3.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", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }] }); }
|
|
1009
1009
|
}
|
|
1010
1010
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: popupComponent, decorators: [{
|
|
1011
1011
|
type: Component,
|
|
@@ -1046,7 +1046,15 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1046
1046
|
this.hasIcon = computed(() => this.options()['hasIcon']);
|
|
1047
1047
|
this.disabled = computed(() => this.options()['disabled']);
|
|
1048
1048
|
this.placeholder = computed(() => this.options()['placeholder'] ?? `Enter ${this.type()} ...`);
|
|
1049
|
-
this.format =
|
|
1049
|
+
this.format = computed(() => {
|
|
1050
|
+
if (this.hasIcon() || this.hasLabel()) {
|
|
1051
|
+
return 'object';
|
|
1052
|
+
}
|
|
1053
|
+
else {
|
|
1054
|
+
return 'string';
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
this.internalValue = computed(() => this.valueToArray());
|
|
1050
1058
|
this.popup = inject(AXPopupService);
|
|
1051
1059
|
this.dataSource = new AXDataSource({
|
|
1052
1060
|
pageSize: this.labelList().length,
|
|
@@ -1060,7 +1068,6 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1060
1068
|
return Promise.resolve(this.labelList().find((i) => i === key));
|
|
1061
1069
|
},
|
|
1062
1070
|
});
|
|
1063
|
-
this.internalValue = computed(() => this.valueToArray());
|
|
1064
1071
|
this.validationService = inject(AXValidationService);
|
|
1065
1072
|
this._validationRules = [];
|
|
1066
1073
|
this.itemToArray = (item) => {
|
|
@@ -1129,50 +1136,36 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1129
1136
|
}
|
|
1130
1137
|
}
|
|
1131
1138
|
generateClasses(element) {
|
|
1139
|
+
const isValue = element === 'value';
|
|
1132
1140
|
if (this.multiple()) {
|
|
1133
1141
|
if (this.hasLabel()) {
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
else {
|
|
1138
|
-
return 'ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12 ';
|
|
1139
|
-
}
|
|
1142
|
+
return isValue
|
|
1143
|
+
? 'ax-col-start-1 ax-col-end-13 lg:ax-col-end-7'
|
|
1144
|
+
: 'ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12';
|
|
1140
1145
|
}
|
|
1141
1146
|
else {
|
|
1142
|
-
|
|
1143
|
-
return 'ax-col-start-1 ax-col-end-12';
|
|
1144
|
-
}
|
|
1147
|
+
return isValue ? 'ax-col-start-1 ax-col-end-11 sm:ax-col-end-12 md:ax-col-end-12' : '';
|
|
1145
1148
|
}
|
|
1146
1149
|
}
|
|
1147
1150
|
else {
|
|
1148
1151
|
if (this.hasLabel()) {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
else {
|
|
1153
|
-
return 'ax-col-start-1 ax-col-end-13 lg:ax-col-start-7 lg:ax-col-end-13';
|
|
1154
|
-
}
|
|
1152
|
+
return isValue
|
|
1153
|
+
? 'ax-col-start-1 ax-col-end-13 lg:ax-col-end-7'
|
|
1154
|
+
: 'ax-col-start-1 ax-col-end-13 lg:ax-col-start-7 lg:ax-col-end-13';
|
|
1155
1155
|
}
|
|
1156
1156
|
else {
|
|
1157
|
-
|
|
1158
|
-
return 'ax-col-start-1 ax-col-end-13';
|
|
1159
|
-
}
|
|
1157
|
+
return isValue ? 'ax-col-start-1 ax-col-end-13' : '';
|
|
1160
1158
|
}
|
|
1161
1159
|
}
|
|
1162
1160
|
}
|
|
1163
1161
|
get validationRules() {
|
|
1162
|
+
console.log(this._validationRules);
|
|
1164
1163
|
return this._validationRules;
|
|
1165
1164
|
}
|
|
1166
1165
|
set validationRules(v) {
|
|
1167
1166
|
this._validationRules = v;
|
|
1168
1167
|
}
|
|
1169
1168
|
valueToArray() {
|
|
1170
|
-
if (this.hasIcon() || this.hasLabel()) {
|
|
1171
|
-
this.format.set('object');
|
|
1172
|
-
}
|
|
1173
|
-
else {
|
|
1174
|
-
this.format.set('string');
|
|
1175
|
-
}
|
|
1176
1169
|
const value = this.getValue();
|
|
1177
1170
|
if (Array.isArray(value)) {
|
|
1178
1171
|
return value.map((item) => this.itemToArray(item));
|
|
@@ -1201,7 +1194,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1201
1194
|
return cls;
|
|
1202
1195
|
}
|
|
1203
1196
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<div class="
|
|
1197
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4 ax-auto-cols-max ">
|
|
1205
1198
|
@for(item of internalValue();track $index) {
|
|
1206
1199
|
<ax-text-box
|
|
1207
1200
|
[ngModel]="item.value"
|
|
@@ -1218,7 +1211,11 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1218
1211
|
[message]="validation.options?.message"
|
|
1219
1212
|
[options]="validation.options"
|
|
1220
1213
|
></ax-validation-rule>
|
|
1214
|
+
} @if(type()==='email'){
|
|
1215
|
+
<ax-validation-rule [rule]="'email'"></ax-validation-rule>
|
|
1221
1216
|
}
|
|
1217
|
+
<ax-validation-rule message="{{ 'validation.messages.required' | translate | async }}" rule="required">
|
|
1218
|
+
</ax-validation-rule>
|
|
1222
1219
|
</ax-text-box>
|
|
1223
1220
|
@if(hasLabel()){
|
|
1224
1221
|
<ax-select-box
|
|
@@ -1248,19 +1245,19 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1248
1245
|
[disabled]="disabled()"
|
|
1249
1246
|
look="twotone"
|
|
1250
1247
|
(onClick)="addItem()"
|
|
1251
|
-
class="ax-col-start-
|
|
1248
|
+
class="ax-col-start-9 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
|
|
1252
1249
|
>
|
|
1253
1250
|
<ax-prefix>
|
|
1254
1251
|
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
1255
1252
|
</ax-prefix>
|
|
1256
1253
|
</ax-button>
|
|
1257
1254
|
}
|
|
1258
|
-
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$3.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$
|
|
1255
|
+
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$3.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$2.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: i1$2.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1259
1256
|
}
|
|
1260
1257
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, decorators: [{
|
|
1261
1258
|
type: Component,
|
|
1262
1259
|
args: [{
|
|
1263
|
-
template: `<div class="
|
|
1260
|
+
template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4 ax-auto-cols-max ">
|
|
1264
1261
|
@for(item of internalValue();track $index) {
|
|
1265
1262
|
<ax-text-box
|
|
1266
1263
|
[ngModel]="item.value"
|
|
@@ -1277,7 +1274,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1277
1274
|
[message]="validation.options?.message"
|
|
1278
1275
|
[options]="validation.options"
|
|
1279
1276
|
></ax-validation-rule>
|
|
1277
|
+
} @if(type()==='email'){
|
|
1278
|
+
<ax-validation-rule [rule]="'email'"></ax-validation-rule>
|
|
1280
1279
|
}
|
|
1280
|
+
<ax-validation-rule message="{{ 'validation.messages.required' | translate | async }}" rule="required">
|
|
1281
|
+
</ax-validation-rule>
|
|
1281
1282
|
</ax-text-box>
|
|
1282
1283
|
@if(hasLabel()){
|
|
1283
1284
|
<ax-select-box
|
|
@@ -1307,7 +1308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1307
1308
|
[disabled]="disabled()"
|
|
1308
1309
|
look="twotone"
|
|
1309
1310
|
(onClick)="addItem()"
|
|
1310
|
-
class="ax-col-start-
|
|
1311
|
+
class="ax-col-start-9 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
|
|
1311
1312
|
>
|
|
1312
1313
|
<ax-prefix>
|
|
1313
1314
|
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
@@ -1486,6 +1487,8 @@ const AXPContactWidget = {
|
|
|
1486
1487
|
icon: 'fa-solid fa-address-book',
|
|
1487
1488
|
type: 'editor',
|
|
1488
1489
|
properties: [
|
|
1490
|
+
AXP_NAME_PROPERTY,
|
|
1491
|
+
AXP_DATA_PATH_PROPERTY,
|
|
1489
1492
|
{
|
|
1490
1493
|
name: 'type',
|
|
1491
1494
|
title: 'Contact Type',
|
|
@@ -1494,7 +1497,7 @@ const AXPContactWidget = {
|
|
|
1494
1497
|
dataType: 'string',
|
|
1495
1498
|
nullable: false,
|
|
1496
1499
|
interface: {
|
|
1497
|
-
defaultValue:
|
|
1500
|
+
defaultValue: 'link',
|
|
1498
1501
|
name: 'type',
|
|
1499
1502
|
path: 'options.type',
|
|
1500
1503
|
type: AXPWidgetsCatalog.select,
|
|
@@ -1509,27 +1512,6 @@ const AXPContactWidget = {
|
|
|
1509
1512
|
},
|
|
1510
1513
|
visible: true,
|
|
1511
1514
|
},
|
|
1512
|
-
{
|
|
1513
|
-
name: 'labelList',
|
|
1514
|
-
title: 'Label List',
|
|
1515
|
-
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
1516
|
-
schema: {
|
|
1517
|
-
dataType: 'string',
|
|
1518
|
-
nullable: false,
|
|
1519
|
-
interface: {
|
|
1520
|
-
name: 'labelList',
|
|
1521
|
-
path: 'options.labelList',
|
|
1522
|
-
type: AXPWidgetsCatalog.select,
|
|
1523
|
-
options: {
|
|
1524
|
-
dataSource: [
|
|
1525
|
-
{ id: 'primary', title: 'Primary' },
|
|
1526
|
-
{ id: 'secondary', title: 'Secondary' },
|
|
1527
|
-
],
|
|
1528
|
-
},
|
|
1529
|
-
},
|
|
1530
|
-
},
|
|
1531
|
-
visible: false,
|
|
1532
|
-
},
|
|
1533
1515
|
AXP_DISABLED_PROPERTY,
|
|
1534
1516
|
AXP_VALIDATION_PROPERTY,
|
|
1535
1517
|
AXP_ALLOW_MULTIPLE_PROPERTY,
|
|
@@ -1693,7 +1675,7 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1693
1675
|
></ax-button>
|
|
1694
1676
|
}
|
|
1695
1677
|
</div>
|
|
1696
|
-
`, 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:
|
|
1678
|
+
`, 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$3.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 }); }
|
|
1697
1679
|
}
|
|
1698
1680
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetEditComponent, decorators: [{
|
|
1699
1681
|
type: Component,
|
|
@@ -1826,12 +1808,12 @@ var dateTimeBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
|
1826
1808
|
|
|
1827
1809
|
class AXPDateTimeBoxWidgetPrintComponent extends AXPWidgetComponent {
|
|
1828
1810
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1829
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{
|
|
1811
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{getValue()}}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1830
1812
|
}
|
|
1831
1813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetPrintComponent, decorators: [{
|
|
1832
1814
|
type: Component,
|
|
1833
1815
|
args: [{
|
|
1834
|
-
template: `{{
|
|
1816
|
+
template: `{{getValue()}}`,
|
|
1835
1817
|
standalone: true,
|
|
1836
1818
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1837
1819
|
imports: [CommonModule],
|
|
@@ -2144,7 +2126,7 @@ class AXPEmailBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2144
2126
|
}
|
|
2145
2127
|
}
|
|
2146
2128
|
</div>
|
|
2147
|
-
`, 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:
|
|
2129
|
+
`, 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$2.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 }); }
|
|
2148
2130
|
}
|
|
2149
2131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, decorators: [{
|
|
2150
2132
|
type: Component,
|
|
@@ -2422,17 +2404,11 @@ var largeTextWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
|
2422
2404
|
class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent {
|
|
2423
2405
|
constructor() {
|
|
2424
2406
|
super(...arguments);
|
|
2425
|
-
this.multiple = computed(() => this.options()[
|
|
2426
|
-
this.disabled = computed(() => this.options()[
|
|
2427
|
-
this.clearButton = computed(() => this.options()[
|
|
2428
|
-
this.placeholder = computed(() => this.options()[
|
|
2429
|
-
this.
|
|
2430
|
-
}
|
|
2431
|
-
get validationRules() {
|
|
2432
|
-
return this._validationRules;
|
|
2433
|
-
}
|
|
2434
|
-
set validationRules(v) {
|
|
2435
|
-
this._validationRules = v;
|
|
2407
|
+
this.multiple = computed(() => this.options()['multiple']);
|
|
2408
|
+
this.disabled = computed(() => this.options()['disabled']);
|
|
2409
|
+
this.clearButton = computed(() => this.options()['clearButton'] ?? true);
|
|
2410
|
+
this.placeholder = computed(() => this.options()['placeholder']);
|
|
2411
|
+
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
2436
2412
|
}
|
|
2437
2413
|
get __class() {
|
|
2438
2414
|
const cls = {};
|
|
@@ -2442,27 +2418,43 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2442
2418
|
}
|
|
2443
2419
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2444
2420
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-large-text-box-widget", inputs: { disabled: "disabled", clearButton: "clearButton" }, host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
2445
|
-
<ax-text-area
|
|
2421
|
+
<ax-text-area
|
|
2422
|
+
[disabled]="disabled()"
|
|
2423
|
+
[ngModel]="getValue()"
|
|
2424
|
+
(ngModelChange)="setValue($event)"
|
|
2425
|
+
[placeholder]="placeholder()"
|
|
2426
|
+
>
|
|
2446
2427
|
@if(clearButton()){
|
|
2447
|
-
|
|
2448
|
-
}
|
|
2449
|
-
|
|
2450
|
-
|
|
2428
|
+
<ax-clear-button></ax-clear-button>
|
|
2429
|
+
} @for (validation of validationRules(); track $index) {
|
|
2430
|
+
<ax-validation-rule
|
|
2431
|
+
[rule]="validation.rule"
|
|
2432
|
+
[message]="validation.options?.message"
|
|
2433
|
+
[options]="validation.options"
|
|
2434
|
+
></ax-validation-rule>
|
|
2451
2435
|
}
|
|
2452
2436
|
</ax-text-area>
|
|
2453
|
-
`, 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:
|
|
2437
|
+
`, 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 }); }
|
|
2454
2438
|
}
|
|
2455
2439
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
|
|
2456
2440
|
type: Component,
|
|
2457
2441
|
args: [{
|
|
2458
2442
|
selector: 'axp-large-text-box-widget',
|
|
2459
2443
|
template: `
|
|
2460
|
-
<ax-text-area
|
|
2444
|
+
<ax-text-area
|
|
2445
|
+
[disabled]="disabled()"
|
|
2446
|
+
[ngModel]="getValue()"
|
|
2447
|
+
(ngModelChange)="setValue($event)"
|
|
2448
|
+
[placeholder]="placeholder()"
|
|
2449
|
+
>
|
|
2461
2450
|
@if(clearButton()){
|
|
2462
|
-
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
|
|
2451
|
+
<ax-clear-button></ax-clear-button>
|
|
2452
|
+
} @for (validation of validationRules(); track $index) {
|
|
2453
|
+
<ax-validation-rule
|
|
2454
|
+
[rule]="validation.rule"
|
|
2455
|
+
[message]="validation.options?.message"
|
|
2456
|
+
[options]="validation.options"
|
|
2457
|
+
></ax-validation-rule>
|
|
2466
2458
|
}
|
|
2467
2459
|
</ax-text-area>
|
|
2468
2460
|
`,
|
|
@@ -2962,7 +2954,7 @@ class AXPLinkWidgetEditComponent extends AXPWidgetComponent {
|
|
|
2962
2954
|
>
|
|
2963
2955
|
</ax-select-box>
|
|
2964
2956
|
} }
|
|
2965
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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$
|
|
2957
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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$2.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 }); }
|
|
2966
2958
|
}
|
|
2967
2959
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetEditComponent, decorators: [{
|
|
2968
2960
|
type: Component,
|
|
@@ -3176,15 +3168,15 @@ const AXPLinkWidget = {
|
|
|
3176
3168
|
class AXPNumberBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
3177
3169
|
constructor() {
|
|
3178
3170
|
super(...arguments);
|
|
3179
|
-
this.internalValue = computed(() => (Array.isArray(this.
|
|
3171
|
+
this.internalValue = computed(() => (Array.isArray(this.formattedValue()) ? this.formattedValue() : [this.formattedValue()]));
|
|
3180
3172
|
this.multiple = computed(() => this.options()['multiple']);
|
|
3181
3173
|
this.format = computed(() => this.options()['format']);
|
|
3182
3174
|
this.formatService = inject(AXFormatService);
|
|
3183
3175
|
}
|
|
3184
|
-
|
|
3185
|
-
if (!isNumber(
|
|
3176
|
+
formattedValue() {
|
|
3177
|
+
if (!isNumber(this.getValue()))
|
|
3186
3178
|
return '---';
|
|
3187
|
-
const value = Number(
|
|
3179
|
+
const value = Number(this.getValue());
|
|
3188
3180
|
return this.formatService.format(value, 'number', this.format());
|
|
3189
3181
|
}
|
|
3190
3182
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -3231,6 +3223,7 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3231
3223
|
this.decimals = computed(() => this.options()['decimals'] ?? 0);
|
|
3232
3224
|
this.minValue = computed(() => this.options()['minValue']);
|
|
3233
3225
|
this.maxValue = computed(() => this.options()['maxValue']);
|
|
3226
|
+
this.seprator = computed(() => this.options()['seprator'] ?? null);
|
|
3234
3227
|
this.placeholder = computed(() => this.options()['placeholder']);
|
|
3235
3228
|
this.validationService = inject(AXValidationService);
|
|
3236
3229
|
this.validationRules = [];
|
|
@@ -3280,7 +3273,7 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3280
3273
|
[minValue]="minValue()"
|
|
3281
3274
|
[maxValue]="maxValue()"
|
|
3282
3275
|
[decimals]="decimals()"
|
|
3283
|
-
[thousandsSeparator]="
|
|
3276
|
+
[thousandsSeparator]="seprator()"
|
|
3284
3277
|
[placeholder]="placeholder()"
|
|
3285
3278
|
[ngModel]="number"
|
|
3286
3279
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
@@ -3311,7 +3304,7 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3311
3304
|
</ax-button>
|
|
3312
3305
|
}
|
|
3313
3306
|
</div>
|
|
3314
|
-
`, 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", "
|
|
3307
|
+
`, 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 }); }
|
|
3315
3308
|
}
|
|
3316
3309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, decorators: [{
|
|
3317
3310
|
type: Component,
|
|
@@ -3324,7 +3317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
3324
3317
|
[minValue]="minValue()"
|
|
3325
3318
|
[maxValue]="maxValue()"
|
|
3326
3319
|
[decimals]="decimals()"
|
|
3327
|
-
[thousandsSeparator]="
|
|
3320
|
+
[thousandsSeparator]="seprator()"
|
|
3328
3321
|
[placeholder]="placeholder()"
|
|
3329
3322
|
[ngModel]="number"
|
|
3330
3323
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
@@ -3588,7 +3581,7 @@ class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3588
3581
|
<ax-clear-button></ax-clear-button>
|
|
3589
3582
|
}
|
|
3590
3583
|
</ax-password-box>
|
|
3591
|
-
`, 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$
|
|
3584
|
+
`, 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$4.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 }); }
|
|
3592
3585
|
}
|
|
3593
3586
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetEditComponent, decorators: [{
|
|
3594
3587
|
type: Component,
|
|
@@ -3990,7 +3983,7 @@ class AXPPhoneBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
3990
3983
|
</ax-prefix>
|
|
3991
3984
|
</ax-button>
|
|
3992
3985
|
</div>
|
|
3993
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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:
|
|
3986
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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$2.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 }); }
|
|
3994
3987
|
}
|
|
3995
3988
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetEditComponent, decorators: [{
|
|
3996
3989
|
type: Component,
|
|
@@ -4306,7 +4299,7 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4306
4299
|
[options]="validation.options"
|
|
4307
4300
|
></ax-validation-rule>
|
|
4308
4301
|
}
|
|
4309
|
-
</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:
|
|
4302
|
+
</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 }); }
|
|
4310
4303
|
}
|
|
4311
4304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
|
|
4312
4305
|
type: Component,
|
|
@@ -4544,6 +4537,7 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4544
4537
|
constructor() {
|
|
4545
4538
|
super(...arguments);
|
|
4546
4539
|
this.multiple = computed(() => this.options()['multiple']);
|
|
4540
|
+
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
4547
4541
|
this.dataSource = computed(() => {
|
|
4548
4542
|
const rawValue = this.options()['dataSource'];
|
|
4549
4543
|
if (rawValue instanceof AXDataSource) {
|
|
@@ -4593,12 +4587,17 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4593
4587
|
[multiple]="multiple()"
|
|
4594
4588
|
(onValueChanged)="handleValueChange($event)"
|
|
4595
4589
|
>
|
|
4596
|
-
@if(hasClearButton())
|
|
4597
|
-
|
|
4598
|
-
|
|
4590
|
+
@if(hasClearButton()) {
|
|
4591
|
+
<ax-clear-button></ax-clear-button>
|
|
4592
|
+
} @for (validation of validationRules(); track $index) {
|
|
4593
|
+
<ax-validation-rule
|
|
4594
|
+
[rule]="validation.rule"
|
|
4595
|
+
[message]="validation.options?.message"
|
|
4596
|
+
[options]="validation.options"
|
|
4597
|
+
></ax-validation-rule>
|
|
4599
4598
|
}
|
|
4600
4599
|
</ax-select-box>
|
|
4601
|
-
`, 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$
|
|
4600
|
+
`, 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$2.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 }); }
|
|
4602
4601
|
}
|
|
4603
4602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetEditComponent, decorators: [{
|
|
4604
4603
|
type: Component,
|
|
@@ -4616,16 +4615,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
4616
4615
|
[multiple]="multiple()"
|
|
4617
4616
|
(onValueChanged)="handleValueChange($event)"
|
|
4618
4617
|
>
|
|
4619
|
-
@if(hasClearButton())
|
|
4620
|
-
|
|
4621
|
-
|
|
4618
|
+
@if(hasClearButton()) {
|
|
4619
|
+
<ax-clear-button></ax-clear-button>
|
|
4620
|
+
} @for (validation of validationRules(); track $index) {
|
|
4621
|
+
<ax-validation-rule
|
|
4622
|
+
[rule]="validation.rule"
|
|
4623
|
+
[message]="validation.options?.message"
|
|
4624
|
+
[options]="validation.options"
|
|
4625
|
+
></ax-validation-rule>
|
|
4622
4626
|
}
|
|
4623
4627
|
</ax-select-box>
|
|
4624
4628
|
`,
|
|
4625
4629
|
standalone: true,
|
|
4626
4630
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4627
|
-
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXDecoratorModule],
|
|
4628
|
-
inputs: [],
|
|
4631
|
+
imports: [CommonModule, FormsModule, AXSelectBoxModule, AXFormModule, AXDecoratorModule],
|
|
4629
4632
|
}]
|
|
4630
4633
|
}], propDecorators: { selectbox: [{
|
|
4631
4634
|
type: ViewChild,
|
|
@@ -4920,7 +4923,7 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
|
|
|
4920
4923
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
4921
4924
|
}
|
|
4922
4925
|
</ax-selection-list>
|
|
4923
|
-
`, 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$2.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type:
|
|
4926
|
+
`, 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$2.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "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 }); }
|
|
4924
4927
|
}
|
|
4925
4928
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, decorators: [{
|
|
4926
4929
|
type: Component,
|
|
@@ -5208,7 +5211,7 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5208
5211
|
</ax-button>
|
|
5209
5212
|
}
|
|
5210
5213
|
</div>
|
|
5211
|
-
`, 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:
|
|
5214
|
+
`, 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 }); }
|
|
5212
5215
|
}
|
|
5213
5216
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBoxWidgetEditComponent, decorators: [{
|
|
5214
5217
|
type: Component,
|
|
@@ -5370,40 +5373,80 @@ class AXPToggleWidgetViewComponent extends AXPWidgetComponent {
|
|
|
5370
5373
|
this.trulyText = computed(() => this.options()['trulyText']);
|
|
5371
5374
|
}
|
|
5372
5375
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5373
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPToggleWidgetViewComponent, isStandalone: true, selector: "
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5376
|
+
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: `
|
|
5377
|
+
@if(getValue()){
|
|
5378
|
+
@if(trulyText())
|
|
5379
|
+
{
|
|
5380
|
+
<ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
|
|
5381
|
+
}
|
|
5382
|
+
@else {
|
|
5383
|
+
@if(negative())
|
|
5384
|
+
{
|
|
5385
|
+
<ax-icon class="fa-solid fa-check ax-text-sanger"> </ax-icon>
|
|
5386
|
+
}
|
|
5387
|
+
@else
|
|
5388
|
+
{
|
|
5389
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
}@else
|
|
5393
|
+
{
|
|
5394
|
+
@if(falsyText())
|
|
5395
|
+
{
|
|
5396
|
+
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5397
|
+
}
|
|
5398
|
+
@else
|
|
5399
|
+
{
|
|
5400
|
+
@if(negative())
|
|
5401
|
+
{
|
|
5402
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5403
|
+
}@else
|
|
5404
|
+
{
|
|
5405
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5406
|
+
}
|
|
5407
|
+
}
|
|
5408
|
+
}`, 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$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5386
5409
|
}
|
|
5387
5410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
|
|
5388
5411
|
type: Component,
|
|
5389
5412
|
args: [{
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5413
|
+
selector: 'axp-switch-widget',
|
|
5414
|
+
template: `
|
|
5415
|
+
@if(getValue()){
|
|
5416
|
+
@if(trulyText())
|
|
5417
|
+
{
|
|
5418
|
+
<ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
|
|
5419
|
+
}
|
|
5420
|
+
@else {
|
|
5421
|
+
@if(negative())
|
|
5422
|
+
{
|
|
5423
|
+
<ax-icon class="fa-solid fa-check ax-text-sanger"> </ax-icon>
|
|
5424
|
+
}
|
|
5425
|
+
@else
|
|
5426
|
+
{
|
|
5427
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
}@else
|
|
5431
|
+
{
|
|
5432
|
+
@if(falsyText())
|
|
5433
|
+
{
|
|
5434
|
+
<ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
|
|
5435
|
+
}
|
|
5436
|
+
@else
|
|
5437
|
+
{
|
|
5438
|
+
@if(negative())
|
|
5439
|
+
{
|
|
5440
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
5441
|
+
}@else
|
|
5442
|
+
{
|
|
5443
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
5444
|
+
}
|
|
5445
|
+
}
|
|
5446
|
+
}`,
|
|
5403
5447
|
standalone: true,
|
|
5404
5448
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5405
5449
|
imports: [CommonModule, AXDecoratorModule, AXBadgeModule],
|
|
5406
|
-
inputs: [],
|
|
5407
5450
|
}]
|
|
5408
5451
|
}] });
|
|
5409
5452
|
|
|
@@ -5428,12 +5471,12 @@ class AXPToggleWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5428
5471
|
return cls;
|
|
5429
5472
|
}
|
|
5430
5473
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5431
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-
|
|
5474
|
+
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 [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></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$3.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5432
5475
|
}
|
|
5433
5476
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
|
|
5434
5477
|
type: Component,
|
|
5435
5478
|
args: [{
|
|
5436
|
-
selector: 'axp-
|
|
5479
|
+
selector: 'axp-switch-widget',
|
|
5437
5480
|
template: `<ax-switch [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></ax-switch>`,
|
|
5438
5481
|
standalone: true,
|
|
5439
5482
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -5522,11 +5565,12 @@ var toggleWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
|
5522
5565
|
|
|
5523
5566
|
class AXPToggleWidgetPrintComponent extends AXPWidgetComponent {
|
|
5524
5567
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5525
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetPrintComponent, isStandalone: true, selector: "
|
|
5568
|
+
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 }); }
|
|
5526
5569
|
}
|
|
5527
5570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetPrintComponent, decorators: [{
|
|
5528
5571
|
type: Component,
|
|
5529
5572
|
args: [{
|
|
5573
|
+
selector: 'axp-swith-widget',
|
|
5530
5574
|
template: ``,
|
|
5531
5575
|
standalone: true,
|
|
5532
5576
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6970,8 +7014,7 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
6970
7014
|
const cls = {};
|
|
6971
7015
|
//
|
|
6972
7016
|
cls[`ax-w-full`] = true;
|
|
6973
|
-
cls[`ax-
|
|
6974
|
-
cls[`ax-border-dashed`] = true;
|
|
7017
|
+
cls[`ax-widget-outline`] = true;
|
|
6975
7018
|
//
|
|
6976
7019
|
cls[`ax-flex`] = true;
|
|
6977
7020
|
cls[`ax-gap-${this.gap()}`] = true;
|
|
@@ -7004,8 +7047,8 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7004
7047
|
@for (node of children(); track $index) {
|
|
7005
7048
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7006
7049
|
}
|
|
7007
|
-
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7008
|
-
`, 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:
|
|
7050
|
+
<axp-designer-add-widget-mini-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-mini-button>
|
|
7051
|
+
`, 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 }); }
|
|
7009
7052
|
}
|
|
7010
7053
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
|
|
7011
7054
|
type: Component,
|
|
@@ -7015,11 +7058,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7015
7058
|
@for (node of children(); track $index) {
|
|
7016
7059
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7017
7060
|
}
|
|
7018
|
-
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7061
|
+
<axp-designer-add-widget-mini-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-mini-button>
|
|
7019
7062
|
`,
|
|
7020
7063
|
standalone: true,
|
|
7021
7064
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7022
|
-
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective,
|
|
7065
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent],
|
|
7023
7066
|
providers: [
|
|
7024
7067
|
{
|
|
7025
7068
|
provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
|
|
@@ -7071,7 +7114,7 @@ class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7071
7114
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7072
7115
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetViewComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class", "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
|
|
7073
7116
|
@for (node of children(); track $index) {
|
|
7074
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7117
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7075
7118
|
}
|
|
7076
7119
|
`, 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 }); }
|
|
7077
7120
|
}
|
|
@@ -7081,7 +7124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7081
7124
|
selector: 'axp-block-widget',
|
|
7082
7125
|
template: `
|
|
7083
7126
|
@for (node of children(); track $index) {
|
|
7084
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7127
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7085
7128
|
}
|
|
7086
7129
|
`,
|
|
7087
7130
|
standalone: true,
|
|
@@ -7109,6 +7152,7 @@ const AXPBlockWidget = {
|
|
|
7109
7152
|
group: AXP_WIDGETS_LAYOUT_GROUP,
|
|
7110
7153
|
type: 'container',
|
|
7111
7154
|
properties: [
|
|
7155
|
+
AXP_NAME_PROPERTY,
|
|
7112
7156
|
AXP_FONT_SIZE_PROPERTY,
|
|
7113
7157
|
cloneProperty(AXP_BG_COLOR_PROPERTY, { schema: { defaultValue: null } }),
|
|
7114
7158
|
...AXP_LAYOUT_FLEX_PROPERTIES
|
|
@@ -7142,7 +7186,7 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7142
7186
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7143
7187
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetViewComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
|
|
7144
7188
|
@for (node of children(); track $index) {
|
|
7145
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7189
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7146
7190
|
}
|
|
7147
7191
|
`, 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 }); }
|
|
7148
7192
|
}
|
|
@@ -7152,7 +7196,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7152
7196
|
selector: 'axp-page-widget',
|
|
7153
7197
|
template: `
|
|
7154
7198
|
@for (node of children(); track $index) {
|
|
7155
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7199
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7156
7200
|
}
|
|
7157
7201
|
`,
|
|
7158
7202
|
standalone: true,
|
|
@@ -7181,7 +7225,21 @@ const AXPPageWidget = {
|
|
|
7181
7225
|
properties: [
|
|
7182
7226
|
AXP_FONT_SIZE_PROPERTY,
|
|
7183
7227
|
AXP_THEME_PROPERTY,
|
|
7184
|
-
AXP_BG_COLOR_PROPERTY
|
|
7228
|
+
AXP_BG_COLOR_PROPERTY,
|
|
7229
|
+
createBooleanProperty({
|
|
7230
|
+
name: "hasHeader",
|
|
7231
|
+
path: 'options.hasHeader',
|
|
7232
|
+
title: "Header",
|
|
7233
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
7234
|
+
defaultValue: true,
|
|
7235
|
+
}),
|
|
7236
|
+
createBooleanProperty({
|
|
7237
|
+
name: "hasFooter",
|
|
7238
|
+
path: 'options.hasFooter',
|
|
7239
|
+
title: "Footer",
|
|
7240
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
7241
|
+
defaultValue: true,
|
|
7242
|
+
})
|
|
7185
7243
|
],
|
|
7186
7244
|
components: {
|
|
7187
7245
|
view: {
|
|
@@ -7194,7 +7252,7 @@ const AXPPageWidget = {
|
|
|
7194
7252
|
component: () => Promise.resolve().then(function () { return pageWidgetView_component; }).then((c) => c.AXPPageWidgetViewComponent),
|
|
7195
7253
|
},
|
|
7196
7254
|
designer: {
|
|
7197
|
-
component: () => import('./acorex-platform-widgets-page-widget-designer.component-
|
|
7255
|
+
component: () => import('./acorex-platform-widgets-page-widget-designer.component-BL_EAwUs.mjs').then((c) => c.AXPPageWidgetDesignerComponent),
|
|
7198
7256
|
},
|
|
7199
7257
|
},
|
|
7200
7258
|
};
|
|
@@ -7245,18 +7303,23 @@ var repeaterWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
|
7245
7303
|
class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
7246
7304
|
constructor() {
|
|
7247
7305
|
super(...arguments);
|
|
7248
|
-
this.rows = signal([]);
|
|
7249
7306
|
this.disabled = computed(() => this.options()["disabled"]);
|
|
7250
7307
|
this.hasControls = computed(() => this.options()["hasControls"]);
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7308
|
+
this.rows = computed(() => {
|
|
7309
|
+
return this.getValue() ?? [];
|
|
7310
|
+
});
|
|
7254
7311
|
}
|
|
7255
7312
|
handleAddItemClick() {
|
|
7256
7313
|
this.addNew();
|
|
7257
7314
|
}
|
|
7315
|
+
handleRemoveItemClick(i) {
|
|
7316
|
+
this.removeItem(i);
|
|
7317
|
+
}
|
|
7258
7318
|
addNew() {
|
|
7259
|
-
this.
|
|
7319
|
+
this.setValue([...(this.getValue() ?? []), {}]);
|
|
7320
|
+
}
|
|
7321
|
+
removeItem(index) {
|
|
7322
|
+
this.setValue(this.getValue().splice(index, 1));
|
|
7260
7323
|
}
|
|
7261
7324
|
api() {
|
|
7262
7325
|
return {
|
|
@@ -7277,7 +7340,8 @@ class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
|
7277
7340
|
[disabled]="disabled()"
|
|
7278
7341
|
look="twotone"
|
|
7279
7342
|
color="danger"
|
|
7280
|
-
|
|
7343
|
+
(onClick)="handleRemoveItemClick(i)"
|
|
7344
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end ax-self-end"
|
|
7281
7345
|
>
|
|
7282
7346
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7283
7347
|
</ax-button>
|
|
@@ -7301,7 +7365,7 @@ class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
|
7301
7365
|
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7302
7366
|
}
|
|
7303
7367
|
}
|
|
7304
|
-
<ng-template #tpl let-index>
|
|
7368
|
+
<ng-template #tpl let-index="index">
|
|
7305
7369
|
@for (node of children();track $index)
|
|
7306
7370
|
{
|
|
7307
7371
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="index" [mode]="this.mode"></ng-container>
|
|
@@ -7326,7 +7390,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7326
7390
|
[disabled]="disabled()"
|
|
7327
7391
|
look="twotone"
|
|
7328
7392
|
color="danger"
|
|
7329
|
-
|
|
7393
|
+
(onClick)="handleRemoveItemClick(i)"
|
|
7394
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end ax-self-end"
|
|
7330
7395
|
>
|
|
7331
7396
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7332
7397
|
</ax-button>
|
|
@@ -7350,7 +7415,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7350
7415
|
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7351
7416
|
}
|
|
7352
7417
|
}
|
|
7353
|
-
<ng-template #tpl let-index>
|
|
7418
|
+
<ng-template #tpl let-index="index">
|
|
7354
7419
|
@for (node of children();track $index)
|
|
7355
7420
|
{
|
|
7356
7421
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="index" [mode]="this.mode"></ng-container>
|
|
@@ -7411,14 +7476,14 @@ class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7411
7476
|
@if(hasControls())
|
|
7412
7477
|
{
|
|
7413
7478
|
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7414
|
-
<div class="ax-col-span-11
|
|
7479
|
+
<div class="ax-col-span-11">
|
|
7415
7480
|
<ng-container [ngTemplateOutlet]="tpl" ></ng-container>
|
|
7416
7481
|
</div>
|
|
7417
7482
|
<ax-button
|
|
7418
7483
|
[disabled]="disabled()"
|
|
7419
7484
|
look="twotone"
|
|
7420
7485
|
color="danger"
|
|
7421
|
-
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7486
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end ax-self-end"
|
|
7422
7487
|
>
|
|
7423
7488
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7424
7489
|
</ax-button>
|
|
@@ -7442,10 +7507,10 @@ class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7442
7507
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7443
7508
|
}
|
|
7444
7509
|
@empty {
|
|
7445
|
-
<axp-designer-add-widget-button
|
|
7510
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
7446
7511
|
}
|
|
7447
7512
|
</ng-template>
|
|
7448
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type:
|
|
7513
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.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: 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 }); }
|
|
7449
7514
|
}
|
|
7450
7515
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, decorators: [{
|
|
7451
7516
|
type: Component,
|
|
@@ -7455,14 +7520,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7455
7520
|
@if(hasControls())
|
|
7456
7521
|
{
|
|
7457
7522
|
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7458
|
-
<div class="ax-col-span-11
|
|
7523
|
+
<div class="ax-col-span-11">
|
|
7459
7524
|
<ng-container [ngTemplateOutlet]="tpl" ></ng-container>
|
|
7460
7525
|
</div>
|
|
7461
7526
|
<ax-button
|
|
7462
7527
|
[disabled]="disabled()"
|
|
7463
7528
|
look="twotone"
|
|
7464
7529
|
color="danger"
|
|
7465
|
-
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7530
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end ax-self-end"
|
|
7466
7531
|
>
|
|
7467
7532
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7468
7533
|
</ax-button>
|
|
@@ -7486,13 +7551,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7486
7551
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7487
7552
|
}
|
|
7488
7553
|
@empty {
|
|
7489
|
-
<axp-designer-add-widget-button
|
|
7554
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
7490
7555
|
}
|
|
7491
7556
|
</ng-template>
|
|
7492
7557
|
`,
|
|
7493
7558
|
standalone: true,
|
|
7494
7559
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7495
|
-
imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective,
|
|
7560
|
+
imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent],
|
|
7496
7561
|
providers: [
|
|
7497
7562
|
{
|
|
7498
7563
|
provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
|
|
@@ -7665,12 +7730,13 @@ const AXPQrcodeWidget = {
|
|
|
7665
7730
|
|
|
7666
7731
|
class AXPColorBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
7667
7732
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7668
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "
|
|
7733
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "axp-color-box-widget", usesInheritance: true, ngImport: i0, template: `{{ getValue() }}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7669
7734
|
}
|
|
7670
7735
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, decorators: [{
|
|
7671
7736
|
type: Component,
|
|
7672
7737
|
args: [{
|
|
7673
|
-
|
|
7738
|
+
selector: 'axp-color-box-widget',
|
|
7739
|
+
template: `{{ getValue() }}`,
|
|
7674
7740
|
standalone: true,
|
|
7675
7741
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7676
7742
|
imports: [CommonModule],
|
|
@@ -7698,7 +7764,7 @@ class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
7698
7764
|
return cls;
|
|
7699
7765
|
}
|
|
7700
7766
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7701
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPColorBoxWidgetEditComponent, isStandalone: true, selector: "
|
|
7767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPColorBoxWidgetEditComponent, isStandalone: true, selector: "axp-color-box-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
7702
7768
|
<ax-color-box [disabled]="disabled()" [readonly]="readonly()" [ngModel]="getValue()" [placeholder]="placeholder()" (onValueChanged)="handleValueChanged($event)">
|
|
7703
7769
|
@for (validation of validationRules(); track $index) {
|
|
7704
7770
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
@@ -7707,11 +7773,12 @@ class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
7707
7773
|
<ax-clear-button></ax-clear-button>
|
|
7708
7774
|
}
|
|
7709
7775
|
</ax-color-box>
|
|
7710
|
-
`, 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$5.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:
|
|
7776
|
+
`, 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$5.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 }); }
|
|
7711
7777
|
}
|
|
7712
7778
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, decorators: [{
|
|
7713
7779
|
type: Component,
|
|
7714
7780
|
args: [{
|
|
7781
|
+
selector: 'axp-color-box-widget',
|
|
7715
7782
|
template: `
|
|
7716
7783
|
<ax-color-box [disabled]="disabled()" [readonly]="readonly()" [ngModel]="getValue()" [placeholder]="placeholder()" (onValueChanged)="handleValueChanged($event)">
|
|
7717
7784
|
@for (validation of validationRules(); track $index) {
|
|
@@ -7778,12 +7845,12 @@ var colorBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
|
7778
7845
|
|
|
7779
7846
|
class AXPColorBoxWidgetPrintComponent extends AXPWidgetComponent {
|
|
7780
7847
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7781
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{
|
|
7848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{getValue()}}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7782
7849
|
}
|
|
7783
7850
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, decorators: [{
|
|
7784
7851
|
type: Component,
|
|
7785
7852
|
args: [{
|
|
7786
|
-
template: `{{
|
|
7853
|
+
template: `{{getValue()}}`,
|
|
7787
7854
|
standalone: true,
|
|
7788
7855
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7789
7856
|
imports: [CommonModule],
|
|
@@ -7813,7 +7880,7 @@ const AXPColorBoxWidget = {
|
|
|
7813
7880
|
],
|
|
7814
7881
|
components: {
|
|
7815
7882
|
designer: {
|
|
7816
|
-
component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-
|
|
7883
|
+
component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-DIvi0BtT.mjs').then((c) => c.AXPColorBoxWidgetDesignerComponent),
|
|
7817
7884
|
},
|
|
7818
7885
|
view: {
|
|
7819
7886
|
component: () => Promise.resolve().then(function () { return colorBoxWidgetView_component; }).then((c) => c.AXPColorBoxWidgetViewComponent),
|
|
@@ -7861,10 +7928,10 @@ class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7861
7928
|
<ax-form-field>
|
|
7862
7929
|
<ax-label>{{ label() }}</ax-label>
|
|
7863
7930
|
@for (node of children(); track $index) {
|
|
7864
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7931
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7865
7932
|
}
|
|
7866
7933
|
</ax-form-field>
|
|
7867
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type:
|
|
7934
|
+
`, 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 }); }
|
|
7868
7935
|
}
|
|
7869
7936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, decorators: [{
|
|
7870
7937
|
type: Component,
|
|
@@ -7874,7 +7941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7874
7941
|
<ax-form-field>
|
|
7875
7942
|
<ax-label>{{ label() }}</ax-label>
|
|
7876
7943
|
@for (node of children(); track $index) {
|
|
7877
|
-
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7944
|
+
<ng-container axp-widget-renderer [node]="node" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7878
7945
|
}
|
|
7879
7946
|
</ax-form-field>
|
|
7880
7947
|
`,
|
|
@@ -7898,10 +7965,11 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7898
7965
|
this.label = computed(() => this.options()["label"]);
|
|
7899
7966
|
}
|
|
7900
7967
|
get __class() {
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7968
|
+
return {
|
|
7969
|
+
'ax-widget-container': true,
|
|
7970
|
+
'ax-block': true,
|
|
7971
|
+
'ax-w-full': true
|
|
7972
|
+
};
|
|
7905
7973
|
}
|
|
7906
7974
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7907
7975
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFormFieldWidgetDesignerComponent, isStandalone: true, selector: "axp-form-field-widget", host: { properties: { "class": "this.__class" } }, providers: [
|
|
@@ -7915,10 +7983,10 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7915
7983
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7916
7984
|
}
|
|
7917
7985
|
@empty {
|
|
7918
|
-
<axp-designer-add-widget-button
|
|
7986
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
7919
7987
|
}
|
|
7920
7988
|
</ax-form-field>
|
|
7921
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type:
|
|
7989
|
+
`, 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 }); }
|
|
7922
7990
|
}
|
|
7923
7991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, decorators: [{
|
|
7924
7992
|
type: Component,
|
|
@@ -7931,13 +7999,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7931
7999
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7932
8000
|
}
|
|
7933
8001
|
@empty {
|
|
7934
|
-
<axp-designer-add-widget-button
|
|
8002
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
7935
8003
|
}
|
|
7936
8004
|
</ax-form-field>
|
|
7937
8005
|
`,
|
|
7938
8006
|
standalone: true,
|
|
7939
8007
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7940
|
-
imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective,
|
|
8008
|
+
imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent],
|
|
7941
8009
|
providers: [
|
|
7942
8010
|
{
|
|
7943
8011
|
provide: AXPContainerWidgetComponent, useExisting: AXPFormFieldWidgetDesignerComponent
|
|
@@ -7960,7 +8028,11 @@ const AXPFormFieldWidget = {
|
|
|
7960
8028
|
group: AXP_WIDGETS_LAYOUT_GROUP,
|
|
7961
8029
|
type: 'container',
|
|
7962
8030
|
icon: 'fa-solid fa-pen-field',
|
|
7963
|
-
properties: [
|
|
8031
|
+
properties: [
|
|
8032
|
+
AXP_NAME_PROPERTY,
|
|
8033
|
+
AXP_DATA_PATH_PROPERTY,
|
|
8034
|
+
AXP_LABEL_PROPERTY
|
|
8035
|
+
],
|
|
7964
8036
|
components: {
|
|
7965
8037
|
view: {
|
|
7966
8038
|
component: () => Promise.resolve().then(function () { return formFieldWidgetView_component; }).then((c) => c.AXPFormFieldWidgetViewComponent),
|
|
@@ -7985,10 +8057,10 @@ class AXPGridWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7985
8057
|
this.gap = computed(() => this.options()['gap'] ?? 0);
|
|
7986
8058
|
}
|
|
7987
8059
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7988
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetViewComponent, isStandalone: true, selector: "
|
|
8060
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetViewComponent, isStandalone: true, selector: "axp-grid-layout-widget", usesInheritance: true, ngImport: i0, template: `
|
|
7989
8061
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
7990
8062
|
@for (child of children(); track $index) {
|
|
7991
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8063
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7992
8064
|
}
|
|
7993
8065
|
</div>
|
|
7994
8066
|
`, 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 }); }
|
|
@@ -7996,10 +8068,11 @@ class AXPGridWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7996
8068
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetViewComponent, decorators: [{
|
|
7997
8069
|
type: Component,
|
|
7998
8070
|
args: [{
|
|
8071
|
+
selector: 'axp-grid-layout-widget',
|
|
7999
8072
|
template: `
|
|
8000
8073
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8001
8074
|
@for (child of children(); track $index) {
|
|
8002
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8075
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8003
8076
|
}
|
|
8004
8077
|
</div>
|
|
8005
8078
|
`,
|
|
@@ -8076,11 +8149,11 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8076
8149
|
});
|
|
8077
8150
|
}
|
|
8078
8151
|
get __class() {
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8152
|
+
return {
|
|
8153
|
+
'ax-widget-container': true,
|
|
8154
|
+
'ax-block': true,
|
|
8155
|
+
'ax-w-full': true
|
|
8156
|
+
};
|
|
8084
8157
|
}
|
|
8085
8158
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8086
8159
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetDesignerComponent, isStandalone: true, selector: "axp-grid-layout-widget", host: { properties: { "class": "this.__class" } }, providers: [
|
|
@@ -8216,23 +8289,24 @@ class AXPGridItemWidgetViewComponent extends AXPContainerWidgetComponent {
|
|
|
8216
8289
|
return cls;
|
|
8217
8290
|
}
|
|
8218
8291
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8219
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridItemWidgetViewComponent, isStandalone: true, selector: "
|
|
8292
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridItemWidgetViewComponent, isStandalone: true, selector: "axp-grid-layout-item-widget", host: { properties: { "class": "this.__class" } }, providers: [
|
|
8220
8293
|
{
|
|
8221
8294
|
provide: AXPContainerWidgetComponent,
|
|
8222
8295
|
useExisting: AXPGridItemWidgetViewComponent,
|
|
8223
8296
|
},
|
|
8224
8297
|
], usesInheritance: true, ngImport: i0, template: `
|
|
8225
8298
|
@for (child of children(); track $index) {
|
|
8226
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8299
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8227
8300
|
}
|
|
8228
8301
|
`, 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 }); }
|
|
8229
8302
|
}
|
|
8230
8303
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, decorators: [{
|
|
8231
8304
|
type: Component,
|
|
8232
8305
|
args: [{
|
|
8306
|
+
selector: 'axp-grid-layout-item-widget',
|
|
8233
8307
|
template: `
|
|
8234
8308
|
@for (child of children(); track $index) {
|
|
8235
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8309
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8236
8310
|
}
|
|
8237
8311
|
`,
|
|
8238
8312
|
standalone: true,
|
|
@@ -8273,7 +8347,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8273
8347
|
class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
8274
8348
|
constructor() {
|
|
8275
8349
|
super(...arguments);
|
|
8276
|
-
this.designerService = inject(AXPDesignerService);
|
|
8277
8350
|
this.colSpan = computed(() => this.options()['colSpan']);
|
|
8278
8351
|
this.colStart = computed(() => this.options()['colStart']);
|
|
8279
8352
|
this.colEnd = computed(() => this.options()['colEnd']);
|
|
@@ -8283,12 +8356,10 @@ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8283
8356
|
this.flexDirection = computed(() => this.options()['flexDirection']?.id);
|
|
8284
8357
|
this.gap = computed(() => this.options()['gap'] ?? 0);
|
|
8285
8358
|
}
|
|
8286
|
-
async handleSlotClick() {
|
|
8287
|
-
await this.designerService.showPicker(this.node);
|
|
8288
|
-
}
|
|
8289
8359
|
get __class() {
|
|
8290
8360
|
const cls = {};
|
|
8291
8361
|
//
|
|
8362
|
+
cls[`ax-widget-container`] = true;
|
|
8292
8363
|
cls[`ax-flex`] = true;
|
|
8293
8364
|
cls[`ax-gap-${this.gap()}`] = true;
|
|
8294
8365
|
//
|
|
@@ -8332,13 +8403,9 @@ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8332
8403
|
@for (child of children(); track $index) {
|
|
8333
8404
|
<ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8334
8405
|
} @empty {
|
|
8335
|
-
|
|
8336
|
-
<div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
|
|
8337
|
-
<i class="fa-solid fa-plus "></i>
|
|
8338
|
-
</div>
|
|
8339
|
-
</div>
|
|
8406
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
8340
8407
|
}
|
|
8341
|
-
`, 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8408
|
+
`, 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 }); }
|
|
8342
8409
|
}
|
|
8343
8410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, decorators: [{
|
|
8344
8411
|
type: Component,
|
|
@@ -8348,11 +8415,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8348
8415
|
@for (child of children(); track $index) {
|
|
8349
8416
|
<ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8350
8417
|
} @empty {
|
|
8351
|
-
|
|
8352
|
-
<div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
|
|
8353
|
-
<i class="fa-solid fa-plus "></i>
|
|
8354
|
-
</div>
|
|
8355
|
-
</div>
|
|
8418
|
+
<axp-designer-add-widget-mini-button ></axp-designer-add-widget-mini-button>
|
|
8356
8419
|
}
|
|
8357
8420
|
`,
|
|
8358
8421
|
standalone: true,
|
|
@@ -8361,7 +8424,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8361
8424
|
CommonModule,
|
|
8362
8425
|
AXPLayoutBuilderModule,
|
|
8363
8426
|
AXPWidgetDesignerRendererDirective,
|
|
8364
|
-
|
|
8427
|
+
AXPDesignerAddWidgetMiniButtonComponent,
|
|
8365
8428
|
AXPDesignerGridDrawerComponent,
|
|
8366
8429
|
],
|
|
8367
8430
|
providers: [
|
|
@@ -8417,10 +8480,10 @@ class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8417
8480
|
this.gap = computed(() => this.options()['gap'] ?? 0);
|
|
8418
8481
|
}
|
|
8419
8482
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridRowWidgetViewComponent, isStandalone: true, selector: "
|
|
8483
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridRowWidgetViewComponent, isStandalone: true, selector: "axp-grid-row-widget", usesInheritance: true, ngImport: i0, template: `
|
|
8421
8484
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8422
8485
|
@for (child of children(); track $index) {
|
|
8423
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8486
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8424
8487
|
}
|
|
8425
8488
|
</div>
|
|
8426
8489
|
`, 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 }); }
|
|
@@ -8428,10 +8491,11 @@ class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8428
8491
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, decorators: [{
|
|
8429
8492
|
type: Component,
|
|
8430
8493
|
args: [{
|
|
8494
|
+
selector: 'axp-grid-row-widget',
|
|
8431
8495
|
template: `
|
|
8432
8496
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8433
8497
|
@for (child of children(); track $index) {
|
|
8434
|
-
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8498
|
+
<ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8435
8499
|
}
|
|
8436
8500
|
</div>
|
|
8437
8501
|
`,
|
|
@@ -8497,6 +8561,7 @@ class AXPGridRowWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
8497
8561
|
get __class() {
|
|
8498
8562
|
const cls = {};
|
|
8499
8563
|
//
|
|
8564
|
+
cls[`ax-widget-container`] = true;
|
|
8500
8565
|
cls[`ax-block`] = true;
|
|
8501
8566
|
cls[`ax-w-full`] = true;
|
|
8502
8567
|
return cls;
|
|
@@ -8612,6 +8677,7 @@ const AXPTextBlockWidget = {
|
|
|
8612
8677
|
group: AXP_WIDGETS_LAYOUT_GROUP,
|
|
8613
8678
|
type: 'view',
|
|
8614
8679
|
properties: [
|
|
8680
|
+
AXP_NAME_PROPERTY,
|
|
8615
8681
|
{
|
|
8616
8682
|
name: 'content',
|
|
8617
8683
|
title: 'Content',
|