@acorex/platform 19.1.6 → 19.1.8
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/auth/lib/permission/index.d.ts +4 -3
- package/auth/lib/permission/permission.service.d.ts +18 -0
- package/auth/lib/permission/permission.types.d.ts +5 -0
- package/common/index.d.ts +3 -2
- package/common/lib/app/application.types.d.ts +16 -4
- package/common/lib/common.module.d.ts +6 -7
- package/common/lib/layout/menu/index.d.ts +4 -2
- package/common/lib/layout/menu/menu.types.d.ts +2 -2
- package/common/lib/layout/menu/search-definition.provider.d.ts +4 -0
- package/common/lib/layout/menu/search.provider.d.ts +20 -0
- package/common/lib/search/index.d.ts +5 -0
- package/common/lib/search/search-definition.builder.d.ts +23 -0
- package/common/lib/search/search-definition.provider.d.ts +18 -0
- package/common/lib/search/search.provider.d.ts +8 -0
- package/common/lib/search/search.service.d.ts +12 -0
- package/common/lib/search/search.types.d.ts +42 -0
- package/common/lib/settings/search-definition.provider.d.ts +4 -0
- package/common/lib/settings/search.provider.d.ts +10 -0
- package/common/lib/store/common.actions.d.ts +0 -12
- package/common/lib/store/index.d.ts +0 -1
- package/common/lib/workflows/index.d.ts +1 -0
- package/common/lib/workflows/navigate.workflow.d.ts +9 -0
- package/core/lib/types.d.ts +19 -0
- package/fesm2022/acorex-platform-auth.mjs +78 -43
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +1452 -2235
- 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 +1 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +106 -10
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-search.mjs +196 -0
- package/fesm2022/acorex-platform-layout-search.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-setting.mjs +21 -20
- package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-K9B_-q_K.mjs → acorex-platform-themes-default-entity-master-create-view.component-DpWOMxW9.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-K9B_-q_K.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-DpWOMxW9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CtpkzjOm.mjs → acorex-platform-themes-default-entity-master-list-view.component-BUL6ti4U.mjs} +12 -12
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CtpkzjOm.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-BUL6ti4U.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Cd2gxLZt.mjs → acorex-platform-themes-default-entity-master-modify-view.component-C1kGZwYp.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Cd2gxLZt.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-C1kGZwYp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-6sZdw013.mjs → acorex-platform-themes-default-entity-master-single-view.component-CAgt5S3B.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-6sZdw013.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-CAgt5S3B.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BiKt6Mvr.mjs +84 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BiKt6Mvr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-BYpCgHZb.mjs → acorex-platform-themes-default-setting-page.component-BXwdFLy4.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-BYpCgHZb.mjs.map → acorex-platform-themes-default-setting-page.component-BXwdFLy4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-CdmIphX1.mjs → acorex-platform-themes-default-setting-view.component-BXsmvaIi.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-CdmIphX1.mjs.map → acorex-platform-themes-default-setting-view.component-BXsmvaIi.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +28 -15
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +379 -115
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget-map.d.ts +1 -0
- package/layout/entity/lib/entity-registery.service.d.ts +16 -0
- package/layout/entity/lib/entity.config.d.ts +2 -2
- package/layout/entity/lib/entity.module.d.ts +3 -0
- package/layout/entity/lib/search-definition.provider.d.ts +6 -0
- package/layout/entity/lib/search.provider.d.ts +4 -0
- package/layout/search/README.md +3 -0
- package/layout/search/index.d.ts +1 -0
- package/layout/search/lib/index.d.ts +3 -0
- package/layout/search/lib/search-slot.component.d.ts +9 -0
- package/layout/search/lib/search.config.d.ts +5 -0
- package/layout/search/lib/search.module.d.ts +11 -0
- package/layout/search/lib/search.viewmodel.d.ts +17 -0
- package/layout/search/lib/workflows/search.workflow.d.ts +11 -0
- package/layout/setting/lib/setting.viewmodel.d.ts +1 -1
- package/package.json +19 -15
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +13 -0
- package/themes/shared/index.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-list.component.d.ts +1 -1
- package/themes/shared/lib/components/{theme-slot.component.d.ts → slots/theme-slot.component.d.ts} +7 -7
- package/widgets/lib/properties/layout.props.d.ts +1 -0
- package/widgets/lib/widgets/index.d.ts +1 -0
- package/widgets/lib/widgets/layout/block/block-widget-designer.component.d.ts +0 -1
- package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +3 -1
- package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts +6 -4
- package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget-editor.component.d.ts +39 -0
- package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget.type.d.ts +19 -0
- package/widgets/lib/widgets/property-editors/grid-options/index.d.ts +3 -0
- package/widgets/lib/widgets/property-editors/property-editor-helper.d.ts +21 -5
- package/common/lib/schema/component-loader.d.ts +0 -24
- package/common/lib/schema/entity/entity-registery.service.d.ts +0 -34
- package/common/lib/schema/entity/entity.class.d.ts +0 -161
- package/common/lib/schema/entity/entity.loader.d.ts +0 -9
- package/common/lib/schema/entity/index.d.ts +0 -3
- package/common/lib/schema/formats.d.ts +0 -8
- package/common/lib/schema/index.d.ts +0 -8
- package/common/lib/schema/schema-registery.service.d.ts +0 -20
- package/common/lib/schema/schema.module.d.ts +0 -12
- package/common/lib/schema/schema.types.d.ts +0 -16
- package/common/lib/schema/widget/index.d.ts +0 -5
- package/common/lib/schema/widget/widget-base.d.ts +0 -45
- package/common/lib/schema/widget/widget-column-renderer.d.ts +0 -34
- package/common/lib/schema/widget/widget-filter-renderer.d.ts +0 -30
- package/common/lib/schema/widget/widget-renderer.d.ts +0 -27
- package/common/lib/schema/widget/widget-token.d.ts +0 -16
- package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
- package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
- package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
- package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
- package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
- package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -18
- package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -12
- package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -12
- package/common/lib/schema/widgets/common-widgets.module.d.ts +0 -32
- package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
- package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -24
- package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -19
- package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
- package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +0 -16
- package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +0 -26
- package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +0 -16
- package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +0 -8
- package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +0 -17
- package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +0 -6
- package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +0 -17
- package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
- package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
- package/common/lib/schema/widgets/gallery/gallery-widget-types.d.ts +0 -10
- package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
- package/common/lib/schema/widgets/index.d.ts +0 -1
- package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +0 -17
- package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +0 -18
- package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +0 -17
- package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +0 -18
- package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +0 -15
- package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +0 -17
- package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
- package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
- package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
- package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +0 -7
- package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +0 -8
- package/common/lib/schema/widgets/password/change-password.component.d.ts +0 -16
- package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +0 -14
- package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +0 -6
- package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +0 -18
- package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +0 -15
- package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +0 -29
- package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +0 -18
- package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
- package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
- package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
- package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
- package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
- package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
- package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
- package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +0 -6
- package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +0 -12
- package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +0 -21
- package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +0 -11
- package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
- package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
- package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
- package/common/lib/store/common.effects.d.ts +0 -13
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs +0 -166
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs +0 -64
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs +0 -155
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-change-password.component-DFoC5nP2.mjs +0 -176
- package/fesm2022/acorex-platform-common-change-password.component-DFoC5nP2.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs +0 -55
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs +0 -24
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs +0 -49
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs +0 -46
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs +0 -178
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs +0 -286
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs +0 -73
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs +0 -75
- package/fesm2022/acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs +0 -249
- package/fesm2022/acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-email-widget-view.component-dMByK5bc.mjs +0 -109
- package/fesm2022/acorex-platform-common-email-widget-view.component-dMByK5bc.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs +0 -29
- package/fesm2022/acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs +0 -202
- package/fesm2022/acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs +0 -29
- package/fesm2022/acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-file-widget-view.component-T3r6musY.mjs +0 -155
- package/fesm2022/acorex-platform-common-file-widget-view.component-T3r6musY.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs +0 -191
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs +0 -29
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs +0 -175
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs +0 -38
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs +0 -45
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs +0 -96
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs +0 -161
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs +0 -56
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs +0 -94
- package/fesm2022/acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs +0 -66
- package/fesm2022/acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs +0 -73
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs +0 -138
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs +0 -133
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs +0 -48
- package/fesm2022/acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-filter.component-womVAhSr.mjs +0 -137
- package/fesm2022/acorex-platform-common-number-widget-filter.component-womVAhSr.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs +0 -33
- package/fesm2022/acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs +0 -68
- package/fesm2022/acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs +0 -43
- package/fesm2022/acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs +0 -110
- package/fesm2022/acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs +0 -93
- package/fesm2022/acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs +0 -249
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs +0 -124
- package/fesm2022/acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs +0 -63
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CJZJzh1K.mjs +0 -69
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CJZJzh1K.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs +0 -37
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs +0 -47
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs +0 -55
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs +0 -47
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs +0 -47
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs +0 -130
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs +0 -43
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs +0 -127
- package/fesm2022/acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs +0 -49
- package/fesm2022/acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs +0 -162
- package/fesm2022/acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-text-widget-view.component-BH0LTD80.mjs +0 -69
- package/fesm2022/acorex-platform-common-text-widget-view.component-BH0LTD80.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs +0 -59
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs +0 -27
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs.map +0 -1
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs +0 -51
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs.map +0 -1
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import * as i1$1 from '@acorex/components/badge';
|
|
2
|
-
import { AXBadgeModule } from '@acorex/components/badge';
|
|
3
|
-
import { AXPWidgetBase, AXPClipBoardService } from './acorex-platform-common.mjs';
|
|
4
|
-
import * as i1 from '@angular/common';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i0 from '@angular/core';
|
|
7
|
-
import { inject, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
8
|
-
|
|
9
|
-
class AXPMessengerWidgetViewComponent extends AXPWidgetBase {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.clipboard = inject(AXPClipBoardService);
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
const rawValue = this.rawValue;
|
|
16
|
-
if (rawValue == null)
|
|
17
|
-
return;
|
|
18
|
-
this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];
|
|
19
|
-
}
|
|
20
|
-
extractItem(item) {
|
|
21
|
-
return typeof item == 'object'
|
|
22
|
-
? {
|
|
23
|
-
value: item.value ?? '-',
|
|
24
|
-
label: item.label ?? 'Telegram',
|
|
25
|
-
}
|
|
26
|
-
: {
|
|
27
|
-
value: item,
|
|
28
|
-
label: 'Telegram',
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
generateLink(label, value) {
|
|
32
|
-
const labelLowerCase = label.toLowerCase();
|
|
33
|
-
switch (labelLowerCase) {
|
|
34
|
-
case 'telegram':
|
|
35
|
-
return `https://t.me/${value}`;
|
|
36
|
-
case 'whatsapp':
|
|
37
|
-
return `https://wa.me/${value}`;
|
|
38
|
-
default:
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
generateBadgeColor(label) {
|
|
43
|
-
const labelLowerCase = label.toLowerCase();
|
|
44
|
-
switch (labelLowerCase) {
|
|
45
|
-
case 'telegram':
|
|
46
|
-
return 'primary';
|
|
47
|
-
case 'whatsapp':
|
|
48
|
-
return 'success';
|
|
49
|
-
default:
|
|
50
|
-
return 'primary';
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMessengerWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPMessengerWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
|
|
55
|
-
<ng-container *ngIf="multiple">
|
|
56
|
-
@for(item of list;track item?.value) {
|
|
57
|
-
<ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }"></ng-template>
|
|
58
|
-
}
|
|
59
|
-
</ng-container>
|
|
60
|
-
<ng-container *ngIf="!multiple">
|
|
61
|
-
<ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: list[0] }"></ng-template>
|
|
62
|
-
</ng-container>
|
|
63
|
-
<ng-template #itemTemplate let-item="data">
|
|
64
|
-
<ng-container *ngIf="item">
|
|
65
|
-
<div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
66
|
-
<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-w-max">
|
|
67
|
-
<div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
|
|
68
|
-
<i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
|
|
69
|
-
</div>
|
|
70
|
-
<a
|
|
71
|
-
class="hover:ax-text-primary-500 ax-cursor-pointer"
|
|
72
|
-
target="_blank"
|
|
73
|
-
[href]="generateLink(item.label, item.value)"
|
|
74
|
-
>{{ item.value }}</a
|
|
75
|
-
>
|
|
76
|
-
<span
|
|
77
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
78
|
-
(click)="clipboard.copy('Messenger Id ', item.value)"
|
|
79
|
-
>
|
|
80
|
-
<i class="fa-solid fa-copy "></i>
|
|
81
|
-
</span>
|
|
82
|
-
<ax-badge [color]="generateBadgeColor(item.label)" [look]="'twotone'" [text]="item.label"></ax-badge>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</ng-container>
|
|
86
|
-
</ng-template>
|
|
87
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
88
|
-
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMessengerWidgetViewComponent, decorators: [{
|
|
90
|
-
type: Component,
|
|
91
|
-
args: [{
|
|
92
|
-
template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
|
|
93
|
-
<ng-container *ngIf="multiple">
|
|
94
|
-
@for(item of list;track item?.value) {
|
|
95
|
-
<ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }"></ng-template>
|
|
96
|
-
}
|
|
97
|
-
</ng-container>
|
|
98
|
-
<ng-container *ngIf="!multiple">
|
|
99
|
-
<ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: list[0] }"></ng-template>
|
|
100
|
-
</ng-container>
|
|
101
|
-
<ng-template #itemTemplate let-item="data">
|
|
102
|
-
<ng-container *ngIf="item">
|
|
103
|
-
<div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
104
|
-
<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-w-max">
|
|
105
|
-
<div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
|
|
106
|
-
<i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
|
|
107
|
-
</div>
|
|
108
|
-
<a
|
|
109
|
-
class="hover:ax-text-primary-500 ax-cursor-pointer"
|
|
110
|
-
target="_blank"
|
|
111
|
-
[href]="generateLink(item.label, item.value)"
|
|
112
|
-
>{{ item.value }}</a
|
|
113
|
-
>
|
|
114
|
-
<span
|
|
115
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
116
|
-
(click)="clipboard.copy('Messenger Id ', item.value)"
|
|
117
|
-
>
|
|
118
|
-
<i class="fa-solid fa-copy "></i>
|
|
119
|
-
</span>
|
|
120
|
-
<ax-badge [color]="generateBadgeColor(item.label)" [look]="'twotone'" [text]="item.label"></ax-badge>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</ng-container>
|
|
124
|
-
</ng-template>
|
|
125
|
-
</div>`,
|
|
126
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
127
|
-
imports: [CommonModule, AXBadgeModule],
|
|
128
|
-
inputs: ['context', 'multiple']
|
|
129
|
-
}]
|
|
130
|
-
}] });
|
|
131
|
-
|
|
132
|
-
export { AXPMessengerWidgetViewComponent };
|
|
133
|
-
//# sourceMappingURL=acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/messenger/messenger-widget-view.component.ts"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { AXPClipBoardService } from '../../../utils';\n@Component({\n template: `<div class=\"ax-grid ax-grid-cols-12 ax-gap-2 \">\n <ng-container *ngIf=\"multiple\">\n @for(item of list;track item?.value) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: item }\"></ng-template>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: list[0] }\"></ng-template>\n </ng-container>\n <ng-template #itemTemplate let-item=\"data\">\n <ng-container *ngIf=\"item\">\n <div class=\"ax-col-start-1 ax-col-end-10 lg:ax-col-end-7\">\n <div class=\"ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-w-max\">\n <div class=\"ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center\">\n <i class=\"fa-solid ax-text-neutral-400 fa-envelope\"></i>\n </div>\n <a\n class=\"hover:ax-text-primary-500 ax-cursor-pointer\"\n target=\"_blank\"\n [href]=\"generateLink(item.label, item.value)\"\n >{{ item.value }}</a\n >\n <span\n class=\"ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500\"\n (click)=\"clipboard.copy('Messenger Id ', item.value)\"\n >\n <i class=\"fa-solid fa-copy \"></i>\n </span>\n <ax-badge [color]=\"generateBadgeColor(item.label)\" [look]=\"'twotone'\" [text]=\"item.label\"></ax-badge>\n </div>\n </div>\n </ng-container>\n </ng-template>\n </div>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXBadgeModule],\n inputs: ['context', 'multiple']\n})\nexport class AXPMessengerWidgetViewComponent extends AXPWidgetBase {\n protected clipboard = inject(AXPClipBoardService);\n protected list!: { value: string; label: string }[];\n protected multiple!: boolean;\n\n protected override render(): void {\n const rawValue = this.rawValue;\n if (rawValue == null) return;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n label: item.label ?? 'Telegram',\n }\n : {\n value: item,\n label: 'Telegram',\n };\n }\n\n protected generateLink(label: string, value: string): string {\n const labelLowerCase = label.toLowerCase();\n switch (labelLowerCase) {\n case 'telegram':\n return `https://t.me/${value}`;\n case 'whatsapp':\n return `https://wa.me/${value}`;\n default:\n return value;\n }\n }\n protected generateBadgeColor(label: string): string {\n const labelLowerCase = label.toLowerCase();\n switch (labelLowerCase) {\n case 'telegram':\n return 'primary';\n case 'whatsapp':\n return 'success';\n default:\n return 'primary';\n }\n }\n}\n"],"names":["i2"],"mappings":";;;;;;;;AA4CM,MAAO,+BAAgC,SAAQ,aAAa,CAAA;AAvClE,IAAA,WAAA,GAAA;;AAwCY,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;AA4ClD;IAxCoB,MAAM,GAAA;AACvB,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ;QAC9B,IAAI,QAAQ,IAAI,IAAI;YAAE;AACtB,QAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,WA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,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAiCL,EAEK,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,ySAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,IAAA,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;;2FAG5B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAvC3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCL,QAAA,CAAA;oBACL,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;AACtC,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU;AACjC,iBAAA;;;;;"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as i5 from '@acorex/components/decorators';
|
|
2
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
3
|
-
import * as i3 from '@acorex/components/form';
|
|
4
|
-
import { AXFormModule } from '@acorex/components/form';
|
|
5
|
-
import * as i1$1 from '@acorex/components/number-box';
|
|
6
|
-
import { AXNumberBoxModule } from '@acorex/components/number-box';
|
|
7
|
-
import { AXPWidgetEditBase } from './acorex-platform-common.mjs';
|
|
8
|
-
import * as i1 from '@angular/common';
|
|
9
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
-
import * as i0 from '@angular/core';
|
|
11
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
12
|
-
import * as i2 from '@angular/forms';
|
|
13
|
-
import { FormsModule } from '@angular/forms';
|
|
14
|
-
|
|
15
|
-
class AXPNumberWidgetEditComponent extends AXPWidgetEditBase {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.clearButton = true;
|
|
19
|
-
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPNumberWidgetEditComponent, isStandalone: true, selector: "axp-number-widget-edit", usesInheritance: true, ngImport: i0, template: `
|
|
22
|
-
<ax-number-box [(ngModel)]="value" >
|
|
23
|
-
@for(vl of validations;track $index) {
|
|
24
|
-
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
25
|
-
}
|
|
26
|
-
<ax-clear-button *ngIf="clearButton"></ax-clear-button>
|
|
27
|
-
</ax-number-box>
|
|
28
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$1.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetEditComponent, decorators: [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: 'axp-number-widget-edit',
|
|
34
|
-
template: `
|
|
35
|
-
<ax-number-box [(ngModel)]="value" >
|
|
36
|
-
@for(vl of validations;track $index) {
|
|
37
|
-
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
38
|
-
}
|
|
39
|
-
<ax-clear-button *ngIf="clearButton"></ax-clear-button>
|
|
40
|
-
</ax-number-box>
|
|
41
|
-
`,
|
|
42
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
-
imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule]
|
|
44
|
-
}]
|
|
45
|
-
}] });
|
|
46
|
-
|
|
47
|
-
export { AXPNumberWidgetEditComponent };
|
|
48
|
-
//# sourceMappingURL=acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/number/number-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-number-widget-edit',\n template: `\n <ax-number-box [(ngModel)]=\"value\" >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n <ax-clear-button *ngIf=\"clearButton\"></ax-clear-button>\n </ax-number-box>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule]\n})\nexport class AXPNumberWidgetEditComponent extends AXPWidgetEditBase {\n clearButton: boolean = true;\n}"],"names":["i2","i3","i5"],"mappings":";;;;;;;;;;;;;;AAqBM,MAAO,4BAA6B,SAAQ,iBAAiB,CAAA;AAbnE,IAAA,WAAA,GAAA;;QAcI,IAAW,CAAA,WAAA,GAAY,IAAI;AAC9B;8GAFY,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAX3B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;;;KAOT,EAES,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,EA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QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE;;;;;;;AAOT,IAAA,CAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY;AAC1F,iBAAA;;;;;"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import * as i2$1 from '@acorex/components/button';
|
|
2
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
-
import * as i5 from '@acorex/components/decorators';
|
|
4
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
5
|
-
import * as i1 from '@acorex/components/number-box';
|
|
6
|
-
import { AXNumberBoxModule } from '@acorex/components/number-box';
|
|
7
|
-
import * as i4 from '@acorex/components/popover';
|
|
8
|
-
import { AXPopoverModule } from '@acorex/components/popover';
|
|
9
|
-
import * as i5$1 from '@acorex/components/selection-list';
|
|
10
|
-
import { AXSelectionListModule } from '@acorex/components/selection-list';
|
|
11
|
-
import * as i0 from '@angular/core';
|
|
12
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
13
|
-
import * as i2 from '@angular/forms';
|
|
14
|
-
import { FormsModule } from '@angular/forms';
|
|
15
|
-
import { AXPWidgetFilterBase } from './acorex-platform-common.mjs';
|
|
16
|
-
|
|
17
|
-
class AXPNumberWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments);
|
|
20
|
-
this.operations = [];
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
this.operations = this.schema.filterOptions.operators;
|
|
24
|
-
}
|
|
25
|
-
getOperatorHasValue() {
|
|
26
|
-
const operator = this.operations.find((op) => op.name == this.operator);
|
|
27
|
-
return !operator || operator.hasValue ? true : false;
|
|
28
|
-
}
|
|
29
|
-
ngOnInit() {
|
|
30
|
-
this.updateValueOnOperatorChange();
|
|
31
|
-
}
|
|
32
|
-
updateValueOnOperatorChange() {
|
|
33
|
-
if (!this.getOperatorHasValue()) {
|
|
34
|
-
this.value = null;
|
|
35
|
-
}
|
|
36
|
-
if (this.operator === 'between')
|
|
37
|
-
this.value = { from: this.value?.from || 0, to: this.value?.to || 0 };
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPNumberWidgetFilterComponent, isStandalone: true, selector: "axp-number-widget-filter", usesInheritance: true, ngImport: i0, template: `
|
|
41
|
-
<div class="ax-flex ax-items-center">
|
|
42
|
-
@if(operator!=="between"){
|
|
43
|
-
<ax-number-box [disabled]="!this.getOperatorHasValue()" [(ngModel)]="value">
|
|
44
|
-
<ax-clear-button></ax-clear-button>
|
|
45
|
-
</ax-number-box>
|
|
46
|
-
}@else{
|
|
47
|
-
<div class="ax-flex ax-gap-3">
|
|
48
|
-
<ax-number-box placeholder="from" [(ngModel)]="value.from">
|
|
49
|
-
<ax-clear-button></ax-clear-button>
|
|
50
|
-
</ax-number-box>
|
|
51
|
-
<ax-number-box placeholder="to" [(ngModel)]="value.to">
|
|
52
|
-
<ax-clear-button></ax-clear-button>
|
|
53
|
-
</ax-number-box>
|
|
54
|
-
</div>
|
|
55
|
-
} @if(operations.length){
|
|
56
|
-
<ax-button #changeOperator look="blank" color="default" class="ax-sm">
|
|
57
|
-
<ax-icon class="fa-solid fa-ellipsis-vertical"></ax-icon>
|
|
58
|
-
</ax-button>
|
|
59
|
-
<ax-popover
|
|
60
|
-
#operatorsPopover
|
|
61
|
-
[target]="changeOperator"
|
|
62
|
-
[openOn]="'toggle'"
|
|
63
|
-
[closeOn]="'clickOut'"
|
|
64
|
-
[adaptivityEnabled]="true"
|
|
65
|
-
>
|
|
66
|
-
<div
|
|
67
|
-
class="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]"
|
|
68
|
-
>
|
|
69
|
-
<ax-selection-list
|
|
70
|
-
[valueField]="'name'"
|
|
71
|
-
[textField]="'title'"
|
|
72
|
-
[(ngModel)]="operator"
|
|
73
|
-
(ngModelChange)="operatorsPopover.close(); updateValueOnOperatorChange()"
|
|
74
|
-
[direction]="'vertical'"
|
|
75
|
-
[items]="operations"
|
|
76
|
-
[multiple]="false"
|
|
77
|
-
></ax-selection-list>
|
|
78
|
-
</div>
|
|
79
|
-
</ax-popover>
|
|
80
|
-
}
|
|
81
|
-
</div>
|
|
82
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i5.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i4.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i5$1.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.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 }); }
|
|
83
|
-
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetFilterComponent, decorators: [{
|
|
85
|
-
type: Component,
|
|
86
|
-
args: [{
|
|
87
|
-
selector: 'axp-number-widget-filter',
|
|
88
|
-
template: `
|
|
89
|
-
<div class="ax-flex ax-items-center">
|
|
90
|
-
@if(operator!=="between"){
|
|
91
|
-
<ax-number-box [disabled]="!this.getOperatorHasValue()" [(ngModel)]="value">
|
|
92
|
-
<ax-clear-button></ax-clear-button>
|
|
93
|
-
</ax-number-box>
|
|
94
|
-
}@else{
|
|
95
|
-
<div class="ax-flex ax-gap-3">
|
|
96
|
-
<ax-number-box placeholder="from" [(ngModel)]="value.from">
|
|
97
|
-
<ax-clear-button></ax-clear-button>
|
|
98
|
-
</ax-number-box>
|
|
99
|
-
<ax-number-box placeholder="to" [(ngModel)]="value.to">
|
|
100
|
-
<ax-clear-button></ax-clear-button>
|
|
101
|
-
</ax-number-box>
|
|
102
|
-
</div>
|
|
103
|
-
} @if(operations.length){
|
|
104
|
-
<ax-button #changeOperator look="blank" color="default" class="ax-sm">
|
|
105
|
-
<ax-icon class="fa-solid fa-ellipsis-vertical"></ax-icon>
|
|
106
|
-
</ax-button>
|
|
107
|
-
<ax-popover
|
|
108
|
-
#operatorsPopover
|
|
109
|
-
[target]="changeOperator"
|
|
110
|
-
[openOn]="'toggle'"
|
|
111
|
-
[closeOn]="'clickOut'"
|
|
112
|
-
[adaptivityEnabled]="true"
|
|
113
|
-
>
|
|
114
|
-
<div
|
|
115
|
-
class="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]"
|
|
116
|
-
>
|
|
117
|
-
<ax-selection-list
|
|
118
|
-
[valueField]="'name'"
|
|
119
|
-
[textField]="'title'"
|
|
120
|
-
[(ngModel)]="operator"
|
|
121
|
-
(ngModelChange)="operatorsPopover.close(); updateValueOnOperatorChange()"
|
|
122
|
-
[direction]="'vertical'"
|
|
123
|
-
[items]="operations"
|
|
124
|
-
[multiple]="false"
|
|
125
|
-
></ax-selection-list>
|
|
126
|
-
</div>
|
|
127
|
-
</ax-popover>
|
|
128
|
-
}
|
|
129
|
-
</div>
|
|
130
|
-
`,
|
|
131
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
132
|
-
imports: [AXNumberBoxModule, FormsModule, AXDecoratorModule, AXPopoverModule, AXSelectionListModule, AXButtonModule]
|
|
133
|
-
}]
|
|
134
|
-
}] });
|
|
135
|
-
|
|
136
|
-
export { AXPNumberWidgetFilterComponent };
|
|
137
|
-
//# sourceMappingURL=acorex-platform-common-number-widget-filter.component-womVAhSr.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-number-widget-filter.component-womVAhSr.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/common-widget-filter/number-widget-filter.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\nimport { AXPFilterOperator } from '../../../app';\n\n@Component({\n selector: 'axp-number-widget-filter',\n template: `\n <div class=\"ax-flex ax-items-center\">\n @if(operator!==\"between\"){\n <ax-number-box [disabled]=\"!this.getOperatorHasValue()\" [(ngModel)]=\"value\">\n <ax-clear-button></ax-clear-button>\n </ax-number-box>\n }@else{\n <div class=\"ax-flex ax-gap-3\">\n <ax-number-box placeholder=\"from\" [(ngModel)]=\"value.from\">\n <ax-clear-button></ax-clear-button>\n </ax-number-box>\n <ax-number-box placeholder=\"to\" [(ngModel)]=\"value.to\">\n <ax-clear-button></ax-clear-button>\n </ax-number-box>\n </div>\n } @if(operations.length){\n <ax-button #changeOperator look=\"blank\" color=\"default\" class=\"ax-sm\">\n <ax-icon class=\"fa-solid fa-ellipsis-vertical\"></ax-icon>\n </ax-button>\n <ax-popover\n #operatorsPopover\n [target]=\"changeOperator\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\"\n >\n <div\n class=\"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]\"\n >\n <ax-selection-list\n [valueField]=\"'name'\"\n [textField]=\"'title'\"\n [(ngModel)]=\"operator\"\n (ngModelChange)=\"operatorsPopover.close(); updateValueOnOperatorChange()\"\n [direction]=\"'vertical'\"\n [items]=\"operations\"\n [multiple]=\"false\"\n ></ax-selection-list>\n </div>\n </ax-popover>\n }\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXNumberBoxModule, FormsModule, AXDecoratorModule, AXPopoverModule, AXSelectionListModule, AXButtonModule]\n})\nexport class AXPNumberWidgetFilterComponent extends AXPWidgetFilterBase<any> {\n operations: AXPFilterOperator[] = [];\n\n override render(): void {\n this.operations = this.schema.filterOptions.operators;\n }\n\n protected getOperatorHasValue(): boolean {\n const operator = this.operations.find((op) => op.name == this.operator);\n return !operator || operator.hasValue ? true : false;\n }\n\n ngOnInit(): void {\n this.updateValueOnOperatorChange();\n }\n\n updateValueOnOperatorChange() {\n if (!this.getOperatorHasValue()) {\n this.value = null;\n }\n if (this.operator === 'between') this.value = { from: this.value?.from || 0, to: this.value?.to || 0 };\n }\n}\n"],"names":["i5","i6"],"mappings":";;;;;;;;;;;;;;;;AA0DM,MAAO,8BAA+B,SAAQ,mBAAwB,CAAA;AAhD5E,IAAA,WAAA,GAAA;;QAiDE,IAAU,CAAA,UAAA,GAAwB,EAAE;AAqBrC;IAnBU,MAAM,GAAA;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS;;IAG7C,mBAAmB,GAAA;QAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC;AACvE,QAAA,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,GAAG,IAAI,GAAG,KAAK;;IAGtD,QAAQ,GAAA;QACN,IAAI,CAAC,2BAA2B,EAAE;;IAGpC,2BAA2B,GAAA;AACzB,QAAA,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE;AAC/B,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;;AAEnB,QAAA,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS;YAAE,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,EAAE;;8GApB7F,8BAA8B,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AA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,YAAA,EAAA,UAAA,EAAA,MAAA,EAAA,cAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAE1G,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAhD1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CX,EAAA,CAAA;oBACC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,qBAAqB,EAAE,cAAc;AACtH,iBAAA;;;;;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AXPWidgetBase } from './acorex-platform-common.mjs';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
class AXPNumberWidgetViewComponent extends AXPWidgetBase {
|
|
6
|
-
render() {
|
|
7
|
-
const rawValue = this.rawValue;
|
|
8
|
-
if (rawValue == null)
|
|
9
|
-
return;
|
|
10
|
-
const value = new String(rawValue).toString();
|
|
11
|
-
if (this.formats?.default) {
|
|
12
|
-
this.text = this.formatService.format(value, 'number');
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
this.text = value;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPNumberWidgetViewComponent, isStandalone: true, selector: "ax-number-widget-view", inputs: { context: "context", value: "value", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `{{ text }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPNumberWidgetViewComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{
|
|
24
|
-
selector: 'ax-number-widget-view',
|
|
25
|
-
template: `{{ text }}`,
|
|
26
|
-
standalone: true,
|
|
27
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28
|
-
inputs: ['context', 'value', 'allowResizing'],
|
|
29
|
-
}]
|
|
30
|
-
}] });
|
|
31
|
-
|
|
32
|
-
export { AXPNumberWidgetViewComponent };
|
|
33
|
-
//# sourceMappingURL=acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/number/number-widget-view.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'ax-number-widget-view',\n template: `{{ text }}`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'allowResizing'],\n})\nexport class AXPNumberWidgetViewComponent extends AXPWidgetBase {\n protected text!: string;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) return;\n const value: string = new String(rawValue).toString();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
|
1
|
-
import { AXPWidgetBase, AXPClipBoardService } from './acorex-platform-common.mjs';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
class AXPPasswordWidgetColumnComponent extends AXPWidgetBase {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.clipboard = inject(AXPClipBoardService);
|
|
10
|
-
this.showPass = false;
|
|
11
|
-
}
|
|
12
|
-
toggleEye() {
|
|
13
|
-
this.showPass = !this.showPass;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
this.password = this.rawValue;
|
|
17
|
-
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPPasswordWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", hasEye: "hasEye", hasCopy: "hasCopy", width: "width", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
20
|
-
<span>{{ showPass ? password : '*******' }}</span>
|
|
21
|
-
@if(hasEye){
|
|
22
|
-
<span class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500" (click)="toggleEye()">
|
|
23
|
-
@if(!showPass){
|
|
24
|
-
<i class="fa-solid fa-eye"></i>
|
|
25
|
-
}@else {
|
|
26
|
-
<i class="fa-solid fa-eye-slash"></i>
|
|
27
|
-
}
|
|
28
|
-
</span>
|
|
29
|
-
} @if(hasCopy && hasEye){
|
|
30
|
-
<span
|
|
31
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
32
|
-
(click)="clipboard.copy('Password', password)"
|
|
33
|
-
>
|
|
34
|
-
<i class="fa-solid fa-copy "></i>
|
|
35
|
-
</span>
|
|
36
|
-
}
|
|
37
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetColumnComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
template: ` <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
43
|
-
<span>{{ showPass ? password : '*******' }}</span>
|
|
44
|
-
@if(hasEye){
|
|
45
|
-
<span class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500" (click)="toggleEye()">
|
|
46
|
-
@if(!showPass){
|
|
47
|
-
<i class="fa-solid fa-eye"></i>
|
|
48
|
-
}@else {
|
|
49
|
-
<i class="fa-solid fa-eye-slash"></i>
|
|
50
|
-
}
|
|
51
|
-
</span>
|
|
52
|
-
} @if(hasCopy && hasEye){
|
|
53
|
-
<span
|
|
54
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
55
|
-
(click)="clipboard.copy('Password', password)"
|
|
56
|
-
>
|
|
57
|
-
<i class="fa-solid fa-copy "></i>
|
|
58
|
-
</span>
|
|
59
|
-
}
|
|
60
|
-
</div>`,
|
|
61
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
62
|
-
imports: [CommonModule],
|
|
63
|
-
inputs: ['context', 'hasEye', 'hasCopy', 'width', 'allowResizing']
|
|
64
|
-
}]
|
|
65
|
-
}] });
|
|
66
|
-
|
|
67
|
-
export { AXPPasswordWidgetColumnComponent };
|
|
68
|
-
//# sourceMappingURL=acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/password/password-widget-column.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { AXPClipBoardService } from '../../../utils';\n@Component({\n template: ` <div class=\"ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-center ax-col-start-1 ax-col-end-10 lg:ax-col-end-7\">\n <span>{{ showPass ? password : '*******' }}</span>\n @if(hasEye){\n <span class=\"ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500\" (click)=\"toggleEye()\">\n @if(!showPass){\n <i class=\"fa-solid fa-eye\"></i>\n }@else {\n <i class=\"fa-solid fa-eye-slash\"></i>\n }\n </span>\n } @if(hasCopy && hasEye){\n <span\n class=\"ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500\"\n (click)=\"clipboard.copy('Password', password)\"\n >\n <i class=\"fa-solid fa-copy \"></i>\n </span>\n }\n </div>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule],\n inputs: ['context', 'hasEye', 'hasCopy', 'width', 'allowResizing']\n})\nexport class AXPPasswordWidgetColumnComponent extends AXPWidgetBase {\n protected clipboard = inject(AXPClipBoardService);\n\n hasCopy!: boolean;\n hasEye!: boolean;\n showPass: boolean = false;\n\n password!: string;\n\n protected toggleEye() {\n this.showPass = !this.showPass;\n }\n\n protected override render(): void {\n this.password = this.rawValue;\n }\n}\n"],"names":[],"mappings":";;;;;AA4BM,MAAO,gCAAi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,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe;AACpE,iBAAA;;;;;"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as i5 from '@acorex/components/decorators';
|
|
2
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
3
|
-
import * as i3 from '@acorex/components/form';
|
|
4
|
-
import { AXFormModule } from '@acorex/components/form';
|
|
5
|
-
import { AXLabelModule } from '@acorex/components/label';
|
|
6
|
-
import * as i3$1 from '@acorex/components/password-box';
|
|
7
|
-
import { AXPasswordBoxModule } from '@acorex/components/password-box';
|
|
8
|
-
import { AXPWidgetEditBase } from './acorex-platform-common.mjs';
|
|
9
|
-
import * as i0 from '@angular/core';
|
|
10
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
11
|
-
import * as i2 from '@angular/forms';
|
|
12
|
-
import { FormsModule } from '@angular/forms';
|
|
13
|
-
|
|
14
|
-
class AXPPasswordWidgetEditComponent extends AXPWidgetEditBase {
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPPasswordWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
17
|
-
<ax-password-box [(ngModel)]="this.value">
|
|
18
|
-
<ax-clear-button></ax-clear-button>
|
|
19
|
-
@for(vl of validations;track $index) {
|
|
20
|
-
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
21
|
-
}
|
|
22
|
-
</ax-password-box>
|
|
23
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "component", type: i3$1.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: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetEditComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
template: `
|
|
29
|
-
<ax-password-box [(ngModel)]="this.value">
|
|
30
|
-
<ax-clear-button></ax-clear-button>
|
|
31
|
-
@for(vl of validations;track $index) {
|
|
32
|
-
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
33
|
-
}
|
|
34
|
-
</ax-password-box>
|
|
35
|
-
`,
|
|
36
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
37
|
-
imports: [AXDecoratorModule, AXFormModule, AXLabelModule, AXPasswordBoxModule, FormsModule],
|
|
38
|
-
inputs: []
|
|
39
|
-
}]
|
|
40
|
-
}] });
|
|
41
|
-
|
|
42
|
-
export { AXPPasswordWidgetEditComponent };
|
|
43
|
-
//# sourceMappingURL=acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/password/password-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n@Component({\n template: `\n <ax-password-box [(ngModel)]=\"this.value\">\n <ax-clear-button></ax-clear-button>\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-password-box>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule, AXFormModule, AXLabelModule, AXPasswordBoxModule, FormsModule],\n inputs: []\n})\nexport class AXPPasswordWidgetEditComponent extends AXPWidgetEditBase { }\n"],"names":["i2","i4"],"mappings":";;;;;;;;;;;;;AAoBM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;8GAAxD,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAZ7B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;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