@acorex/platform 18.0.2 → 18.0.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/application.types.d.ts +43 -26
- package/common/lib/common.module.d.ts +6 -5
- package/common/lib/data/data-provider.types.d.ts +1 -1
- package/common/lib/data/dexie-storage.service.d.ts +14 -0
- package/common/lib/data/entity-data-provider.d.ts +14 -0
- package/common/lib/data/index.d.ts +3 -0
- package/common/lib/data/storage-service.d.ts +22 -0
- package/common/lib/layout/grid-layout/grid-layout.types.d.ts +1 -2
- package/common/lib/schema/entity/entity.class.d.ts +3 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +1 -1
- package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +2 -1
- package/common/lib/utils/data-generator.d.ts +15 -1
- package/common/lib/utils/index.d.ts +1 -0
- package/common/lib/utils/pdf.service.d.ts +25 -0
- package/esm2022/common/lib/app/application.types.mjs +1 -1
- package/esm2022/common/lib/common.module.mjs +19 -2
- package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
- package/esm2022/common/lib/data/dexie-storage.service.mjs +34 -0
- package/esm2022/common/lib/data/entity-data-provider.mjs +26 -0
- package/esm2022/common/lib/data/index.mjs +4 -1
- package/esm2022/common/lib/data/storage-service.mjs +5 -0
- package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +5 -5
- package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +1 -1
- package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +2 -2
- package/esm2022/common/lib/schema/entity/entity.class.mjs +1 -1
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +20 -3
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +20 -3
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +5 -5
- package/esm2022/common/lib/utils/data-generator.mjs +88 -2
- package/esm2022/common/lib/utils/index.mjs +2 -1
- package/esm2022/common/lib/utils/pdf.service.mjs +85 -0
- package/esm2022/common/lib/workflows/common.workflow.mjs +3 -3
- package/esm2022/layout/builder/lib/builder/builder.service.mjs +7 -2
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +5 -1
- package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +9 -8
- package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +44 -27
- package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +42 -15
- package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +64 -62
- package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +9 -7
- package/esm2022/layout/entity/lib/entity-registery.service.mjs +2 -2
- package/esm2022/layout/entity/lib/entity.module.mjs +13 -4
- package/esm2022/layout/entity/lib/entity.viewmodel.mjs +7 -6
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +142 -39
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +82 -37
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +45 -22
- package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +17 -21
- package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +14 -15
- package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +11 -23
- package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +3 -3
- package/esm2022/layout/entity/lib/workflows/show-list.workflow.mjs +35 -0
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/layout.module.mjs +3 -3
- package/esm2022/themes/default/lib/default.module.mjs +3 -3
- package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/{entity-list-view.component.mjs → entity-master-list-view.component.mjs} +11 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +2 -1
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +6 -3
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +21 -12
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +3 -3
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +14 -8
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +3 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +3 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +3 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +3 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +3 -2
- package/esm2022/workflow/lib/actions/start-workflow.action.mjs +32 -0
- package/esm2022/workflow/lib/workflow.module.mjs +7 -2
- package/esm2022/workflow/lib/workflow.service.mjs +54 -7
- package/esm2022/workflow/lib/workflow.types.mjs +17 -10
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs → acorex-platform-common-avatar-widget-edit.component-B-of5ssU.mjs} +3 -2
- package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map → acorex-platform-common-avatar-widget-edit.component-B-of5ssU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs → acorex-platform-common-avatar-widget-view.component-CJvrSkTv.mjs} +4 -3
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-CJvrSkTv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs → acorex-platform-common-boolean-widget-filter.component-BTcOjuUm.mjs} +4 -3
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-BTcOjuUm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs → acorex-platform-common-checkbox-widget-column.component-X9d1iY_F.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map → acorex-platform-common-checkbox-widget-column.component-X9d1iY_F.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs → acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs} +4 -3
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs → acorex-platform-common-checkbox-widget-view.component-nYmtb8bK.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map → acorex-platform-common-checkbox-widget-view.component-nYmtb8bK.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs → acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs} +4 -3
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs → acorex-platform-common-dateTime-widget-edit.component-D8FSiqAo.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map → acorex-platform-common-dateTime-widget-edit.component-D8FSiqAo.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs → acorex-platform-common-dateTime-widget-filter.component-Df0DuDtw.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map → acorex-platform-common-dateTime-widget-filter.component-Df0DuDtw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs → acorex-platform-common-dateTime-widget-view.component-CjVjQkPh.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map → acorex-platform-common-dateTime-widget-view.component-CjVjQkPh.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs → acorex-platform-common-email-widget-column.component-BgNdL62k.mjs} +4 -3
- package/fesm2022/acorex-platform-common-email-widget-column.component-BgNdL62k.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs → acorex-platform-common-email-widget-edit.component-CgHPGccx.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map → acorex-platform-common-email-widget-edit.component-CgHPGccx.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-email-widget-view.component-B6puyycL.mjs → acorex-platform-common-email-widget-view.component-C2aQ14k-.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map → acorex-platform-common-email-widget-view.component-C2aQ14k-.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-column.component-C1faGR4K.mjs → acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs} +4 -3
- package/fesm2022/acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs → acorex-platform-common-file-widget-edit.component-DxoQR4CU.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map → acorex-platform-common-file-widget-edit.component-DxoQR4CU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs → acorex-platform-common-file-widget-filter.component-BvG0iaKU.mjs} +4 -3
- package/fesm2022/acorex-platform-common-file-widget-filter.component-BvG0iaKU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs → acorex-platform-common-file-widget-view.component-BC9l3YrO.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map → acorex-platform-common-file-widget-view.component-BC9l3YrO.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs → acorex-platform-common-gallery-widget-edit.component-BihOIJ9T.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map → acorex-platform-common-gallery-widget-edit.component-BihOIJ9T.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs → acorex-platform-common-gallery-widget-filter.component-DS1PCIJp.mjs} +4 -3
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-DS1PCIJp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs → acorex-platform-common-gallery-widget-view.component-CnQONVdg.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map → acorex-platform-common-gallery-widget-view.component-CnQONVdg.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs → acorex-platform-common-largetext-widget-edit.component-BCtGkz1a.mjs} +4 -3
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BCtGkz1a.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs → acorex-platform-common-lookup-widget-column.component-Cl-vO5XW.mjs} +4 -3
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-Cl-vO5XW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs → acorex-platform-common-lookup-widget-edit.component-Do_yV2hi.mjs} +22 -4
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-Do_yV2hi.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs → acorex-platform-common-lookup-widget-filter.component-AKqbYe-l.mjs} +22 -4
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-AKqbYe-l.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs → acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs} +8 -7
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs → acorex-platform-common-map-widget-edit.component-SSrR3xxv.mjs} +4 -3
- package/fesm2022/acorex-platform-common-map-widget-edit.component-SSrR3xxv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs → acorex-platform-common-map-widget-view.component-DrGG3gzg.mjs} +4 -3
- package/fesm2022/acorex-platform-common-map-widget-view.component-DrGG3gzg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs → acorex-platform-common-messenger-widget-column.component-BJ_XzNKc.mjs} +4 -3
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-BJ_XzNKc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs → acorex-platform-common-messenger-widget-edit.component-B_FG_n0O.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map → acorex-platform-common-messenger-widget-edit.component-B_FG_n0O.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs → acorex-platform-common-messenger-widget-view.component-EBiPO9ds.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map → acorex-platform-common-messenger-widget-view.component-EBiPO9ds.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs → acorex-platform-common-number-widget-edit.component-B1XXga-9.mjs} +4 -3
- package/fesm2022/acorex-platform-common-number-widget-edit.component-B1XXga-9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs → acorex-platform-common-number-widget-filter.component-B2JCpDjU.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map → acorex-platform-common-number-widget-filter.component-B2JCpDjU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs → acorex-platform-common-number-widget-view.component-DD0tkoc4.mjs} +4 -3
- package/fesm2022/acorex-platform-common-number-widget-view.component-DD0tkoc4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs → acorex-platform-common-password-widget-column.component-eyqgQlAt.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map → acorex-platform-common-password-widget-column.component-eyqgQlAt.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs → acorex-platform-common-password-widget-edit.component-C2yNb9Pl.mjs} +4 -3
- package/fesm2022/acorex-platform-common-password-widget-edit.component-C2yNb9Pl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-password-widget-view.component-CKaQItON.mjs → acorex-platform-common-password-widget-view.component-o9S7pwJW.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map → acorex-platform-common-password-widget-view.component-o9S7pwJW.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs → acorex-platform-common-phone-widget-column.component-BL9Xl2XH.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map → acorex-platform-common-phone-widget-column.component-BL9Xl2XH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs → acorex-platform-common-phone-widget-edit.component-DSh9zoZj.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map → acorex-platform-common-phone-widget-edit.component-DSh9zoZj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs → acorex-platform-common-phone-widget-view.component-Br3xbaDd.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map → acorex-platform-common-phone-widget-view.component-Br3xbaDd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs → acorex-platform-common-rich-text-widget-column.component-DDT58tca.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map → acorex-platform-common-rich-text-widget-column.component-DDT58tca.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs → acorex-platform-common-rich-text-widget-edit.component-Dz1toc21.mjs} +4 -3
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-Dz1toc21.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs → acorex-platform-common-rich-text-widget-view.component-CxTPcEIQ.mjs} +4 -3
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-CxTPcEIQ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs → acorex-platform-common-selection-list-widget-column.component-BCCmg8MI.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map → acorex-platform-common-selection-list-widget-column.component-BCCmg8MI.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs → acorex-platform-common-selection-list-widget-edit.component-B5eUdN2R.mjs} +4 -3
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B5eUdN2R.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs → acorex-platform-common-selection-list-widget-filter.component-DPpZq1TB.mjs} +4 -3
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DPpZq1TB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs → acorex-platform-common-selection-list-widget-view.component-Bxvd_AKZ.mjs} +4 -3
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-Bxvd_AKZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs → acorex-platform-common-signature-pad-widget-edit.component-CNjYCEi6.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map → acorex-platform-common-signature-pad-widget-edit.component-CNjYCEi6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs → acorex-platform-common-signature-pad-widget-view.component-CsiBv_7i.mjs} +4 -3
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-CsiBv_7i.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs → acorex-platform-common-string-widget-filter.component-CrGt6Bov.mjs} +4 -3
- package/fesm2022/acorex-platform-common-string-widget-filter.component-CrGt6Bov.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs → acorex-platform-common-text-widget-column.component-qXusAevm.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map → acorex-platform-common-text-widget-column.component-qXusAevm.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs → acorex-platform-common-text-widget-edit.component-ed0MUYnD.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map → acorex-platform-common-text-widget-edit.component-ed0MUYnD.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs → acorex-platform-common-text-widget-view.component-BpxTaeQW.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map → acorex-platform-common-text-widget-view.component-BpxTaeQW.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs → acorex-platform-common-toggle-widget-column.component-BqiUQrmV.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map → acorex-platform-common-toggle-widget-column.component-BqiUQrmV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs → acorex-platform-common-toggle-widget-edit.component-CDG62BJN.mjs} +4 -3
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-CDG62BJN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs → acorex-platform-common-toggle-widget-view.component-DWYcIPTd.mjs} +4 -3
- package/fesm2022/{acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map → acorex-platform-common-toggle-widget-view.component-DWYcIPTd.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +389 -140
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +10 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +514 -280
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs → acorex-platform-layouts-entity-create-view.component-fkKPKxlb.mjs} +3 -3
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-fkKPKxlb.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts.mjs +4 -4
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs → acorex-platform-themes-default-entity-master-create-view.component-BxYT9KhH.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BxYT9KhH.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +21 -8
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +73 -56
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +194 -109
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/lib/builder/widget.types.d.ts +3 -0
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +6 -5
- package/layout/entity/lib/entity-master-list.viewmodel.d.ts +11 -5
- package/layout/entity/lib/entity-master-single.viewmodel.d.ts +17 -10
- package/layout/entity/lib/entity-master-update.viewmodel.d.ts +0 -1
- package/layout/entity/lib/entity.viewmodel.d.ts +3 -3
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +20 -3
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +8 -1
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +10 -3
- package/layout/entity/lib/workflows/create-entity.workflow.d.ts +0 -2
- package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +2 -4
- package/layout/entity/lib/workflows/modify-section.workflow.d.ts +2 -5
- package/layout/entity/lib/workflows/show-list.workflow.d.ts +10 -0
- package/package.json +1 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/{entity-list-view.component.d.ts → entity-master-list-view.component.d.ts} +1 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +1 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +4 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +3 -2
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
- package/workflow/lib/actions/start-workflow.action.d.ts +10 -0
- package/workflow/lib/workflow.service.d.ts +4 -2
- package/workflow/lib/workflow.types.d.ts +6 -3
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/map/map-widget-edit.component.ts"],"sourcesContent":["import { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewChild, ViewEncapsulation } from '@angular/core';\r\n@Component({\r\n selector: 'axp-map-widget-edit',\r\n template: `<div class=\"ax-w-full ax-h-96\">\r\n <div class=\"ax-h-full\" #mapEl></div>\r\n </div>`,\r\n standalone: true,\r\n styleUrl: './map-widget.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule],\r\n inputs: ['multiple'],\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXPMapWidgetEditComponent extends AXPWidgetEditBase {\r\n @ViewChild('mapEl') mapEl!: ElementRef<HTMLElement>;\r\n protected map: any;\r\n protected multiple!: boolean;\r\n protected featuresGroup: any;\r\n\r\n async ngAfterViewInit() {\r\n await this.initMap();\r\n }\r\n updateValue() {\r\n const markers = Object.values(this.featuresGroup._layers).map((layer: any) => {\r\n return layer._latlng;\r\n });\r\n this.value = markers;\r\n }\r\n\r\n addMarker(location: any, leaflet: any) {\r\n const marker = leaflet.marker(location);\r\n if (location.title) {\r\n marker.bindPopup(location.title);\r\n }\r\n this.featuresGroup.addLayer(marker);\r\n }\r\n\r\n async initMap() {\r\n const leaflet = await import('leaflet');\r\n await import('leaflet-draw');\r\n this.featuresGroup = new leaflet.FeatureGroup();\r\n\r\n this.map = leaflet.map(this.mapEl.nativeElement, {\r\n center: [20, 0],\r\n zoom: 2,\r\n minZoom: 1,\r\n maxZoom: 10,\r\n worldCopyJump: true,\r\n });\r\n leaflet\r\n .tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\r\n maxZoom: 10,\r\n attribution: '© acorex platform',\r\n })\r\n .addTo(this.map);\r\n\r\n this.map.addLayer(this.featuresGroup);\r\n const drawControl = new leaflet.Control.Draw({\r\n draw: {\r\n circle: false,\r\n polygon: false,\r\n circlemarker: false,\r\n polyline: false,\r\n rectangle: false,\r\n },\r\n edit: {\r\n featureGroup: this.featuresGroup,\r\n remove: true,\r\n edit: false,\r\n },\r\n });\r\n this.map.addControl(drawControl);\r\n\r\n this.map.on('draw:created', (e: any) => {\r\n const { layer, layerType } = e;\r\n if ((!this.multiple && this.featuresGroup.getLayers().length < 1) || this.multiple) {\r\n this.featuresGroup.addLayer(layer);\r\n if (layerType === 'marker') this.updateValue();\r\n }\r\n });\r\n this.map.on('draw:deleted', (e: any) => {\r\n const { layers } = e;\r\n Object.values(layers._layers).map((layer: any) => {\r\n this.featuresGroup.removeLayer(layer);\r\n });\r\n this.updateValue();\r\n });\r\n\r\n if (this.value) {\r\n this.value.forEach((location: any) => {\r\n this.addMarker(location, leaflet);\r\n });\r\n this.map.fitBounds(this.featuresGroup.getBounds(), { padding: [50, 50] });\r\n }\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,yBAA0B,SAAQ,iBAAiB,CAAA;AAM9D,IAAA,MAAM,eAAe,GAAA;AACnB,QAAA,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;KACtB;IACD,WAAW,GAAA;AACT,QAAA,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,KAAU,KAAI;YAC3E,OAAO,KAAK,CAAC,OAAO,CAAC;AACvB,SAAC,CAAC,CAAC;AACH,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;KACtB;IAED,SAAS,CAAC,QAAa,EAAE,OAAY,EAAA;QACnC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AACxC,QAAA,IAAI,QAAQ,CAAC,KAAK,EAAE;AAClB,YAAA,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAClC;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,KAAK,EAAA,CAAA;sBAAxB,SAAS;uBAAC,OAAO,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/map/map-widget-view.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewChild, ViewEncapsulation } from '@angular/core';\r\n@Component({\r\n selector: 'axp-map-widget-view',\r\n template: `<div class=\"ax-w-full ax-h-72\">\r\n <div class=\"ax-h-full\" #mapEl></div>\r\n </div>`,\r\n standalone: true,\r\n styleUrl: './map-widget.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule],\r\n encapsulation: ViewEncapsulation.None,\r\n inputs: ['context'],\r\n})\r\nexport class AXPMapWidgetViewComponent extends AXPWidgetBase {\r\n leaflet!: any;\r\n @ViewChild('mapEl') mapEl!: ElementRef<HTMLElement>;\r\n protected map: any;\r\n protected value: any;\r\n protected featuresGroup: any;\r\n\r\n async ngAfterViewInit() {\r\n await this.initMap();\r\n }\r\n\r\n addMarker(location: any, leaflet: any) {\r\n const marker = leaflet.marker(location);\r\n if (location.title) {\r\n marker.bindPopup(location.title);\r\n }\r\n this.featuresGroup.addLayer(marker);\r\n }\r\n\r\n updateMarkers() {\r\n if (this.value) {\r\n this.featuresGroup.clearLayers();\r\n this.value.forEach((location: any) => {\r\n this.addMarker(location, this.leaflet);\r\n });\r\n this.map.fitBounds(this.featuresGroup.getBounds(), { padding: [50, 50] });\r\n }\r\n }\r\n\r\n async initMap() {\r\n const leaflet = await import('leaflet');\r\n this.leaflet = leaflet;\r\n this.featuresGroup = new leaflet.FeatureGroup();\r\n\r\n this.map = leaflet.map(this.mapEl.nativeElement, {\r\n center: [20, 0],\r\n zoom: 2,\r\n minZoom: 1,\r\n maxZoom: 10,\r\n worldCopyJump: true,\r\n });\r\n leaflet\r\n .tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\r\n maxZoom: 10,\r\n attribution: '© acorex platform',\r\n })\r\n .addTo(this.map);\r\n this.updateMarkers();\r\n this.map.addLayer(this.featuresGroup);\r\n }\r\n\r\n protected override render(): void {\r\n this.value = this.rawValue;\r\n this.updateMarkers();\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,yBAA0B,SAAQ,aAAa,CAAA;AAO1D,IAAA,MAAM,eAAe,GAAA;AACnB,QAAA,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;KACtB;IAED,SAAS,CAAC,QAAa,EAAE,OAAY,EAAA;QACnC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AACxC,QAAA,IAAI,QAAQ,CAAC,KAAK,EAAE;AAClB,YAAA,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAClC;AACD,QAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;KACrC;IAED,aAAa,GAAA;AACX,QAAA,IAAI,IAAI,CAAC,KAAK,EAAE;AACd,YAAA,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;YACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,QAAa,KAAI;gBACnC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;AACzC,aAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;SAC3E;KACF;AAED,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,MAAM,OAAO,GAAG,MAAM,OAAO,SAAS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,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,OAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;AAEH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,qmvCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAIG,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAZrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EACrB,QAAA,EAAA,CAAA;;AAEH,QAAA,CAAA,EAAA,UAAA,EACK,IAAI,EAEC,eAAA,EAAA,uBAAuB,CAAC,MAAM,WACtC,CAAC,YAAY,CAAC,EAAA,aAAA,EACR,iBAAiB,CAAC,IAAI,EAC7B,MAAA,EAAA,CAAC,SAAS,CAAC,EAAA,MAAA,EAAA,CAAA,qmvCAAA,CAAA,EAAA,CAAA;8BAIC,KAAK,EAAA,CAAA;sBAAxB,SAAS;uBAAC,OAAO,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/messenger/messenger-widget-column.component.ts"],"sourcesContent":["import { AXTooltipModule } from '@acorex/components/tooltip';\r\nimport { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\n@Component({\r\n selector: 'axp-messenger-widget-column',\r\n template: `<div>\r\n @if(multiple && list.length>1){\r\n <div [title]=\"text\">{{ dot3(text) }}</div>\r\n }@else {\r\n <div>\r\n @if(list && list.length){\r\n {{ list[0].value }}\r\n }@else { - }\r\n </div>\r\n\r\n }\r\n </div>`,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AXTooltipModule],\r\n inputs: ['context', 'multiple', 'width', 'allowResizing'],\r\n})\r\nexport class AXPMessengerWidgetColumnComponent extends AXPWidgetBase {\r\n protected list: { value: string; label: string }[] = [];\r\n protected text: string = '';\r\n protected multiple!: boolean;\r\n\r\n protected dot3(text: string) {\r\n if (this.multiple) return text.split('\\n')[0] + '...';\r\n else return text.split('\\n')[0];\r\n }\r\n\r\n protected override render(): void {\r\n if (this.rawValue) {\r\n const rawValue = this.rawValue;\r\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\r\n this.text = this.list.map((item) => item.value).join('\\n');\r\n }\r\n }\r\n\r\n private extractItem(item: any): any {\r\n return typeof item == 'object'\r\n ? {\r\n value: item.value ?? '-',\r\n label: item.type ?? 'Telegram',\r\n }\r\n : {\r\n value: item,\r\n label: 'Telegram',\r\n };\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,iCAAkC,SAAQ,aAAa,CAAA;AAnBpE,IAAA,WAAA,GAAA;;QAoBY,IAAI,CAAA,IAAA,GAAuC,EAAE,CAAC;QAC9C,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;AA2B7B,KAAA;AAxBW,IAAA,IAAI,CAAC,IAAY,EAAA;QACzB,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;;YACjD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;KACjC;IAEkB,MAAM,GAAA;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ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AAA,EAAA,CAAA;;;;;;;;;;;AAWH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,eAAe,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGd,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAnB7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;AAWH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AAC1D,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/number/number-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXFormModule } from '@acorex/components/form';\r\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\r\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'axp-number-widget-edit',\r\n template: `\r\n <ax-number-box [(ngModel)]=\"value\" >\r\n @for(vl of validations;track $index) {\r\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\r\n }\r\n <ax-clear-button *ngIf=\"clearButton\"></ax-clear-button>\r\n </ax-number-box>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule],\r\n})\r\nexport class AXPNumberWidgetEditComponent extends AXPWidgetEditBase {\r\n clearButton: boolean = true;\r\n}"],"names":["i2","i3","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,4BAA6B,SAAQ,iBAAiB,CAAA;AAdnE,IAAA,WAAA,GAAA;;QAeI,IAAW,CAAA,WAAA,GAAY,IAAI,CAAC;AAC/B,KAAA;8GAFY,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAZ3B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;KAOT,EAGS,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,kIAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,aAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,oBAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,aAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,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0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/number/number-widget-view.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-number-widget-view',\r\n template: `{{ text }}`,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n inputs: ['context', 'value', 'allowResizing'],\r\n})\r\nexport class AXPNumberWidgetViewComponent extends AXPWidgetBase {\r\n protected text!: string;\r\n\r\n override render() {\r\n const rawValue = this.rawValue;\r\n if (rawValue == null) return;\r\n const value: string = new String(rawValue).toString();\r\n if (this.formats?.default) {\r\n this.text = this.formatService.format(value, 'number');\r\n } else {\r\n this.text = value;\r\n }\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAUM,MAAO,4BAA6B,SAAQ,aAAa,CAAA;IAGpD,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,QAAQ,IAAI,IAAI;YAAE,OAAO;QAC7B,MAAM,KAAK,GAAW,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;AACtD,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE;AACzB,YAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;SACxD;aAAM;AACL,YAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB;KACF;8GAZU,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,wLAL7B,CAAY,UAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,CAAY,UAAA,CAAA;AACtB,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,eAAe,CAAC;AAC9C,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/password/password-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXFormModule } from '@acorex/components/form';\r\nimport { AXLabelModule } from '@acorex/components/label';\r\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\r\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n@Component({\r\n template: `\r\n <ax-password-box [(ngModel)]=\"this.value\">\r\n <ax-clear-button></ax-clear-button>\r\n @for(vl of validations;track $index) {\r\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\r\n }\r\n </ax-password-box>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AXDecoratorModule, AXFormModule, AXLabelModule, AXPasswordBoxModule, FormsModule],\r\n inputs: [],\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AA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/E,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAd1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;AAOT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,WAAW,CAAC;AAC3F,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/rich-text/rich-text-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXFormModule } from '@acorex/components/form';\r\nimport { AXTextAreaModule } from '@acorex/components/text-area';\r\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { Component, ElementRef, ViewChild, ViewEncapsulation } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'axp-rich-text-widget-edit',\r\n template: `\r\n <div class=\"ax-h-max\">\r\n <div #editor></div>\r\n </div>\r\n `,\r\n standalone: true,\r\n styleUrl: './rich-text-widget-edit.component.scss',\r\n encapsulation: ViewEncapsulation.None,\r\n imports: [AXTextAreaModule, FormsModule, AXDecoratorModule, AXButtonModule, AXFormModule],\r\n inputs: ['placeholder'],\r\n})\r\nexport class AXPRichTextWidgetEditComponent extends AXPWidgetEditBase<string> {\r\n @ViewChild('editor') editorEl!: ElementRef<HTMLDivElement>;\r\n editor: any;\r\n protected placeholder: string = 'Write a text ...';\r\n\r\n toolbarOptions = [\r\n ['bold', 'italic', 'underline', 'strike'],\r\n ['blockquote', 'code-block'],\r\n [{ list: 'ordered' }, { list: 'bullet' }],\r\n [{ script: 'sub' }, { script: 'super' }],\r\n [{ direction: 'rtl' }],\r\n [{ size: ['small', false, 'large', 'huge'] }],\r\n [{ header: [1, 2, 3, 4, 5, 6, false] }],\r\n [{ color: [] }, { background: [] }],\r\n [{ font: [] }],\r\n [{ align: [] }],\r\n ['clean'],\r\n ];\r\n\r\n async ngAfterViewInit() {\r\n await this.initEditor();\r\n if (this.value) {\r\n this.editor.disable();\r\n this.editor.clipboard.dangerouslyPasteHTML(this.value, 'api');\r\n this.editor.enable();\r\n }\r\n\r\n this.editor.on('text-change', () => {\r\n this.value = this.editor.root.innerHTML;\r\n });\r\n }\r\n\r\n async initEditor() {\r\n const q = await import('quill');\r\n this.editor = new q.default(this.editorEl.nativeElement, {\r\n theme: 'snow',\r\n modules: {\r\n toolbar: this.toolbarOptions,\r\n },\r\n scrollingContainer: 'ql-editor',\r\n placeholder: this.placeholder,\r\n });\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBM,MAAO,8BAA+B,SAAQ,iBAAyB,CAAA;AAb7E,IAAA,WAAA,GAAA;;QAgBY,IAAW,CAAA,WAAA,GAAW,kBAAkB,CAAC;AAEnD,QAAA,IAAA,CAAA,cAAc,GAAG;AACf,YAAA,CAAC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,CAAC;YACzC,CAAC,YAAY,EAAE,YAAY,CAAC;YAC5B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;YACzC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC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A,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,EAC3B,QAAA,EAAA,CAAA;;;;GAIT,EACW,UAAA,EAAA,IAAI,iBAED,iBAAiB,CAAC,IAAI,EAC5B,OAAA,EAAA,CAAC,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,CAAC,EACjF,MAAA,EAAA,CAAC,aAAa,CAAC,EAAA,MAAA,EAAA,CAAA,myrBAAA,CAAA,EAAA,CAAA;8BAGF,QAAQ,EAAA,CAAA;sBAA5B,SAAS;uBAAC,QAAQ,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/rich-text/rich-text-widget-view.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { Component, inject, ViewEncapsulation } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'axp-rich-text-widget-view',\r\n template: `\r\n <div class=\"ax-border ax-p-3 ax-rounded-lg\">\r\n <div [innerHTML]=\"value\"></div>\r\n </div>\r\n `,\r\n standalone: true,\r\n encapsulation: ViewEncapsulation.None,\r\n inputs: ['context'],\r\n})\r\nexport class AXPRichTextWidgetViewComponent extends AXPWidgetBase<any> {\r\n sanitizer = inject(DomSanitizer);\r\n protected value!: SafeHtml;\r\n\r\n protected override render(): void {\r\n this.value = this.sanitizer.bypassSecurityTrustHtml(this.rawValue);\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,8BAA+B,SAAQ,aAAkB,CAAA;AAXtE,IAAA,WAAA,GAAA;;AAYE,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAMlC,KAAA;IAHoB,MAAM,GAAA;AACvB,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACpE;8GANU,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAT/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAKU,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAX1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,CAAA;;;;AAIT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,MAAM,EAAE,CAAC,SAAS,CAAC;AACpB,iBAAA,CAAA;;;;;"}
|
package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/selection-list/selection-list-widget-edit.component.ts"],"sourcesContent":["import { AXDirection } from '@acorex/components/common';\r\nimport { AXFormModule } from '@acorex/components/form';\r\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\r\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n@Component({\r\n template: `\r\n <ax-selection-list\r\n class=\"ax-w-max\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [(ngModel)]=\"value\"\r\n [items]=\"items\"\r\n [multiple]=\"multiple\"\r\n [direction]=\"direction\"\r\n >\r\n @for(vl of validations;track $index) {\r\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\r\n }\r\n </ax-selection-list>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXSelectionListModule, FormsModule, AXFormModule],\r\n inputs: ['items', 'valueField', 'textField', 'multiple'],\r\n})\r\nexport class AXPSelectionListWidgetEditComponent extends AXPWidgetEditBase {\r\n protected items!: any[];\r\n protected valueField!: string;\r\n protected textField!: string;\r\n protected multiple!: boolean;\r\n protected direction!: AXDirection;\r\n}\r\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BM,MAAO,mCAAoC,SAAQ,iBAAiB,CAAA;8GAA7D,mCAAmC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mCAAmC,EApBpC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,e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EAAE,qBAAqB,EAAE,WAAW,EAAE,YAAY,CAAC;oBACzE,MAAM,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC;AACzD,iBAAA,CAAA;;;;;"}
|
package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/selection-list/selection-list-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\r\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n@Component({\r\n template: `\r\n <ax-select-box\r\n [placeholder]=\"'Select...'\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [dataSource]=\"items\"\r\n [multiple]=\"true\"\r\n [(ngModel)]=\"value\"\r\n ></ax-select-box>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AXSelectBoxModule, FormsModule],\r\n inputs: ['items', 'valueField', 'textField'],\r\n outputs: ['valueChange', 'operatorChange', 'direction'],\r\n})\r\nexport class AXPSelectionListWidgetFilterComponent extends AXPWidgetFilterBase {\r\n protected items!: any[];\r\n protected valueField!: string;\r\n protected textField!: string;\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBM,MAAO,qCAAsC,SAAQ,mBAAmB,CAAA;8GAAjE,qCAAqC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAA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Y,EAAE,WAAW,CAAC;AAC5C,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,EAAE,WAAW,CAAC;AACxD,iBAAA,CAAA;;;;;"}
|
package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/selection-list/selection-list-widget-view.component.ts"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\r\nimport { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';\r\n@Component({\r\n template: `\r\n @for (item of selectedItems; track $index) {\r\n <ax-badge [class]=\"'ax-ms-1'\" [look]=\"'twotone'\" [text]=\"item[this.textField]\" color=\"primary\"></ax-badge>\r\n }\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AXBadgeModule],\r\n inputs: ['context', 'items', 'valueField', 'textField', 'direction'],\r\n})\r\nexport class AXPSelectionListWidgetViewComponent extends AXPWidgetBase implements OnInit {\r\n protected valueField!: string;\r\n protected textField!: string;\r\n protected selectedItemIds!: number[];\r\n protected selectedItems!: any[];\r\n protected items!: any[];\r\n\r\n protected override render(): void {\r\n this.selectedItemIds = this.rawValue;\r\n this.updateValues();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.updateValues();\r\n }\r\n\r\n protected updateValues() {\r\n if (this.items?.length) {\r\n this.selectedItems = this.items.filter((item) => {\r\n if (Array.isArray(this.selectedItemIds)) return this.selectedItemIds.includes(item[this.valueField]);\r\n else return this.selectedItemIds == item[this.valueField];\r\n });\r\n }\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAO,mCAAoC,SAAQ,aAAa,CAAA;IAOjD,MAAM,GAAA;AACvB,QAAA,I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S,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGZ,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAX/C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;AAIT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;AACrE,iBAAA,CAAA;;;;;"}
|
package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.ts"],"sourcesContent":["import { AXImageModule } from '@acorex/components/image';\r\nimport { AXPWidgetBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\n@Component({\r\n template: `\r\n <div class=\"ax-w-72 ax-h-36 ax-border ax-rounded-md ax-flex ax-justify-center ax-items-center\">\r\n @if(src){\r\n <ax-image [src]=\"src\"></ax-image>\r\n }@else{\r\n <span>Not Set!</span>\r\n }\r\n </div>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXImageModule],\r\n inputs: [],\r\n})\r\nexport class AXPSignaturePadWidgetViewComponent extends AXPWidgetBase {\r\n protected src: any;\r\n\r\n override render() {\r\n const dataURL = this.rawValue;\r\n this.src = dataURL;\r\n }\r\n}\r\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmBM,MAAO,kCAAmC,SAAQ,aAAa,CAAA;IAG1D,MAAM,GAAA;AACb,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9B,QAAA,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC;KACpB;8GANU,kCAAkC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kCAAkC,EAdnC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;GAQT,EAGS,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,KAAA,EAAA,KAAA,EAAA,UAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG1B,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAf9C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;AAQT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;AACtC,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/common-widget-filter/string-widget-filter.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXPopoverModule } from '@acorex/components/popover';\r\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\r\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\r\nimport { AXTextBoxModule } from '@acorex/components/text-box';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\r\nimport { AXPFilterOperator } from '../../../app';\r\n\r\n@Component({\r\n selector: 'axp-string-widget-filter',\r\n template: `\r\n <div class=\"ax-flex ax-items-center\">\r\n <ax-text-box class=\"ax-flex-1\" [disabled]=\"!this.getOperatorHasValue()\" [(ngModel)]=\"value\">\r\n <ax-clear-button></ax-clear-button>\r\n </ax-text-box>\r\n @if(operations.length){\r\n <ax-button #changeOperator look=\"blank\" color=\"default\" class=\"ax-sm\">\r\n <ax-icon class=\"fa-solid fa-ellipsis-vertical\"></ax-icon>\r\n </ax-button>\r\n <ax-popover\r\n #operatorsPopover\r\n [target]=\"changeOperator\"\r\n [openOn]=\"'toggle'\"\r\n [closeOn]=\"'clickOut'\"\r\n [adaptivityEnabled]=\"true\"\r\n >\r\n <div\r\n class=\"ax-max-h-max ax-overflow-auto ax-bg-surface ax-py-5 ax-px-3 ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-[250px]\"\r\n >\r\n <ax-selection-list\r\n class=\"\"\r\n [valueField]=\"'name'\"\r\n [textField]=\"'title'\"\r\n [(ngModel)]=\"operator\"\r\n (ngModelChange)=\"operatorsPopover.close(); clearValue()\"\r\n [direction]=\"'vertical'\"\r\n [items]=\"operations\"\r\n [multiple]=\"false\"\r\n ></ax-selection-list>\r\n </div>\r\n </ax-popover>\r\n }\r\n </div>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n AXTextBoxModule,\r\n FormsModule,\r\n AXDecoratorModule,\r\n AXButtonModule,\r\n AXPopoverModule,\r\n AXSelectionListModule,\r\n AXSelectBoxModule,\r\n ],\r\n outputs: ['valueChange', 'operatorChange'],\r\n inputs: ['value', 'operator'],\r\n})\r\nexport class AXPStringWidgetFilterComponent extends AXPWidgetFilterBase<string | boolean> {\r\n operations: AXPFilterOperator[] = [];\r\n\r\n protected getOperatorHasValue(): boolean {\r\n const operator = this.operations.find((op) => op.name == this.operator);\r\n return !operator || operator.hasValue ? true : false;\r\n }\r\n\r\n override render() {\r\n this.operations = this.schema.filterOptions.operators;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.clearValue();\r\n }\r\n\r\n clearValue() {\r\n if (!this.getOperatorHasValue()) this.value = '';\r\n }\r\n}\r\n"],"names":["i1","i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DM,MAAO,8BAA+B,SAAQ,mBAAqC,CAAA;AAlDzF,IAAA,WAAA,GAAA;;QAmDE,IAAU,CAAA,UAAA,GAAwB,EAAE,CAAC;AAkBtC,KAAA;IAhBW,mBAAmB,GAAA;QAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC;AACx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,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,WAAW;wBACX,iBAAiB;wBACjB,cAAc;wBACd,eAAe;wBACf,qBAAqB;wBACrB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;AAC1C,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/toggle/toggle-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXSwitchModule } from '@acorex/components/switch';\r\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n template: `<ax-switch [(ngModel)]=\"value\"></ax-switch>`,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXDecoratorModule, AXSwitchModule, AXButtonModule, AXCheckBoxModule, FormsModule],\r\n})\r\nexport class AXPToggleWidgetEditComponent extends AXPWidgetEditBase { }\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeM,MAAO,4BAA6B,SAAQ,iBAAiB,CAAA;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AA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAE7F,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBANxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA6C,2CAAA,CAAA;AACvD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,CAAC;AAC1G,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs","sources":["../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.ts","../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXDialogModule } from '@acorex/components/dialog';\r\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\r\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\r\nimport { AXLabelModule } from '@acorex/components/label';\r\nimport { AXLoadingModule } from '@acorex/components/loading';\r\nimport { AXBasePageComponent } from '@acorex/components/page';\r\nimport { AXTabsModule } from '@acorex/components/tabs';\r\nimport { AXTooltipModule } from '@acorex/components/tooltip';\r\nimport { AXPEntityConfig, AXPSchemaModule } from '@acorex/platform/common';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, WritableSignal, inject, signal } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { AXPEntityCreateViewLoader } from './entity-create-view.config';\r\n\r\nimport { AXValidationModule } from '@acorex/core/validation';\r\n\r\nimport { AXDropdownModule } from '@acorex/components/dropdown';\r\nimport { AXPStickyDirective } from '@acorex/platform/common';\r\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\r\n\r\n@Component({\r\n templateUrl: './entity-create-view.component.html',\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n AXFormModule,\r\n AXDecoratorModule,\r\n CommonModule,\r\n AXButtonModule,\r\n AXDialogModule,\r\n AXLoadingModule,\r\n AXTabsModule,\r\n AXPSchemaModule,\r\n AXTooltipModule,\r\n AXValidationModule,\r\n AXLabelModule,\r\n AXDropdownModule,\r\n AXDropdownButtonModule,\r\n //\r\n AXPStickyDirective,\r\n ],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXPEntityCreateViewComponent extends AXBasePageComponent {\r\n protected loader!: AXPEntityCreateViewLoader;\r\n protected entity!: AXPEntityConfig;\r\n protected workflow = inject(AXPWorkflowService);\r\n protected submitLoading: WritableSignal<boolean> = signal(false);\r\n\r\n protected handleCloseClick() {\r\n this.close();\r\n }\r\n\r\n protected async handleBackClick() {\r\n await this.loader.back();\r\n }\r\n\r\n protected async handleNextClick(form: AXFormComponent) {\r\n const formResult = await form.validate();\r\n if (formResult.result) {\r\n await this.loader.next();\r\n }\r\n }\r\n\r\n protected async handleSaveClick(form: AXFormComponent) {\r\n const formResult = await form.validate();\r\n if (formResult.result) {\r\n if (this.entity.commands?.create) {\r\n this.submitLoading.set(true);\r\n const record = await this.entity.commands.create(this.loader.data);\r\n if (record) {\r\n this.submitLoading.set(false);\r\n this.close({ save: true, recordId: record.id, redirect: true });\r\n }\r\n }\r\n }\r\n }\r\n\r\n protected async handleSaveAndNewClick(form: AXFormComponent) {\r\n const formResult = await form.validate();\r\n if (formResult.result) {\r\n if (this.entity.commands?.create) {\r\n this.submitLoading.set(true);\r\n const record = await this.entity.commands.create(this.loader.data);\r\n if (record) {\r\n this.submitLoading.set(false);\r\n this.close({ save: true, recordId: record.id, redirect: false });\r\n }\r\n }\r\n this.workflow.execute('create-entity', {\r\n payload: {\r\n module: this.loader.entity.module,\r\n entity: this.loader.entity.name,\r\n },\r\n });\r\n }\r\n }\r\n}\r\n","<div class=\"ax-min-h-[25vh]\">\r\n @if((loader.hasSections$ | async)) {\r\n <ol\r\n class=\"ax-flex ax-items-center ax-w-full ax-space-x-2 ax-text-sm ax-font-medium ax-text-center ax-text-gray-500 ax-bg-white dark:ax-text-gray-400 sm:ax-text-base ax-p-4 sm:ax-space-x-4 rtl:ax-space-x-reverse ax-sticky ax-top-0 ax-z-10\"\r\n [axpSticky]=\"'ax-bg-surface ax-drop-shadow-lg'\" [stickyParent]=\"'.ax-popup-body-container'\">\r\n @for(section of (loader.sections$ | async); track section.name;let index = $index;let last = $last;let count=\r\n $count) {\r\n <li class=\"ax-flex ax-items-center\">\r\n <span\r\n class=\"ax-flex ax-items-center ax-justify-center ax-w-5 ax-h-5 ax-me-2 ax-text-xs ax-text-white ax-bg-neutral-500 ax-rounded-full ax-shrink-0\"\r\n [class.!ax-bg-primary-500]=\"(loader.section$ | async) == section\"\r\n [class.!ax-bg-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\">\r\n {{ index + 1 }}\r\n </span>\r\n <p class=\"ax-font-normal\" [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\r\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\r\n [class.!ax-font-semibold]=\"(loader.section$ | async) == section\">\r\n {{ section.title }}\r\n </p>\r\n\r\n <i *ngIf=\"!last\" [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\r\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\r\n class=\"ax-text-xs ax-text-neutral-500 fa-solid fa-chevrons-right ax-ms-2 sm:ax-ms-4 rtl:ax-rotate-180\"></i>\r\n </li>\r\n }\r\n </ol>\r\n }\r\n\r\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\r\n @for(section of (loader.section$ | async)?.sections; track section.name;) {\r\n <div class=\"ax-flex ax-flex-col ax-pb-4\">\r\n @if(((loader.section$ | async)?.sections?.length ?? 0) > 1) {\r\n <div class=\"ax-pb-4\">\r\n <span class=\"ax-font-bold ax-text-2xl\">{{ section.title }}</span>\r\n @if(section.description) {\r\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description }}</p>\r\n }\r\n </div>\r\n }\r\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4 ax-py-2 first:ax-pt-0 last:ax-pb-0\">\r\n @for(name of section.properties; track name) {\r\n <ng-container *ngIf=\"loader.getProp(name) as prop\">\r\n <!-- lg:ax-col-span-6 -->\r\n <!-- lg:ax-col-start-1 -->\r\n <ax-form-field class=\"ax-col-span-12 ax-col-start-1 lg:ax-col-span-{{\r\n prop.layout?.positions?.default?.span || 12\r\n }} lg:ax-col-start-{{ prop.layout?.positions?.default?.start || 1 }} ax-flex ax-flex-col\">\r\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"loader.isRequired(name)\">{{ prop.title\r\n }}</ax-label>\r\n <axp-widget-renderer [schema]=\"prop.schema\" [prop]=\"prop\" [mode]=\"'edit'\"\r\n [context]=\"loader.data\"></axp-widget-renderer>\r\n </ax-form-field>\r\n </ng-container>\r\n }\r\n </div>\r\n </div>\r\n }\r\n </ax-form>\r\n <ax-footer>\r\n <ax-prefix> </ax-prefix>\r\n <ax-suffix>\r\n @if((loader.hasSections$| async) && !(loader.isFirst$| async)) {\r\n <ax-button look=\"solid\" color=\"ghost\" text=\"Back\" (onClick)=\"handleBackClick()\"> </ax-button>\r\n } @else {\r\n <ax-button look=\"solid\" color=\"ghost\" text=\"Cancel\" (onClick)=\"handleCloseClick()\"> </ax-button>\r\n } @if((loader.isLast$ | async)) {\r\n <ax-dropdown-button [disabled]=\"submitLoading()\" color=\"primary\" text=\"Save\" look=\"solid\"\r\n (onClick)=\"handleSaveClick(form)\">\r\n <ax-loading *ngIf=\"submitLoading()\"></ax-loading>\r\n <ax-button-item-list>\r\n <ax-button-item text=\"Save & Create New\" (onClick)=\"handleSaveAndNewClick(form)\"> </ax-button-item>\r\n </ax-button-item-list>\r\n </ax-dropdown-button>\r\n\r\n } @else {\r\n <ax-button look=\"solid\" color=\"primary\" text=\"Continue\" (onClick)=\"handleNextClick(form)\"> </ax-button>\r\n }\r\n </ax-suffix>\r\n </ax-footer>\r\n</div>"],"names":["i3","i4","i6","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;AAxBrE,IAAA,WAAA,GAAA;;AA2BY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AACtC,QAAA,IAAA,CAAA,aAAa,GAA4B,MAAM,CAAC,KAAK,CAAC,CAAC;AAkDlE,KAAA;IAhDW,gBAAgB,GAAA;QACxB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;AAES,IAAA,MAAM,eAAe,GAAA;AAC7B,QAAA,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KAC1B;IAES,MAAM,eAAe,CAAC,IAAqB,EAAA;AACnD,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzC,QAAA,IAAI,UAAU,CAAC,MAAM,EAAE;AACrB,YAAA,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;SAC1B;KACF;IAES,MAAM,eAAe,CAAC,IAAqB,EAAA;AACnD,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzC,QAAA,IAAI,UAAU,CA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,CAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA;;gBAEtB,kBAAkB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,cAAA,EAAA,cAAA,EAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKT,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAxBxC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;wBACZ,iBAAiB;wBACjB,YAAY;wBACZ,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,kBAAkB;wBAClB,aAAa;wBACb,gBAAgB;wBAChB,sBAAsB;;wBAEtB,kBAAkB;AACnB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0tIAAA,EAAA,CAAA;;;;;"}
|
package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs","sources":["../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.ts","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXDialogModule } from '@acorex/components/dialog';\r\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\r\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\r\nimport { AXLabelModule } from '@acorex/components/label';\r\nimport { AXLoadingModule } from '@acorex/components/loading';\r\nimport { AXBasePageComponent } from '@acorex/components/page';\r\nimport { AXTabsModule } from '@acorex/components/tabs';\r\nimport { AXTooltipModule } from '@acorex/components/tooltip';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, WritableSignal, inject, signal } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { AXValidationModule } from '@acorex/core/validation';\r\n\r\nimport { AXDropdownModule } from '@acorex/components/dropdown';\r\nimport { AXPGridLayoutDirective, AXPStickyDirective } from '@acorex/platform/common';\r\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\r\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\r\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\r\nimport { AXPEntityMasterCreateViewModel } from '@acorex/platform/layout/entity';\r\n\r\n@Component({\r\n templateUrl: './entity-master-create-view.component.html',\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n AXFormModule,\r\n AXDecoratorModule,\r\n CommonModule,\r\n AXButtonModule,\r\n AXDialogModule,\r\n AXLoadingModule,\r\n AXTabsModule,\r\n AXTooltipModule,\r\n AXValidationModule,\r\n AXLabelModule,\r\n AXDropdownModule,\r\n AXDropdownButtonModule,\r\n //\r\n AXPLayoutBuilderModule,\r\n AXPWidgetsModule,\r\n AXPStickyDirective,\r\n AXPGridLayoutDirective\r\n ],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXPEntityMasterCreateViewComponent extends AXBasePageComponent {\r\n protected vm!: AXPEntityMasterCreateViewModel;\r\n\r\n protected workflow = inject(AXPWorkflowService);\r\n\r\n protected handleCloseClick() {\r\n this.close();\r\n }\r\n\r\n protected async handleBackClick() {\r\n //await this.vm.executeCommand('back');\r\n }\r\n\r\n protected async handleNextClick(form: AXFormComponent) {\r\n // const formResult = await form.validate();\r\n // if (formResult.result) {\r\n // await this.vm.executeCommand('next');\r\n // }\r\n }\r\n\r\n protected async handleSaveClick(form: AXFormComponent) {\r\n const formResult = await form.validate();\r\n if (formResult.result) {\r\n const record = await this.vm.save();\r\n this.close({ save: true, recordId: record.id, redirect: true });\r\n }\r\n }\r\n\r\n protected async handleSaveAndNewClick(form: AXFormComponent) {\r\n const formResult = await form.validate();\r\n if (formResult.result) {\r\n const record = await this.vm.save();\r\n this.close({ save: true, recordId: record.id, redirect: false });\r\n await this.vm.createNewOne();\r\n }\r\n }\r\n\r\n protected async handleContextChange(data: any) {\r\n this.vm.context.set(data);\r\n }\r\n}\r\n","<div>\r\n <axp-widgets-container [context]=\"vm.context()\" (contextChange)=\"handleContextChange($event)\">\r\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4 ax-pb-8\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\r\n <!-- Begin Sections -->\r\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\r\n @for(section of vm.sections(); track section.name()) {\r\n <div class=\"ax-col-span-12\">\r\n <ax-form #form>\r\n <div class=\"ax-pb-4\">\r\n <span class=\"ax-font-bold ax-text-xl\">{{ section.title() }}</span>\r\n @if(section.description()) {\r\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description() }}</p>\r\n }\r\n </div>\r\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\r\n @for(attr of section.elements(); track $index) {\r\n <ax-form-field class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\r\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"attr.isRequired()\">{{ attr.title()\r\n }}</ax-label>\r\n <axp-widget-renderer [node]=\"attr.node()\"> </axp-widget-renderer>\r\n </ax-form-field>\r\n }\r\n </div>\r\n\r\n </ax-form>\r\n </div>\r\n }\r\n </div>\r\n <!-- Finish Sections -->\r\n </ax-form>\r\n </axp-widgets-container>\r\n <ax-footer>\r\n <ax-suffix>\r\n <ax-button look=\"solid\" color=\"ghost\" text=\"Cancel\" (onClick)=\"handleCloseClick()\"> </ax-button>\r\n <ax-dropdown-button [disabled]=\"vm.isInProgress()\" color=\"primary\" text=\"Save\" look=\"solid\"\r\n (onClick)=\"handleSaveClick(form)\">\r\n <ax-loading *ngIf=\"vm.isInProgress()\"></ax-loading>\r\n <ax-button-item-list>\r\n <ax-button-item text=\"Save & Create New\" (onClick)=\"handleSaveAndNewClick(form)\"> </ax-button-item>\r\n </ax-button-item-list>\r\n </ax-dropdown-button>\r\n </ax-suffix>\r\n </ax-footer>\r\n</div>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDM,MAAO,kCAAmC,SAAQ,mBAAmB,CAAA;AA1B3E,IAAA,WAAA,GAAA;;AA6BY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAqCjD,KAAA;IAnCW,gBAAgB,GAAA;QACxB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;AAES,IAAA,MAAM,eAAe,GAAA;;KAE9B;IAES,MAAM,eAAe,CAAC,IAAqB,EAAA;;;;;KAKpD;IAES,MAAM,eAAe,CAAC,IAAqB,EAAA;AACnD,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzC,QAAA,IAAI,UAAU,CAAC,MAAM,EAAE;YACrB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;AACpC,YAAA,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;SACjE;KACF;IAES,MAAM,qBAAqB,CAAC,IAAqB,EA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