@acorex/platform 19.1.6 → 19.1.7
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/layout/menu/index.d.ts +4 -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 +4 -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/fesm2022/acorex-platform-auth.mjs +78 -43
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +1439 -2234
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +14 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-search.mjs +183 -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-Blpan821.mjs +62 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-Blpan821.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 +74 -85
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- 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 +13 -0
- package/layout/search/lib/workflows/search.workflow.d.ts +10 -0
- package/layout/setting/lib/setting.viewmodel.d.ts +1 -1
- package/package.json +12 -8
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +11 -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/widgets/layout/block/block-widget-designer.component.d.ts +0 -1
- package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts +6 -4
- package/widgets/lib/widgets/property-editors/property-editor-helper.d.ts +6 -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/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,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();\n if (this.formats?.default) {\n this.text = this.formatService.format(value, 'number');\n } else {\n this.text = value;\n }\n }\n}\n"],"names":[],"mappings":";;;;AAUM,MAAO,4BAA6B,SAAQ,aAAa,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|
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,gCAAiC,SAAQ,aAAa,CAAA;AAxBnE,IAAA,WAAA,GAAA;;AAyBY,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;QAIjD,I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AAE,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;;;;;;;GAOX,EAEW,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,8IAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,aAAa,EAAE,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,iaAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,OAAA,EAAA,QAAA,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;;2FAGjF,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAb1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE;;;;;;;AAOX,EAAA,CAAA;oBACC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,WAAW,CAAC;AAC3F,oBAAA,MAAM,EAAE;AACX,iBAAA;;;;;"}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import * as i2 from '@acorex/components/button';
|
|
2
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
-
import { AXPopupService } from '@acorex/components/popup';
|
|
4
|
-
import { AXPlatform } from '@acorex/core/platform';
|
|
5
|
-
import { AXPWidgetBase, AXPClipBoardService } from './acorex-platform-common.mjs';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i0 from '@angular/core';
|
|
8
|
-
import { inject, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
9
|
-
|
|
10
|
-
class AXPPasswordWidgetViewComponent extends AXPWidgetBase {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.clipboard = inject(AXPClipBoardService);
|
|
14
|
-
this.platform = inject(AXPlatform);
|
|
15
|
-
this.popopService = inject(AXPopupService);
|
|
16
|
-
this.showPass = false;
|
|
17
|
-
}
|
|
18
|
-
toggleEye() {
|
|
19
|
-
this.showPass = !this.showPass;
|
|
20
|
-
}
|
|
21
|
-
async openPasswordPopup() {
|
|
22
|
-
const compnent = await import('./acorex-platform-common-change-password.component-DFoC5nP2.mjs');
|
|
23
|
-
this.popopService.open(compnent.ChangePassword, {
|
|
24
|
-
title: 'Change Password',
|
|
25
|
-
draggable: true,
|
|
26
|
-
header: true,
|
|
27
|
-
size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
|
|
28
|
-
hasBackdrop: true,
|
|
29
|
-
closeButton: true,
|
|
30
|
-
closeOnBackdropClick: true,
|
|
31
|
-
data: {
|
|
32
|
-
password: this.password,
|
|
33
|
-
currentPass: this.currentPass,
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
this.password = this.rawValue;
|
|
39
|
-
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPPasswordWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { hasEye: "hasEye", hasCopy: "hasCopy", currentPass: "currentPass" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-justify-between ">
|
|
42
|
-
<div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
43
|
-
<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
|
|
44
|
-
<span>{{ showPass ? password : '*******' }}</span>
|
|
45
|
-
@if(hasEye){
|
|
46
|
-
<span
|
|
47
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
48
|
-
(click)="toggleEye()"
|
|
49
|
-
>
|
|
50
|
-
@if(!showPass){
|
|
51
|
-
<i class="fa-solid fa-eye"></i>
|
|
52
|
-
}@else {
|
|
53
|
-
<i class="fa-solid fa-eye-slash"></i>
|
|
54
|
-
}
|
|
55
|
-
</span>
|
|
56
|
-
} @if(hasCopy && hasEye){
|
|
57
|
-
<span
|
|
58
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
59
|
-
(click)="clipboard.copy('Password', password)"
|
|
60
|
-
>
|
|
61
|
-
<i class="fa-solid fa-copy "></i>
|
|
62
|
-
</span>
|
|
63
|
-
}
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
@if(!this.prop.canEdit){
|
|
67
|
-
<ax-button (onClick)="openPasswordPopup()" color="ghost" text="Change Password"></ax-button>
|
|
68
|
-
}
|
|
69
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.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 }); }
|
|
70
|
-
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPasswordWidgetViewComponent, decorators: [{
|
|
72
|
-
type: Component,
|
|
73
|
-
args: [{
|
|
74
|
-
template: `<div class="ax-flex ax-justify-between ">
|
|
75
|
-
<div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
|
|
76
|
-
<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
|
|
77
|
-
<span>{{ showPass ? password : '*******' }}</span>
|
|
78
|
-
@if(hasEye){
|
|
79
|
-
<span
|
|
80
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
81
|
-
(click)="toggleEye()"
|
|
82
|
-
>
|
|
83
|
-
@if(!showPass){
|
|
84
|
-
<i class="fa-solid fa-eye"></i>
|
|
85
|
-
}@else {
|
|
86
|
-
<i class="fa-solid fa-eye-slash"></i>
|
|
87
|
-
}
|
|
88
|
-
</span>
|
|
89
|
-
} @if(hasCopy && hasEye){
|
|
90
|
-
<span
|
|
91
|
-
class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
|
|
92
|
-
(click)="clipboard.copy('Password', password)"
|
|
93
|
-
>
|
|
94
|
-
<i class="fa-solid fa-copy "></i>
|
|
95
|
-
</span>
|
|
96
|
-
}
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
@if(!this.prop.canEdit){
|
|
100
|
-
<ax-button (onClick)="openPasswordPopup()" color="ghost" text="Change Password"></ax-button>
|
|
101
|
-
}
|
|
102
|
-
</div>`,
|
|
103
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
104
|
-
imports: [CommonModule, AXButtonModule],
|
|
105
|
-
inputs: ['hasEye', 'hasCopy', 'currentPass']
|
|
106
|
-
}]
|
|
107
|
-
}] });
|
|
108
|
-
|
|
109
|
-
export { AXPPasswordWidgetViewComponent };
|
|
110
|
-
//# sourceMappingURL=acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/password/password-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXPopupService } from '@acorex/components/popup';\nimport { AXPlatform } from '@acorex/core/platform';\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-flex ax-justify-between \">\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-start ax-w-max\">\n <span>{{ showPass ? password : '*******' }}</span>\n @if(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)=\"toggleEye()\"\n >\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 </div>\n @if(!this.prop.canEdit){\n <ax-button (onClick)=\"openPasswordPopup()\" color=\"ghost\" text=\"Change Password\"></ax-button>\n }\n </div>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule],\n inputs: ['hasEye', 'hasCopy', 'currentPass']\n})\nexport class AXPPasswordWidgetViewComponent extends AXPWidgetBase {\n protected clipboard = inject(AXPClipBoardService);\n private platform = inject(AXPlatform);\n private popopService: AXPopupService = inject(AXPopupService);\n\n password!: string;\n hasCopy!: boolean;\n hasEye!: boolean;\n currentPass!: boolean;\n showPass: boolean = false;\n\n toggleEye() {\n this.showPass = !this.showPass;\n }\n async openPasswordPopup() {\n const compnent = await import('./change-password.component');\n this.popopService.open(compnent.ChangePassword, {\n title: 'Change Password',\n draggable: true,\n header: true,\n size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',\n hasBackdrop: true,\n closeButton: true,\n closeOnBackdropClick: true,\n data: {\n password: this.password,\n currentPass: this.currentPass,\n },\n });\n }\n\n protected override render(): void {\n this.password = this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;AAyCM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;AAlCjE,IAAA,WAAA,GAAA;;AAmCY,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACzC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC;AAC7B,QAAA,IAAA,CAAA,YAAY,GAAmB,MAAM,CAAC,cAAc,CAAC;QAM7D,IAAQ,CAAA,QAAA,GAAY,KAAK;AAyB1B;IAvBC,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ;;AAEhC,IAAA,MAAM,iBAAiB,GAAA;AACrB,QAAA,MAAM,QAAQ,GAAG,MAAM,OAAO,iEAA6B,CAAC;QAC5D,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE;AAC9C,YAAA,KAAK,EAAE,iBAAiB;AACxB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI;AAC1E,YAAA,WAAW,EAA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AA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAG7B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAlC1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BL,QAAA,CAAA;oBACL,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;AACvC,oBAAA,MAAM,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa;AAC9C,iBAAA;;;;;"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { AXTooltipModule } from '@acorex/components/tooltip';
|
|
2
|
-
import { AXPWidgetBase } from './acorex-platform-common.mjs';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
class AXPPhoneWidgetColumnComponent extends AXPWidgetBase {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.list = [];
|
|
10
|
-
this.text = '';
|
|
11
|
-
}
|
|
12
|
-
dot3(text) {
|
|
13
|
-
if (this.multiple)
|
|
14
|
-
return text.split('\n')[0] + '...';
|
|
15
|
-
else
|
|
16
|
-
return text.split('\n')[0];
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
if (this.rawValue) {
|
|
20
|
-
const rawValue = this.rawValue;
|
|
21
|
-
this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];
|
|
22
|
-
this.text = this.list.map((item) => item.value).join('\n');
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
extractItem(item) {
|
|
26
|
-
return typeof item == 'object'
|
|
27
|
-
? {
|
|
28
|
-
value: item.value ?? '-',
|
|
29
|
-
type: item.type ?? 'mobile',
|
|
30
|
-
label: item.label,
|
|
31
|
-
}
|
|
32
|
-
: {
|
|
33
|
-
value: item,
|
|
34
|
-
type: 'mobile',
|
|
35
|
-
label: null,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPhoneWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPPhoneWidgetColumnComponent, isStandalone: true, selector: "axp-phone-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", hasLabel: "hasLabel", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
|
|
40
|
-
@if(multiple && list.length>1){
|
|
41
|
-
<div [title]="text">{{ dot3(text) }}</div>
|
|
42
|
-
<!-- <ng-template #allContent>
|
|
43
|
-
<div class="ax-bg-default ax-p-4 ax-border ax-rounded-lg ">
|
|
44
|
-
@for (item of list; track $index) {
|
|
45
|
-
<div>
|
|
46
|
-
{{ item.value }}
|
|
47
|
-
</div>
|
|
48
|
-
}
|
|
49
|
-
</div>
|
|
50
|
-
</ng-template> -->
|
|
51
|
-
}@else {
|
|
52
|
-
<div>
|
|
53
|
-
@if(list && list.length){
|
|
54
|
-
{{ list[0].value }}
|
|
55
|
-
}@else { - }
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTooltipModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPPhoneWidgetColumnComponent, decorators: [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{
|
|
64
|
-
selector: 'axp-phone-widget-column',
|
|
65
|
-
template: `<div>
|
|
66
|
-
@if(multiple && list.length>1){
|
|
67
|
-
<div [title]="text">{{ dot3(text) }}</div>
|
|
68
|
-
<!-- <ng-template #allContent>
|
|
69
|
-
<div class="ax-bg-default ax-p-4 ax-border ax-rounded-lg ">
|
|
70
|
-
@for (item of list; track $index) {
|
|
71
|
-
<div>
|
|
72
|
-
{{ item.value }}
|
|
73
|
-
</div>
|
|
74
|
-
}
|
|
75
|
-
</div>
|
|
76
|
-
</ng-template> -->
|
|
77
|
-
}@else {
|
|
78
|
-
<div>
|
|
79
|
-
@if(list && list.length){
|
|
80
|
-
{{ list[0].value }}
|
|
81
|
-
}@else { - }
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
</div>`,
|
|
86
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
87
|
-
imports: [AXTooltipModule],
|
|
88
|
-
inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing']
|
|
89
|
-
}]
|
|
90
|
-
}] });
|
|
91
|
-
|
|
92
|
-
export { AXPPhoneWidgetColumnComponent };
|
|
93
|
-
//# sourceMappingURL=acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/phone/phone-widget-column.component.ts"],"sourcesContent":["import { AXTooltipModule } from '@acorex/components/tooltip';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n selector: 'axp-phone-widget-column',\n template: `<div>\n @if(multiple && list.length>1){\n <div [title]=\"text\">{{ dot3(text) }}</div>\n <!-- <ng-template #allContent>\n <div class=\"ax-bg-default ax-p-4 ax-border ax-rounded-lg \">\n @for (item of list; track $index) {\n <div>\n {{ item.value }}\n </div>\n }\n </div>\n </ng-template> -->\n }@else {\n <div>\n @if(list && list.length){\n {{ list[0].value }}\n }@else { - }\n </div>\n\n }\n </div>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXTooltipModule],\n inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing']\n})\nexport class AXPPhoneWidgetColumnComponent extends AXPWidgetBase {\n protected list: { value: string; label: string }[] = [];\n protected text: string = '';\n protected multiple!: boolean;\n\n protected dot3(text: string) {\n if (this.multiple) return text.split('\\n')[0] + '...';\n else return text.split('\\n')[0];\n }\n\n protected override render(): void {\n if (this.rawValue) {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n this.text = this.list.map((item) => item.value).join('\\n');\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n type: item.type ?? 'mobile',\n label: item.label,\n }\n : {\n value: item,\n type: 'mobile',\n label: null,\n };\n }\n}\n"],"names":[],"mappings":";;;;;AA8BM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AA3BhE,IAAA,WAAA,GAAA;;QA4BY,IAAI,CAAA,IAAA,GAAuC,EAAE;QAC7C,IAAI,CAAA,IAAA,GAAW,EAAE;AA6B5B;AA1BW,IAAA,IAAI,CAAC,IAAY,EAAA;QACzB,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;;YAChD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;;IAGd,MAAM,GAAA;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC9B,YAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QA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