@acorex/platform 1.0.6 → 18.0.1
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/README.md +7 -7
- package/auth/README.md +3 -3
- package/auth/lib/auth.strategy.d.ts +6 -3
- package/common/README.md +3 -3
- package/common/index.d.ts +5 -3
- package/common/lib/app/application.types.d.ts +234 -0
- package/common/lib/app/index.d.ts +2 -0
- package/common/lib/common.module.d.ts +6 -4
- package/common/lib/configs/app.config.d.ts +1 -1
- package/common/lib/layout/beardcrumb.type.d.ts +6 -0
- package/common/lib/layout/grid-layout/grid-layout.directive.d.ts +15 -0
- package/common/lib/layout/grid-layout/grid-layout.types.d.ts +19 -0
- package/common/lib/layout/grid-layout/index.d.ts +2 -0
- package/common/lib/layout/index.d.ts +9 -0
- package/common/lib/layout/logo/index.d.ts +2 -0
- package/common/lib/layout/sticky.directive.d.ts +25 -0
- package/common/lib/layout/theme/components/slots/index.d.ts +3 -0
- package/common/lib/layout/theme/components/slots/navbar-slot.component.d.ts +10 -0
- package/common/lib/layout/theme/store/admin-layout.selectors.d.ts +5 -0
- package/common/lib/schema/entity/entity.class.d.ts +155 -0
- package/common/lib/schema/index.d.ts +8 -0
- package/common/lib/schema/schema.types.d.ts +15 -0
- package/common/lib/schema/widget/index.d.ts +5 -0
- package/common/lib/schema/widget/widget-base.d.ts +45 -0
- package/common/lib/schema/widget/widget-token.d.ts +16 -0
- package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +16 -0
- package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +13 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +18 -0
- package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +12 -0
- package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +12 -0
- package/common/lib/schema/widgets/common-widgets.module.d.ts +32 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +26 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +16 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +16 -0
- package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +28 -0
- package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +16 -0
- package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +8 -0
- package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +17 -0
- package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +6 -0
- package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +6 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +16 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +17 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +17 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +15 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +14 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +7 -0
- package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +8 -0
- package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +14 -0
- package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +18 -0
- package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +15 -0
- package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +29 -0
- package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +18 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +33 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +10 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +16 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +12 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +9 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +15 -0
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +19 -0
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +8 -0
- package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +12 -0
- package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +23 -0
- package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +11 -0
- package/common/lib/store/common.actions.d.ts +1 -0
- package/common/lib/utils/data-generator.d.ts +12 -0
- package/common/lib/utils/index.d.ts +1 -1
- package/common/lib/utils/router-util.service.d.ts +1 -1
- package/common/lib/workflows/common.workflow.d.ts +38 -0
- package/common/lib/workflows/error-handler.d.ts +8 -0
- package/esm2022/auth/index.mjs +1 -1
- package/esm2022/auth/lib/application/application.loader.mjs +1 -1
- package/esm2022/auth/lib/application/application.types.mjs +1 -1
- package/esm2022/auth/lib/auth-registry.service.mjs +1 -1
- package/esm2022/auth/lib/auth.guard.mjs +1 -1
- package/esm2022/auth/lib/auth.module.mjs +1 -1
- package/esm2022/auth/lib/auth.strategy.mjs +1 -1
- package/esm2022/auth/lib/errors.types.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.directive.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.guard.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.loader.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.types.mjs +1 -1
- package/esm2022/auth/lib/feature/index.mjs +1 -1
- package/esm2022/auth/lib/permission/index.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.directive.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.guard.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.loader.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.types.mjs +1 -1
- package/esm2022/auth/lib/session.service.mjs +4 -2
- package/esm2022/auth/lib/session.types.mjs +1 -1
- package/esm2022/auth/lib/tenant/tenant.loader.mjs +1 -1
- package/esm2022/auth/lib/tenant/tenant.types.mjs +1 -1
- package/esm2022/auth/lib/user/user.types.mjs +1 -1
- package/esm2022/common/index.mjs +6 -4
- package/esm2022/common/lib/app/application.types.mjs +39 -0
- package/esm2022/common/lib/app/index.mjs +3 -0
- package/esm2022/common/lib/app/operators.mjs +50 -0
- package/esm2022/common/lib/common.module.mjs +20 -44
- package/esm2022/common/lib/configs/app.config.mjs +2 -2
- package/esm2022/common/lib/configs/config.types.mjs +3 -0
- package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
- package/esm2022/common/lib/errors/error-handler-registry.service.mjs +1 -1
- package/esm2022/common/lib/errors/error-handler.types.mjs +1 -1
- package/esm2022/common/lib/errors/global-error-handler.mjs +1 -1
- package/esm2022/common/lib/errors/index.mjs +1 -1
- package/esm2022/common/lib/layout/beardcrumb.type.mjs +2 -0
- package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +56 -0
- package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +28 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +24 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +72 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +2 -0
- package/esm2022/common/lib/layout/component-slot/index.mjs +6 -0
- package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +61 -0
- package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +2 -0
- package/esm2022/common/lib/layout/grid-layout/index.mjs +3 -0
- package/esm2022/common/lib/layout/index.mjs +10 -0
- package/esm2022/common/lib/layout/layout.service.mjs +79 -0
- package/esm2022/common/lib/layout/logo/index.mjs +3 -0
- package/esm2022/common/lib/layout/logo/logo.component.mjs +38 -0
- package/esm2022/common/lib/layout/logo/logo.types.mjs +21 -0
- package/esm2022/common/lib/layout/menu/index.mjs +3 -0
- package/esm2022/common/lib/layout/menu/menu.loader.mjs +39 -0
- package/esm2022/common/lib/layout/menu/menu.types.mjs +2 -0
- package/esm2022/common/lib/layout/sticky.directive.mjs +78 -0
- package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +20 -0
- package/esm2022/common/lib/layout/theme/components/slots/index.mjs +4 -0
- package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +36 -0
- package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +48 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +12 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +29 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +60 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +8 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +16 -0
- package/esm2022/common/lib/layout/theme/store/index.mjs +6 -0
- package/esm2022/common/lib/schema/component-loader.mjs +2 -0
- package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +70 -0
- package/esm2022/common/lib/schema/entity/entity.class.mjs +32 -0
- package/esm2022/common/lib/schema/entity/entity.loader.mjs +13 -0
- package/esm2022/common/lib/schema/entity/index.mjs +4 -0
- package/esm2022/common/lib/schema/formats.mjs +2 -0
- package/esm2022/common/lib/schema/index.mjs +9 -0
- package/esm2022/common/lib/schema/schema-registery.service.mjs +33 -0
- package/esm2022/common/lib/schema/schema.module.mjs +23 -0
- package/esm2022/common/lib/schema/schema.types.mjs +2 -0
- package/esm2022/common/lib/schema/widget/index.mjs +6 -0
- package/esm2022/common/lib/schema/widget/widget-base.mjs +113 -0
- package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +118 -0
- package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +133 -0
- package/esm2022/common/lib/schema/widget/widget-renderer.mjs +144 -0
- package/esm2022/common/lib/schema/widget/widget-token.mjs +3 -0
- package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +160 -0
- package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +63 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +53 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +22 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +47 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +147 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +135 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +125 -0
- package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +505 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +44 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +178 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +213 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +71 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +73 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +249 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +108 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +200 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +153 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +189 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +2 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +173 -0
- package/esm2022/common/lib/schema/widgets/index.mjs +2 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +43 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +74 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +115 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +54 -0
- package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +91 -0
- package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +63 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +71 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +136 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +132 -0
- package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +46 -0
- package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +30 -0
- package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +174 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +67 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +109 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +91 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +245 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +123 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +61 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +67 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +34 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +45 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +53 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +45 -0
- package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +128 -0
- package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +37 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +46 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +162 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +66 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +57 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +25 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +49 -0
- package/esm2022/common/lib/settings/index.mjs +1 -1
- package/esm2022/common/lib/settings/settings.loader.mjs +1 -1
- package/esm2022/common/lib/settings/settings.service.mjs +1 -1
- package/esm2022/common/lib/settings/settings.types.mjs +1 -1
- package/esm2022/common/lib/store/common.actions.mjs +2 -1
- package/esm2022/common/lib/store/common.effects.mjs +1 -1
- package/esm2022/common/lib/store/index.mjs +1 -1
- package/esm2022/common/lib/utils/clipboard-service.mjs +1 -1
- package/esm2022/common/lib/utils/data-generator.mjs +47 -0
- package/esm2022/common/lib/utils/index.mjs +2 -2
- package/esm2022/common/lib/utils/router-util.service.mjs +1 -1
- package/esm2022/common/lib/workflows/common.workflow.mjs +68 -0
- package/esm2022/common/lib/workflows/error-handler.mjs +24 -0
- package/esm2022/common/lib/workflows/index.mjs +3 -0
- package/esm2022/index.mjs +1 -1
- package/esm2022/layout/builder/acorex-platform-layout-builder.mjs +5 -0
- package/esm2022/layout/builder/index.mjs +2 -0
- package/esm2022/layout/builder/lib/builder/builder.module.mjs +67 -0
- package/esm2022/layout/builder/lib/builder/builder.service.mjs +81 -0
- package/esm2022/layout/builder/lib/builder/index.mjs +9 -0
- package/esm2022/layout/builder/lib/builder/layout.types.mjs +2 -0
- package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +110 -0
- package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +55 -0
- package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +33 -0
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +293 -0
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +74 -0
- package/esm2022/layout/entity/acorex-platform-layout-entity.mjs +5 -0
- package/esm2022/layout/entity/index.mjs +2 -0
- package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +154 -0
- package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +128 -0
- package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +278 -0
- package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +230 -0
- package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +101 -0
- package/esm2022/layout/entity/lib/entity-registery.service.mjs +69 -0
- package/esm2022/layout/entity/lib/entity.config.mjs +4 -0
- package/esm2022/layout/entity/lib/entity.module.mjs +134 -0
- package/esm2022/layout/entity/lib/entity.viewmodel.mjs +32 -0
- package/esm2022/layout/entity/lib/index.mjs +9 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +8 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +127 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +20 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +105 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +85 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +24 -0
- package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +93 -0
- package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +123 -0
- package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +104 -0
- package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +36 -0
- package/esm2022/layouts/index.mjs +1 -3
- package/esm2022/layouts/lib/admin/admin.module.mjs +9 -17
- package/esm2022/layouts/lib/admin/admin.routes.mjs +7 -8
- package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +6 -6
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +8 -11
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +5 -5
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +6 -9
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +19 -19
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +6 -8
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +6 -7
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +2 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +5 -5
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +5 -6
- package/esm2022/layouts/lib/admin/entity-layout/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +4 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +85 -0
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +27 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +26 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +41 -1
- package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -1
- package/esm2022/layouts/lib/admin/index.mjs +1 -3
- package/esm2022/layouts/lib/layout.module.mjs +9 -14
- package/esm2022/mocks/index.mjs +1 -1
- package/esm2022/mocks/lib/mocks.module.mjs +1 -1
- package/esm2022/mocks/lib/services/mocker.service.mjs +1 -1
- package/esm2022/mocks/lib/storage/storage.mock.service.mjs +1 -1
- package/esm2022/native/index.mjs +1 -1
- package/esm2022/native/lib/native.service.mjs +1 -1
- package/esm2022/widgets/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +45 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +10 -4
- package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +32 -7
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +54 -7
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +173 -141
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +70 -70
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +108 -108
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +98 -98
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +6 -6
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +6 -6
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +26 -7
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +33 -19
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +4 -1
- package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +46 -46
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +54 -7
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +162 -134
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +70 -70
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +5 -5
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +26 -26
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +24 -18
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +30 -8
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +32 -32
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +29 -8
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +56 -56
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +7 -6
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +62 -62
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +2 -1
- package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +27 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +14 -14
- package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/widgets.module.mjs +6 -3
- package/esm2022/workflow/index.mjs +1 -1
- package/esm2022/workflow/lib/errors.types.mjs +1 -1
- package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow.module.mjs +1 -1
- package/esm2022/workflow/lib/workflow.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow.types.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs +3 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs +178 -0
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs +85 -0
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs +169 -0
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs +177 -0
- package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs +76 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs +46 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs +70 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs +66 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs +198 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs +233 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs +93 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs +97 -0
- package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs +269 -0
- package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs +130 -0
- package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs +49 -0
- package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs +221 -0
- package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs +51 -0
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs +174 -0
- package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs +209 -0
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs +50 -0
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs +193 -0
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs +60 -0
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs +66 -0
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs +96 -0
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs +135 -0
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs +77 -0
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs +114 -0
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs +86 -0
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs +95 -0
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs +157 -0
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs +154 -0
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs +68 -0
- package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs +157 -0
- package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs +54 -0
- package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs +89 -0
- package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs +64 -0
- package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs +128 -0
- package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs +115 -0
- package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs +265 -0
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs +145 -0
- package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs +85 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs +89 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs +58 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs +69 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs +76 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs +65 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs +69 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs +148 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs +63 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs +147 -0
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs +70 -0
- package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs +183 -0
- package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs +90 -0
- package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs +80 -0
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs +46 -0
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs +72 -0
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +2056 -246
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +687 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1848 -0
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs +107 -0
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +88 -0
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts.mjs +1058 -2553
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs +48 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs +57 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +1755 -1293
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/layout/builder/README.md +4 -0
- package/layout/builder/index.d.ts +1 -0
- package/layout/builder/lib/builder/builder.module.d.ts +23 -0
- package/layout/builder/lib/builder/builder.service.d.ts +27 -0
- package/layout/builder/lib/builder/index.d.ts +8 -0
- package/layout/builder/lib/builder/layout.types.d.ts +30 -0
- package/layout/builder/lib/builder/widget-column-renderer.d.ts +31 -0
- package/layout/builder/lib/builder/widget-container.component.d.ts +15 -0
- package/layout/builder/lib/builder/widget-renderer.component.d.ts +43 -0
- package/layout/builder/lib/builder/widget.types.d.ts +74 -0
- package/layout/entity/README.md +4 -0
- package/layout/entity/index.d.ts +1 -0
- package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +32 -0
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +49 -0
- package/layout/entity/lib/entity-master-list.viewmodel.d.ts +82 -0
- package/layout/entity/lib/entity-master-single.viewmodel.d.ts +62 -0
- package/layout/entity/lib/entity-master-update.viewmodel.d.ts +39 -0
- package/layout/entity/lib/entity-registery.service.d.ts +34 -0
- package/layout/entity/lib/entity.config.d.ts +21 -0
- package/layout/entity/lib/entity.module.d.ts +9 -0
- package/layout/entity/lib/entity.viewmodel.d.ts +22 -0
- package/layout/entity/lib/index.d.ts +8 -0
- package/layout/entity/lib/widgets/lookup-widget/index.d.ts +7 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +27 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +13 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +15 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +2 -0
- package/layout/entity/lib/workflows/create-entity.workflow.d.ts +29 -0
- package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +26 -0
- package/layout/entity/lib/workflows/modify-section.workflow.d.ts +34 -0
- package/layout/entity/lib/workflows/show-details.workflow.d.ts +10 -0
- package/layouts/README.md +3 -3
- package/layouts/index.d.ts +0 -2
- package/layouts/lib/admin/admin.module.d.ts +3 -6
- package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.d.ts +2 -3
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.d.ts +4 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.d.ts +3 -4
- package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +6 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +5 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +3 -4
- package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +2 -2
- package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
- package/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.d.ts +12 -0
- package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +9 -1
- package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +9 -1
- package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +11 -1
- package/layouts/lib/admin/index.d.ts +0 -2
- package/layouts/lib/layout.module.d.ts +4 -4
- package/mocks/README.md +3 -3
- package/package.json +29 -20
- package/widgets/README.md +3 -3
- package/widgets/lib/editors/checkbox/checkbox-widget-column.component.d.ts +9 -0
- package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/checkbox/checkbox-widget-view.component.d.ts +9 -0
- package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +11 -3
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +13 -3
- package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +7 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +5 -3
- package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +2 -2
- package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -2
- package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +13 -3
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +6 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +3 -3
- package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +11 -3
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +7 -2
- package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +3 -3
- package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +2 -2
- package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/toggle-widget/index.d.ts +7 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-column.component.d.ts +9 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.d.ts +7 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-view.component.d.ts +9 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget.config.d.ts +2 -0
- package/widgets/lib/layout/block-widget/block-widget.component.d.ts +2 -2
- package/widgets/lib/layout/block-widget/block-widget.config.d.ts +1 -1
- package/widgets/lib/widgets.module.d.ts +1 -1
- package/workflow/README.md +3 -3
- package/workflow/lib/workflow.types.d.ts +2 -2
- package/common/lib/shared/state-persistence/index.d.ts +0 -3
- package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +0 -1
- package/common/lib/shared/state-persistence/state-persistence.module.d.ts +0 -8
- package/common/lib/shared/state-persistence/state-persistence.reducers.d.ts +0 -3
- package/common/lib/utils/sticky.directive.d.ts +0 -24
- package/core/README.md +0 -4
- package/core/index.d.ts +0 -4
- package/core/lib/app/application.types.d.ts +0 -144
- package/core/lib/core.module.d.ts +0 -6
- package/esm2022/common/lib/menu/index.mjs +0 -3
- package/esm2022/common/lib/menu/menu.loader.mjs +0 -39
- package/esm2022/common/lib/menu/menu.types.mjs +0 -2
- package/esm2022/common/lib/shared/logo.types.mjs +0 -21
- package/esm2022/common/lib/shared/state-persistence/index.mjs +0 -4
- package/esm2022/common/lib/shared/state-persistence/state-persistence.actions.mjs +0 -3
- package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +0 -36
- package/esm2022/common/lib/shared/state-persistence/state-persistence.reducers.mjs +0 -30
- package/esm2022/common/lib/utils/sticky.directive.mjs +0 -74
- package/esm2022/core/acorex-platform-core.mjs +0 -5
- package/esm2022/core/index.mjs +0 -5
- package/esm2022/core/lib/app/application.types.mjs +0 -19
- package/esm2022/core/lib/app/operators.mjs +0 -50
- package/esm2022/core/lib/configs/config.types.mjs +0 -3
- package/esm2022/core/lib/core.module.mjs +0 -16
- package/esm2022/layout/acorex-platform-layout.mjs +0 -5
- package/esm2022/layout/index.mjs +0 -3
- package/esm2022/layout/lib/builder/builder.module.mjs +0 -66
- package/esm2022/layout/lib/builder/context.service.mjs +0 -64
- package/esm2022/layout/lib/builder/index.mjs +0 -8
- package/esm2022/layout/lib/builder/widget-column-renderer.mjs +0 -75
- package/esm2022/layout/lib/builder/widget-container.mjs +0 -45
- package/esm2022/layout/lib/builder/widget-registery.service.mjs +0 -33
- package/esm2022/layout/lib/builder/widget-renderer.mjs +0 -279
- package/esm2022/layout/lib/builder/widget.types.mjs +0 -49
- package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +0 -56
- package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +0 -28
- package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +0 -24
- package/esm2022/layout/lib/component-slot/component-slot.module.mjs +0 -72
- package/esm2022/layout/lib/component-slot/component-slot.types.mjs +0 -2
- package/esm2022/layout/lib/component-slot/index.mjs +0 -6
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +0 -58
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +0 -50
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +0 -57
- package/esm2022/layouts/lib/admin/admin-child-layout/index.mjs +0 -4
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +0 -74
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +0 -92
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +0 -14
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +0 -29
- package/esm2022/layouts/lib/admin/admin-root-layout/index.mjs +0 -5
- package/esm2022/layouts/lib/admin/store/admin-layout.actions.mjs +0 -12
- package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +0 -29
- package/esm2022/layouts/lib/admin/store/admin-layout.reducers.mjs +0 -60
- package/esm2022/layouts/lib/admin/store/admin-layout.selectors.mjs +0 -8
- package/esm2022/layouts/lib/admin/store/admin-layout.state.mjs +0 -16
- package/esm2022/layouts/lib/admin/store/index.mjs +0 -6
- package/esm2022/layouts/lib/layout.routes.mjs +0 -15
- package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +0 -64
- package/esm2022/layouts/lib/shared/components/content-view/content-view.type.mjs +0 -2
- package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +0 -28
- package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +0 -22
- package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +0 -16
- package/esm2022/layouts/lib/shared/components/index.mjs +0 -10
- package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +0 -38
- package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +0 -20
- package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +0 -36
- package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +0 -48
- package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +0 -70
- package/esm2022/layouts/lib/shared/entity/entity.class.mjs +0 -32
- package/esm2022/layouts/lib/shared/entity/entity.loader.mjs +0 -13
- package/esm2022/layouts/lib/shared/entity/index.mjs +0 -4
- package/esm2022/layouts/lib/shared/index.mjs +0 -5
- package/esm2022/layouts/lib/shared/services/index.mjs +0 -2
- package/esm2022/layouts/lib/shared/services/layout.service.mjs +0 -79
- package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +0 -147
- package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +0 -24
- package/esm2022/layouts/lib/shared/workflows/index.mjs +0 -3
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +0 -73
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +0 -99
- package/esm2022/layouts/lib/themes/default/index.mjs +0 -3
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +0 -160
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +0 -61
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
- package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -147
- package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
- package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
- package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +0 -504
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -178
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -214
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
- package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +0 -73
- package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +0 -249
- package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +0 -108
- package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +0 -200
- package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +0 -153
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-types.mjs +0 -2
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +0 -173
- package/esm2022/layouts/lib/widgets/index.mjs +0 -2
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +0 -43
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +0 -74
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +0 -115
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +0 -54
- package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +0 -91
- package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +0 -63
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +0 -71
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +0 -132
- package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +0 -46
- package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +0 -30
- package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +0 -175
- package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +0 -67
- package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +0 -109
- package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +0 -91
- package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +0 -231
- package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +0 -123
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -67
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +0 -43
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +0 -37
- package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +0 -46
- package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +0 -162
- package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +0 -66
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +0 -57
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +0 -49
- package/esm2022/schema/acorex-platform-schema.mjs +0 -5
- package/esm2022/schema/index.mjs +0 -14
- package/esm2022/schema/lib/component-loader.mjs +0 -2
- package/esm2022/schema/lib/formats.mjs +0 -2
- package/esm2022/schema/lib/operators.mjs +0 -50
- package/esm2022/schema/lib/schema-registery.service.mjs +0 -33
- package/esm2022/schema/lib/schema.module.mjs +0 -23
- package/esm2022/schema/lib/schema.types.mjs +0 -2
- package/esm2022/schema/lib/widget/widget-base.mjs +0 -113
- package/esm2022/schema/lib/widget/widget-column-renderer.mjs +0 -118
- package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +0 -133
- package/esm2022/schema/lib/widget/widget-renderer.mjs +0 -144
- package/esm2022/schema/lib/widget/widget-token.mjs +0 -3
- package/fesm2022/acorex-platform-core.mjs +0 -94
- package/fesm2022/acorex-platform-core.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout.mjs +0 -756
- package/fesm2022/acorex-platform-layout.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs +0 -162
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +0 -64
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs +0 -150
- package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs +0 -178
- package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs +0 -56
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs +0 -25
- package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs +0 -50
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs +0 -47
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs +0 -181
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs +0 -217
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs +0 -74
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs +0 -76
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs +0 -252
- package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs +0 -111
- package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs +0 -108
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs +0 -89
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs +0 -203
- package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs +0 -156
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs +0 -192
- package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs +0 -176
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs +0 -40
- package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs +0 -46
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs +0 -120
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs +0 -158
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs +0 -57
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs +0 -94
- package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs +0 -66
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs +0 -74
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs +0 -139
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs +0 -135
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs +0 -49
- package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs +0 -138
- package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs +0 -33
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs +0 -70
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs +0 -112
- package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs +0 -94
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs +0 -234
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs +0 -126
- package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs +0 -64
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs +0 -70
- package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs +0 -37
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs +0 -46
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs +0 -56
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs +0 -48
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs +0 -131
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs +0 -128
- package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs +0 -49
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs +0 -165
- package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs +0 -69
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs +0 -60
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs +0 -28
- package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs +0 -52
- package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map +0 -1
- package/fesm2022/acorex-platform-schema.mjs +0 -594
- package/fesm2022/acorex-platform-schema.mjs.map +0 -1
- package/layout/README.md +0 -4
- package/layout/index.d.ts +0 -2
- package/layout/lib/builder/builder.module.d.ts +0 -23
- package/layout/lib/builder/context.service.d.ts +0 -17
- package/layout/lib/builder/index.d.ts +0 -7
- package/layout/lib/builder/widget-column-renderer.d.ts +0 -30
- package/layout/lib/builder/widget-container.d.ts +0 -13
- package/layout/lib/builder/widget-renderer.d.ts +0 -41
- package/layout/lib/builder/widget.types.d.ts +0 -55
- package/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.d.ts +0 -22
- package/layouts/lib/admin/admin-child-layout/admin-child-layout.component.d.ts +0 -21
- package/layouts/lib/admin/admin-child-layout/admin-child-layout.module.d.ts +0 -17
- package/layouts/lib/admin/admin-child-layout/index.d.ts +0 -3
- package/layouts/lib/admin/admin-root-layout/admin-root-layout.component.d.ts +0 -30
- package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +0 -25
- package/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.d.ts +0 -5
- package/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.d.ts +0 -10
- package/layouts/lib/admin/admin-root-layout/index.d.ts +0 -4
- package/layouts/lib/admin/store/admin-layout.selectors.d.ts +0 -5
- package/layouts/lib/layout.routes.d.ts +0 -2
- package/layouts/lib/shared/components/content-view/content-view.page.d.ts +0 -23
- package/layouts/lib/shared/components/content-view/content-view.type.d.ts +0 -16
- package/layouts/lib/shared/components/error-401/error-401.component.d.ts +0 -10
- package/layouts/lib/shared/components/error-404/error-404.component.d.ts +0 -8
- package/layouts/lib/shared/components/error-offline/error-offline.component.d.ts +0 -9
- package/layouts/lib/shared/components/index.d.ts +0 -9
- package/layouts/lib/shared/components/slots/navbar-slot.component.d.ts +0 -10
- package/layouts/lib/shared/entity/entity.class.d.ts +0 -153
- package/layouts/lib/shared/index.d.ts +0 -4
- package/layouts/lib/shared/services/index.d.ts +0 -1
- package/layouts/lib/shared/workflows/common.workflow.d.ts +0 -61
- package/layouts/lib/shared/workflows/error-handler.d.ts +0 -8
- package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +0 -11
- package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +0 -34
- package/layouts/lib/themes/default/index.d.ts +0 -2
- package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
- package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
- package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -17
- package/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widgets.module.d.ts +0 -32
- package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -26
- package/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -16
- package/layouts/lib/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/email/email-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/email/email-widget-edit.component.d.ts +0 -28
- package/layouts/lib/widgets/email/email-widget-view.component.d.ts +0 -16
- package/layouts/lib/widgets/file/file-widget-column.component.d.ts +0 -8
- package/layouts/lib/widgets/file/file-widget-edit.component.d.ts +0 -17
- package/layouts/lib/widgets/file/file-widget-filter.component.d.ts +0 -6
- package/layouts/lib/widgets/file/file-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
- package/layouts/lib/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/lookup/lookup-widget-filter.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/map/map-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/map/map-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
- package/layouts/lib/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
- package/layouts/lib/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/number/number-widget-edit.component.d.ts +0 -7
- package/layouts/lib/widgets/number/number-widget-view.component.d.ts +0 -8
- package/layouts/lib/widgets/password/password-widget-column.component.d.ts +0 -14
- package/layouts/lib/widgets/password/password-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/password/password-widget-view.component.d.ts +0 -18
- package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +0 -15
- package/layouts/lib/widgets/phone/phone-widget-edit.component.d.ts +0 -29
- package/layouts/lib/widgets/phone/phone-widget-view.component.d.ts +0 -18
- package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
- package/layouts/lib/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
- package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
- package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
- package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
- package/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
- package/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
- package/layouts/lib/widgets/text/largetext-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/text/text-widget-column.component.d.ts +0 -12
- package/layouts/lib/widgets/text/text-widget-edit.component.d.ts +0 -23
- package/layouts/lib/widgets/text/text-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
- package/schema/README.md +0 -3
- package/schema/index.d.ts +0 -11
- package/schema/lib/operators.d.ts +0 -22
- package/schema/lib/schema.types.d.ts +0 -16
- package/schema/lib/widget/widget-base.d.ts +0 -45
- package/schema/lib/widget/widget-token.d.ts +0 -16
- /package/{core → common}/lib/app/operators.d.ts +0 -0
- /package/{core → common}/lib/configs/config.types.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot-loader.service.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot-registery.service.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.directive.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.module.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.types.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/index.d.ts +0 -0
- /package/{layouts/lib/shared/services → common/lib/layout}/layout.service.d.ts +0 -0
- /package/{layouts/lib/shared/components → common/lib/layout}/logo/logo.component.d.ts +0 -0
- /package/common/lib/{shared → layout/logo}/logo.types.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/index.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/menu.loader.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/menu.types.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/footer-text-slot.component.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/theme-slot.component.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.actions.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.effects.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.reducers.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.state.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/index.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/component-loader.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/entity-registery.service.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/entity.loader.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/index.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/formats.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/schema-registery.service.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/schema.module.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-column-renderer.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-filter-renderer.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-renderer.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/gallery/gallery-widget-types.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/index.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/password/change-password.component.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib}/workflows/index.d.ts +0 -0
- /package/layout/{lib → builder/lib}/builder/widget-registery.service.d.ts +0 -0
|
@@ -1,16 +1,35 @@
|
|
|
1
1
|
import { AXPopupModule } from '@acorex/components/popup';
|
|
2
2
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injector, Injectable, ErrorHandler, NgModule, Inject, InjectionToken, inject,
|
|
4
|
+
import { Injector, Injectable, ErrorHandler, Directive, Input, EventEmitter, Output, runInInjectionContext, NgModule, Optional, Inject, Component, InjectionToken, inject, ViewEncapsulation, ChangeDetectorRef, ChangeDetectionStrategy, ViewChild } from '@angular/core';
|
|
5
5
|
import * as i2 from '@angular/router';
|
|
6
|
-
import { RouterModule, NavigationEnd } from '@angular/router';
|
|
6
|
+
import { RouterModule, NavigationEnd, Router } from '@angular/router';
|
|
7
7
|
import * as i1 from '@ngrx/effects';
|
|
8
|
-
import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
8
|
+
import { createEffect, ofType, Actions, EffectsModule } from '@ngrx/effects';
|
|
9
|
+
import * as i2$3 from '@ngrx/store';
|
|
10
|
+
import { createAction, props, Store, createFeature, createReducer, on, createSelector, StoreModule } from '@ngrx/store';
|
|
11
|
+
import { switchMap, of, BehaviorSubject, timer, fromEvent, debounceTime, map, withLatestFrom, mergeMap, shareReplay } from 'rxjs';
|
|
12
|
+
import * as i3 from '@acorex/components/decorators';
|
|
13
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
14
|
+
import * as i2$1 from '@acorex/components/image';
|
|
15
|
+
import { AXImageModule } from '@acorex/components/image';
|
|
16
|
+
import * as i1$1 from '@angular/common';
|
|
17
|
+
import { CommonModule } from '@angular/common';
|
|
18
|
+
import * as i2$2 from '@acorex/components/button';
|
|
19
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
20
|
+
import { AXPlatform } from '@acorex/core/platform';
|
|
21
|
+
import { AXToastModule, AXToastService } from '@acorex/components/toast';
|
|
22
|
+
import { merge, cloneDeep, assign, isEqual, get, set } from 'lodash-es';
|
|
23
|
+
import * as i2$4 from '@acorex/components/skeleton';
|
|
24
|
+
import { AXSkeletonModule } from '@acorex/components/skeleton';
|
|
25
|
+
import * as i1$2 from '@angular/cdk/portal';
|
|
26
|
+
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
27
|
+
import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
28
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
29
|
+
import { AXFormatService } from '@acorex/core/format';
|
|
13
30
|
import { filter } from 'rxjs/operators';
|
|
31
|
+
import { AXDialogService } from '@acorex/components/dialog';
|
|
32
|
+
import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowError } from '@acorex/platform/workflow';
|
|
14
33
|
|
|
15
34
|
class AXPErrorHandlerRegistryService {
|
|
16
35
|
constructor(injector) {
|
|
@@ -74,6 +93,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
74
93
|
const AXPNavigateAction = createAction('[Navigate] Action', props());
|
|
75
94
|
const AXPSignOutAction = createAction('[SignOut] Action');
|
|
76
95
|
const AXPSignInAction = createAction('[SignIn] Action');
|
|
96
|
+
const AXPLoadInitState = createAction('[App] Load State from Storage');
|
|
77
97
|
|
|
78
98
|
class AXPCommonEffects {
|
|
79
99
|
constructor(actions$, router) {
|
|
@@ -98,111 +118,381 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
98
118
|
type: Injectable
|
|
99
119
|
}], ctorParameters: () => [{ type: i1.Actions }, { type: i2.Router }] });
|
|
100
120
|
|
|
101
|
-
|
|
121
|
+
// src/app/directives/grid-layout.directive.ts
|
|
122
|
+
class AXPGridLayoutDirective {
|
|
123
|
+
constructor(el, renderer) {
|
|
124
|
+
this.el = el;
|
|
125
|
+
this.renderer = renderer;
|
|
126
|
+
}
|
|
127
|
+
ngOnChanges(changes) {
|
|
128
|
+
if (changes['options']) {
|
|
129
|
+
this.applyTailwindClasses();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
applyTailwindClasses() {
|
|
133
|
+
// Clear existing grid classes
|
|
134
|
+
this.clearClasses();
|
|
135
|
+
// Apply new grid classes based on the input options
|
|
136
|
+
this.setClasses(this.options.positions?.default, '');
|
|
137
|
+
this.setClasses(this.options.positions?.sm, 'sm:');
|
|
138
|
+
this.setClasses(this.options.positions?.md, 'md:');
|
|
139
|
+
this.setClasses(this.options.positions?.lg, 'lg:');
|
|
140
|
+
this.setClasses(this.options.positions?.xl, 'xl:');
|
|
141
|
+
this.setClasses(this.options.positions?.xxl, '2xl:');
|
|
142
|
+
}
|
|
143
|
+
setClasses(positions, prefix) {
|
|
144
|
+
if (!positions)
|
|
145
|
+
return;
|
|
146
|
+
const colStart = positions.colStart ? `${prefix}ax-col-start-${positions.colStart}` : '';
|
|
147
|
+
const colEnd = positions.colEnd ? `${prefix}ax-col-end-${positions.colEnd}` : '';
|
|
148
|
+
const colSpan = positions.colSpan ? `${prefix}ax-col-span-${positions.colSpan}` : '';
|
|
149
|
+
const rowStart = positions.rowStart ? `${prefix}ax-row-start-${positions.rowStart}` : '';
|
|
150
|
+
const rowEnd = positions.rowEnd ? `${prefix}ax-row-end-${positions.rowEnd}` : '';
|
|
151
|
+
const rowSpan = positions.rowSpan ? `${prefix}ax-row-span-${positions.rowSpan}` : '';
|
|
152
|
+
[colStart, colEnd, colSpan, rowStart, rowEnd, rowSpan].forEach(cls => {
|
|
153
|
+
if (cls) {
|
|
154
|
+
this.renderer.addClass(this.el.nativeElement, cls);
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
clearClasses() {
|
|
159
|
+
const currentClasses = this.el.nativeElement.className.split(' ');
|
|
160
|
+
currentClasses.forEach((className) => {
|
|
161
|
+
if (className.startsWith('ax-col-') || className.startsWith('ax-row-')) {
|
|
162
|
+
this.renderer.removeClass(this.el.nativeElement, className);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
167
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXPGridLayoutDirective, isStandalone: true, selector: "[gridLayout]", inputs: { options: ["gridLayout", "options"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
168
|
+
}
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
170
|
+
type: Directive,
|
|
171
|
+
args: [{
|
|
172
|
+
selector: '[gridLayout]',
|
|
173
|
+
standalone: true,
|
|
174
|
+
}]
|
|
175
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { options: [{
|
|
176
|
+
type: Input,
|
|
177
|
+
args: ['gridLayout']
|
|
178
|
+
}] } });
|
|
179
|
+
|
|
180
|
+
class AXPLayoutService {
|
|
181
|
+
constructor() {
|
|
182
|
+
this.minimumDisplayTime = 500; // milliseconds
|
|
183
|
+
//
|
|
184
|
+
this.navigationLoadingSubject = new BehaviorSubject(false);
|
|
185
|
+
this.navigationLoadingTaskCount = 0;
|
|
186
|
+
this.navigationLoadingStateActive = false;
|
|
187
|
+
//
|
|
188
|
+
this.overlayLoadingSubject = new BehaviorSubject(false);
|
|
189
|
+
this.overlayLoadingTaskCount = 0;
|
|
190
|
+
this.overlayLoadingStateActive = false;
|
|
191
|
+
}
|
|
192
|
+
get navigationLoading$() {
|
|
193
|
+
return this.navigationLoadingSubject.asObservable();
|
|
194
|
+
}
|
|
195
|
+
setNavigationLoading(value) {
|
|
196
|
+
if (value) {
|
|
197
|
+
this.navigationLoadingTaskCount++;
|
|
198
|
+
this.updateNavigationLoadingState(true);
|
|
199
|
+
}
|
|
200
|
+
else {
|
|
201
|
+
if (this.navigationLoadingTaskCount > 0) {
|
|
202
|
+
this.navigationLoadingTaskCount--;
|
|
203
|
+
}
|
|
204
|
+
if (this.navigationLoadingTaskCount === 0) {
|
|
205
|
+
// Start timer to keep loading state for minimum display time
|
|
206
|
+
timer(this.minimumDisplayTime).subscribe(() => {
|
|
207
|
+
if (this.navigationLoadingTaskCount === 0) {
|
|
208
|
+
this.updateNavigationLoadingState(false);
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
updateNavigationLoadingState(state) {
|
|
215
|
+
if (state !== this.navigationLoadingStateActive) {
|
|
216
|
+
this.navigationLoadingStateActive = state;
|
|
217
|
+
this.navigationLoadingSubject.next(state);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
get overlayLoading$() {
|
|
221
|
+
return this.overlayLoadingSubject.asObservable();
|
|
222
|
+
}
|
|
223
|
+
setOverlayLoading(value) {
|
|
224
|
+
if (value) {
|
|
225
|
+
this.overlayLoadingTaskCount++;
|
|
226
|
+
this.updateOverlayLoadingState(true);
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
if (this.overlayLoadingTaskCount > 0) {
|
|
230
|
+
this.overlayLoadingTaskCount--;
|
|
231
|
+
}
|
|
232
|
+
if (this.overlayLoadingTaskCount === 0) {
|
|
233
|
+
// Start timer to keep loading state for minimum display time
|
|
234
|
+
timer(this.minimumDisplayTime).subscribe(() => {
|
|
235
|
+
if (this.overlayLoadingTaskCount === 0) {
|
|
236
|
+
this.updateOverlayLoadingState(false);
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
updateOverlayLoadingState(state) {
|
|
243
|
+
if (state !== this.overlayLoadingStateActive) {
|
|
244
|
+
this.overlayLoadingStateActive = state;
|
|
245
|
+
this.overlayLoadingSubject.next(state);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, providedIn: 'root' }); }
|
|
250
|
+
}
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, decorators: [{
|
|
252
|
+
type: Injectable,
|
|
253
|
+
args: [{ providedIn: 'root' }]
|
|
254
|
+
}] });
|
|
255
|
+
|
|
256
|
+
class AXPStickyDirective {
|
|
257
|
+
get isSticky() {
|
|
258
|
+
return this._isSticky;
|
|
259
|
+
}
|
|
260
|
+
set isSticky(v) {
|
|
261
|
+
this._isSticky = v;
|
|
262
|
+
this.isStickyChange.emit(v);
|
|
263
|
+
}
|
|
264
|
+
constructor(element, renderer, zone, cdr) {
|
|
265
|
+
this.element = element;
|
|
266
|
+
this.renderer = renderer;
|
|
267
|
+
this.zone = zone;
|
|
268
|
+
this.cdr = cdr;
|
|
269
|
+
this.stickyOffset = 100;
|
|
270
|
+
this.isStickyChange = new EventEmitter();
|
|
271
|
+
this._isSticky = false;
|
|
272
|
+
this.onParentScroll = () => {
|
|
273
|
+
this.zone.runOutsideAngular(() => {
|
|
274
|
+
const scrollPosition = this.parentElement === window ?
|
|
275
|
+
window.scrollY :
|
|
276
|
+
this.parentElement.scrollTop + this.targetElement.offsetTop;
|
|
277
|
+
if (scrollPosition - this.stickyOffset >= this.topOffset && !this.isSticky) {
|
|
278
|
+
this.stickyClass.split(' ').forEach(c => {
|
|
279
|
+
this.renderer.addClass(this.targetElement, c);
|
|
280
|
+
});
|
|
281
|
+
this.isSticky = true;
|
|
282
|
+
this.cdr.markForCheck();
|
|
283
|
+
}
|
|
284
|
+
else if (scrollPosition <= this.topOffset && this.isSticky) {
|
|
285
|
+
this.stickyClass.split(' ').forEach(c => {
|
|
286
|
+
this.renderer.removeClass(this.targetElement, c);
|
|
287
|
+
});
|
|
288
|
+
this.isSticky = false;
|
|
289
|
+
this.cdr.markForCheck();
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
ngOnInit() {
|
|
295
|
+
if (this.stickyParent instanceof HTMLElement) {
|
|
296
|
+
this.parentElement = this.stickyParent;
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
this.parentElement = document.querySelector(this.stickyParent) || window;
|
|
300
|
+
}
|
|
301
|
+
this.targetElement = document.querySelector(this.stickyTarget) || this.element.nativeElement;
|
|
302
|
+
this.topOffset = this.targetElement.offsetTop;
|
|
303
|
+
this.parentElement.addEventListener('scroll', this.onParentScroll.bind(this));
|
|
304
|
+
}
|
|
305
|
+
ngOnDestroy() {
|
|
306
|
+
this.parentElement.removeEventListener('scroll', this.onParentScroll);
|
|
307
|
+
}
|
|
308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
309
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
|
|
310
|
+
}
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPStickyDirective, decorators: [{
|
|
312
|
+
type: Directive,
|
|
313
|
+
args: [{
|
|
314
|
+
selector: '[axpSticky]',
|
|
315
|
+
exportAs: 'axpSticky',
|
|
316
|
+
standalone: true
|
|
317
|
+
}]
|
|
318
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { stickyClass: [{
|
|
319
|
+
type: Input,
|
|
320
|
+
args: ['axpSticky']
|
|
321
|
+
}], stickyOffset: [{
|
|
322
|
+
type: Input,
|
|
323
|
+
args: ['stickyOffset']
|
|
324
|
+
}], isStickyChange: [{
|
|
325
|
+
type: Output
|
|
326
|
+
}], stickyParent: [{
|
|
327
|
+
type: Input
|
|
328
|
+
}], stickyTarget: [{
|
|
329
|
+
type: Input
|
|
330
|
+
}] } });
|
|
331
|
+
|
|
332
|
+
class AXPComponentSlotRegistryService {
|
|
333
|
+
constructor() {
|
|
334
|
+
this.registry = new Map();
|
|
335
|
+
}
|
|
336
|
+
register(slotName, config) {
|
|
337
|
+
let configs = this.registry.get(slotName) || [];
|
|
338
|
+
// Check if the component is already registered in this slot
|
|
339
|
+
const isDuplicate = configs.some(existingConfig => existingConfig.name === config.name);
|
|
340
|
+
if (!isDuplicate) {
|
|
341
|
+
configs = [...configs, config]; // Add the new configuration
|
|
342
|
+
this.registry.set(slotName, configs);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
get(slotName) {
|
|
346
|
+
return this.registry.get(slotName) || [];
|
|
347
|
+
}
|
|
348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
349
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotRegistryService, providedIn: 'root' }); }
|
|
350
|
+
}
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotRegistryService, decorators: [{
|
|
352
|
+
type: Injectable,
|
|
353
|
+
args: [{
|
|
354
|
+
providedIn: 'root'
|
|
355
|
+
}]
|
|
356
|
+
}] });
|
|
357
|
+
|
|
358
|
+
class AXPComponentSlotLoaderService {
|
|
359
|
+
constructor(registryService, injector) {
|
|
360
|
+
this.registryService = registryService;
|
|
361
|
+
this.injector = injector;
|
|
362
|
+
}
|
|
363
|
+
loadComponent(slotName, viewContainerRef) {
|
|
364
|
+
const configs = this.registryService.get(slotName);
|
|
365
|
+
if (configs) {
|
|
366
|
+
viewContainerRef.clear();
|
|
367
|
+
configs.forEach(async (config) => {
|
|
368
|
+
let component;
|
|
369
|
+
let options = {};
|
|
370
|
+
if (typeof config.loadComponent === 'function') {
|
|
371
|
+
// If component is a function
|
|
372
|
+
runInInjectionContext(this.injector, () => {
|
|
373
|
+
component = config.loadComponent?.();
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
else if (config.component) {
|
|
377
|
+
// If component is a Type
|
|
378
|
+
component = config.component;
|
|
379
|
+
}
|
|
380
|
+
//
|
|
381
|
+
if (typeof config.options === 'function') {
|
|
382
|
+
// If options is a function
|
|
383
|
+
runInInjectionContext(this.injector, () => {
|
|
384
|
+
const fun = config.options;
|
|
385
|
+
options = fun();
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
else if (config.options) {
|
|
389
|
+
// If options is a object
|
|
390
|
+
options = config.options;
|
|
391
|
+
}
|
|
392
|
+
//
|
|
393
|
+
if (component != null) {
|
|
394
|
+
const componentRef = viewContainerRef.createComponent(component);
|
|
395
|
+
Object.assign(componentRef.instance, options);
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotLoaderService, deps: [{ token: AXPComponentSlotRegistryService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
401
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotLoaderService, providedIn: 'root' }); }
|
|
402
|
+
}
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotLoaderService, decorators: [{
|
|
404
|
+
type: Injectable,
|
|
405
|
+
args: [{
|
|
406
|
+
providedIn: 'root'
|
|
407
|
+
}]
|
|
408
|
+
}], ctorParameters: () => [{ type: AXPComponentSlotRegistryService }, { type: i0.Injector }] });
|
|
409
|
+
|
|
410
|
+
class AXPComponentSlotDirective {
|
|
411
|
+
constructor(dynamicLoaderService, viewContainerRef) {
|
|
412
|
+
this.dynamicLoaderService = dynamicLoaderService;
|
|
413
|
+
this.viewContainerRef = viewContainerRef;
|
|
414
|
+
}
|
|
415
|
+
ngOnInit() {
|
|
416
|
+
this.dynamicLoaderService.loadComponent(this.name, this.viewContainerRef);
|
|
417
|
+
}
|
|
418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotDirective, deps: [{ token: AXPComponentSlotLoaderService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
419
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXPComponentSlotDirective, selector: "axp-component-slot", inputs: { name: "name" }, ngImport: i0 }); }
|
|
420
|
+
}
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotDirective, decorators: [{
|
|
422
|
+
type: Directive,
|
|
423
|
+
args: [{
|
|
424
|
+
selector: 'axp-component-slot',
|
|
425
|
+
}]
|
|
426
|
+
}], ctorParameters: () => [{ type: AXPComponentSlotLoaderService }, { type: i0.ViewContainerRef }], propDecorators: { name: [{
|
|
427
|
+
type: Input
|
|
428
|
+
}] } });
|
|
429
|
+
|
|
430
|
+
class AXPComponentSlotModule {
|
|
102
431
|
static forRoot(configs) {
|
|
103
432
|
return {
|
|
104
|
-
ngModule:
|
|
433
|
+
ngModule: AXPComponentSlotModule,
|
|
105
434
|
providers: [
|
|
106
|
-
...(configs?.errorHandlers || []),
|
|
107
435
|
{
|
|
108
|
-
provide: '
|
|
436
|
+
provide: 'AXPComponentSlotModuleFactory',
|
|
109
437
|
useFactory: (registry) => () => {
|
|
110
|
-
|
|
438
|
+
if (configs) {
|
|
439
|
+
for (const [key, value] of Object.entries(configs)) {
|
|
440
|
+
value.forEach(v => {
|
|
441
|
+
registry.register(key, v);
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
111
445
|
},
|
|
112
|
-
deps: [
|
|
113
|
-
multi: true
|
|
114
|
-
}
|
|
115
|
-
]
|
|
446
|
+
deps: [AXPComponentSlotRegistryService],
|
|
447
|
+
multi: true
|
|
448
|
+
}
|
|
449
|
+
]
|
|
116
450
|
};
|
|
117
451
|
}
|
|
118
452
|
static forChild(configs) {
|
|
119
453
|
return {
|
|
120
|
-
ngModule:
|
|
454
|
+
ngModule: AXPComponentSlotModule,
|
|
121
455
|
providers: [
|
|
122
|
-
...(configs?.errorHandlers || []),
|
|
123
456
|
{
|
|
124
|
-
provide: '
|
|
457
|
+
provide: 'AXPComponentSlotModuleFactory',
|
|
125
458
|
useFactory: (registry) => () => {
|
|
126
|
-
|
|
459
|
+
if (configs) {
|
|
460
|
+
for (const [key, value] of Object.entries(configs)) {
|
|
461
|
+
value.forEach(v => {
|
|
462
|
+
registry.register(key, v);
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
}
|
|
127
466
|
},
|
|
128
|
-
deps: [
|
|
129
|
-
multi: true
|
|
130
|
-
}
|
|
131
|
-
]
|
|
467
|
+
deps: [AXPComponentSlotRegistryService],
|
|
468
|
+
multi: true
|
|
469
|
+
}
|
|
470
|
+
]
|
|
132
471
|
};
|
|
133
472
|
}
|
|
134
473
|
/**
|
|
135
474
|
* @ignore
|
|
136
475
|
*/
|
|
137
476
|
constructor(instances) {
|
|
138
|
-
instances
|
|
477
|
+
instances?.forEach(f => {
|
|
139
478
|
f();
|
|
140
479
|
});
|
|
141
480
|
}
|
|
142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
143
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type:
|
|
144
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
145
|
-
{
|
|
146
|
-
provide: ErrorHandler,
|
|
147
|
-
useClass: AXPGlobalErrorHandler,
|
|
148
|
-
},
|
|
149
|
-
// {
|
|
150
|
-
// provide: AX_VALIDATION_CONFIG,
|
|
151
|
-
// useValue: validationConfig({
|
|
152
|
-
// rules: {
|
|
153
|
-
// password: {
|
|
154
|
-
// rule: 'callback',
|
|
155
|
-
// options: {
|
|
156
|
-
// validate: (e: any) => {
|
|
157
|
-
// const { value } = e;
|
|
158
|
-
// const patterns = [/[A-Z]/, /[a-z]/, /\d/, /[!@#$%^&*(),.?":{}|<>]/];
|
|
159
|
-
// let conditionsMet = patterns.filter((pattern) => pattern.test(value)).length;
|
|
160
|
-
// return /.{8,}/.test(value) && conditionsMet >= 3;
|
|
161
|
-
// },
|
|
162
|
-
// message: 'Password must be 8+ characters with upper, lower, digit, or symbol.',
|
|
163
|
-
// // message: AXTranslator.get('validation.messages.password'),
|
|
164
|
-
// }
|
|
165
|
-
// },
|
|
166
|
-
// },
|
|
167
|
-
// }),
|
|
168
|
-
// },
|
|
169
|
-
], imports: [EffectsModule.forFeature([AXPCommonEffects]), AXPopupModule, AXDateTimeModule, RouterModule] }); }
|
|
481
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotModule, deps: [{ token: 'AXPComponentSlotModuleFactory', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
482
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotModule, declarations: [AXPComponentSlotDirective], exports: [AXPComponentSlotDirective] }); }
|
|
483
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotModule }); }
|
|
170
484
|
}
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPComponentSlotModule, decorators: [{
|
|
172
486
|
type: NgModule,
|
|
173
487
|
args: [{
|
|
174
|
-
|
|
175
|
-
exports: [
|
|
176
|
-
providers: [
|
|
177
|
-
{
|
|
178
|
-
provide: ErrorHandler,
|
|
179
|
-
useClass: AXPGlobalErrorHandler,
|
|
180
|
-
},
|
|
181
|
-
// {
|
|
182
|
-
// provide: AX_VALIDATION_CONFIG,
|
|
183
|
-
// useValue: validationConfig({
|
|
184
|
-
// rules: {
|
|
185
|
-
// password: {
|
|
186
|
-
// rule: 'callback',
|
|
187
|
-
// options: {
|
|
188
|
-
// validate: (e: any) => {
|
|
189
|
-
// const { value } = e;
|
|
190
|
-
// const patterns = [/[A-Z]/, /[a-z]/, /\d/, /[!@#$%^&*(),.?":{}|<>]/];
|
|
191
|
-
// let conditionsMet = patterns.filter((pattern) => pattern.test(value)).length;
|
|
192
|
-
// return /.{8,}/.test(value) && conditionsMet >= 3;
|
|
193
|
-
// },
|
|
194
|
-
// message: 'Password must be 8+ characters with upper, lower, digit, or symbol.',
|
|
195
|
-
// // message: AXTranslator.get('validation.messages.password'),
|
|
196
|
-
// }
|
|
197
|
-
// },
|
|
198
|
-
// },
|
|
199
|
-
// }),
|
|
200
|
-
// },
|
|
201
|
-
],
|
|
488
|
+
declarations: [AXPComponentSlotDirective],
|
|
489
|
+
exports: [AXPComponentSlotDirective]
|
|
202
490
|
}]
|
|
203
491
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
492
|
+
type: Optional
|
|
493
|
+
}, {
|
|
204
494
|
type: Inject,
|
|
205
|
-
args: ['
|
|
495
|
+
args: ['AXPComponentSlotModuleFactory']
|
|
206
496
|
}] }] });
|
|
207
497
|
|
|
208
498
|
class AXPTextLogoConfig {
|
|
@@ -226,31 +516,34 @@ class AXPComponentLogoConfig {
|
|
|
226
516
|
}
|
|
227
517
|
}
|
|
228
518
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
519
|
+
class AXPLogoComponent {
|
|
520
|
+
ngOnInit() {
|
|
521
|
+
switch (true) {
|
|
522
|
+
case this.source instanceof AXPTextLogoConfig:
|
|
523
|
+
this.logoType = 'text';
|
|
524
|
+
break;
|
|
525
|
+
case this.source instanceof AXPImageUrlLogoConfig:
|
|
526
|
+
this.logoType = 'url';
|
|
527
|
+
break;
|
|
528
|
+
case this.source instanceof AXPFontIconLogoConfig:
|
|
529
|
+
this.logoType = 'iconClass';
|
|
530
|
+
break;
|
|
531
|
+
case this.source instanceof AXPComponentLogoConfig:
|
|
532
|
+
this.logoType = 'component';
|
|
533
|
+
break;
|
|
534
|
+
default:
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
246
537
|
}
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
return merge(AXPPlatformDefaultConfigs, config);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
class AXPDataProvider {
|
|
538
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
539
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLogoComponent, isStandalone: true, selector: "axp-logo", inputs: { source: "source" }, host: { classAttribute: "ax-flex ax-justify-center" }, ngImport: i0, template: "@switch (logoType) {\r\n@case ('text') {\r\n<span class=\"ax-font-bold ax-select-none\">{{ source.text }}</span>\r\n}\r\n@case ('url') {\r\n<ax-image [src]=\"source.url\"></ax-image>\r\n} @case ('iconClass') {\r\n<ax-icon class=\"{{ source.classIcon }}\"></ax-icon>\r\n} @case ('component') {\r\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\r\n}\r\n}", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$1.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }] }); }
|
|
253
540
|
}
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLogoComponent, decorators: [{
|
|
542
|
+
type: Component,
|
|
543
|
+
args: [{ selector: 'axp-logo', standalone: true, imports: [CommonModule, AXImageModule, AXDecoratorModule], host: { 'class': 'ax-flex ax-justify-center' }, template: "@switch (logoType) {\r\n@case ('text') {\r\n<span class=\"ax-font-bold ax-select-none\">{{ source.text }}</span>\r\n}\r\n@case ('url') {\r\n<ax-image [src]=\"source.url\"></ax-image>\r\n} @case ('iconClass') {\r\n<ax-icon class=\"{{ source.classIcon }}\"></ax-icon>\r\n} @case ('component') {\r\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\r\n}\r\n}" }]
|
|
544
|
+
}], propDecorators: { source: [{
|
|
545
|
+
type: Input
|
|
546
|
+
}] } });
|
|
254
547
|
|
|
255
548
|
const AXP_MENU_LOADER = new InjectionToken('AXP_MENU_LOADER', {
|
|
256
549
|
providedIn: 'root',
|
|
@@ -289,98 +582,1558 @@ class AXMenuLoaderDefault {
|
|
|
289
582
|
}
|
|
290
583
|
}
|
|
291
584
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
297
|
-
});
|
|
298
|
-
class AXPSettingsDefaultLoader {
|
|
299
|
-
global$() {
|
|
300
|
-
return of([]);
|
|
301
|
-
}
|
|
302
|
-
user$() {
|
|
303
|
-
return of([]);
|
|
304
|
-
}
|
|
585
|
+
class AXPFooterTextSlotComponent {
|
|
586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
587
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
|
|
588
|
+
<small class="ax-text-sm ax-text-neutral-400" [innerHTML]="text"></small>
|
|
589
|
+
`, isInline: true }); }
|
|
305
590
|
}
|
|
591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
|
|
592
|
+
type: Component,
|
|
593
|
+
args: [{
|
|
594
|
+
template: `
|
|
595
|
+
<small class="ax-text-sm ax-text-neutral-400" [innerHTML]="text"></small>
|
|
596
|
+
`,
|
|
597
|
+
standalone: true
|
|
598
|
+
}]
|
|
599
|
+
}], propDecorators: { text: [{
|
|
600
|
+
type: Input
|
|
601
|
+
}] } });
|
|
306
602
|
|
|
307
|
-
class
|
|
603
|
+
class AXPNavBarSlotComponent {
|
|
308
604
|
constructor() {
|
|
309
|
-
this.
|
|
310
|
-
this.settingsSubject = new BehaviorSubject([]);
|
|
311
|
-
this.settings$ = this.settingsSubject.asObservable().pipe(shareReplay(1));
|
|
605
|
+
this.store = inject(Store);
|
|
312
606
|
}
|
|
313
|
-
|
|
314
|
-
|
|
607
|
+
handleCommand(action) {
|
|
608
|
+
if (action)
|
|
609
|
+
this.store.dispatch(action);
|
|
610
|
+
}
|
|
611
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
612
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
|
|
613
|
+
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
614
|
+
<a *ngFor="let link of items" (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
615
|
+
</div>
|
|
616
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
315
617
|
}
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
317
|
-
type:
|
|
618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
|
|
619
|
+
type: Component,
|
|
318
620
|
args: [{
|
|
319
|
-
|
|
621
|
+
template: `
|
|
622
|
+
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
623
|
+
<a *ngFor="let link of items" (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
624
|
+
</div>
|
|
625
|
+
`,
|
|
626
|
+
standalone: true,
|
|
627
|
+
imports: [CommonModule],
|
|
628
|
+
encapsulation: ViewEncapsulation.None
|
|
320
629
|
}]
|
|
321
|
-
}]
|
|
630
|
+
}], propDecorators: { items: [{
|
|
631
|
+
type: Input
|
|
632
|
+
}] } });
|
|
322
633
|
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
-
const
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
634
|
+
const AXPWindowResizeAction = createAction('[Layout] Resize');
|
|
635
|
+
//
|
|
636
|
+
const AXPLayoutRootDrawerClose = createAction('[Root Drawer] Close');
|
|
637
|
+
const AXPLayoutRootDrawerToggle = createAction('[Root Drawer] Toggle');
|
|
638
|
+
const AXPLayoutChildDrawerClose = createAction('[Child Drawer] Close');
|
|
639
|
+
const AXPLayoutChildDrawerToggle = createAction('[Child Drawer] Toggle');
|
|
640
|
+
//
|
|
641
|
+
const AXPLayoutThemeDarkToggleAction = createAction('[Theme] Toggle Dark');
|
|
642
|
+
const AXPLoadingShowAction = createAction('[Theme] Loading Show');
|
|
643
|
+
const AXPLoadingHideAction = createAction('[Theme] Loading Hide');
|
|
644
|
+
|
|
645
|
+
const platform$1 = new AXPlatform();
|
|
646
|
+
const initialState = {
|
|
647
|
+
theme: {
|
|
648
|
+
dark: false,
|
|
649
|
+
},
|
|
650
|
+
screen: {
|
|
651
|
+
small: platform$1.is('SM') || platform$1.is('MD'),
|
|
652
|
+
},
|
|
653
|
+
drawer: {
|
|
654
|
+
root: !(platform$1.is('SM') || platform$1.is('MD')),
|
|
655
|
+
child: !(platform$1.is('SM') || platform$1.is('MD'))
|
|
656
|
+
},
|
|
657
|
+
loading: false
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
const platform = new AXPlatform();
|
|
661
|
+
const AXPLayoutFeature = createFeature({
|
|
662
|
+
name: 'layout',
|
|
663
|
+
reducer: createReducer(initialState,
|
|
664
|
+
// close drawers on navigatin
|
|
665
|
+
on(AXPNavigateAction, (state, action) => ({
|
|
666
|
+
...state,
|
|
667
|
+
drawer: { ...state.drawer, root: platform.is('SM') ? false : state.drawer.root, child: platform.is('SM') ? false : state.drawer.child },
|
|
668
|
+
})),
|
|
669
|
+
// toggle root drawers
|
|
670
|
+
on(AXPLayoutRootDrawerToggle, (state, action) => ({
|
|
671
|
+
...state,
|
|
672
|
+
drawer: { ...state.drawer, root: !state.drawer.root, child: (!state.drawer.root && platform.is('SM')) ? false : state.drawer.child },
|
|
673
|
+
})),
|
|
674
|
+
// close root drawers
|
|
675
|
+
on(AXPLayoutRootDrawerClose, (state) => ({
|
|
676
|
+
...state,
|
|
677
|
+
drawer: { ...state.drawer, root: false },
|
|
678
|
+
})),
|
|
679
|
+
// toggle second level child drawers
|
|
680
|
+
on(AXPLayoutChildDrawerToggle, (state) => ({
|
|
681
|
+
...state,
|
|
682
|
+
drawer: { ...state.drawer, child: !state.drawer.child },
|
|
683
|
+
})),
|
|
684
|
+
// close second level child drawers
|
|
685
|
+
on(AXPLayoutChildDrawerClose, (state) => ({
|
|
686
|
+
...state,
|
|
687
|
+
drawer: { ...state.drawer, child: false },
|
|
688
|
+
})),
|
|
689
|
+
// close drawers on window resize event
|
|
690
|
+
on(AXPWindowResizeAction, (state) => ({
|
|
691
|
+
...state,
|
|
692
|
+
screen: { small: platform.is('SM') || platform.is('MD') },
|
|
693
|
+
drawer: {
|
|
694
|
+
...state.drawer,
|
|
695
|
+
root: platform.is('SM') || platform.is('MD') ? false : state.drawer.root,
|
|
696
|
+
child: platform.is('SM') || platform.is('MD') ? false : state.drawer.child
|
|
697
|
+
},
|
|
698
|
+
})),
|
|
699
|
+
// toggle dark mode of theme
|
|
700
|
+
on(AXPLayoutThemeDarkToggleAction, (state) => ({
|
|
701
|
+
...state,
|
|
702
|
+
theme: { dark: !state.theme?.dark },
|
|
703
|
+
})),
|
|
704
|
+
// Admin Root layout loading
|
|
705
|
+
on(AXPLoadingShowAction, (state) => ({
|
|
706
|
+
...state,
|
|
707
|
+
loading: true,
|
|
708
|
+
})), on(AXPLoadingHideAction, (state) => ({
|
|
709
|
+
...state,
|
|
710
|
+
loading: false,
|
|
711
|
+
}))),
|
|
712
|
+
});
|
|
713
|
+
const { name, reducer, selectLayoutState, } = AXPLayoutFeature;
|
|
714
|
+
|
|
715
|
+
const getRootDrawer = () => createSelector(selectLayoutState, (value) => value.drawer.root);
|
|
716
|
+
const getChildDrawer = () => createSelector(selectLayoutState, (value) => value.drawer.child);
|
|
717
|
+
const isSmallScreen = () => createSelector(selectLayoutState, (value) => value.screen.small);
|
|
718
|
+
const isDarkTheme = () => createSelector(selectLayoutState, (value) => value.theme.dark);
|
|
719
|
+
const isLoading = () => createSelector(selectLayoutState, (value) => value.loading);
|
|
720
|
+
|
|
721
|
+
class AXPLayoutEffects {
|
|
722
|
+
constructor() {
|
|
723
|
+
this.platform = inject(AXPlatform);
|
|
724
|
+
this.actions$ = inject(Actions);
|
|
725
|
+
this.store$ = inject(Store);
|
|
726
|
+
this.resize$ = createEffect(() => fromEvent(window, 'resize').pipe(debounceTime(300), map(() => AXPWindowResizeAction())));
|
|
727
|
+
this.switchDark$ = createEffect(() => this.actions$.pipe(ofType(AXPLayoutThemeDarkToggleAction, AXPLoadInitState), withLatestFrom(this.store$.select(isDarkTheme())), mergeMap(([action, dark]) => {
|
|
728
|
+
//TODO: replace with platform function;
|
|
729
|
+
const html = document.getElementsByTagName('html')[0];
|
|
730
|
+
dark ? html.classList.add('ax-dark') : html.classList.remove('ax-dark');
|
|
731
|
+
return of();
|
|
732
|
+
})), { dispatch: false });
|
|
733
|
+
}
|
|
734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
735
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects }); }
|
|
736
|
+
}
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects, decorators: [{
|
|
738
|
+
type: Injectable
|
|
739
|
+
}] });
|
|
740
|
+
|
|
741
|
+
class AXPThemeSlotComponent {
|
|
742
|
+
constructor() {
|
|
743
|
+
this.store = inject((Store));
|
|
744
|
+
this.isDark = this.store.select(isDarkTheme());
|
|
745
|
+
}
|
|
746
|
+
switchMode() {
|
|
747
|
+
this.store.dispatch(AXPLayoutThemeDarkToggleAction());
|
|
748
|
+
}
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPThemeSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
750
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPThemeSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
751
|
+
<ax-button color="default" look="blank" (onClick)="switchMode()">
|
|
752
|
+
<ax-icon>
|
|
753
|
+
<i class="fa-solid fa-brightness ax-text-slate-400 dark:ax-text-slate-200" *ngIf="isDark | async"></i>
|
|
754
|
+
<i class="fa-solid fa-moon ax-text-slate-400 dark:ax-text-slate-200" *ngIf="!(isDark | async)"></i>
|
|
755
|
+
</ax-icon>
|
|
756
|
+
</ax-button>
|
|
757
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }] }); }
|
|
758
|
+
}
|
|
759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPThemeSlotComponent, decorators: [{
|
|
760
|
+
type: Component,
|
|
761
|
+
args: [{
|
|
762
|
+
template: `
|
|
763
|
+
<ax-button color="default" look="blank" (onClick)="switchMode()">
|
|
764
|
+
<ax-icon>
|
|
765
|
+
<i class="fa-solid fa-brightness ax-text-slate-400 dark:ax-text-slate-200" *ngIf="isDark | async"></i>
|
|
766
|
+
<i class="fa-solid fa-moon ax-text-slate-400 dark:ax-text-slate-200" *ngIf="!(isDark | async)"></i>
|
|
767
|
+
</ax-icon>
|
|
768
|
+
</ax-button>
|
|
769
|
+
`,
|
|
770
|
+
standalone: true,
|
|
771
|
+
imports: [
|
|
772
|
+
CommonModule,
|
|
773
|
+
AXButtonModule,
|
|
774
|
+
AXDecoratorModule
|
|
775
|
+
]
|
|
776
|
+
}]
|
|
777
|
+
}] });
|
|
778
|
+
|
|
779
|
+
class AXPCommonModule {
|
|
780
|
+
static forRoot(configs) {
|
|
781
|
+
return {
|
|
782
|
+
ngModule: AXPCommonModule,
|
|
783
|
+
providers: [
|
|
784
|
+
...(configs?.errorHandlers || []),
|
|
785
|
+
{
|
|
786
|
+
provide: 'AXPCommonModuleFactory',
|
|
787
|
+
useFactory: (registry) => () => {
|
|
788
|
+
registry.register(...(configs?.errorHandlers || []));
|
|
789
|
+
},
|
|
790
|
+
deps: [AXPErrorHandlerRegistryService],
|
|
791
|
+
multi: true,
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
static forChild(configs) {
|
|
797
|
+
return {
|
|
798
|
+
ngModule: AXPCommonModule,
|
|
799
|
+
providers: [
|
|
800
|
+
...(configs?.errorHandlers || []),
|
|
801
|
+
{
|
|
802
|
+
provide: 'AXPCommonModuleFactory',
|
|
803
|
+
useFactory: (registry) => () => {
|
|
804
|
+
registry.register(...(configs?.errorHandlers || []));
|
|
805
|
+
},
|
|
806
|
+
deps: [AXPErrorHandlerRegistryService],
|
|
807
|
+
multi: true,
|
|
808
|
+
},
|
|
809
|
+
],
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* @ignore
|
|
814
|
+
*/
|
|
815
|
+
constructor(instances) {
|
|
816
|
+
instances.forEach((f) => {
|
|
817
|
+
f();
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonModule, deps: [{ token: 'AXPCommonModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
821
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonModule, imports: [i1.EffectsFeatureModule, i2$3.StoreFeatureModule, AXPopupModule,
|
|
822
|
+
AXDateTimeModule,
|
|
823
|
+
AXToastModule], exports: [RouterModule] }); }
|
|
824
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonModule, providers: [
|
|
825
|
+
{
|
|
826
|
+
provide: ErrorHandler,
|
|
827
|
+
useClass: AXPGlobalErrorHandler,
|
|
828
|
+
},
|
|
829
|
+
], imports: [EffectsModule.forFeature([AXPCommonEffects, AXPLayoutEffects]),
|
|
830
|
+
StoreModule.forFeature(AXPLayoutFeature),
|
|
831
|
+
AXPopupModule,
|
|
832
|
+
AXDateTimeModule,
|
|
833
|
+
AXToastModule, RouterModule] }); }
|
|
834
|
+
}
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonModule, decorators: [{
|
|
836
|
+
type: NgModule,
|
|
837
|
+
args: [{
|
|
838
|
+
imports: [
|
|
839
|
+
EffectsModule.forFeature([AXPCommonEffects, AXPLayoutEffects]),
|
|
840
|
+
StoreModule.forFeature(AXPLayoutFeature),
|
|
841
|
+
AXPopupModule,
|
|
842
|
+
AXDateTimeModule,
|
|
843
|
+
AXToastModule
|
|
844
|
+
],
|
|
845
|
+
exports: [RouterModule],
|
|
846
|
+
providers: [
|
|
847
|
+
{
|
|
848
|
+
provide: ErrorHandler,
|
|
849
|
+
useClass: AXPGlobalErrorHandler,
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
}]
|
|
853
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
854
|
+
type: Inject,
|
|
855
|
+
args: ['AXPCommonModuleFactory']
|
|
856
|
+
}] }] });
|
|
857
|
+
|
|
858
|
+
const AXP_PLATFORM_CONFIG_TOKEN = new InjectionToken('AXP_PLATFORM_CONFIG_TOKEN', {
|
|
859
|
+
providedIn: 'root',
|
|
860
|
+
factory: () => {
|
|
861
|
+
return AXPPlatformDefaultConfigs;
|
|
862
|
+
},
|
|
863
|
+
});
|
|
864
|
+
const AXPPlatformDefaultConfigs = {
|
|
865
|
+
copyright: 'ACoreX @ 2023',
|
|
866
|
+
title: 'ACoreX Platform',
|
|
867
|
+
logo: {
|
|
868
|
+
dark: new AXPTextLogoConfig('ACoreX'),
|
|
869
|
+
light: new AXPTextLogoConfig('ACoreX'),
|
|
870
|
+
colored: new AXPTextLogoConfig('ACoreX'),
|
|
871
|
+
},
|
|
872
|
+
useLocalData: false,
|
|
873
|
+
network: {
|
|
874
|
+
timeOut: 5000,
|
|
875
|
+
}
|
|
876
|
+
};
|
|
877
|
+
function configPlatform(config = AXPPlatformDefaultConfigs) {
|
|
878
|
+
return merge(AXPPlatformDefaultConfigs, config);
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
const AXP_ROOT_CONFIG_TOKEN = new InjectionToken('AXP_ROOT_CONFIG_TOKEN');
|
|
882
|
+
|
|
883
|
+
class AXPDataProvider {
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
class AXPSchemaRegistryService {
|
|
887
|
+
constructor() {
|
|
888
|
+
this.types = new Map();
|
|
889
|
+
}
|
|
890
|
+
register(schema) {
|
|
891
|
+
this.types.set(schema.name, schema);
|
|
892
|
+
}
|
|
893
|
+
extend(parentName, schema) {
|
|
894
|
+
const parentSchema = this.resolve(parentName);
|
|
895
|
+
const newSchema = merge({}, parentSchema, schema);
|
|
896
|
+
newSchema.name = schema.name;
|
|
897
|
+
this.register(newSchema);
|
|
898
|
+
}
|
|
899
|
+
resolve(name) {
|
|
900
|
+
const schema = this.types.get(name);
|
|
901
|
+
if (!schema) {
|
|
902
|
+
throw new Error(`Parent schema with name ${schema} does not exist.`);
|
|
903
|
+
}
|
|
904
|
+
return schema;
|
|
905
|
+
}
|
|
906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
907
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaRegistryService, providedIn: 'root' }); }
|
|
908
|
+
}
|
|
909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaRegistryService, decorators: [{
|
|
910
|
+
type: Injectable,
|
|
911
|
+
args: [{
|
|
912
|
+
providedIn: 'root',
|
|
913
|
+
}]
|
|
914
|
+
}] });
|
|
915
|
+
|
|
916
|
+
const AXP_WIDGET_TOKEN = new InjectionToken('AXP_WIDGET_TOKEN');
|
|
917
|
+
|
|
918
|
+
class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponent {
|
|
919
|
+
constructor() {
|
|
920
|
+
super(...arguments);
|
|
921
|
+
this.widgetRegistery = inject(AXPSchemaRegistryService);
|
|
922
|
+
this.mergedOptions = {};
|
|
923
|
+
this.injector = inject(Injector);
|
|
924
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
925
|
+
}
|
|
926
|
+
get renderFooterTemplate() {
|
|
927
|
+
return this.footerTemplate ?? this._contentFooterTemplate;
|
|
928
|
+
}
|
|
929
|
+
get renderCellTemplate() {
|
|
930
|
+
return this.cellTemplate ?? this._contentCellTemplate;
|
|
931
|
+
}
|
|
932
|
+
get renderHeaderTemplate() {
|
|
933
|
+
return this.headerTemplate ?? this._contentHeaderTemplate;
|
|
934
|
+
}
|
|
935
|
+
get loadingEnabled() {
|
|
936
|
+
return true;
|
|
937
|
+
}
|
|
938
|
+
get name() {
|
|
939
|
+
return `col-${this.dataField}`;
|
|
940
|
+
}
|
|
941
|
+
get schemaName() {
|
|
942
|
+
return this._schemaName;
|
|
943
|
+
}
|
|
944
|
+
set schemaName(v) {
|
|
945
|
+
this._schemaName = v;
|
|
946
|
+
}
|
|
947
|
+
async ngOnInit() {
|
|
948
|
+
const schema = this.widgetRegistery.resolve(this.schemaName);
|
|
949
|
+
if (schema?.component?.column)
|
|
950
|
+
this.component = await schema?.component?.column.component();
|
|
951
|
+
this.mergedOptions = merge(cloneDeep(schema?.component.column?.options), this.options) || {};
|
|
952
|
+
const tokenValue = {
|
|
953
|
+
prop: {
|
|
954
|
+
name: this.dataField,
|
|
955
|
+
formats: { default: this.displayFormat },
|
|
956
|
+
},
|
|
957
|
+
schema: schema,
|
|
958
|
+
};
|
|
959
|
+
this.widgetInjector = Injector.create({
|
|
960
|
+
parent: this.injector,
|
|
961
|
+
providers: [
|
|
962
|
+
{
|
|
963
|
+
provide: AXP_WIDGET_TOKEN,
|
|
964
|
+
useValue: tokenValue,
|
|
965
|
+
},
|
|
966
|
+
],
|
|
967
|
+
});
|
|
968
|
+
this.width = this.mergedOptions.width ?? '200px';
|
|
969
|
+
this.allowResizing = this.mergedOptions.allowResizing || false;
|
|
970
|
+
this.cdr.markForCheck();
|
|
971
|
+
}
|
|
972
|
+
getInputs(data) {
|
|
973
|
+
return assign(this.mergedOptions, { context: data });
|
|
974
|
+
}
|
|
975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetColumnRendererComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPWidgetColumnRendererComponent, selector: "axp-widget-column-renderer", inputs: { width: "width", caption: "caption", headerTemplate: "headerTemplate", allowSorting: "allowSorting", fixed: "fixed", footerTemplate: "footerTemplate", cellTemplate: "cellTemplate", options: "options", dataField: "dataField", displayFormat: "displayFormat", schemaName: ["schema", "schemaName"] }, providers: [{ provide: AXDataTableColumnComponent, useExisting: AXPWidgetColumnRendererComponent }], viewQueries: [{ propertyName: "_contentFooterTemplate", first: true, predicate: ["footer"], descendants: true }, { propertyName: "_contentCellTemplate", first: true, predicate: ["cell"], descendants: true }, { propertyName: "_contentHeaderTemplate", first: true, predicate: ["header"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
977
|
+
<ng-template #header>{{ caption }}</ng-template>
|
|
978
|
+
<ng-template #cell let-row>
|
|
979
|
+
@if(component && widgetInjector && row?.data) {
|
|
980
|
+
<ng-container *ngComponentOutlet="component; injector: widgetInjector; inputs: getInputs(row.data)"></ng-container>
|
|
981
|
+
}
|
|
982
|
+
</ng-template>
|
|
983
|
+
<ng-template #footer></ng-template>
|
|
984
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
985
|
+
}
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetColumnRendererComponent, decorators: [{
|
|
987
|
+
type: Component,
|
|
988
|
+
args: [{
|
|
989
|
+
selector: 'axp-widget-column-renderer',
|
|
990
|
+
template: `
|
|
991
|
+
<ng-template #header>{{ caption }}</ng-template>
|
|
992
|
+
<ng-template #cell let-row>
|
|
993
|
+
@if(component && widgetInjector && row?.data) {
|
|
994
|
+
<ng-container *ngComponentOutlet="component; injector: widgetInjector; inputs: getInputs(row.data)"></ng-container>
|
|
995
|
+
}
|
|
996
|
+
</ng-template>
|
|
997
|
+
<ng-template #footer></ng-template>
|
|
998
|
+
`,
|
|
999
|
+
providers: [{ provide: AXDataTableColumnComponent, useExisting: AXPWidgetColumnRendererComponent }],
|
|
1000
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1001
|
+
inputs: ['width', 'caption', 'headerTemplate', 'allowSorting', 'fixed'],
|
|
1002
|
+
}]
|
|
1003
|
+
}], propDecorators: { footerTemplate: [{
|
|
1004
|
+
type: Input
|
|
1005
|
+
}], _contentFooterTemplate: [{
|
|
1006
|
+
type: ViewChild,
|
|
1007
|
+
args: ['footer']
|
|
1008
|
+
}], cellTemplate: [{
|
|
1009
|
+
type: Input
|
|
1010
|
+
}], _contentCellTemplate: [{
|
|
1011
|
+
type: ViewChild,
|
|
1012
|
+
args: ['cell']
|
|
1013
|
+
}], headerTemplate: [{
|
|
1014
|
+
type: Input
|
|
1015
|
+
}], _contentHeaderTemplate: [{
|
|
1016
|
+
type: ViewChild,
|
|
1017
|
+
args: ['header']
|
|
1018
|
+
}], options: [{
|
|
1019
|
+
type: Input
|
|
1020
|
+
}], dataField: [{
|
|
1021
|
+
type: Input
|
|
1022
|
+
}], displayFormat: [{
|
|
1023
|
+
type: Input
|
|
1024
|
+
}], schemaName: [{
|
|
1025
|
+
type: Input,
|
|
1026
|
+
args: ['schema']
|
|
1027
|
+
}] } });
|
|
1028
|
+
|
|
1029
|
+
class AXPWidgetFilterRendererComponent {
|
|
1030
|
+
constructor() {
|
|
1031
|
+
this.widgetRegistery = inject(AXPSchemaRegistryService);
|
|
1032
|
+
this.isLoading = true;
|
|
1033
|
+
this.valueChange = new EventEmitter();
|
|
1034
|
+
this.operatorChange = new EventEmitter();
|
|
1035
|
+
this.injector = inject(Injector);
|
|
1036
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1037
|
+
this.options = {};
|
|
1038
|
+
}
|
|
1039
|
+
get value() {
|
|
1040
|
+
return this._value;
|
|
1041
|
+
}
|
|
1042
|
+
set value(v) {
|
|
1043
|
+
this._value = v;
|
|
1044
|
+
this.updateValue();
|
|
1045
|
+
this.valueChange.emit(v);
|
|
1046
|
+
}
|
|
1047
|
+
get operator() {
|
|
1048
|
+
return this._operator;
|
|
1049
|
+
}
|
|
1050
|
+
set operator(op) {
|
|
1051
|
+
this._operator = op;
|
|
1052
|
+
this.updateOperator();
|
|
1053
|
+
this.operatorChange.emit(op);
|
|
1054
|
+
}
|
|
1055
|
+
get schemaName() {
|
|
1056
|
+
return this._schemaName;
|
|
1057
|
+
}
|
|
1058
|
+
set schemaName(v) {
|
|
1059
|
+
this._schemaName = v;
|
|
1060
|
+
setTimeout(async () => {
|
|
1061
|
+
await this.render();
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
async render() {
|
|
1065
|
+
const schema = this.widgetRegistery.resolve(this.schemaName);
|
|
1066
|
+
this.options =
|
|
1067
|
+
merge(cloneDeep(this.prop?.component?.common?.options), cloneDeep(this.prop?.component?.filter?.options), schema?.component?.filter?.options) || {};
|
|
1068
|
+
const tokenValue = {
|
|
1069
|
+
prop: this.prop,
|
|
1070
|
+
schema: schema,
|
|
1071
|
+
};
|
|
1072
|
+
const token = Injector.create({
|
|
1073
|
+
parent: this.injector,
|
|
1074
|
+
providers: [
|
|
1075
|
+
{
|
|
1076
|
+
provide: AXP_WIDGET_TOKEN,
|
|
1077
|
+
useValue: tokenValue,
|
|
1078
|
+
},
|
|
1079
|
+
],
|
|
1080
|
+
});
|
|
1081
|
+
if (schema?.component && schema.component.filter?.component) {
|
|
1082
|
+
var com = await schema.component.filter?.component();
|
|
1083
|
+
this.portal = new ComponentPortal(com, null, token);
|
|
1084
|
+
this.isLoading = false;
|
|
1085
|
+
this.cdr.markForCheck();
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
updateValue() {
|
|
1089
|
+
if (this.instance) {
|
|
1090
|
+
this.instance.value = this.value;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
updateOperator() {
|
|
1094
|
+
if (this.instance) {
|
|
1095
|
+
this.instance.operator = this.operator;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
handleAttached(portalOutletRef) {
|
|
1099
|
+
portalOutletRef = portalOutletRef;
|
|
1100
|
+
this.instance = portalOutletRef.instance;
|
|
1101
|
+
// console.log(this.schemaName, this.instance);
|
|
1102
|
+
assign(this.instance, this.options);
|
|
1103
|
+
this.updateValue();
|
|
1104
|
+
this.updateOperator();
|
|
1105
|
+
this.instance.valueChange.subscribe((v) => {
|
|
1106
|
+
if (!isEqual(v, this.value)) {
|
|
1107
|
+
this.value = v;
|
|
1108
|
+
}
|
|
1109
|
+
});
|
|
1110
|
+
this.instance.operatorChange.subscribe((op) => {
|
|
1111
|
+
if (!isEqual(op, this.operator)) {
|
|
1112
|
+
this.operator = op;
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
}
|
|
1116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPWidgetFilterRendererComponent, selector: "axp-widget-filter-renderer", inputs: { value: "value", operator: "operator", prop: "prop", schemaName: ["schema", "schemaName"] }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, host: { styleAttribute: "display: contents;" }, ngImport: i0, template: `
|
|
1118
|
+
@if(isLoading){
|
|
1119
|
+
<ax-skeleton [animated]="true" class="ax-w-full ax-h-8 ax-rounded"></ax-skeleton>
|
|
1120
|
+
} @else {
|
|
1121
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
1122
|
+
}
|
|
1123
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i2$4.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1124
|
+
}
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterRendererComponent, decorators: [{
|
|
1126
|
+
type: Component,
|
|
1127
|
+
args: [{
|
|
1128
|
+
selector: 'axp-widget-filter-renderer',
|
|
1129
|
+
template: `
|
|
1130
|
+
@if(isLoading){
|
|
1131
|
+
<ax-skeleton [animated]="true" class="ax-w-full ax-h-8 ax-rounded"></ax-skeleton>
|
|
1132
|
+
} @else {
|
|
1133
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
1134
|
+
}
|
|
1135
|
+
`,
|
|
1136
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1137
|
+
host: { style: 'display: contents;' },
|
|
1138
|
+
}]
|
|
1139
|
+
}], propDecorators: { valueChange: [{
|
|
1140
|
+
type: Output
|
|
1141
|
+
}], operatorChange: [{
|
|
1142
|
+
type: Output
|
|
1143
|
+
}], value: [{
|
|
1144
|
+
type: Input
|
|
1145
|
+
}], operator: [{
|
|
1146
|
+
type: Input
|
|
1147
|
+
}], prop: [{
|
|
1148
|
+
type: Input
|
|
1149
|
+
}], schemaName: [{
|
|
1150
|
+
type: Input,
|
|
1151
|
+
args: ['schema']
|
|
1152
|
+
}] } });
|
|
1153
|
+
|
|
1154
|
+
class AXPWidgetBase {
|
|
1155
|
+
constructor() {
|
|
1156
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1157
|
+
this.token = inject(AXP_WIDGET_TOKEN);
|
|
1158
|
+
this.formatService = inject(AXFormatService);
|
|
1159
|
+
this.markForCheck = inject(ChangeDetectorRef).markForCheck;
|
|
1160
|
+
}
|
|
1161
|
+
get schema() {
|
|
1162
|
+
return this.token.schema;
|
|
1163
|
+
}
|
|
1164
|
+
get prop() {
|
|
1165
|
+
return this.token.prop;
|
|
1166
|
+
}
|
|
1167
|
+
get rawValue() {
|
|
1168
|
+
return get(this.context, this.token.prop.name);
|
|
1169
|
+
}
|
|
1170
|
+
// protected get multiple(): boolean {
|
|
1171
|
+
// return this.token.prop.multiple ?? false;
|
|
1172
|
+
// }
|
|
1173
|
+
get formats() {
|
|
1174
|
+
return merge(cloneDeep(this.schema.formats), this.token.prop.formats);
|
|
1175
|
+
}
|
|
1176
|
+
get context() {
|
|
1177
|
+
return this._context;
|
|
1178
|
+
}
|
|
1179
|
+
set context(v) {
|
|
1180
|
+
this._context = v;
|
|
1181
|
+
this.render();
|
|
1182
|
+
this.cdr.markForCheck();
|
|
1183
|
+
}
|
|
1184
|
+
render() { }
|
|
1185
|
+
setOption(name, value) {
|
|
1186
|
+
}
|
|
1187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1188
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase }); }
|
|
1189
|
+
}
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase, decorators: [{
|
|
1191
|
+
type: Injectable
|
|
1192
|
+
}], propDecorators: { context: [{
|
|
1193
|
+
type: Input
|
|
1194
|
+
}] } });
|
|
1195
|
+
class AXPWidgetEditBase extends AXPWidgetBase {
|
|
1196
|
+
constructor() {
|
|
1197
|
+
super(...arguments);
|
|
1198
|
+
this.valueChange = new EventEmitter();
|
|
1199
|
+
}
|
|
1200
|
+
get value() {
|
|
1201
|
+
return this._value;
|
|
1202
|
+
}
|
|
1203
|
+
set value(v) {
|
|
1204
|
+
this._value = v;
|
|
1205
|
+
this.valueChange.emit(v);
|
|
1206
|
+
this.render();
|
|
1207
|
+
this.cdr.markForCheck();
|
|
1208
|
+
}
|
|
1209
|
+
get validations() {
|
|
1210
|
+
const merged = [...(this.schema.validationRules ?? []), ...(this.token.prop.validationRules ?? [])];
|
|
1211
|
+
return merged;
|
|
1212
|
+
}
|
|
1213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetEditBase, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetEditBase }); }
|
|
1215
|
+
}
|
|
1216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetEditBase, decorators: [{
|
|
1217
|
+
type: Injectable
|
|
1218
|
+
}], propDecorators: { valueChange: [{
|
|
1219
|
+
type: Output
|
|
1220
|
+
}], value: [{
|
|
1221
|
+
type: Input
|
|
1222
|
+
}] } });
|
|
1223
|
+
class AXPWidgetFilterBase extends AXPWidgetBase {
|
|
1224
|
+
constructor() {
|
|
1225
|
+
super(...arguments);
|
|
1226
|
+
this.operatorChange = new EventEmitter();
|
|
1227
|
+
this.valueChange = new EventEmitter();
|
|
1228
|
+
}
|
|
1229
|
+
get operator() {
|
|
1230
|
+
return this._operator;
|
|
1231
|
+
}
|
|
1232
|
+
set operator(op) {
|
|
1233
|
+
this._operator = op;
|
|
1234
|
+
this.operatorChange.emit(op);
|
|
1235
|
+
this.render();
|
|
1236
|
+
this.cdr.markForCheck();
|
|
1237
|
+
}
|
|
1238
|
+
get value() {
|
|
1239
|
+
return this._value;
|
|
1240
|
+
}
|
|
1241
|
+
set value(v) {
|
|
1242
|
+
this._value = v;
|
|
1243
|
+
this.valueChange.emit(v);
|
|
1244
|
+
this.render();
|
|
1245
|
+
this.cdr.markForCheck();
|
|
1246
|
+
}
|
|
1247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterBase, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1248
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterBase }); }
|
|
1249
|
+
}
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterBase, decorators: [{
|
|
1251
|
+
type: Injectable
|
|
1252
|
+
}], propDecorators: { operatorChange: [{
|
|
1253
|
+
type: Output
|
|
1254
|
+
}], operator: [{
|
|
1255
|
+
type: Input
|
|
1256
|
+
}], valueChange: [{
|
|
1257
|
+
type: Output
|
|
1258
|
+
}], value: [{
|
|
1259
|
+
type: Input
|
|
1260
|
+
}] } });
|
|
1261
|
+
|
|
1262
|
+
class AXPWidgetRendererComponent {
|
|
1263
|
+
constructor() {
|
|
1264
|
+
this.widgetRegistery = inject(AXPSchemaRegistryService);
|
|
1265
|
+
this.subscriber = inject(AXUnsubscriber);
|
|
1266
|
+
this.mode = 'view';
|
|
1267
|
+
this.isLoading = true;
|
|
1268
|
+
this.injector = inject(Injector);
|
|
1269
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
1270
|
+
this.options = {};
|
|
1271
|
+
}
|
|
1272
|
+
get context() {
|
|
1273
|
+
return this._context;
|
|
1274
|
+
}
|
|
1275
|
+
set context(v) {
|
|
1276
|
+
this._context = v;
|
|
1277
|
+
if (this.instance) {
|
|
1278
|
+
this.instance.context = v;
|
|
343
1279
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
1280
|
+
this.updateValue();
|
|
1281
|
+
}
|
|
1282
|
+
get schemaName() {
|
|
1283
|
+
return this._schemaName;
|
|
1284
|
+
}
|
|
1285
|
+
set schemaName(v) {
|
|
1286
|
+
this._schemaName = v;
|
|
1287
|
+
setTimeout(async () => {
|
|
1288
|
+
//TODO: move to better place
|
|
1289
|
+
await this.render();
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
async render() {
|
|
1293
|
+
const schema = this.widgetRegistery.resolve(this.schemaName);
|
|
1294
|
+
this.options =
|
|
1295
|
+
merge(cloneDeep(this.prop?.component?.common?.options), cloneDeep(this.prop?.component?.[this.mode]?.options), schema?.component?.[this.mode]?.options) || {};
|
|
1296
|
+
const tokenValue = {
|
|
1297
|
+
prop: this.prop,
|
|
1298
|
+
schema: schema,
|
|
1299
|
+
};
|
|
1300
|
+
const token = Injector.create({
|
|
1301
|
+
parent: this.injector,
|
|
1302
|
+
providers: [
|
|
1303
|
+
{
|
|
1304
|
+
provide: AXP_WIDGET_TOKEN,
|
|
1305
|
+
useValue: tokenValue,
|
|
1306
|
+
},
|
|
1307
|
+
],
|
|
1308
|
+
});
|
|
1309
|
+
if (schema?.component && schema.component[this.mode]?.component) {
|
|
1310
|
+
var com = await schema.component[this.mode]?.component();
|
|
1311
|
+
this.portal = new ComponentPortal(com, null, token);
|
|
1312
|
+
this.isLoading = false;
|
|
1313
|
+
this.cdr.markForCheck();
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
updateValue() {
|
|
1317
|
+
if (this.instance && this.context && this.instance instanceof AXPWidgetEditBase) {
|
|
1318
|
+
this.instance.value = get(this.context, this.prop.name);
|
|
347
1319
|
}
|
|
348
|
-
|
|
1320
|
+
}
|
|
1321
|
+
updateProps() {
|
|
1322
|
+
if (this.instance) {
|
|
1323
|
+
assign(this.instance, this.options);
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
handleAttached(portalOutletRef) {
|
|
1327
|
+
portalOutletRef = portalOutletRef;
|
|
1328
|
+
this.instance = portalOutletRef.instance;
|
|
1329
|
+
this.instance.context = this.context;
|
|
1330
|
+
this.updateProps();
|
|
1331
|
+
this.updateValue();
|
|
1332
|
+
if (this.instance instanceof AXPWidgetEditBase) {
|
|
1333
|
+
this.instance.valueChange.pipe(this.subscriber.takeUntilDestroy).subscribe((v) => {
|
|
1334
|
+
set(this.context, this.prop.name, v);
|
|
1335
|
+
if (this.options['reference']) {
|
|
1336
|
+
const valueField = this.prop.component?.common?.options?.valueField || 'id';
|
|
1337
|
+
const referenceField = this.options['referenceField'];
|
|
1338
|
+
if (referenceField) {
|
|
1339
|
+
if (Array.isArray(v)) {
|
|
1340
|
+
this.context[referenceField] = v.map((item) => item[valueField]);
|
|
1341
|
+
}
|
|
1342
|
+
else {
|
|
1343
|
+
this.context[referenceField] = v?.[valueField];
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
else {
|
|
1347
|
+
this.context[`${this.prop.name}Id`] = v[valueField];
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1354
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: { context: "context", prop: "prop", mode: "mode", schemaName: ["schema", "schemaName"] }, host: { styleAttribute: "display: contents;" }, providers: [
|
|
1355
|
+
{
|
|
1356
|
+
provide: AXUnsubscriber,
|
|
1357
|
+
},
|
|
1358
|
+
], ngImport: i0, template: `
|
|
1359
|
+
@if(isLoading){
|
|
1360
|
+
<ax-skeleton [animated]="true" class="ax-w-full lg:ax-w-[50%] ax-h-8 ax-rounded"></ax-skeleton>
|
|
1361
|
+
} @else {
|
|
1362
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
1363
|
+
}
|
|
1364
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i2$4.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1365
|
+
}
|
|
1366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetRendererComponent, decorators: [{
|
|
1367
|
+
type: Component,
|
|
1368
|
+
args: [{
|
|
1369
|
+
selector: 'axp-widget-renderer',
|
|
1370
|
+
template: `
|
|
1371
|
+
@if(isLoading){
|
|
1372
|
+
<ax-skeleton [animated]="true" class="ax-w-full lg:ax-w-[50%] ax-h-8 ax-rounded"></ax-skeleton>
|
|
1373
|
+
} @else {
|
|
1374
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
1375
|
+
}
|
|
1376
|
+
`,
|
|
1377
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1378
|
+
host: { style: 'display: contents;' },
|
|
1379
|
+
providers: [
|
|
1380
|
+
{
|
|
1381
|
+
provide: AXUnsubscriber,
|
|
1382
|
+
},
|
|
1383
|
+
],
|
|
1384
|
+
}]
|
|
1385
|
+
}], propDecorators: { context: [{
|
|
1386
|
+
type: Input
|
|
1387
|
+
}], prop: [{
|
|
1388
|
+
type: Input
|
|
1389
|
+
}], mode: [{
|
|
1390
|
+
type: Input
|
|
1391
|
+
}], schemaName: [{
|
|
1392
|
+
type: Input,
|
|
1393
|
+
args: ['schema']
|
|
1394
|
+
}] } });
|
|
1395
|
+
|
|
1396
|
+
class AXPSchemaModule {
|
|
1397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1398
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaModule, declarations: [AXPWidgetRendererComponent, AXPWidgetColumnRendererComponent, AXPWidgetFilterRendererComponent], imports: [PortalModule, AXSkeletonModule, CommonModule], exports: [AXPWidgetRendererComponent, AXPWidgetFilterRendererComponent, AXPWidgetColumnRendererComponent] }); }
|
|
1399
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaModule, imports: [PortalModule, AXSkeletonModule, CommonModule] }); }
|
|
1400
|
+
}
|
|
1401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSchemaModule, decorators: [{
|
|
1402
|
+
type: NgModule,
|
|
1403
|
+
args: [{
|
|
1404
|
+
imports: [PortalModule, AXSkeletonModule, CommonModule],
|
|
1405
|
+
exports: [AXPWidgetRendererComponent, AXPWidgetFilterRendererComponent, AXPWidgetColumnRendererComponent],
|
|
1406
|
+
declarations: [AXPWidgetRendererComponent, AXPWidgetColumnRendererComponent, AXPWidgetFilterRendererComponent],
|
|
1407
|
+
providers: [],
|
|
1408
|
+
}]
|
|
1409
|
+
}] });
|
|
1410
|
+
|
|
1411
|
+
const AXPEntityListViewConfigEmpty = {
|
|
1412
|
+
fixed: false,
|
|
1413
|
+
columns: [],
|
|
1414
|
+
conditions: [],
|
|
1415
|
+
sorts: [],
|
|
1416
|
+
name: 'empty',
|
|
1417
|
+
title: 'Empty',
|
|
1418
|
+
};
|
|
1419
|
+
function convertPropertyToColumn(property) {
|
|
1420
|
+
return {
|
|
1421
|
+
//TODO: merge format function
|
|
1422
|
+
schema: property.schema,
|
|
1423
|
+
name: property.name,
|
|
1424
|
+
title: property.title,
|
|
1425
|
+
visible: true,
|
|
1426
|
+
displayFormat: property.formats?.list ?? property.formats?.default,
|
|
1427
|
+
sortOptions: {
|
|
1428
|
+
enabled: property.canSort,
|
|
1429
|
+
property: property.name,
|
|
1430
|
+
},
|
|
1431
|
+
filterOptions: {
|
|
1432
|
+
enabled: property.canFilter,
|
|
1433
|
+
property: property.name,
|
|
1434
|
+
},
|
|
1435
|
+
options: merge(cloneDeep(property.component?.common?.options), property.component?.column?.options),
|
|
349
1436
|
};
|
|
350
1437
|
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
1438
|
+
function convertPropertiesToColumns(...propertis) {
|
|
1439
|
+
return propertis.map((p) => convertPropertyToColumn(p));
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
class AXEntityLoaderDefault {
|
|
1443
|
+
async get(moduleName, entityName) {
|
|
1444
|
+
return null;
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
const AXP_ENTITY_LOADER = new InjectionToken('AXP_ENTITY_LOADER', {
|
|
1448
|
+
providedIn: 'root',
|
|
1449
|
+
factory: () => {
|
|
1450
|
+
return new AXEntityLoaderDefault();
|
|
1451
|
+
},
|
|
1452
|
+
});
|
|
1453
|
+
|
|
1454
|
+
class AXPEntityRegistryService {
|
|
1455
|
+
constructor() {
|
|
1456
|
+
// Stores AXPEntityConfig objects, keyed by a combination of module and entity name.
|
|
1457
|
+
this.entities = new Map();
|
|
1458
|
+
// Entity loader service for dynamically loading entity configurations.
|
|
1459
|
+
this.loader = inject(AXP_ENTITY_LOADER); // Assuming AXPEntityLoader is the correct type
|
|
1460
|
+
}
|
|
1461
|
+
/**
|
|
1462
|
+
* Registers a new entity configuration. Entities are identified uniquely by a combination
|
|
1463
|
+
* of their module and name.
|
|
1464
|
+
*
|
|
1465
|
+
* @param config The configuration object of the entity to be registered.
|
|
1466
|
+
*/
|
|
1467
|
+
register(config) {
|
|
1468
|
+
const key = this.createEntityKey(config.module, config.name);
|
|
1469
|
+
this.entities.set(key, config);
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* Resolves an entity configuration based on module and entity name. If the configuration
|
|
1473
|
+
* is not already registered, attempts to load it dynamically. Throws an error if the
|
|
1474
|
+
* entity cannot be found or loaded.
|
|
1475
|
+
*
|
|
1476
|
+
* @param moduleName The module name of the entity.
|
|
1477
|
+
* @param entityName The name of the entity.
|
|
1478
|
+
* @returns A promise resolving to the entity configuration.
|
|
1479
|
+
* @throws Error if the entity configuration cannot be resolved.
|
|
1480
|
+
*/
|
|
1481
|
+
async resolve(moduleName, entityName) {
|
|
1482
|
+
const key = this.createEntityKey(moduleName, entityName);
|
|
1483
|
+
let config = this.entities.get(key) ?? null;
|
|
1484
|
+
if (!config) {
|
|
1485
|
+
try {
|
|
1486
|
+
config = await this.loader.get(moduleName, entityName);
|
|
1487
|
+
if (config) {
|
|
1488
|
+
this.register(config);
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
catch (error) {
|
|
1492
|
+
console.error(`Error loading entity '${key}':`, error);
|
|
1493
|
+
throw error; // Rethrow to allow error handling by caller
|
|
1494
|
+
}
|
|
1495
|
+
if (!config) {
|
|
1496
|
+
throw new Error(`Invalid Entity name: ${key}`);
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
return config;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* Creates a unique key for an entity based on its module and name.
|
|
1503
|
+
*
|
|
1504
|
+
* @param moduleName The module name of the entity.
|
|
1505
|
+
* @param entityName The name of the entity.
|
|
1506
|
+
* @returns The unique key for the entity.
|
|
1507
|
+
*/
|
|
1508
|
+
createEntityKey(moduleName, entityName) {
|
|
1509
|
+
return `${moduleName}.${entityName}`;
|
|
1510
|
+
}
|
|
1511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1512
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityRegistryService, providedIn: 'root' }); }
|
|
1513
|
+
}
|
|
1514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityRegistryService, decorators: [{
|
|
1515
|
+
type: Injectable,
|
|
1516
|
+
args: [{
|
|
1517
|
+
providedIn: 'root',
|
|
1518
|
+
}]
|
|
1519
|
+
}] });
|
|
1520
|
+
|
|
1521
|
+
var AXPRelationshipKind;
|
|
1522
|
+
(function (AXPRelationshipKind) {
|
|
1523
|
+
AXPRelationshipKind[AXPRelationshipKind["Association"] = 0] = "Association";
|
|
1524
|
+
AXPRelationshipKind[AXPRelationshipKind["Composition"] = 1] = "Composition";
|
|
1525
|
+
AXPRelationshipKind[AXPRelationshipKind["Aggregation"] = 2] = "Aggregation";
|
|
1526
|
+
})(AXPRelationshipKind || (AXPRelationshipKind = {}));
|
|
1527
|
+
var AXPRelationshipCardinality;
|
|
1528
|
+
(function (AXPRelationshipCardinality) {
|
|
1529
|
+
AXPRelationshipCardinality[AXPRelationshipCardinality["OneToOne"] = 0] = "OneToOne";
|
|
1530
|
+
AXPRelationshipCardinality[AXPRelationshipCardinality["OneToMany"] = 1] = "OneToMany";
|
|
1531
|
+
AXPRelationshipCardinality[AXPRelationshipCardinality["ManyToMany"] = 2] = "ManyToMany";
|
|
1532
|
+
})(AXPRelationshipCardinality || (AXPRelationshipCardinality = {}));
|
|
1533
|
+
var AXPEntityCommandScope;
|
|
1534
|
+
(function (AXPEntityCommandScope) {
|
|
1535
|
+
AXPEntityCommandScope["TypeLevel"] = "typeLevel";
|
|
1536
|
+
AXPEntityCommandScope["Selected"] = "selected";
|
|
1537
|
+
AXPEntityCommandScope["Individual"] = "individual";
|
|
1538
|
+
AXPEntityCommandScope["Section"] = "section";
|
|
1539
|
+
})(AXPEntityCommandScope || (AXPEntityCommandScope = {}));
|
|
1540
|
+
var AXPEntityQueryType;
|
|
1541
|
+
(function (AXPEntityQueryType) {
|
|
1542
|
+
AXPEntityQueryType["Single"] = "single";
|
|
1543
|
+
AXPEntityQueryType["List"] = "list";
|
|
1544
|
+
})(AXPEntityQueryType || (AXPEntityQueryType = {}));
|
|
1545
|
+
function resolveActionLook(tr) {
|
|
1546
|
+
switch (tr.type) {
|
|
1547
|
+
case 'create':
|
|
1548
|
+
return { color: 'primary', icon: 'fa-solid fa-add' };
|
|
1549
|
+
case 'delete':
|
|
1550
|
+
return { color: 'danger', icon: 'fa-solid fa-trash' };
|
|
1551
|
+
case 'print':
|
|
1552
|
+
return { color: 'secondary', icon: 'fa-solid fa-print' };
|
|
1553
|
+
case 'confirm':
|
|
1554
|
+
return { color: 'success', icon: 'fa-solid fa-check' };
|
|
1555
|
+
default:
|
|
1556
|
+
return { color: 'primary', icon: '' };
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
const EQ_OPER = { name: 'equal', title: 'Equal', hasValue: true };
|
|
1561
|
+
const NOT_EQ_OPER = { name: 'notEqual', title: 'Not Equal', hasValue: true };
|
|
1562
|
+
const GT_OPER = { name: 'greaterThan', title: 'Greater Than', hasValue: true };
|
|
1563
|
+
const LT_OPER = { name: 'lessThan', title: 'Less Than', hasValue: true };
|
|
1564
|
+
const GTE_OPER = {
|
|
1565
|
+
name: 'greaterThanOrEqual',
|
|
1566
|
+
title: 'Greater Than or Equal',
|
|
1567
|
+
hasValue: true,
|
|
1568
|
+
};
|
|
1569
|
+
const LTE_OPER = { name: 'lessThanOrEqual', title: 'Less Than or Equal', hasValue: true };
|
|
1570
|
+
const CONTAINS_OPER = { name: 'contains', title: 'Contains', hasValue: true };
|
|
1571
|
+
const NOT_CONTAINS_OPER = { name: 'notContains', title: 'Does Not Contain', hasValue: true };
|
|
1572
|
+
const STARTS_WITH_OPER = { name: 'startsWith', title: 'Starts With', hasValue: true };
|
|
1573
|
+
const ENDS_WITH_OPER = { name: 'endsWith', title: 'Ends With', hasValue: true };
|
|
1574
|
+
const IS_EMPTY_OPER = { name: 'isEmpty', title: 'Is Empty', hasValue: false };
|
|
1575
|
+
const IS_NOT_EMPTY_OPER = { name: 'isNotEmpty', title: 'Is Not Empty', hasValue: false };
|
|
1576
|
+
const BETWEEN_OPER = { name: 'between', title: 'Between', hasValue: true };
|
|
1577
|
+
const STRING_OPERATORS = [
|
|
1578
|
+
EQ_OPER,
|
|
1579
|
+
NOT_EQ_OPER,
|
|
1580
|
+
CONTAINS_OPER,
|
|
1581
|
+
NOT_CONTAINS_OPER,
|
|
1582
|
+
STARTS_WITH_OPER,
|
|
1583
|
+
ENDS_WITH_OPER,
|
|
1584
|
+
IS_EMPTY_OPER,
|
|
1585
|
+
IS_NOT_EMPTY_OPER,
|
|
1586
|
+
];
|
|
1587
|
+
const NUMBER_OPERATORS = [
|
|
1588
|
+
EQ_OPER,
|
|
1589
|
+
NOT_EQ_OPER,
|
|
1590
|
+
BETWEEN_OPER,
|
|
1591
|
+
GT_OPER,
|
|
1592
|
+
GTE_OPER,
|
|
1593
|
+
LT_OPER,
|
|
1594
|
+
LTE_OPER,
|
|
1595
|
+
IS_EMPTY_OPER,
|
|
1596
|
+
IS_NOT_EMPTY_OPER,
|
|
1597
|
+
];
|
|
1598
|
+
const BOOLEAN_OPERATORS = [EQ_OPER];
|
|
1599
|
+
const DATE_OPERATORS = [
|
|
1600
|
+
EQ_OPER,
|
|
1601
|
+
NOT_EQ_OPER,
|
|
1602
|
+
GT_OPER,
|
|
1603
|
+
GTE_OPER,
|
|
1604
|
+
LT_OPER,
|
|
1605
|
+
LTE_OPER,
|
|
1606
|
+
IS_EMPTY_OPER,
|
|
1607
|
+
IS_NOT_EMPTY_OPER,
|
|
1608
|
+
];
|
|
1609
|
+
|
|
1610
|
+
const widgetSchemas = {
|
|
1611
|
+
//*Sharing schema list with other modules
|
|
1612
|
+
text: 'text',
|
|
1613
|
+
largetext: 'largetext',
|
|
1614
|
+
number: 'number',
|
|
1615
|
+
currency: 'currency',
|
|
1616
|
+
phone: 'phone',
|
|
1617
|
+
email: 'email',
|
|
1618
|
+
dateTime: 'dateTime',
|
|
1619
|
+
date: 'date',
|
|
1620
|
+
time: 'time',
|
|
1621
|
+
toggle: 'toggle',
|
|
1622
|
+
checkbox: 'checkbox',
|
|
1623
|
+
password: 'password',
|
|
1624
|
+
file: 'file',
|
|
1625
|
+
lookup: 'lookup',
|
|
1626
|
+
selectionList: 'selection-list',
|
|
1627
|
+
richText: 'rich-text',
|
|
1628
|
+
map: 'map',
|
|
1629
|
+
avatar: 'avatar',
|
|
1630
|
+
messenger: 'messenger',
|
|
1631
|
+
gallery: 'gallery',
|
|
1632
|
+
signaturePad: 'signature-pad',
|
|
1633
|
+
};
|
|
1634
|
+
class AXPCommonWidgetModule {
|
|
1635
|
+
constructor(service) {
|
|
1636
|
+
//text
|
|
1637
|
+
service.register({
|
|
1638
|
+
component: {
|
|
1639
|
+
view: {
|
|
1640
|
+
component: () => import('./acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs').then((c) => c.AXPTextWidgetViewComponent),
|
|
1641
|
+
},
|
|
1642
|
+
filter: {
|
|
1643
|
+
component: () => import('./acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs').then((c) => c.AXPStringWidgetFilterComponent),
|
|
1644
|
+
},
|
|
1645
|
+
edit: {
|
|
1646
|
+
component: () => import('./acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs').then((c) => c.AXPTextWidgetEditComponent),
|
|
1647
|
+
},
|
|
1648
|
+
column: {
|
|
1649
|
+
component: () => import('./acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs').then((c) => c.AXPTextWidgetColumnComponent),
|
|
1650
|
+
options: { allowResizing: true },
|
|
1651
|
+
},
|
|
1652
|
+
},
|
|
1653
|
+
filterOptions: {
|
|
1654
|
+
operators: [...STRING_OPERATORS],
|
|
1655
|
+
default: CONTAINS_OPER,
|
|
1656
|
+
},
|
|
1657
|
+
name: widgetSchemas.text,
|
|
1658
|
+
dataType: 'string',
|
|
1659
|
+
});
|
|
1660
|
+
service.extend('text', {
|
|
1661
|
+
name: widgetSchemas.largetext,
|
|
1662
|
+
component: {
|
|
1663
|
+
edit: {
|
|
1664
|
+
component: () => import('./acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs').then((c) => c.AXPLargeTextWidgetEditComponent),
|
|
1665
|
+
},
|
|
1666
|
+
column: {
|
|
1667
|
+
options: {
|
|
1668
|
+
width: '400px',
|
|
1669
|
+
},
|
|
1670
|
+
},
|
|
1671
|
+
},
|
|
1672
|
+
});
|
|
1673
|
+
//
|
|
1674
|
+
service.register({
|
|
1675
|
+
component: {
|
|
1676
|
+
view: {
|
|
1677
|
+
component: () => import('./acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs').then((c) => c.AXPNumberWidgetViewComponent),
|
|
1678
|
+
},
|
|
1679
|
+
filter: {
|
|
1680
|
+
component: () => import('./acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs').then((c) => c.AXPNumberWidgetFilterComponent),
|
|
1681
|
+
},
|
|
1682
|
+
edit: {
|
|
1683
|
+
component: () => import('./acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs').then((c) => c.AXPNumberWidgetEditComponent),
|
|
1684
|
+
},
|
|
1685
|
+
column: {
|
|
1686
|
+
component: () => import('./acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs').then((c) => c.AXPNumberWidgetViewComponent),
|
|
1687
|
+
options: { allowResizing: true },
|
|
1688
|
+
},
|
|
1689
|
+
},
|
|
1690
|
+
name: widgetSchemas.number,
|
|
1691
|
+
filterOptions: {
|
|
1692
|
+
operators: [...NUMBER_OPERATORS],
|
|
1693
|
+
default: BETWEEN_OPER,
|
|
1694
|
+
},
|
|
1695
|
+
dataType: 'number',
|
|
1696
|
+
});
|
|
1697
|
+
service.extend('number', {
|
|
1698
|
+
name: widgetSchemas.currency,
|
|
1699
|
+
formats: {
|
|
1700
|
+
default: 'EN-GB',
|
|
1701
|
+
},
|
|
1702
|
+
component: {
|
|
1703
|
+
edit: {
|
|
1704
|
+
options: {
|
|
1705
|
+
clearButton: false,
|
|
1706
|
+
},
|
|
1707
|
+
},
|
|
1708
|
+
},
|
|
1709
|
+
});
|
|
1710
|
+
//phone
|
|
1711
|
+
service.register({
|
|
1712
|
+
component: {
|
|
1713
|
+
view: {
|
|
1714
|
+
component: () => import('./acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs').then((c) => c.AXPPhoneWidgetViewComponent),
|
|
1715
|
+
},
|
|
1716
|
+
column: {
|
|
1717
|
+
component: () => import('./acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs').then((c) => c.AXPPhoneWidgetColumnComponent),
|
|
1718
|
+
options: { allowResizing: true },
|
|
1719
|
+
},
|
|
1720
|
+
edit: {
|
|
1721
|
+
component: () => import('./acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs').then((c) => c.AXPPhoneWidgetEditComponent),
|
|
1722
|
+
},
|
|
1723
|
+
filter: {
|
|
1724
|
+
component: () => import('./acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs').then((c) => c.AXPStringWidgetFilterComponent),
|
|
1725
|
+
},
|
|
1726
|
+
},
|
|
1727
|
+
name: widgetSchemas.phone,
|
|
1728
|
+
filterOptions: {
|
|
1729
|
+
operators: [...STRING_OPERATORS],
|
|
1730
|
+
default: CONTAINS_OPER,
|
|
1731
|
+
},
|
|
1732
|
+
dataType: 'object',
|
|
1733
|
+
});
|
|
1734
|
+
//email
|
|
1735
|
+
service.register({
|
|
1736
|
+
component: {
|
|
1737
|
+
view: {
|
|
1738
|
+
component: () => import('./acorex-platform-common-email-widget-view.component-B6puyycL.mjs').then((c) => c.AXPEmailWidgetViewComponent),
|
|
1739
|
+
},
|
|
1740
|
+
edit: {
|
|
1741
|
+
component: () => import('./acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs').then((c) => c.AXPEmailWidgetEditComponent),
|
|
1742
|
+
},
|
|
1743
|
+
filter: {
|
|
1744
|
+
component: () => import('./acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs').then((c) => c.AXPStringWidgetFilterComponent),
|
|
1745
|
+
},
|
|
1746
|
+
column: {
|
|
1747
|
+
component: () => import('./acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs').then((c) => c.AXPEmailWidgetColumnComponent),
|
|
1748
|
+
options: { allowResizing: true },
|
|
1749
|
+
},
|
|
1750
|
+
},
|
|
1751
|
+
name: widgetSchemas.email,
|
|
1752
|
+
filterOptions: {
|
|
1753
|
+
operators: [...STRING_OPERATORS],
|
|
1754
|
+
default: CONTAINS_OPER,
|
|
1755
|
+
},
|
|
1756
|
+
dataType: 'object',
|
|
1757
|
+
});
|
|
1758
|
+
// dateTime
|
|
1759
|
+
service.register({
|
|
1760
|
+
component: {
|
|
1761
|
+
view: {
|
|
1762
|
+
component: () => import('./acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs').then((c) => c.AXPDateTimeWidgetViewComponent),
|
|
1763
|
+
},
|
|
1764
|
+
edit: {
|
|
1765
|
+
component: () => import('./acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs').then((c) => c.AXPDateTimeWidgetEditComponent),
|
|
1766
|
+
},
|
|
1767
|
+
filter: {
|
|
1768
|
+
component: () => import('./acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs').then((c) => c.AXPDateTimeWidgetFilterComponent),
|
|
1769
|
+
},
|
|
1770
|
+
column: {
|
|
1771
|
+
component: () => import('./acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs').then((c) => c.AXPDateTimeWidgetColumnComponent),
|
|
1772
|
+
options: {
|
|
1773
|
+
width: '200px',
|
|
1774
|
+
allowResizing: true,
|
|
1775
|
+
},
|
|
1776
|
+
},
|
|
1777
|
+
},
|
|
1778
|
+
formats: {
|
|
1779
|
+
default: 'date',
|
|
1780
|
+
},
|
|
1781
|
+
filterOptions: {
|
|
1782
|
+
operators: [...DATE_OPERATORS],
|
|
1783
|
+
default: BETWEEN_OPER,
|
|
1784
|
+
},
|
|
1785
|
+
name: widgetSchemas.dateTime,
|
|
1786
|
+
dataType: 'date',
|
|
1787
|
+
});
|
|
1788
|
+
service.extend(widgetSchemas.dateTime, {
|
|
1789
|
+
name: widgetSchemas.date,
|
|
1790
|
+
formats: {
|
|
1791
|
+
default: 'date',
|
|
1792
|
+
},
|
|
1793
|
+
component: {
|
|
1794
|
+
column: {
|
|
1795
|
+
options: {
|
|
1796
|
+
width: '120px',
|
|
1797
|
+
},
|
|
1798
|
+
},
|
|
1799
|
+
},
|
|
1800
|
+
});
|
|
1801
|
+
service.extend(widgetSchemas.dateTime, {
|
|
1802
|
+
name: widgetSchemas.time,
|
|
1803
|
+
formats: {
|
|
1804
|
+
default: 'time',
|
|
1805
|
+
},
|
|
1806
|
+
component: {
|
|
1807
|
+
column: {
|
|
1808
|
+
options: {
|
|
1809
|
+
width: '80px',
|
|
1810
|
+
},
|
|
1811
|
+
},
|
|
1812
|
+
},
|
|
1813
|
+
});
|
|
1814
|
+
//toggle
|
|
1815
|
+
service.register({
|
|
1816
|
+
component: {
|
|
1817
|
+
view: {
|
|
1818
|
+
component: () => import('./acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs').then((c) => c.AXPToggleWidgetViewComponent),
|
|
1819
|
+
},
|
|
1820
|
+
edit: {
|
|
1821
|
+
component: () => import('./acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs').then((c) => c.AXPToggleWidgetEditComponent),
|
|
1822
|
+
},
|
|
1823
|
+
filter: {
|
|
1824
|
+
component: () => import('./acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs').then((c) => c.AXPBooleanWidgetFilterComponent),
|
|
1825
|
+
},
|
|
1826
|
+
column: {
|
|
1827
|
+
component: () => import('./acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs').then((c) => c.AXPToggleWidgetColumnComponent),
|
|
1828
|
+
options: {
|
|
1829
|
+
width: '100px',
|
|
1830
|
+
allowResizing: true
|
|
1831
|
+
},
|
|
1832
|
+
},
|
|
1833
|
+
},
|
|
1834
|
+
filterOptions: {
|
|
1835
|
+
operators: [],
|
|
1836
|
+
default: EQ_OPER,
|
|
1837
|
+
},
|
|
1838
|
+
name: widgetSchemas.toggle,
|
|
1839
|
+
dataType: 'boolean',
|
|
1840
|
+
});
|
|
1841
|
+
//checkbox
|
|
1842
|
+
service.register({
|
|
1843
|
+
component: {
|
|
1844
|
+
view: {
|
|
1845
|
+
component: () => import('./acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs').then((c) => c.AXPCheckboxWidgetViewComponent),
|
|
1846
|
+
},
|
|
1847
|
+
edit: {
|
|
1848
|
+
component: () => import('./acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs').then((c) => c.AXPCheckboxWidgetEditComponent),
|
|
1849
|
+
},
|
|
1850
|
+
filter: {
|
|
1851
|
+
component: () => import('./acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs').then((c) => c.AXPBooleanWidgetFilterComponent),
|
|
1852
|
+
},
|
|
1853
|
+
column: {
|
|
1854
|
+
component: () => import('./acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs').then((c) => c.AXPCheckboxWidgetColumnComponent),
|
|
1855
|
+
options: {
|
|
1856
|
+
width: '100px',
|
|
1857
|
+
allowResizing: true
|
|
1858
|
+
},
|
|
1859
|
+
},
|
|
1860
|
+
},
|
|
1861
|
+
filterOptions: {
|
|
1862
|
+
operators: [],
|
|
1863
|
+
default: EQ_OPER,
|
|
1864
|
+
},
|
|
1865
|
+
name: widgetSchemas.checkbox,
|
|
1866
|
+
dataType: 'boolean',
|
|
1867
|
+
});
|
|
1868
|
+
//password
|
|
1869
|
+
service.register({
|
|
1870
|
+
component: {
|
|
1871
|
+
view: {
|
|
1872
|
+
component: () => import('./acorex-platform-common-password-widget-view.component-CKaQItON.mjs').then((c) => c.AXPPasswordWidgetViewComponent),
|
|
1873
|
+
},
|
|
1874
|
+
column: {
|
|
1875
|
+
component: () => import('./acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs').then((c) => c.AXPPasswordWidgetColumnComponent),
|
|
1876
|
+
options: {
|
|
1877
|
+
allowResizing: true
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
edit: {
|
|
1881
|
+
component: () => import('./acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs').then((c) => c.AXPPasswordWidgetEditComponent),
|
|
1882
|
+
},
|
|
1883
|
+
},
|
|
1884
|
+
filterOptions: {
|
|
1885
|
+
operators: [],
|
|
1886
|
+
default: EQ_OPER,
|
|
1887
|
+
},
|
|
1888
|
+
name: widgetSchemas.password,
|
|
1889
|
+
dataType: 'string',
|
|
1890
|
+
});
|
|
1891
|
+
//file
|
|
1892
|
+
service.register({
|
|
1893
|
+
component: {
|
|
1894
|
+
view: {
|
|
1895
|
+
component: () => import('./acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs').then((c) => c.AXPFileWidgetViewComponent),
|
|
1896
|
+
},
|
|
1897
|
+
column: {
|
|
1898
|
+
component: () => import('./acorex-platform-common-file-widget-column.component-C1faGR4K.mjs').then((c) => c.AXPFileWidgetColumnComponent),
|
|
1899
|
+
options: {
|
|
1900
|
+
allowResizing: true
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
edit: {
|
|
1904
|
+
component: () => import('./acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs').then((c) => c.AXPFileWidgetEditComponent),
|
|
1905
|
+
},
|
|
1906
|
+
filter: {
|
|
1907
|
+
component: () => import('./acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs').then((c) => c.AXPFileWidgetFilterComponent),
|
|
1908
|
+
},
|
|
1909
|
+
},
|
|
1910
|
+
filterOptions: {
|
|
1911
|
+
operators: [],
|
|
1912
|
+
default: EQ_OPER,
|
|
1913
|
+
},
|
|
1914
|
+
name: widgetSchemas.file,
|
|
1915
|
+
dataType: 'object',
|
|
1916
|
+
});
|
|
1917
|
+
// look up
|
|
1918
|
+
service.register({
|
|
1919
|
+
component: {
|
|
1920
|
+
view: {
|
|
1921
|
+
component: () => import('./acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs').then((c) => c.AXPLookupWidgetViewComponent),
|
|
1922
|
+
},
|
|
1923
|
+
edit: {
|
|
1924
|
+
component: () => import('./acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs').then((c) => c.AXPLookupWidgetEditComponent),
|
|
1925
|
+
},
|
|
1926
|
+
filter: {
|
|
1927
|
+
component: () => import('./acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs').then((c) => c.AXPLookupWidgetFilterComponent),
|
|
1928
|
+
},
|
|
1929
|
+
column: {
|
|
1930
|
+
component: () => import('./acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs').then((c) => c.AXPLookupWidgetColumnComponent),
|
|
1931
|
+
options: {
|
|
1932
|
+
allowResizing: true
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
},
|
|
1936
|
+
filterOptions: {
|
|
1937
|
+
operators: [],
|
|
1938
|
+
default: CONTAINS_OPER,
|
|
1939
|
+
},
|
|
1940
|
+
name: widgetSchemas.lookup,
|
|
1941
|
+
dataType: 'object',
|
|
1942
|
+
});
|
|
1943
|
+
// selection list
|
|
1944
|
+
service.register({
|
|
1945
|
+
component: {
|
|
1946
|
+
view: {
|
|
1947
|
+
component: () => import('./acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs').then((c) => c.AXPSelectionListWidgetViewComponent),
|
|
1948
|
+
},
|
|
1949
|
+
edit: {
|
|
1950
|
+
component: () => import('./acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs').then((c) => c.AXPSelectionListWidgetEditComponent),
|
|
1951
|
+
},
|
|
1952
|
+
column: {
|
|
1953
|
+
component: () => import('./acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs').then((c) => c.AXPSelectionListWidgetColumnComponent),
|
|
1954
|
+
options: {
|
|
1955
|
+
allowResizing: true
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
filter: {
|
|
1959
|
+
component: () => import('./acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs').then((c) => c.AXPSelectionListWidgetFilterComponent),
|
|
1960
|
+
},
|
|
1961
|
+
},
|
|
1962
|
+
filterOptions: {
|
|
1963
|
+
operators: [],
|
|
1964
|
+
default: CONTAINS_OPER,
|
|
1965
|
+
},
|
|
1966
|
+
name: widgetSchemas.selectionList,
|
|
1967
|
+
dataType: 'object',
|
|
1968
|
+
});
|
|
1969
|
+
// rich text
|
|
1970
|
+
service.register({
|
|
1971
|
+
component: {
|
|
1972
|
+
view: {
|
|
1973
|
+
component: () => import('./acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs').then((c) => c.AXPRichTextWidgetViewComponent),
|
|
1974
|
+
},
|
|
1975
|
+
edit: {
|
|
1976
|
+
component: () => import('./acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs').then((c) => c.AXPRichTextWidgetEditComponent),
|
|
1977
|
+
options: {
|
|
1978
|
+
allowResizing: true
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
column: {
|
|
1982
|
+
component: () => import('./acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs').then((c) => c.AXPRichTextWidgetColumnComponent),
|
|
1983
|
+
options: {
|
|
1984
|
+
width: '400px',
|
|
1985
|
+
},
|
|
1986
|
+
},
|
|
1987
|
+
filter: {
|
|
1988
|
+
component: () => import('./acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs').then((c) => c.AXPStringWidgetFilterComponent),
|
|
1989
|
+
},
|
|
1990
|
+
},
|
|
1991
|
+
filterOptions: {
|
|
1992
|
+
operators: [...STRING_OPERATORS],
|
|
1993
|
+
default: CONTAINS_OPER,
|
|
1994
|
+
},
|
|
1995
|
+
name: widgetSchemas.richText,
|
|
1996
|
+
dataType: 'object',
|
|
1997
|
+
});
|
|
1998
|
+
// map
|
|
1999
|
+
service.register({
|
|
2000
|
+
component: {
|
|
2001
|
+
view: {
|
|
2002
|
+
component: () => import('./acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs').then((c) => c.AXPMapWidgetViewComponent),
|
|
2003
|
+
},
|
|
2004
|
+
edit: {
|
|
2005
|
+
component: () => import('./acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs').then((c) => c.AXPMapWidgetEditComponent),
|
|
2006
|
+
},
|
|
2007
|
+
},
|
|
2008
|
+
filterOptions: {
|
|
2009
|
+
operators: [],
|
|
2010
|
+
default: EQ_OPER,
|
|
2011
|
+
},
|
|
2012
|
+
name: widgetSchemas.map,
|
|
2013
|
+
dataType: 'object',
|
|
2014
|
+
});
|
|
2015
|
+
// avatar
|
|
2016
|
+
service.register({
|
|
2017
|
+
component: {
|
|
2018
|
+
view: {
|
|
2019
|
+
component: () => import('./acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs').then((c) => c.AXPAvatarWidgetViewComponent),
|
|
2020
|
+
},
|
|
2021
|
+
edit: {
|
|
2022
|
+
component: () => import('./acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs').then((c) => c.AXPAvatarWidgetEditComponent),
|
|
2023
|
+
},
|
|
2024
|
+
},
|
|
2025
|
+
filterOptions: {
|
|
2026
|
+
operators: [],
|
|
2027
|
+
default: EQ_OPER,
|
|
2028
|
+
},
|
|
2029
|
+
name: widgetSchemas.avatar,
|
|
2030
|
+
dataType: 'object',
|
|
2031
|
+
});
|
|
2032
|
+
// messenger
|
|
2033
|
+
service.register({
|
|
2034
|
+
component: {
|
|
2035
|
+
view: {
|
|
2036
|
+
component: () => import('./acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs').then((c) => c.AXPMessengerWidgetViewComponent),
|
|
2037
|
+
},
|
|
2038
|
+
edit: {
|
|
2039
|
+
component: () => import('./acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs').then((c) => c.AXPMessengerWidgetEditComponent),
|
|
2040
|
+
},
|
|
2041
|
+
column: {
|
|
2042
|
+
component: () => import('./acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs').then((c) => c.AXPMessengerWidgetColumnComponent),
|
|
2043
|
+
options: {
|
|
2044
|
+
allowResizing: true
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
},
|
|
2048
|
+
filterOptions: {
|
|
2049
|
+
operators: [],
|
|
2050
|
+
default: EQ_OPER,
|
|
2051
|
+
},
|
|
2052
|
+
name: widgetSchemas.messenger,
|
|
2053
|
+
dataType: 'object',
|
|
2054
|
+
});
|
|
2055
|
+
//
|
|
2056
|
+
// gallery
|
|
2057
|
+
service.register({
|
|
2058
|
+
component: {
|
|
2059
|
+
view: {
|
|
2060
|
+
component: () => import('./acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs').then((c) => c.AXPGalleryWidgetViewComponent),
|
|
2061
|
+
},
|
|
2062
|
+
edit: {
|
|
2063
|
+
component: () => import('./acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs').then((c) => c.AXPGalleryWidgetEditComponent),
|
|
2064
|
+
},
|
|
2065
|
+
filter: {
|
|
2066
|
+
component: () => import('./acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs').then((c) => c.AXPGalleryWidgetFilterComponent),
|
|
2067
|
+
},
|
|
2068
|
+
},
|
|
2069
|
+
filterOptions: {
|
|
2070
|
+
operators: [],
|
|
2071
|
+
default: EQ_OPER,
|
|
2072
|
+
},
|
|
2073
|
+
name: widgetSchemas.gallery,
|
|
2074
|
+
dataType: 'object',
|
|
2075
|
+
});
|
|
2076
|
+
// signature-pad
|
|
2077
|
+
service.register({
|
|
2078
|
+
component: {
|
|
2079
|
+
view: {
|
|
2080
|
+
component: () => import('./acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs').then((c) => c.AXPSignaturePadWidgetViewComponent),
|
|
2081
|
+
},
|
|
2082
|
+
edit: {
|
|
2083
|
+
component: () => import('./acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs').then((c) => c.AXPSignaturePadWidgetEditComponent),
|
|
2084
|
+
},
|
|
2085
|
+
},
|
|
2086
|
+
filterOptions: {
|
|
2087
|
+
operators: [],
|
|
2088
|
+
default: EQ_OPER,
|
|
2089
|
+
},
|
|
2090
|
+
name: widgetSchemas.signaturePad,
|
|
2091
|
+
dataType: 'object',
|
|
2092
|
+
});
|
|
2093
|
+
//
|
|
2094
|
+
}
|
|
2095
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonWidgetModule, deps: [{ token: AXPSchemaRegistryService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2096
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonWidgetModule, imports: [AXToastModule] }); }
|
|
2097
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonWidgetModule, imports: [AXToastModule] }); }
|
|
2098
|
+
}
|
|
2099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCommonWidgetModule, decorators: [{
|
|
2100
|
+
type: NgModule,
|
|
2101
|
+
args: [{
|
|
2102
|
+
imports: [AXToastModule],
|
|
2103
|
+
exports: [],
|
|
2104
|
+
declarations: [],
|
|
2105
|
+
providers: [],
|
|
2106
|
+
}]
|
|
2107
|
+
}], ctorParameters: () => [{ type: AXPSchemaRegistryService }] });
|
|
354
2108
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
2109
|
+
const AXP_SETTINGS_LOADER = new InjectionToken('AXP_SETTINGS_LOADER', {
|
|
2110
|
+
providedIn: 'root',
|
|
2111
|
+
factory: () => {
|
|
2112
|
+
return new AXPSettingsDefaultLoader();
|
|
2113
|
+
}
|
|
2114
|
+
});
|
|
2115
|
+
class AXPSettingsDefaultLoader {
|
|
2116
|
+
global$() {
|
|
2117
|
+
return of([]);
|
|
2118
|
+
}
|
|
2119
|
+
user$() {
|
|
2120
|
+
return of([]);
|
|
2121
|
+
}
|
|
359
2122
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
},
|
|
370
|
-
] }); }
|
|
2123
|
+
|
|
2124
|
+
class AXPSettingsService {
|
|
2125
|
+
constructor() {
|
|
2126
|
+
this.settingsLoader = inject(AXP_SETTINGS_LOADER);
|
|
2127
|
+
this.settingsSubject = new BehaviorSubject([]);
|
|
2128
|
+
this.settings$ = this.settingsSubject.asObservable().pipe(shareReplay(1));
|
|
2129
|
+
}
|
|
2130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2131
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSettingsService, providedIn: 'root' }); }
|
|
371
2132
|
}
|
|
372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
373
|
-
type:
|
|
2133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSettingsService, decorators: [{
|
|
2134
|
+
type: Injectable,
|
|
374
2135
|
args: [{
|
|
375
|
-
|
|
376
|
-
providers: [
|
|
377
|
-
{
|
|
378
|
-
provide: APP_INITIALIZER,
|
|
379
|
-
useFactory: initializeAppState,
|
|
380
|
-
deps: [Store],
|
|
381
|
-
multi: true,
|
|
382
|
-
},
|
|
383
|
-
]
|
|
2136
|
+
providedIn: 'root',
|
|
384
2137
|
}]
|
|
385
2138
|
}] });
|
|
386
2139
|
|
|
@@ -445,81 +2198,138 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
445
2198
|
}]
|
|
446
2199
|
}], ctorParameters: () => [{ type: i2.Router }] });
|
|
447
2200
|
|
|
448
|
-
class
|
|
449
|
-
|
|
450
|
-
return
|
|
2201
|
+
class AXPDataGenerator {
|
|
2202
|
+
static uuid() {
|
|
2203
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (char) => {
|
|
2204
|
+
const random = (Math.random() * 16) | 0;
|
|
2205
|
+
const value = char === 'x' ? random : (random & 0x3) | 0x8;
|
|
2206
|
+
return value.toString(16);
|
|
2207
|
+
});
|
|
451
2208
|
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
2209
|
+
static number(...args) {
|
|
2210
|
+
let min = 0;
|
|
2211
|
+
let max = 100;
|
|
2212
|
+
if (args.length == 1)
|
|
2213
|
+
max = args[0];
|
|
2214
|
+
if (args.length == 2) {
|
|
2215
|
+
min = args[0];
|
|
2216
|
+
max = args[1];
|
|
2217
|
+
}
|
|
2218
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
455
2219
|
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
this.cdr = cdr;
|
|
461
|
-
this.isStickyChange = new EventEmitter();
|
|
462
|
-
this._isSticky = false;
|
|
463
|
-
this.onParentScroll = () => {
|
|
464
|
-
this.zone.runOutsideAngular(() => {
|
|
465
|
-
const scrollPosition = this.parentElement === window ?
|
|
466
|
-
window.scrollY :
|
|
467
|
-
this.parentElement.scrollTop + this.targetElement.offsetTop;
|
|
468
|
-
if (scrollPosition >= this.topOffset && !this.isSticky) {
|
|
469
|
-
this.stickyClass.split(' ').forEach(c => {
|
|
470
|
-
this.renderer.addClass(this.targetElement, c);
|
|
471
|
-
});
|
|
472
|
-
this.isSticky = true;
|
|
473
|
-
this.cdr.markForCheck();
|
|
474
|
-
}
|
|
475
|
-
else if (scrollPosition <= this.topOffset && this.isSticky) {
|
|
476
|
-
this.stickyClass.split(' ').forEach(c => {
|
|
477
|
-
this.renderer.removeClass(this.targetElement, c);
|
|
478
|
-
});
|
|
479
|
-
this.isSticky = false;
|
|
480
|
-
this.cdr.markForCheck();
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
};
|
|
2220
|
+
static date(start = new Date(2000, 0, 1), end = new Date()) {
|
|
2221
|
+
const startTime = start.getTime();
|
|
2222
|
+
const endTime = end.getTime();
|
|
2223
|
+
return new Date(startTime + Math.random() * (endTime - startTime));
|
|
484
2224
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
2225
|
+
static array(length = 5, generator) {
|
|
2226
|
+
return Array.from({ length }, generator);
|
|
2227
|
+
}
|
|
2228
|
+
static string(length = 10) {
|
|
2229
|
+
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
2230
|
+
return Array.from({ length }, () => chars.charAt(Math.floor(Math.random() * chars.length))).join('');
|
|
2231
|
+
}
|
|
2232
|
+
static boolean() {
|
|
2233
|
+
return Math.random() >= 0.5;
|
|
2234
|
+
}
|
|
2235
|
+
static item(array = []) {
|
|
2236
|
+
return array.length > 0 ? array[Math.floor(Math.random() * array.length)] : undefined;
|
|
2237
|
+
}
|
|
2238
|
+
static color() {
|
|
2239
|
+
const color = Math.floor(Math.random() * 16777215).toString(16);
|
|
2240
|
+
return `#${color.padStart(6, '0')}`;
|
|
2241
|
+
}
|
|
2242
|
+
static alphanumeric(length = 10) {
|
|
2243
|
+
const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
|
|
2244
|
+
return Array.from({ length }, () => chars.charAt(Math.floor(Math.random() * chars.length))).join('');
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
//TODO Loading, Redirect, Drawer, Show toast
|
|
2249
|
+
const AXPRedirectEvent = createWorkFlowEvent('Redirect Event Fired');
|
|
2250
|
+
class AXPWorkflowNavigateAction extends AXPWorkflowAction {
|
|
2251
|
+
constructor() {
|
|
2252
|
+
super(...arguments);
|
|
2253
|
+
this.router = inject(Router);
|
|
2254
|
+
}
|
|
2255
|
+
async execute(context) {
|
|
2256
|
+
const payload = context.getVariable('payload');
|
|
2257
|
+
if (Array.isArray(payload.commands))
|
|
2258
|
+
this.router.navigate(payload.commands, payload.extras);
|
|
489
2259
|
else {
|
|
490
|
-
|
|
2260
|
+
if (payload.commands.toLowerCase().startsWith('http'))
|
|
2261
|
+
window.open(payload.commands, '_blank');
|
|
2262
|
+
else
|
|
2263
|
+
this.router.navigate([payload.commands], payload.extras);
|
|
491
2264
|
}
|
|
492
|
-
this.targetElement = document.querySelector(this.stickyTarget) || this.element.nativeElement;
|
|
493
|
-
this.topOffset = this.targetElement.offsetTop;
|
|
494
|
-
this.parentElement.addEventListener('scroll', this.onParentScroll.bind(this));
|
|
495
2265
|
}
|
|
496
|
-
|
|
497
|
-
|
|
2266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2267
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWorkflowNavigateAction }); }
|
|
2268
|
+
}
|
|
2269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
|
|
2270
|
+
type: Injectable
|
|
2271
|
+
}] });
|
|
2272
|
+
class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
2273
|
+
constructor() {
|
|
2274
|
+
super(...arguments);
|
|
2275
|
+
this.dialogService = inject(AXDialogService);
|
|
498
2276
|
}
|
|
499
|
-
|
|
500
|
-
|
|
2277
|
+
async execute(context) {
|
|
2278
|
+
context.setOutput('deleteConfirmed', false);
|
|
2279
|
+
const dialogResult = await this.dialogService.confirm(this.title, this.message, this.type);
|
|
2280
|
+
context.setOutput('deleteConfirmed', dialogResult.result);
|
|
2281
|
+
}
|
|
2282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2283
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDialogConfirmAction }); }
|
|
501
2284
|
}
|
|
502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type:
|
|
503
|
-
type:
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
2285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
|
|
2286
|
+
type: Injectable
|
|
2287
|
+
}] });
|
|
2288
|
+
class AXPToastAction extends AXPWorkflowAction {
|
|
2289
|
+
constructor() {
|
|
2290
|
+
super(...arguments);
|
|
2291
|
+
this.toastService = inject(AXToastService);
|
|
2292
|
+
}
|
|
2293
|
+
async execute(context) {
|
|
2294
|
+
this.toastService.show({
|
|
2295
|
+
color: this.color,
|
|
2296
|
+
title: this.title,
|
|
2297
|
+
content: this.content,
|
|
2298
|
+
closeButton: true,
|
|
2299
|
+
timeOut: 3000,
|
|
2300
|
+
timeOutProgress: true,
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2304
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPToastAction }); }
|
|
2305
|
+
}
|
|
2306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPToastAction, decorators: [{
|
|
2307
|
+
type: Injectable
|
|
2308
|
+
}] });
|
|
2309
|
+
|
|
2310
|
+
class AXMWorkflowErrorHandler {
|
|
2311
|
+
constructor() {
|
|
2312
|
+
this.dialog = inject(AXDialogService);
|
|
2313
|
+
}
|
|
2314
|
+
handleError(error, next) {
|
|
2315
|
+
if (error instanceof AXPWorkflowError) {
|
|
2316
|
+
this.dialog.alert("Somthing is wrong!", error.inner ? error.inner.message : error.message, 'danger');
|
|
2317
|
+
next(error);
|
|
2318
|
+
}
|
|
2319
|
+
else {
|
|
2320
|
+
next(error);
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2324
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMWorkflowErrorHandler }); }
|
|
2325
|
+
}
|
|
2326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
|
|
2327
|
+
type: Injectable
|
|
2328
|
+
}] });
|
|
519
2329
|
|
|
520
2330
|
/**
|
|
521
2331
|
* Generated bundle index. Do not edit.
|
|
522
2332
|
*/
|
|
523
2333
|
|
|
524
|
-
export { AXMenuLoaderDefault, AXPClipBoardService, AXPCommonEffects, AXPCommonModule, AXPComponentLogoConfig, AXPDataProvider, AXPErrorHandlerRegistryService, AXPFontIconLogoConfig, AXPGlobalErrorHandler, AXPImageUrlLogoConfig, AXPLoadInitState, AXPNavigateAction, AXPPlatformDefaultConfigs, AXPRouteUtilityService, AXPSettingsService, AXPSignInAction, AXPSignOutAction,
|
|
2334
|
+
export { AXEntityLoaderDefault, AXMWorkflowErrorHandler, AXMenuLoaderDefault, AXPClipBoardService, AXPCommonEffects, AXPCommonModule, AXPCommonWidgetModule, AXPComponentLogoConfig, AXPComponentSlotDirective, AXPComponentSlotLoaderService, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPDataGenerator, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityListViewConfigEmpty, AXPEntityQueryType, AXPEntityRegistryService, AXPErrorHandlerRegistryService, AXPFontIconLogoConfig, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPLayoutChildDrawerClose, AXPLayoutChildDrawerToggle, AXPLayoutEffects, AXPLayoutFeature, AXPLayoutRootDrawerClose, AXPLayoutRootDrawerToggle, AXPLayoutService, AXPLayoutThemeDarkToggleAction, AXPLoadInitState, AXPLoadingHideAction, AXPLoadingShowAction, AXPLogoComponent, AXPNavBarSlotComponent, AXPNavigateAction, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPRouteUtilityService, AXPSchemaModule, AXPSchemaRegistryService, AXPSettingsService, AXPSignInAction, AXPSignOutAction, AXPStickyDirective, AXPTextLogoConfig, AXPThemeSlotComponent, AXPToastAction, AXPWidgetBase, AXPWidgetColumnRendererComponent, AXPWidgetEditBase, AXPWidgetFilterBase, AXPWidgetFilterRendererComponent, AXPWidgetRendererComponent, AXPWindowResizeAction, AXPWorkflowNavigateAction, AXP_ENTITY_LOADER, AXP_MENU_LOADER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SETTINGS_LOADER, AXP_WIDGET_TOKEN, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, convertPropertiesToColumns, convertPropertyToColumn, getChildDrawer, getRootDrawer, initialState, isDarkTheme, isLoading, isSmallScreen, name, reducer, resolveActionLook, selectLayoutState, widgetSchemas };
|
|
525
2335
|
//# sourceMappingURL=acorex-platform-common.mjs.map
|