@acorex/platform 18.0.0 → 18.0.2
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/themes/default/acorex-platform-themes-default.mjs +5 -0
- package/esm2022/themes/default/index.mjs +3 -0
- package/esm2022/themes/default/lib/default.module.mjs +74 -0
- package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +21 -0
- package/esm2022/themes/default/lib/layout.routes.mjs +20 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +114 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +93 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-list-view.component.mjs +157 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +64 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +61 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +82 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +77 -0
- package/esm2022/themes/default/lib/layouts/root-layout/components/footer/footer.component.mjs +14 -0
- package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +29 -0
- package/esm2022/themes/default/lib/layouts/root-layout/index.mjs +5 -0
- package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +78 -0
- package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +91 -0
- package/esm2022/themes/default/lib/pages/errors/error-401/error-401.component.mjs +28 -0
- package/esm2022/themes/default/lib/pages/errors/error-404/error-404.component.mjs +22 -0
- package/esm2022/themes/default/lib/pages/errors/error-offline/error-offline.component.mjs +16 -0
- 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-themes-default-entity-master-create-view.component-Buanq4is.mjs +96 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs +85 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs +31 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs +25 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +681 -0
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -0
- 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 +19 -19
- package/themes/default/README.md +3 -0
- package/themes/default/index.d.ts +2 -0
- package/themes/default/lib/default.module.d.ts +8 -0
- package/themes/default/lib/entity-reuse.strategy.d.ts +8 -0
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +24 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.d.ts +17 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-list-view.component.d.ts +29 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +18 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +16 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.d.ts +16 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +13 -0
- package/themes/default/lib/layouts/root-layout/components/footer/footer.component.d.ts +5 -0
- package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +10 -0
- package/themes/default/lib/layouts/root-layout/index.d.ts +4 -0
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +32 -0
- package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +24 -0
- 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/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/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
- /package/{layouts → themes/default}/lib/layout.routes.d.ts +0 -0
- /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-401/error-401.component.d.ts +0 -0
- /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-404/error-404.component.d.ts +0 -0
- /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-offline/error-offline.component.d.ts +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Injector, Input, Output, inject, } from '@angular/core';
|
|
3
|
+
import { assign, cloneDeep, isEqual, merge } from 'lodash-es';
|
|
4
|
+
import { AXPSchemaRegistryService } from '../schema-registery.service';
|
|
5
|
+
import { AXP_WIDGET_TOKEN } from './widget-token';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/cdk/portal";
|
|
8
|
+
import * as i2 from "@acorex/components/skeleton";
|
|
9
|
+
export class AXPWidgetFilterRendererComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.widgetRegistery = inject(AXPSchemaRegistryService);
|
|
12
|
+
this.isLoading = true;
|
|
13
|
+
this.valueChange = new EventEmitter();
|
|
14
|
+
this.operatorChange = new EventEmitter();
|
|
15
|
+
this.injector = inject(Injector);
|
|
16
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
17
|
+
this.options = {};
|
|
18
|
+
}
|
|
19
|
+
get value() {
|
|
20
|
+
return this._value;
|
|
21
|
+
}
|
|
22
|
+
set value(v) {
|
|
23
|
+
this._value = v;
|
|
24
|
+
this.updateValue();
|
|
25
|
+
this.valueChange.emit(v);
|
|
26
|
+
}
|
|
27
|
+
get operator() {
|
|
28
|
+
return this._operator;
|
|
29
|
+
}
|
|
30
|
+
set operator(op) {
|
|
31
|
+
this._operator = op;
|
|
32
|
+
this.updateOperator();
|
|
33
|
+
this.operatorChange.emit(op);
|
|
34
|
+
}
|
|
35
|
+
get schemaName() {
|
|
36
|
+
return this._schemaName;
|
|
37
|
+
}
|
|
38
|
+
set schemaName(v) {
|
|
39
|
+
this._schemaName = v;
|
|
40
|
+
setTimeout(async () => {
|
|
41
|
+
await this.render();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async render() {
|
|
45
|
+
const schema = this.widgetRegistery.resolve(this.schemaName);
|
|
46
|
+
this.options =
|
|
47
|
+
merge(cloneDeep(this.prop?.component?.common?.options), cloneDeep(this.prop?.component?.filter?.options), schema?.component?.filter?.options) || {};
|
|
48
|
+
const tokenValue = {
|
|
49
|
+
prop: this.prop,
|
|
50
|
+
schema: schema,
|
|
51
|
+
};
|
|
52
|
+
const token = Injector.create({
|
|
53
|
+
parent: this.injector,
|
|
54
|
+
providers: [
|
|
55
|
+
{
|
|
56
|
+
provide: AXP_WIDGET_TOKEN,
|
|
57
|
+
useValue: tokenValue,
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
});
|
|
61
|
+
if (schema?.component && schema.component.filter?.component) {
|
|
62
|
+
var com = await schema.component.filter?.component();
|
|
63
|
+
this.portal = new ComponentPortal(com, null, token);
|
|
64
|
+
this.isLoading = false;
|
|
65
|
+
this.cdr.markForCheck();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
updateValue() {
|
|
69
|
+
if (this.instance) {
|
|
70
|
+
this.instance.value = this.value;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
updateOperator() {
|
|
74
|
+
if (this.instance) {
|
|
75
|
+
this.instance.operator = this.operator;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
handleAttached(portalOutletRef) {
|
|
79
|
+
portalOutletRef = portalOutletRef;
|
|
80
|
+
this.instance = portalOutletRef.instance;
|
|
81
|
+
// console.log(this.schemaName, this.instance);
|
|
82
|
+
assign(this.instance, this.options);
|
|
83
|
+
this.updateValue();
|
|
84
|
+
this.updateOperator();
|
|
85
|
+
this.instance.valueChange.subscribe((v) => {
|
|
86
|
+
if (!isEqual(v, this.value)) {
|
|
87
|
+
this.value = v;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
this.instance.operatorChange.subscribe((op) => {
|
|
91
|
+
if (!isEqual(op, this.operator)) {
|
|
92
|
+
this.operator = op;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
97
|
+
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: `
|
|
98
|
+
@if(isLoading){
|
|
99
|
+
<ax-skeleton [animated]="true" class="ax-w-full ax-h-8 ax-rounded"></ax-skeleton>
|
|
100
|
+
} @else {
|
|
101
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
102
|
+
}
|
|
103
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i2.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
104
|
+
}
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetFilterRendererComponent, decorators: [{
|
|
106
|
+
type: Component,
|
|
107
|
+
args: [{
|
|
108
|
+
selector: 'axp-widget-filter-renderer',
|
|
109
|
+
template: `
|
|
110
|
+
@if(isLoading){
|
|
111
|
+
<ax-skeleton [animated]="true" class="ax-w-full ax-h-8 ax-rounded"></ax-skeleton>
|
|
112
|
+
} @else {
|
|
113
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
114
|
+
}
|
|
115
|
+
`,
|
|
116
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
117
|
+
host: { style: 'display: contents;' },
|
|
118
|
+
}]
|
|
119
|
+
}], propDecorators: { valueChange: [{
|
|
120
|
+
type: Output
|
|
121
|
+
}], operatorChange: [{
|
|
122
|
+
type: Output
|
|
123
|
+
}], value: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], operator: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], prop: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], schemaName: [{
|
|
130
|
+
type: Input,
|
|
131
|
+
args: ['schema']
|
|
132
|
+
}] } });
|
|
133
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWZpbHRlci1yZW5kZXJlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvc2NoZW1hL3dpZGdldC93aWRnZXQtZmlsdGVyLXJlbmRlcmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBOEIsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbEYsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUVULFlBQVksRUFDWixRQUFRLEVBQ1IsS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUU5RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUV2RSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQWNsRCxNQUFNLE9BQU8s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Wwob3AsIHRoaXMub3BlcmF0b3IpKSB7XHJcbiAgICAgICAgdGhpcy5vcGVyYXRvciA9IG9wO1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
2
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Injector, Input, inject } from '@angular/core';
|
|
4
|
+
import { assign, cloneDeep, get, merge, set } from 'lodash-es';
|
|
5
|
+
import { AXPSchemaRegistryService } from '../schema-registery.service';
|
|
6
|
+
import { AXPWidgetEditBase } from './widget-base';
|
|
7
|
+
import { AXP_WIDGET_TOKEN } from './widget-token';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@angular/cdk/portal";
|
|
10
|
+
import * as i2 from "@acorex/components/skeleton";
|
|
11
|
+
export class AXPWidgetRendererComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.widgetRegistery = inject(AXPSchemaRegistryService);
|
|
14
|
+
this.subscriber = inject(AXUnsubscriber);
|
|
15
|
+
this.mode = 'view';
|
|
16
|
+
this.isLoading = true;
|
|
17
|
+
this.injector = inject(Injector);
|
|
18
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
19
|
+
this.options = {};
|
|
20
|
+
}
|
|
21
|
+
get context() {
|
|
22
|
+
return this._context;
|
|
23
|
+
}
|
|
24
|
+
set context(v) {
|
|
25
|
+
this._context = v;
|
|
26
|
+
if (this.instance) {
|
|
27
|
+
this.instance.context = v;
|
|
28
|
+
}
|
|
29
|
+
this.updateValue();
|
|
30
|
+
}
|
|
31
|
+
get schemaName() {
|
|
32
|
+
return this._schemaName;
|
|
33
|
+
}
|
|
34
|
+
set schemaName(v) {
|
|
35
|
+
this._schemaName = v;
|
|
36
|
+
setTimeout(async () => {
|
|
37
|
+
//TODO: move to better place
|
|
38
|
+
await this.render();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async render() {
|
|
42
|
+
const schema = this.widgetRegistery.resolve(this.schemaName);
|
|
43
|
+
this.options =
|
|
44
|
+
merge(cloneDeep(this.prop?.component?.common?.options), cloneDeep(this.prop?.component?.[this.mode]?.options), schema?.component?.[this.mode]?.options) || {};
|
|
45
|
+
const tokenValue = {
|
|
46
|
+
prop: this.prop,
|
|
47
|
+
schema: schema,
|
|
48
|
+
};
|
|
49
|
+
const token = Injector.create({
|
|
50
|
+
parent: this.injector,
|
|
51
|
+
providers: [
|
|
52
|
+
{
|
|
53
|
+
provide: AXP_WIDGET_TOKEN,
|
|
54
|
+
useValue: tokenValue,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
if (schema?.component && schema.component[this.mode]?.component) {
|
|
59
|
+
var com = await schema.component[this.mode]?.component();
|
|
60
|
+
this.portal = new ComponentPortal(com, null, token);
|
|
61
|
+
this.isLoading = false;
|
|
62
|
+
this.cdr.markForCheck();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
updateValue() {
|
|
66
|
+
if (this.instance && this.context && this.instance instanceof AXPWidgetEditBase) {
|
|
67
|
+
this.instance.value = get(this.context, this.prop.name);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
updateProps() {
|
|
71
|
+
if (this.instance) {
|
|
72
|
+
assign(this.instance, this.options);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
handleAttached(portalOutletRef) {
|
|
76
|
+
portalOutletRef = portalOutletRef;
|
|
77
|
+
this.instance = portalOutletRef.instance;
|
|
78
|
+
this.instance.context = this.context;
|
|
79
|
+
this.updateProps();
|
|
80
|
+
this.updateValue();
|
|
81
|
+
if (this.instance instanceof AXPWidgetEditBase) {
|
|
82
|
+
this.instance.valueChange.pipe(this.subscriber.takeUntilDestroy).subscribe((v) => {
|
|
83
|
+
set(this.context, this.prop.name, v);
|
|
84
|
+
if (this.options['reference']) {
|
|
85
|
+
const valueField = this.prop.component?.common?.options?.valueField || 'id';
|
|
86
|
+
const referenceField = this.options['referenceField'];
|
|
87
|
+
if (referenceField) {
|
|
88
|
+
if (Array.isArray(v)) {
|
|
89
|
+
this.context[referenceField] = v.map((item) => item[valueField]);
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.context[referenceField] = v?.[valueField];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.context[`${this.prop.name}Id`] = v[valueField];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
103
|
+
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: [
|
|
104
|
+
{
|
|
105
|
+
provide: AXUnsubscriber,
|
|
106
|
+
},
|
|
107
|
+
], ngImport: i0, template: `
|
|
108
|
+
@if(isLoading){
|
|
109
|
+
<ax-skeleton [animated]="true" class="ax-w-full lg:ax-w-[50%] ax-h-8 ax-rounded"></ax-skeleton>
|
|
110
|
+
} @else {
|
|
111
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
112
|
+
}
|
|
113
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i2.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
114
|
+
}
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetRendererComponent, decorators: [{
|
|
116
|
+
type: Component,
|
|
117
|
+
args: [{
|
|
118
|
+
selector: 'axp-widget-renderer',
|
|
119
|
+
template: `
|
|
120
|
+
@if(isLoading){
|
|
121
|
+
<ax-skeleton [animated]="true" class="ax-w-full lg:ax-w-[50%] ax-h-8 ax-rounded"></ax-skeleton>
|
|
122
|
+
} @else {
|
|
123
|
+
<ng-template [cdkPortalOutlet]="portal" (attached)="handleAttached($event)"></ng-template>
|
|
124
|
+
}
|
|
125
|
+
`,
|
|
126
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
127
|
+
host: { style: 'display: contents;' },
|
|
128
|
+
providers: [
|
|
129
|
+
{
|
|
130
|
+
provide: AXUnsubscriber,
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
}]
|
|
134
|
+
}], propDecorators: { context: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], prop: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], mode: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], schemaName: [{
|
|
141
|
+
type: Input,
|
|
142
|
+
args: ['schema']
|
|
143
|
+
}] } });
|
|
144
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXJlbmRlcmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9jb21tb24vc3JjL2xpYi9zY2hlbWEvd2lkZ2V0L3dpZGdldC1yZW5kZXJlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUE4QixlQUFlLE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aXMucHJvcC5uYW1lLCB2KTtcclxuXHJcbiAgICAgICAgaWYgKHRoaXMub3B0aW9uc1sncmVmZXJlbmNlJ10pIHtcclxuICAgICAgICAgIGNvbnN0IHZhbHVlRmllbGQgPSB0aGlzLnByb3AuY29tcG9uZW50Py5jb21tb24/Lm9wdGlvbnM/LnZhbHVlRmllbGQgfHwgJ2lkJztcclxuICAgICAgICAgIGNvbnN0IHJlZmVyZW5jZUZpZWxkID0gdGhpcy5vcHRpb25zWydyZWZlcmVuY2VGaWVsZCddO1xyXG5cclxuICAgICAgICAgIGlmIChyZWZlcmVuY2VGaWVsZCkge1xyXG4gICAgICAgICAgICBpZiAoQXJyYXkuaXNBcnJheSh2KSkge1xyXG4gICAgICAgICAgICAgIHRoaXMuY29udGV4dFtyZWZlcmVuY2VGaWVsZF0gPSB2Lm1hcCgoaXRlbTogYW55KSA9PiBpdGVtW3ZhbHVlRmllbGRdKTtcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICB0aGlzLmNvbnRleHRbcmVmZXJlbmNlRmllbGRdID0gdj8uW3ZhbHVlRmllbGRdO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICB0aGlzLmNvbnRleHRbYCR7dGhpcy5wcm9wLm5hbWV9SWRgXSA9IHZbdmFsdWVGaWVsZF07XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9KTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export const AXP_WIDGET_TOKEN = new InjectionToken('AXP_WIDGET_TOKEN');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vL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FBfV0lER0VUX1RPS0VOJyk7XHJcblxyXG4iXX0=
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { AXAvatarModule } from '@acorex/components/avatar';
|
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
4
|
+
import { AXDialogService } from '@acorex/components/dialog';
|
|
5
|
+
import { AXImageModule } from '@acorex/components/image';
|
|
6
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
|
7
|
+
// import { FakePersonService } from '@acorex/platform/mocks';
|
|
8
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
9
|
+
import { AXPDataProvider } from '../../../data';
|
|
10
|
+
import { AXPWidgetEditBase } from '../../widget';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@acorex/components/avatar";
|
|
13
|
+
import * as i2 from "@acorex/components/image";
|
|
14
|
+
import * as i3 from "@acorex/components/loading";
|
|
15
|
+
import * as i4 from "@acorex/components/decorators";
|
|
16
|
+
export class AXPAvatarWidgetEditComponent extends AXPWidgetEditBase {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.dataService = inject(AXPDataProvider);
|
|
20
|
+
this.dialogService = inject(AXDialogService);
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
this.render();
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const rawValue = this.rawValue;
|
|
27
|
+
if (rawValue == null)
|
|
28
|
+
return;
|
|
29
|
+
this.loadImageById(rawValue);
|
|
30
|
+
}
|
|
31
|
+
handleRemoveItem(item) {
|
|
32
|
+
this.src = null;
|
|
33
|
+
this.value = null;
|
|
34
|
+
}
|
|
35
|
+
async handleAddItem() {
|
|
36
|
+
const input = document.createElement('input');
|
|
37
|
+
input.type = 'file';
|
|
38
|
+
input.accept = 'image/*';
|
|
39
|
+
input.click();
|
|
40
|
+
input.addEventListener('change', async () => {
|
|
41
|
+
const file = input.files?.[0];
|
|
42
|
+
if (file) {
|
|
43
|
+
const maxSize = 1 * 1024 * 1024; // Example size limit: 1MB
|
|
44
|
+
const maxResolution = { width: 1920, height: 1080 }; // Example resolution limit
|
|
45
|
+
if (file.size > maxSize) {
|
|
46
|
+
this.dialogService.alert('File too large!', `The selected file exceeds the maximum size of ${maxSize / (1024 * 1024)}MB.`, 'warning');
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const image = new Image();
|
|
50
|
+
image.src = URL.createObjectURL(file);
|
|
51
|
+
image.onload = async () => {
|
|
52
|
+
const { width, height } = image;
|
|
53
|
+
if (width > maxResolution.width || height > maxResolution.height) {
|
|
54
|
+
this.dialogService.alert('Resolution too high!', `The selected file exceeds the maximum resolution of ${maxResolution.width}x${maxResolution.height}.`, 'warning');
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
// If file size and resolution are within limits, proceed with upload
|
|
58
|
+
try {
|
|
59
|
+
const resolved = await this.dataService.uploadFile(file, file.name);
|
|
60
|
+
console.log('resolved', resolved);
|
|
61
|
+
this.src = URL.createObjectURL(file); // Show the image temporarily
|
|
62
|
+
this.value = resolved; // Store the file ID
|
|
63
|
+
}
|
|
64
|
+
catch (error) {
|
|
65
|
+
this.dialogService.alert('Something went wrong!', `${error}`, 'warning');
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}, { once: true });
|
|
70
|
+
}
|
|
71
|
+
async loadImageById(fileId) {
|
|
72
|
+
try {
|
|
73
|
+
const blob = await this.dataService.viewFile(fileId, '');
|
|
74
|
+
this.src = URL.createObjectURL(blob);
|
|
75
|
+
this.cdr.markForCheck(); // Explicitly mark for check since OnPush is used
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
78
|
+
console.error('Failed to load image by ID:', error);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAvatarWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPAvatarWidgetEditComponent, isStandalone: true, selector: "axp-number-widget-edit", usesInheritance: true, ngImport: i0, template: `
|
|
83
|
+
<div class="ax-w-fit ax-flex flex-row ax-border ax-rounded-lg ax-shadow-md ax-overflow-hidden">
|
|
84
|
+
@if(src){
|
|
85
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
86
|
+
<ax-image [src]="src">
|
|
87
|
+
<ax-loading></ax-loading>
|
|
88
|
+
</ax-image>
|
|
89
|
+
</ax-avatar>
|
|
90
|
+
} @else {
|
|
91
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
92
|
+
<ax-loading></ax-loading>
|
|
93
|
+
</ax-avatar>
|
|
94
|
+
}
|
|
95
|
+
<div class="ax-flex ax-w-14 ax-flex-col ax-items-center ax-justify-around ax-cursor-pointer ax-border-l-2">
|
|
96
|
+
<div
|
|
97
|
+
(click)="handleAddItem()"
|
|
98
|
+
class="ax-h-[50%] ax-flex ax-items-center ax-justify-center ax-w-full ax-border-b-2 hover:ax-bg-gray-100 hover:ax-text-blue-700 ax-cursor-pointer"
|
|
99
|
+
>
|
|
100
|
+
<ax-icon>
|
|
101
|
+
<i class="fa-solid fa-camera"></i>
|
|
102
|
+
</ax-icon>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<div
|
|
106
|
+
(click)="handleRemoveItem(src)"
|
|
107
|
+
class="ax-h-[50%] ax-flex ax-items-center ax-justify-center ax-w-full ax-cursor-pointer hover:ax-bg-gray-100"
|
|
108
|
+
>
|
|
109
|
+
<ax-prefix>
|
|
110
|
+
<i class="fa-solid fa-trash ax-text-danger"></i>
|
|
111
|
+
</ax-prefix>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXAvatarModule }, { kind: "component", type: i1.AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "look"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAvatarWidgetEditComponent, decorators: [{
|
|
118
|
+
type: Component,
|
|
119
|
+
args: [{
|
|
120
|
+
selector: 'axp-number-widget-edit',
|
|
121
|
+
template: `
|
|
122
|
+
<div class="ax-w-fit ax-flex flex-row ax-border ax-rounded-lg ax-shadow-md ax-overflow-hidden">
|
|
123
|
+
@if(src){
|
|
124
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
125
|
+
<ax-image [src]="src">
|
|
126
|
+
<ax-loading></ax-loading>
|
|
127
|
+
</ax-image>
|
|
128
|
+
</ax-avatar>
|
|
129
|
+
} @else {
|
|
130
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
131
|
+
<ax-loading></ax-loading>
|
|
132
|
+
</ax-avatar>
|
|
133
|
+
}
|
|
134
|
+
<div class="ax-flex ax-w-14 ax-flex-col ax-items-center ax-justify-around ax-cursor-pointer ax-border-l-2">
|
|
135
|
+
<div
|
|
136
|
+
(click)="handleAddItem()"
|
|
137
|
+
class="ax-h-[50%] ax-flex ax-items-center ax-justify-center ax-w-full ax-border-b-2 hover:ax-bg-gray-100 hover:ax-text-blue-700 ax-cursor-pointer"
|
|
138
|
+
>
|
|
139
|
+
<ax-icon>
|
|
140
|
+
<i class="fa-solid fa-camera"></i>
|
|
141
|
+
</ax-icon>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div
|
|
145
|
+
(click)="handleRemoveItem(src)"
|
|
146
|
+
class="ax-h-[50%] ax-flex ax-items-center ax-justify-center ax-w-full ax-cursor-pointer hover:ax-bg-gray-100"
|
|
147
|
+
>
|
|
148
|
+
<ax-prefix>
|
|
149
|
+
<i class="fa-solid fa-trash ax-text-danger"></i>
|
|
150
|
+
</ax-prefix>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
`,
|
|
155
|
+
standalone: true,
|
|
156
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
157
|
+
imports: [AXAvatarModule, AXImageModule, AXLoadingModule, AXButtonModule, AXDecoratorModule],
|
|
158
|
+
}]
|
|
159
|
+
}] });
|
|
160
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXdpZGdldC1lZGl0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvc2NoZW1hL3dpZGdldHMvYXZhdGFyL2F2YXRhci13aWRnZXQtZWRpdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzNELE9BQU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ICAgICAgIGlmIChmaWxlLnNpemUgPiBtYXhTaXplKSB7XHJcbiAgICAgICAgICAgIHRoaXMuZGlhbG9nU2VydmljZS5hbGVydCgnRmlsZSB0b28gbGFyZ2UhJywgYFRoZSBzZWxlY3RlZCBmaWxlIGV4Y2VlZHMgdGhlIG1heGltdW0gc2l6ZSBvZiAke21heFNpemUgLyAoMTAyNCAqIDEwMjQpfU1CLmAsICd3YXJuaW5nJyk7XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICBjb25zdCBpbWFnZSA9IG5ldyBJbWFnZSgpO1xyXG4gICAgICAgICAgaW1hZ2Uuc3JjID0gVVJMLmNyZWF0ZU9iamVjdFVSTChmaWxlKTtcclxuICAgICAgICAgIGltYWdlLm9ubG9hZCA9IGFzeW5jICgpID0+IHtcclxuICAgICAgICAgICAgY29uc3QgeyB3aWR0aCwgaGVpZ2h0IH0gPSBpbWFnZTtcclxuXHJcbiAgICAgICAgICAgIGlmICh3aWR0aCA+IG1heFJlc29sdXRpb24ud2lkdGggfHwgaGVpZ2h0ID4gbWF4UmVzb2x1dGlvbi5oZWlnaHQpIHtcclxuICAgICAgICAgICAgICB0aGlzLmRpYWxvZ1NlcnZpY2UuYWxlcnQoXHJcbiAgICAgICAgICAgICAgICAnUmVzb2x1dGlvbiB0b28gaGlnaCEnLFxyXG4gICAgICAgICAgICAgICAgYFRoZSBzZWxlY3RlZCBmaWxlIGV4Y2VlZHMgdGhlIG1heGltdW0gcmVzb2x1dGlvbiBvZiAke21heFJlc29sdXRpb24ud2lkdGh9eCR7bWF4UmVzb2x1dGlvbi5oZWlnaHR9LmAsXHJcbiAgICAgICAgICAgICAgICAnd2FybmluZydcclxuICAgICAgICAgICAgICApO1xyXG4gICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLy8gSWYgZmlsZSBzaXplIGFuZCByZXNvbHV0aW9uIGFyZSB3a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AgIH0gY2F0Y2ggKGVycm9yKSB7XHJcbiAgICAgIGNvbnNvbGUuZXJyb3IoJ0ZhaWxlZCB0byBsb2FkIGltYWdlIGJ5IElEOicsIGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { AXAvatarModule } from '@acorex/components/avatar';
|
|
2
|
+
import { AXImageModule } from '@acorex/components/image';
|
|
3
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
|
4
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
5
|
+
import { AXPDataProvider } from '../../../data';
|
|
6
|
+
import { AXPWidgetBase } from '../../widget/widget-base';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@acorex/components/avatar";
|
|
9
|
+
import * as i2 from "@acorex/components/image";
|
|
10
|
+
import * as i3 from "@acorex/components/loading";
|
|
11
|
+
export class AXPAvatarWidgetViewComponent extends AXPWidgetBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.dataService = inject(AXPDataProvider);
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.render();
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const rawValue = this.rawValue;
|
|
21
|
+
if (rawValue == null)
|
|
22
|
+
return;
|
|
23
|
+
this.loadImageById(rawValue);
|
|
24
|
+
}
|
|
25
|
+
async loadImageById(fileId) {
|
|
26
|
+
try {
|
|
27
|
+
const blob = await this.dataService.viewFile(fileId, '');
|
|
28
|
+
this.src = URL.createObjectURL(blob);
|
|
29
|
+
this.cdr.markForCheck(); // Explicitly mark for check since OnPush is used
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
console.error('Failed to load image by ID:', error);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAvatarWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPAvatarWidgetViewComponent, isStandalone: true, selector: "ax-Avatar-widget-view", inputs: { context: "context", value: "value" }, usesInheritance: true, ngImport: i0, template: ` @if(src){<ax-avatar class="ax-shadow-" color="secondary" [size]="120" look="soft">
|
|
37
|
+
<ax-image [src]="src"> <ax-loading></ax-loading></ax-image>
|
|
38
|
+
</ax-avatar>
|
|
39
|
+
} @else {
|
|
40
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
41
|
+
<ax-loading></ax-loading>
|
|
42
|
+
</ax-avatar>
|
|
43
|
+
}`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXAvatarModule }, { kind: "component", type: i1.AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "look"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAvatarWidgetViewComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: 'ax-Avatar-widget-view',
|
|
49
|
+
template: ` @if(src){<ax-avatar class="ax-shadow-" color="secondary" [size]="120" look="soft">
|
|
50
|
+
<ax-image [src]="src"> <ax-loading></ax-loading></ax-image>
|
|
51
|
+
</ax-avatar>
|
|
52
|
+
} @else {
|
|
53
|
+
<ax-avatar color="secondary" [size]="120" look="sharp">
|
|
54
|
+
<ax-loading></ax-loading>
|
|
55
|
+
</ax-avatar>
|
|
56
|
+
}`,
|
|
57
|
+
standalone: true,
|
|
58
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
+
imports: [AXAvatarModule, AXImageModule, AXLoadingModule],
|
|
60
|
+
inputs: ['context', 'value'],
|
|
61
|
+
}]
|
|
62
|
+
}] });
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXdpZGdldC12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvc2NoZW1hL3dpZGdldHMvYXZhdGFyL2F2YXRhci13aWRnZXQtdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzNELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDN0QsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7Ozs7O0FBZ0J6RCxNQUFNLE9BQU8sNEJBQTZCLFNBQVEsYUFBYTtJQWYvRDs7UUFpQkUsZ0JBQVcsR0FBRyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUM7S0FvQnZDO0lBbEJDLFFBQVE7UUFDTixJQUFJLENBQ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BFeHBsaWNpdGx5IG1hcmsgZm9yIGNoZWNrIHNpbmNlIE9uUHVzaCBpcyB1c2VkXHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICBjb25zb2xlLmVycm9yKCdGYWlsZWQgdG8gbG9hZCBpbWFnZSBieSBJRDonLCBlcnJvcik7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
2
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { AXPWidgetBase } from '../../widget/widget-base';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@acorex/components/decorators";
|
|
6
|
+
export class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {
|
|
7
|
+
render() {
|
|
8
|
+
this.value = !!this.rawValue;
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckboxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", trulyText: "trulyText", falsyText: "falsyText", negative: "negative", width: "width", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
|
|
12
|
+
@if(value){ @if(trulyText){
|
|
13
|
+
<span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
|
|
14
|
+
}@else { @if(negative){
|
|
15
|
+
<ax-icon class="fa-solid fa-check ax-text-danger"> </ax-icon>
|
|
16
|
+
}@else{
|
|
17
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
18
|
+
|
|
19
|
+
} } }@else { @if(falsyText){
|
|
20
|
+
<span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
|
|
21
|
+
}@else { @if(negative){
|
|
22
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
23
|
+
}@else{
|
|
24
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
25
|
+
} } }
|
|
26
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetColumnComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
template: `<div>
|
|
32
|
+
@if(value){ @if(trulyText){
|
|
33
|
+
<span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
|
|
34
|
+
}@else { @if(negative){
|
|
35
|
+
<ax-icon class="fa-solid fa-check ax-text-danger"> </ax-icon>
|
|
36
|
+
}@else{
|
|
37
|
+
<ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
|
|
38
|
+
|
|
39
|
+
} } }@else { @if(falsyText){
|
|
40
|
+
<span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
|
|
41
|
+
}@else { @if(negative){
|
|
42
|
+
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
43
|
+
}@else{
|
|
44
|
+
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
45
|
+
} } }
|
|
46
|
+
</div>`,
|
|
47
|
+
standalone: true,
|
|
48
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
49
|
+
imports: [AXDecoratorModule],
|
|
50
|
+
inputs: ['context', 'trulyText', 'falsyText',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