ax-common-ui-lib 1.0.0-qa.0
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 +24 -0
- package/ax-common-ui-lib.d.ts +5 -0
- package/esm2020/ax-common-ui-lib.mjs +5 -0
- package/esm2020/lib/app-list/app-list-dto.mjs +29 -0
- package/esm2020/lib/app-list/app-list.component.mjs +421 -0
- package/esm2020/lib/app-list/my-app-list.service.mjs +142 -0
- package/esm2020/lib/app-list/organization-list-dto.mjs +29 -0
- package/esm2020/lib/ax-app-common-lib.component.mjs +26 -0
- package/esm2020/lib/ax-app-common-lib.module.mjs +147 -0
- package/esm2020/lib/ax-app-common-lib.service.mjs +14 -0
- package/esm2020/lib/axo-filters/axo-filters.component.mjs +422 -0
- package/esm2020/lib/axo-filters/axo-filters.module.mjs +59 -0
- package/esm2020/lib/axo-filters/axo-filters.service.mjs +85 -0
- package/esm2020/lib/axo-map/axo-map.component.mjs +40 -0
- package/esm2020/lib/axo-map/axo-map.mjs +37 -0
- package/esm2020/lib/axo-map/axo-map.module.mjs +41 -0
- package/esm2020/lib/axo-map/public-api.mjs +7 -0
- package/esm2020/lib/axo-search-bar/axo-search-bar.component.mjs +84 -0
- package/esm2020/lib/axo-search-bar/axo-search-bar.module.mjs +38 -0
- package/esm2020/lib/axo-search-bar/public.api.mjs +3 -0
- package/esm2020/lib/axo-snack-bar/axo-snack-bar.component.mjs +155 -0
- package/esm2020/lib/axo-snack-bar/axo-snack-bar.module.mjs +34 -0
- package/esm2020/lib/axo-snack-bar/axo-snack-bar.service.mjs +29 -0
- package/esm2020/lib/axo-snack-bar/public-api.mjs +3 -0
- package/esm2020/lib/axo-state-manager/axo-state-manager.module.mjs +27 -0
- package/esm2020/lib/axo-state-manager/axo-state-manager.service.mjs +37 -0
- package/esm2020/lib/axo-state-manager/public-api.mjs +3 -0
- package/esm2020/lib/axo-utils/axo-utils.mjs +149 -0
- package/esm2020/lib/axo-utils/axo-utils.module.mjs +25 -0
- package/esm2020/lib/axo-utils/constants.mjs +3 -0
- package/esm2020/lib/axo-utils/data-source-types.mjs +12 -0
- package/esm2020/lib/axo-utils/field-list-search-pipe.mjs +32 -0
- package/esm2020/lib/axo-utils/filter-search-pipe.mjs +16 -0
- package/esm2020/lib/axo-utils/public-api.mjs +2 -0
- package/esm2020/lib/axo-utils/search-pipe/choice-search.pipe.mjs +33 -0
- package/esm2020/lib/axo-utils/search-pipe.mjs +36 -0
- package/esm2020/lib/bread-crumbs/bread-crumbs.component.mjs +196 -0
- package/esm2020/lib/bread-crumbs/bread-crumbs.module.mjs +29 -0
- package/esm2020/lib/bread-crumbs/bread-crumbs.service.mjs +122 -0
- package/esm2020/lib/code-editor/code-editor-modes.mjs +11 -0
- package/esm2020/lib/code-editor/code-editor-themes.mjs +8 -0
- package/esm2020/lib/code-editor/code-editor.component.mjs +60 -0
- package/esm2020/lib/code-editor/code-editor.module.mjs +36 -0
- package/esm2020/lib/code-editor/icode-editor-options.mjs +2 -0
- package/esm2020/lib/code-editor/public-api.mjs +3 -0
- package/esm2020/lib/common-dto/attributes-dto.mjs +39 -0
- package/esm2020/lib/common-dto/dashboard-dto.mjs +12 -0
- package/esm2020/lib/common-dto/dataListFilter-dto.mjs +13 -0
- package/esm2020/lib/common-dto/elements-dto.mjs +61 -0
- package/esm2020/lib/common-dto/form-dto.mjs +48 -0
- package/esm2020/lib/common-lib-configuration.service.mjs +21 -0
- package/esm2020/lib/common-property-panel/properties/properties.service.mjs +30 -0
- package/esm2020/lib/common-utils/entity-base.mjs +12 -0
- package/esm2020/lib/common-utils/iFlatten.mjs +2 -0
- package/esm2020/lib/common-utils/report.mjs +45 -0
- package/esm2020/lib/common.service.mjs +78 -0
- package/esm2020/lib/converters/convert-to-new-service.mjs +11 -0
- package/esm2020/lib/converters/convert-to-old-service.mjs +168 -0
- package/esm2020/lib/core/auth/auth.service.mjs +146 -0
- package/esm2020/lib/core/core.module.mjs +37 -0
- package/esm2020/lib/core/icons/icons.module.mjs +255 -0
- package/esm2020/lib/core/transloco/transloco.http-loader.mjs +32 -0
- package/esm2020/lib/core/transloco/transloco.module.mjs +94 -0
- package/esm2020/lib/core/user/axo-user.mjs +46 -0
- package/esm2020/lib/core/user/user-data.service.mjs +46 -0
- package/esm2020/lib/core/user/user.service.mjs +87 -0
- package/esm2020/lib/core/user/user.types.mjs +2 -0
- package/esm2020/lib/dashboard-lib/dashboard-builder.service.mjs +56 -0
- package/esm2020/lib/dashboard-lib/dashboard-control.service.mjs +92 -0
- package/esm2020/lib/dashboard-lib/dashboard-element/dashboard-element.mjs +11 -0
- package/esm2020/lib/dashboard-lib/dashboard-element-property/dashboard-property/dashboard-element-property.mjs +9 -0
- package/esm2020/lib/dashboard-lib/dashboard-filter/dashboard-filter.component.mjs +107 -0
- package/esm2020/lib/dashboard-lib/dashboard-lib.module.mjs +111 -0
- package/esm2020/lib/dashboard-lib/dashboard-list.service.mjs +73 -0
- package/esm2020/lib/dashboard-lib/dashboard.mjs +15 -0
- package/esm2020/lib/dashboard-lib/send-to-dashboard.service.mjs +96 -0
- package/esm2020/lib/dashboard-lib/show-dashboards/show-dashboards.component.mjs +241 -0
- package/esm2020/lib/dashboard-lib/show-dashboards/show-dashboards.service.mjs +32 -0
- package/esm2020/lib/data-view-lib/data-view/axo-card.mjs +26 -0
- package/esm2020/lib/data-view-lib/data-view/axo-tag.mjs +48 -0
- package/esm2020/lib/data-view-lib/data-view/board-column.mjs +24 -0
- package/esm2020/lib/data-view-lib/data-view/board-view.mjs +45 -0
- package/esm2020/lib/data-view-lib/data-view/cardConfig.mjs +26 -0
- package/esm2020/lib/data-view-lib/data-view/conditional-formatting.mjs +25 -0
- package/esm2020/lib/data-view-lib/data-view/coordinate.mjs +21 -0
- package/esm2020/lib/data-view-lib/data-view/data-view-enums.mjs +68 -0
- package/esm2020/lib/data-view-lib/data-view/data-view-filter.mjs +47 -0
- package/esm2020/lib/data-view-lib/data-view/data-view.mjs +66 -0
- package/esm2020/lib/data-view-lib/data-view/idata-view.mjs +2 -0
- package/esm2020/lib/data-view-lib/data-view/image-style.mjs +21 -0
- package/esm2020/lib/data-view-lib/data-view/info-window.mjs +23 -0
- package/esm2020/lib/data-view-lib/data-view/location.mjs +21 -0
- package/esm2020/lib/data-view-lib/data-view/map-view.mjs +41 -0
- package/esm2020/lib/data-view-lib/data-view/prefix-style.mjs +28 -0
- package/esm2020/lib/data-view-lib/data-view/tag-style.mjs +28 -0
- package/esm2020/lib/data-view-lib/data-view/tagConfig.mjs +63 -0
- package/esm2020/lib/data-view-lib/data-view/task-asset-form-object-dto.mjs +72 -0
- package/esm2020/lib/data-view-lib/data-view/task-column-value.mjs +43 -0
- package/esm2020/lib/data-view-lib/data-view/task-view.mjs +31 -0
- package/esm2020/lib/data-view-lib/data-view/task.mjs +199 -0
- package/esm2020/lib/data-view-lib/data-view/value-style.mjs +25 -0
- package/esm2020/lib/data-view-lib/data-view-filters/data-view-filters.component.mjs +661 -0
- package/esm2020/lib/data-view-lib/data-view-filters/data-view-filters.service.mjs +102 -0
- package/esm2020/lib/data-view-lib/data-view-header/data-view-header.component.mjs +536 -0
- package/esm2020/lib/data-view-lib/data-view-lib.module.mjs +88 -0
- package/esm2020/lib/data-view-lib/data-view.service.mjs +211 -0
- package/esm2020/lib/data-view-lib/public-api.mjs +28 -0
- package/esm2020/lib/directive/adjust-font-size.mjs +49 -0
- package/esm2020/lib/drill-through/drill-through.component.mjs +153 -0
- package/esm2020/lib/drill-through/drill-through.module.mjs +33 -0
- package/esm2020/lib/drill-through/drill-through.resolver.mjs +80 -0
- package/esm2020/lib/drill-through/drill-through.service.mjs +218 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-column.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-list.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-range-value.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-range.mjs +34 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-time-list.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-time-range-value.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-time-range.mjs +34 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-time.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-date-value.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-number-list.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-number-range-value.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-number-value.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-text-list.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-text.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-time-list.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-time-range-value.mjs +37 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-time-range.mjs +38 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-time.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-exp-toggle.mjs +36 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-expression-value.mjs +32 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-expression.mjs +415 -0
- package/esm2020/lib/enlighten-lib/ax-expression/ax-number-range.mjs +34 -0
- package/esm2020/lib/enlighten-lib/ax-expression/exp-sub-type.mjs +29 -0
- package/esm2020/lib/enlighten-lib/ax-expression/public-api.mjs +24 -0
- package/esm2020/lib/enlighten-lib/data-model/attribute.mjs +247 -0
- package/esm2020/lib/enlighten-lib/data-model/data-model.mjs +52 -0
- package/esm2020/lib/enlighten-lib/data-model/dependee.mjs +24 -0
- package/esm2020/lib/enlighten-lib/data-model/dependent.mjs +24 -0
- package/esm2020/lib/enlighten-lib/data-model/entity.mjs +71 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/attributes-dragdrop-layout/attributes-dragdrop-layout.component.mjs +100 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/attributes-selection-layout/attributes-selection-layout.component.mjs +100 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/categories-tree/categories-tree.component.mjs +113 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/data-model-tree-enums.mjs +6 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/data-model-tree.component.mjs +301 -0
- package/esm2020/lib/enlighten-lib/data-model-tree/data-model-tree.module.mjs +67 -0
- package/esm2020/lib/enlighten-lib/elements/Property.mjs +3 -0
- package/esm2020/lib/enlighten-lib/elements/ax-element.mjs +55 -0
- package/esm2020/lib/enlighten-lib/elements/element-factory.mjs +38 -0
- package/esm2020/lib/enlighten-lib/enlighten-lib.module.mjs +308 -0
- package/esm2020/lib/enlighten-lib/enums/bread-crumbs-style.mjs +6 -0
- package/esm2020/lib/enlighten-lib/enums/operator-text-enum.mjs +11 -0
- package/esm2020/lib/enlighten-lib/fields/attribute-data.mjs +167 -0
- package/esm2020/lib/enlighten-lib/fields/entity.mjs +16 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-audio.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-barcode.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-childrecord.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-counter.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-date.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-decimal.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-document.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-file.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-image.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-location.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-number.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-qrcode.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-signature.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-staticmedia.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-text.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-time.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ax-uniqueid.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/axo-timestamp.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/choicelist.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/datetime.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/hyperlink.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/ienlighten-type.mjs +2 -0
- package/esm2020/lib/enlighten-lib/fields/types/toggle.mjs +6 -0
- package/esm2020/lib/enlighten-lib/fields/types/video.mjs +6 -0
- package/esm2020/lib/enlighten-lib/filters/ax-filter.mjs +74 -0
- package/esm2020/lib/enlighten-lib/filters/ax-operator.mjs +88 -0
- package/esm2020/lib/enlighten-lib/filters/chart-filter-type.mjs +7 -0
- package/esm2020/lib/enlighten-lib/filters/condition-type.mjs +49 -0
- package/esm2020/lib/enlighten-lib/filters/dataList-searchNode.mjs +48 -0
- package/esm2020/lib/enlighten-lib/filters/dataListFilterExpression.mjs +32 -0
- package/esm2020/lib/enlighten-lib/filters/dataListFilterOperator.mjs +43 -0
- package/esm2020/lib/enlighten-lib/filters/dataListSeachQueryTree.mjs +25 -0
- package/esm2020/lib/enlighten-lib/filters/filter-category.mjs +78 -0
- package/esm2020/lib/enlighten-lib/filters/general-filter-type.mjs +13 -0
- package/esm2020/lib/enlighten-lib/filters/gridster-properties.mjs +31 -0
- package/esm2020/lib/enlighten-lib/filters/iax-filter.mjs +2 -0
- package/esm2020/lib/enlighten-lib/filters/search-node.mjs +50 -0
- package/esm2020/lib/enlighten-lib/filters/static-widget.mjs +24 -0
- package/esm2020/lib/enlighten-lib/property/element-property.mjs +11 -0
- package/esm2020/lib/enlighten-lib/property/filter-category-property.mjs +9 -0
- package/esm2020/lib/enlighten-lib/property/filter-property.mjs +9 -0
- package/esm2020/lib/enlighten-lib/report/chart-filter/chart-filter.component.mjs +393 -0
- package/esm2020/lib/enlighten-lib/report/element.service.mjs +115 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.component.mjs +1002 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.mjs +144 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.service.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.component.mjs +576 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.mjs +66 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.service.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/border.mjs +18 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/chart-factory.mjs +80 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/chart-property.mjs +4 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/chart-type.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/chart.mjs +123 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/common-chart.service.mjs +32 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/conditional-formatting.mjs +8 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/dimension.mjs +8 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/font.mjs +32 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/fontStyle.mjs +28 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/label.mjs +6 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/legend.mjs +28 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/matrix.mjs +26 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/shadow.mjs +7 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/style.mjs +14 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/text-style.mjs +34 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/chart/title.mjs +12 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/graphical-report.component.mjs +357 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/graphical-report.directive.mjs +16 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/ichart-component.mjs +2 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/igraphical-report.component.mjs +2 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.component.mjs +856 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.mjs +97 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.service.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/page/page.mjs +48 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.component.mjs +934 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.mjs +103 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.service.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/text/text-chart.mjs +56 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/text/text.component.mjs +302 -0
- package/esm2020/lib/enlighten-lib/report/graphical-report/text/text.service.mjs +15 -0
- package/esm2020/lib/enlighten-lib/report/iproperty.component.mjs +8 -0
- package/esm2020/lib/enlighten-lib/report/ireport.mjs +14 -0
- package/esm2020/lib/enlighten-lib/report/report-builder-master.service.mjs +83 -0
- package/esm2020/lib/enlighten-lib/report/report-filter/report-filter.component.mjs +313 -0
- package/esm2020/lib/enlighten-lib/report/report-filter/report-filter.module.mjs +71 -0
- package/esm2020/lib/enlighten-lib/report/report-filter/report-filter.service.mjs +246 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/aggregate.mjs +10 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/axo-percentage.pipe.mjs +26 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/column-style.mjs +7 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/itabular-report.component.mjs +2 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/orderby-type.mjs +7 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/row-style.mjs +7 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/table-style.mjs +47 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular/column-group-view/column-group-view.component.mjs +4464 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular/detail-group-view/detail-group-view.component.mjs +1583 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular/resize-column-directive.mjs +70 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular/row-group-view/row-group-view.component.mjs +1837 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular/tabular.component.mjs +756 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular-report.component.mjs +156 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular-report.mjs +245 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular-report.service.mjs +960 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/tabular.mjs +196 -0
- package/esm2020/lib/enlighten-lib/report/tabular-report/value-formatting.mjs +9 -0
- package/esm2020/lib/enlighten-lib/report-control.service.mjs +41 -0
- package/esm2020/lib/enlighten-lib/utils/utils.mjs +26 -0
- package/esm2020/lib/field-list-lib/fields-list.service.mjs +299 -0
- package/esm2020/lib/filters/calender-filter/calender-filter.component.mjs +351 -0
- package/esm2020/lib/filters/category-filter/category-filter.component.mjs +207 -0
- package/esm2020/lib/filters/category-filter/category-filter.service.mjs +31 -0
- package/esm2020/lib/filters/category-filter/category.service.mjs +45 -0
- package/esm2020/lib/filters/choice-list-filter/choice-list-filter.component.mjs +178 -0
- package/esm2020/lib/filters/choice-list-filter/choice-list-filter.service.mjs +53 -0
- package/esm2020/lib/filters/common-filter/common-filter.component.mjs +310 -0
- package/esm2020/lib/filters/common-filter/common-filter.service.mjs +106 -0
- package/esm2020/lib/filters/custom-scroll-directives.mjs +45 -0
- package/esm2020/lib/filters/date-time-filter/date-time-filter.component.mjs +345 -0
- package/esm2020/lib/filters/filter-footer/filter-footer.component.mjs +62 -0
- package/esm2020/lib/filters/filters.component.mjs +688 -0
- package/esm2020/lib/filters/filters.module.mjs +196 -0
- package/esm2020/lib/filters/filters.service.mjs +147 -0
- package/esm2020/lib/filters/meta-column-filter-builder/meta-column-filter-builder.service.mjs +202 -0
- package/esm2020/lib/filters/metaColumnTypes.mjs +36 -0
- package/esm2020/lib/filters/multi-select-filter/multi-select-filter.component.mjs +211 -0
- package/esm2020/lib/filters/multi-select-filter/multi-select-filter.service.mjs +214 -0
- package/esm2020/lib/filters/number-filter/number-filter.component.mjs +321 -0
- package/esm2020/lib/filters/public-api.mjs +15 -0
- package/esm2020/lib/filters/reference-list-filter/reference-list-filter.component.mjs +180 -0
- package/esm2020/lib/filters/reference-list-filter/reference-list-filter.service.mjs +151 -0
- package/esm2020/lib/filters/single-select-filter/single-select-filter.component.mjs +177 -0
- package/esm2020/lib/filters/time-filter/time-filter.component.mjs +301 -0
- package/esm2020/lib/filters/user-filter/user-filter.component.mjs +178 -0
- package/esm2020/lib/filters/user-filter/user-filter.service.mjs +62 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-filter/form-object-list-filter.component.mjs +346 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-filter/form-object-list-filter.service.mjs +105 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-header/form-object-list-header.component.mjs +41 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-header/widget-header-type-handler.mjs +10 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-header/widgets/text-box-header/text-box-header.component.mjs +21 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list-header/widgets-header.directive.mjs +16 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list.component.mjs +823 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list.mjs +211 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list.module.mjs +224 -0
- package/esm2020/lib/form-object/form-object-list/form-object-list.service.mjs +171 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/form-object-value-handler.mjs +94 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/form-object-value.directive.mjs +16 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/form-object-widget-value.component.mjs +60 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-apply-geo-fence-value/formobject-apply-geo-fence-value.component.mjs +33 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-audio-value/formobject-audio-value.component.mjs +40 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-auto-number-value/formobject-auto-number-value.component.mjs +31 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-bar-code-value/formobject-bar-code-value.component.mjs +98 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-child-records-value/formobject-child-records-value.component.mjs +86 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-choicelist-value/formobject-choicelist-value.component.mjs +180 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-counter-value/formobject-counter-value.component.mjs +45 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-date-time-value/formobject-date-time-value.component.mjs +54 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-document-value/formobject-document-value.component.mjs +163 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-formula-value/formobject-formula-value.component.mjs +45 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-geo-fence-value/formobject-geo-fence-value.component.mjs +61 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-gps-value/formobject-gps-value.component.mjs +64 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-group-header-value/formobject-group-header-value.component.mjs +21 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-image-value/formobject-image-value.component.mjs +119 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-languages-value/formobject-languages-value.component.mjs +37 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-payment-value/formobject-payment-value.component.mjs +21 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-qr-code-value/formobject-qr-code-value.component.mjs +98 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-signature-value/formobject-signature-value.component.mjs +60 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-static-media-value/formobject-static-media-value.component.mjs +62 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-stop-watch-value/formobject-stop-watch-value.component.mjs +24 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-sub-form-value/formobject-sub-form-value.component.mjs +19 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-textbox-value/formobject-textbox-value.component.mjs +49 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-time-stamp-value/formobject-time-stamp-value.component.mjs +50 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-toggle-value/formobject-toggle-value.component.mjs +25 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-unique-id-value/formobject-unique-id-value.component.mjs +33 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-verification-value/formobject-verification-value.component.mjs +60 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-video-value/formobject-video-value.component.mjs +65 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-web-link-value/formobject-web-link-value.component.mjs +28 -0
- package/esm2020/lib/form-object/form-object-list/formObjectWidgetValue/formobject-widget-mat-dialog/formobject-widget-mat-dialog.component.mjs +89 -0
- package/esm2020/lib/form-object/form-object-view/data-detail-view-dto.mjs +55 -0
- package/esm2020/lib/form-object/form-object-view/dynamic-view/dynamic-view.component.mjs +85 -0
- package/esm2020/lib/form-object/form-object-view/dynamic-view/dynamic-view.directive.mjs +16 -0
- package/esm2020/lib/form-object/form-object-view/form-object-view.component.mjs +209 -0
- package/esm2020/lib/form-object/form-object-view/form-object-view.module.mjs +273 -0
- package/esm2020/lib/form-object/form-object-view/form-object-view.service.mjs +268 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/apply-geo-fence-widget-view/apply-geo-fence-widget-view.component.mjs +83 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/audio-widget-view/audio-widget-view.component.mjs +92 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/auto-number-widget-view/auto-number-widget-view.component.mjs +68 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/bar-code-widget-view/bar-code-widget-view.component.mjs +155 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/child-records-widget-view/child-records-widget-view.component.mjs +158 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/choice-list-widget-view/choice-list-widget-view.component.mjs +248 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/counter-widget-view/counter-widget-view.component.mjs +93 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/date-time-widget-view/date-time-widget-view.component.mjs +179 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/document-widget-view/document-widget-view.component.mjs +210 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/form-object-widget-type-handler.mjs +93 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/form-object-widgets-view.component.mjs +58 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/form-object-widgets-view.directive.mjs +16 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/formula-widget-view/formula-widget-view.component.mjs +76 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/geo-fence-widget-view/geo-fence-widget-view.component.mjs +89 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/gps-widget-view/gps-widget-view.component.mjs +263 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/group-header-widget-view/group-header-widget-view.component.mjs +17 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-annotation-data-dto.mjs +335 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-map-view/image-map-view.component.mjs +270 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-widget-lightbox-view/image-widget-lightbox-view.component.mjs +498 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-widget-view.component.mjs +203 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/language-widget-view/language-widget-view.component.mjs +70 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/payment-widget-view/payment-widget-view.component.mjs +21 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/qr-code-widget-view/qr-code-widget-view.component.mjs +146 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/signature-widget-view/signature-widget-view.component.mjs +92 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/static-media-widget-view/static-media-widget-view.component.mjs +84 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/stop-watch-widget-view/stop-watch-widget-view.component.mjs +82 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/sub-form-widget-view/sub-form-widget-view.component.mjs +93 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/text-box-widget-view/text-box-widget-view.component.mjs +144 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/time-stamp-widget-view/time-stamp-widget-view.component.mjs +95 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/toggle-widget-view/toggle-widget-view.component.mjs +83 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/unique-id-widget-view/unique-id-widget-view.component.mjs +82 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/verification-widget-view/verification-widget-view.component.mjs +79 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/video-widget-view/video-widget-view.component.mjs +113 -0
- package/esm2020/lib/form-object/form-object-view/form-object-widgets/web-link-widget-view/web-link-widget-view.component.mjs +89 -0
- package/esm2020/lib/form-object/form-object-view/meta-section/meta-section.component.mjs +157 -0
- package/esm2020/lib/form-object/form-object-view/section/section.component.mjs +75 -0
- package/esm2020/lib/form-object/form-object-view/section-field/section-field.component.mjs +30 -0
- package/esm2020/lib/form-object/form-object-view/section-view/section-view.component.mjs +110 -0
- package/esm2020/lib/form-object/public-api.mjs +3 -0
- package/esm2020/lib/form-permission.service.mjs +106 -0
- package/esm2020/lib/forms/ax-form.mjs +212 -0
- package/esm2020/lib/forms/iform.mjs +2 -0
- package/esm2020/lib/forms/page/common/axo-response-status.mjs +6 -0
- package/esm2020/lib/forms/page/common/constants.mjs +399 -0
- package/esm2020/lib/forms/page/common/detail-view-enums.mjs +8 -0
- package/esm2020/lib/forms/page/common/flatten-status-enum.mjs +10 -0
- package/esm2020/lib/forms/page/common/form.constant.mjs +87 -0
- package/esm2020/lib/forms/page/common/property-panel-field.mjs +5 -0
- package/esm2020/lib/forms/page/common/widget-enums.mjs +269 -0
- package/esm2020/lib/forms/page/common/widget-value-handler.mjs +321 -0
- package/esm2020/lib/forms/page/data-detail-view/ax-section.mjs +51 -0
- package/esm2020/lib/forms/page/data-detail-view/collection-view.mjs +30 -0
- package/esm2020/lib/forms/page/data-detail-view/data-details.mjs +60 -0
- package/esm2020/lib/forms/page/data-detail-view/section-field.mjs +32 -0
- package/esm2020/lib/forms/page/data-detail-view/section.mjs +33 -0
- package/esm2020/lib/forms/page/data-list/data-list-column.mjs +45 -0
- package/esm2020/lib/forms/page/data-list/data-list.mjs +64 -0
- package/esm2020/lib/forms/page/form-object.mjs +17 -0
- package/esm2020/lib/forms/page/form-page.mjs +28 -0
- package/esm2020/lib/forms/page/value-converters/displayMode-to-bool.mjs +16 -0
- package/esm2020/lib/forms/page/value-converters/form-type-converter.mjs +23 -0
- package/esm2020/lib/forms/page/value-converters/geo-fence-value-converter.mjs +24 -0
- package/esm2020/lib/forms/page/value-converters/image-annotation-value-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/language-source-value-converter.mjs +24 -0
- package/esm2020/lib/forms/page/value-converters/list-view-title-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/parse-float-converter.mjs +15 -0
- package/esm2020/lib/forms/page/value-converters/parse-int-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/parse-string-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/publicUrls-string-to-array.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/record-limit-type-converter.mjs +23 -0
- package/esm2020/lib/forms/page/value-converters/restriction-mode-converter.mjs +23 -0
- package/esm2020/lib/forms/page/value-converters/string-to-bool-converter.mjs +16 -0
- package/esm2020/lib/forms/page/value-converters/string-to-bool-value-converter.mjs +16 -0
- package/esm2020/lib/forms/page/value-converters/string-to-date-time-converter.mjs +19 -0
- package/esm2020/lib/forms/page/value-converters/string-to-number -converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/textBox-mask-converter.mjs +16 -0
- package/esm2020/lib/forms/page/value-converters/validate-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/value-without-mask-converter.mjs +20 -0
- package/esm2020/lib/forms/page/value-converters/widget-concrete-class-converter.mjs +22 -0
- package/esm2020/lib/forms/page/value-converters/widget-deserializer.mjs +149 -0
- package/esm2020/lib/forms/page/widgets/apply-geofences.mjs +65 -0
- package/esm2020/lib/forms/page/widgets/auto-number.mjs +87 -0
- package/esm2020/lib/forms/page/widgets/ax-audio.mjs +154 -0
- package/esm2020/lib/forms/page/widgets/ax-document.mjs +149 -0
- package/esm2020/lib/forms/page/widgets/ax-image.mjs +183 -0
- package/esm2020/lib/forms/page/widgets/bar-code.mjs +212 -0
- package/esm2020/lib/forms/page/widgets/child-record.mjs +193 -0
- package/esm2020/lib/forms/page/widgets/choicelist.mjs +375 -0
- package/esm2020/lib/forms/page/widgets/counter.mjs +69 -0
- package/esm2020/lib/forms/page/widgets/datetime.mjs +247 -0
- package/esm2020/lib/forms/page/widgets/formula.mjs +106 -0
- package/esm2020/lib/forms/page/widgets/geofence.mjs +127 -0
- package/esm2020/lib/forms/page/widgets/gps.mjs +192 -0
- package/esm2020/lib/forms/page/widgets/group-header.mjs +200 -0
- package/esm2020/lib/forms/page/widgets/languages.mjs +129 -0
- package/esm2020/lib/forms/page/widgets/link.mjs +107 -0
- package/esm2020/lib/forms/page/widgets/payment.mjs +104 -0
- package/esm2020/lib/forms/page/widgets/qr-code.mjs +129 -0
- package/esm2020/lib/forms/page/widgets/script-condition.mjs +115 -0
- package/esm2020/lib/forms/page/widgets/signature.mjs +81 -0
- package/esm2020/lib/forms/page/widgets/static-media.mjs +130 -0
- package/esm2020/lib/forms/page/widgets/stopwatch.mjs +117 -0
- package/esm2020/lib/forms/page/widgets/sub-form.mjs +114 -0
- package/esm2020/lib/forms/page/widgets/textbox.mjs +338 -0
- package/esm2020/lib/forms/page/widgets/timestamp.mjs +155 -0
- package/esm2020/lib/forms/page/widgets/toggle.mjs +115 -0
- package/esm2020/lib/forms/page/widgets/unique-id.mjs +75 -0
- package/esm2020/lib/forms/page/widgets/verification.mjs +207 -0
- package/esm2020/lib/forms/page/widgets/video.mjs +151 -0
- package/esm2020/lib/forms/page/widgets/widget-value/apply-geo-fence-widget-value.mjs +74 -0
- package/esm2020/lib/forms/page/widgets/widget-value/audio-video-widget-value.mjs +36 -0
- package/esm2020/lib/forms/page/widgets/widget-value/child-record-value.mjs +114 -0
- package/esm2020/lib/forms/page/widgets/widget-value/choice-list-options.mjs +84 -0
- package/esm2020/lib/forms/page/widgets/widget-value/choices-ml.mjs +107 -0
- package/esm2020/lib/forms/page/widgets/widget-value/dateRangeValue.mjs +38 -0
- package/esm2020/lib/forms/page/widgets/widget-value/deviceProfileParams.mjs +9 -0
- package/esm2020/lib/forms/page/widgets/widget-value/deviceProfilesTemp.mjs +72 -0
- package/esm2020/lib/forms/page/widgets/widget-value/document-widget-value.mjs +56 -0
- package/esm2020/lib/forms/page/widgets/widget-value/geo-fence-location-value.mjs +54 -0
- package/esm2020/lib/forms/page/widgets/widget-value/geo-fence-widget-value.mjs +50 -0
- package/esm2020/lib/forms/page/widgets/widget-value/gps-widget-value.mjs +58 -0
- package/esm2020/lib/forms/page/widgets/widget-value/image-widget-value.mjs +99 -0
- package/esm2020/lib/forms/page/widgets/widget-value/language-widget-value.mjs +43 -0
- package/esm2020/lib/forms/page/widgets/widget-value/location-object-value.mjs +44 -0
- package/esm2020/lib/forms/page/widgets/widget-value/multiple-languages.mjs +106 -0
- package/esm2020/lib/forms/page/widgets/widget-value/reference-list-object-value.mjs +72 -0
- package/esm2020/lib/forms/page/widgets/widget-value/verification-widget-value.mjs +126 -0
- package/esm2020/lib/forms/page/widgets/widget.mjs +429 -0
- package/esm2020/lib/ghost-loader/ghost-loader.component.mjs +708 -0
- package/esm2020/lib/ghost-loader/ghost-loader.module.mjs +27 -0
- package/esm2020/lib/ghost-loader/public-api.mjs +3 -0
- package/esm2020/lib/map-dialog/map-dialog.component.mjs +46 -0
- package/esm2020/lib/map-dialog/map-dialog.module.mjs +39 -0
- package/esm2020/lib/map-dialog/public-api.mjs +6 -0
- package/esm2020/lib/reports-container/public-api.mjs +8 -0
- package/esm2020/lib/reports-container/report-group/report-group.component.mjs +77 -0
- package/esm2020/lib/reports-container/reports-container-models/report-group.mjs +42 -0
- package/esm2020/lib/reports-container/reports-container-models/report-property.mjs +30 -0
- package/esm2020/lib/reports-container/reports-container-models/reports-container-enums.mjs +16 -0
- package/esm2020/lib/reports-container/reports-container-models/reports-container.mjs +29 -0
- package/esm2020/lib/reports-container/reports-container.component.mjs +60 -0
- package/esm2020/lib/reports-container/reports-container.module.mjs +52 -0
- package/esm2020/lib/reports-container/reports-container.service.mjs +29 -0
- package/esm2020/lib/scrollbar/index.mjs +3 -0
- package/esm2020/lib/scrollbar/public-api.mjs +3 -0
- package/esm2020/lib/scrollbar/scrollbar.directive.mjs +351 -0
- package/esm2020/lib/scrollbar/scrollbar.module.mjs +21 -0
- package/esm2020/lib/scrollbar/scrollbar.types.mjs +15 -0
- package/esm2020/lib/sculptor-lib/widgets/audio/audio.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/barcode/barcode.component.mjs +118 -0
- package/esm2020/lib/sculptor-lib/widgets/child-record/child-record.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/choice-list/choice-list.component.mjs +105 -0
- package/esm2020/lib/sculptor-lib/widgets/date-time/date-time.component.mjs +136 -0
- package/esm2020/lib/sculptor-lib/widgets/document/document.component.mjs +118 -0
- package/esm2020/lib/sculptor-lib/widgets/geofence/geofence.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/gps/gps.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/group-header/group-header.component.mjs +109 -0
- package/esm2020/lib/sculptor-lib/widgets/image/image.component.mjs +131 -0
- package/esm2020/lib/sculptor-lib/widgets/language/language.component.mjs +105 -0
- package/esm2020/lib/sculptor-lib/widgets/link/link.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/qr-code/qr-code.component.mjs +118 -0
- package/esm2020/lib/sculptor-lib/widgets/stopwatch/stopwatch.component.mjs +105 -0
- package/esm2020/lib/sculptor-lib/widgets/subform/subform.component.mjs +109 -0
- package/esm2020/lib/sculptor-lib/widgets/textbox/textbox.component.mjs +177 -0
- package/esm2020/lib/sculptor-lib/widgets/timestamp/timestamp.component.mjs +115 -0
- package/esm2020/lib/sculptor-lib/widgets/toggle/toggle.component.mjs +112 -0
- package/esm2020/lib/sculptor-lib/widgets/video/video.component.mjs +118 -0
- package/esm2020/lib/sculptor-lib/widgets/widgets.service.mjs +58 -0
- package/esm2020/lib/shared/comfirmation-modal/confirmation-modal.component.mjs +63 -0
- package/esm2020/lib/shared/conditional-formatting/conditional-formatting/conditional-formatting.component.mjs +83 -0
- package/esm2020/lib/shared/shared.module.mjs +51 -0
- package/esm2020/public-api.mjs +138 -0
- package/fesm2015/ax-common-ui-lib.mjs +56598 -0
- package/fesm2015/ax-common-ui-lib.mjs.map +1 -0
- package/fesm2020/ax-common-ui-lib.mjs +52373 -0
- package/fesm2020/ax-common-ui-lib.mjs.map +1 -0
- package/lib/app-list/app-list-dto.d.ts +15 -0
- package/lib/app-list/app-list.component.d.ts +62 -0
- package/lib/app-list/my-app-list.service.d.ts +69 -0
- package/lib/app-list/organization-list-dto.d.ts +15 -0
- package/lib/ax-app-common-lib.component.d.ts +8 -0
- package/lib/ax-app-common-lib.module.d.ts +24 -0
- package/lib/ax-app-common-lib.service.d.ts +6 -0
- package/lib/axo-filters/axo-filters.component.d.ts +86 -0
- package/lib/axo-filters/axo-filters.module.d.ts +16 -0
- package/lib/axo-filters/axo-filters.service.d.ts +36 -0
- package/lib/axo-map/axo-map.component.d.ts +9 -0
- package/lib/axo-map/axo-map.d.ts +14 -0
- package/lib/axo-map/axo-map.module.d.ts +10 -0
- package/lib/axo-map/public-api.d.ts +6 -0
- package/lib/axo-search-bar/axo-search-bar.component.d.ts +21 -0
- package/lib/axo-search-bar/axo-search-bar.module.d.ts +10 -0
- package/lib/axo-search-bar/public.api.d.ts +2 -0
- package/lib/axo-snack-bar/axo-snack-bar.component.d.ts +20 -0
- package/lib/axo-snack-bar/axo-snack-bar.module.d.ts +9 -0
- package/lib/axo-snack-bar/axo-snack-bar.service.d.ts +16 -0
- package/lib/axo-snack-bar/public-api.d.ts +2 -0
- package/lib/axo-state-manager/axo-state-manager.module.d.ts +7 -0
- package/lib/axo-state-manager/axo-state-manager.service.d.ts +15 -0
- package/lib/axo-state-manager/public-api.d.ts +2 -0
- package/lib/axo-utils/axo-utils.d.ts +72 -0
- package/lib/axo-utils/axo-utils.module.d.ts +10 -0
- package/lib/axo-utils/constants.d.ts +2 -0
- package/lib/axo-utils/data-source-types.d.ts +10 -0
- package/lib/axo-utils/field-list-search-pipe.d.ts +7 -0
- package/lib/axo-utils/filter-search-pipe.d.ts +7 -0
- package/lib/axo-utils/public-api.d.ts +1 -0
- package/lib/axo-utils/search-pipe/choice-search.pipe.d.ts +7 -0
- package/lib/axo-utils/search-pipe.d.ts +7 -0
- package/lib/bread-crumbs/bread-crumbs.component.d.ts +48 -0
- package/lib/bread-crumbs/bread-crumbs.module.d.ts +9 -0
- package/lib/bread-crumbs/bread-crumbs.service.d.ts +76 -0
- package/lib/code-editor/code-editor-modes.d.ts +9 -0
- package/lib/code-editor/code-editor-themes.d.ts +6 -0
- package/lib/code-editor/code-editor.component.d.ts +20 -0
- package/lib/code-editor/code-editor.module.d.ts +10 -0
- package/lib/code-editor/icode-editor-options.d.ts +51 -0
- package/lib/code-editor/public-api.d.ts +2 -0
- package/lib/common-dto/attributes-dto.d.ts +24 -0
- package/lib/common-dto/dashboard-dto.d.ts +10 -0
- package/lib/common-dto/dataListFilter-dto.d.ts +10 -0
- package/lib/common-dto/elements-dto.d.ts +51 -0
- package/lib/common-dto/form-dto.d.ts +17 -0
- package/lib/common-lib-configuration.service.d.ts +13 -0
- package/lib/common-property-panel/properties/properties.service.d.ts +18 -0
- package/lib/common-utils/entity-base.d.ts +10 -0
- package/lib/common-utils/iFlatten.d.ts +13 -0
- package/lib/common-utils/report.d.ts +26 -0
- package/lib/common.service.d.ts +50 -0
- package/lib/converters/convert-to-new-service.d.ts +6 -0
- package/lib/converters/convert-to-old-service.d.ts +26 -0
- package/lib/core/auth/auth.service.d.ts +75 -0
- package/lib/core/core.module.d.ts +12 -0
- package/lib/core/icons/icons.module.d.ts +14 -0
- package/lib/core/transloco/transloco.http-loader.d.ts +19 -0
- package/lib/core/transloco/transloco.module.d.ts +7 -0
- package/lib/core/user/axo-user.d.ts +9 -0
- package/lib/core/user/user-data.service.d.ts +25 -0
- package/lib/core/user/user.service.d.ts +45 -0
- package/lib/core/user/user.types.d.ts +9 -0
- package/lib/dashboard-lib/dashboard-builder.service.d.ts +27 -0
- package/lib/dashboard-lib/dashboard-control.service.d.ts +31 -0
- package/lib/dashboard-lib/dashboard-element/dashboard-element.d.ts +9 -0
- package/lib/dashboard-lib/dashboard-element-property/dashboard-property/dashboard-element-property.d.ts +7 -0
- package/lib/dashboard-lib/dashboard-filter/dashboard-filter.component.d.ts +37 -0
- package/lib/dashboard-lib/dashboard-lib.module.d.ts +26 -0
- package/lib/dashboard-lib/dashboard-list.service.d.ts +24 -0
- package/lib/dashboard-lib/dashboard.d.ts +14 -0
- package/lib/dashboard-lib/send-to-dashboard.service.d.ts +39 -0
- package/lib/dashboard-lib/show-dashboards/show-dashboards.component.d.ts +53 -0
- package/lib/dashboard-lib/show-dashboards/show-dashboards.service.d.ts +11 -0
- package/lib/data-view-lib/data-view/axo-card.d.ts +11 -0
- package/lib/data-view-lib/data-view/axo-tag.d.ts +26 -0
- package/lib/data-view-lib/data-view/board-column.d.ts +12 -0
- package/lib/data-view-lib/data-view/board-view.d.ts +23 -0
- package/lib/data-view-lib/data-view/cardConfig.d.ts +11 -0
- package/lib/data-view-lib/data-view/conditional-formatting.d.ts +11 -0
- package/lib/data-view-lib/data-view/coordinate.d.ts +8 -0
- package/lib/data-view-lib/data-view/data-view-enums.d.ts +58 -0
- package/lib/data-view-lib/data-view/data-view-filter.d.ts +25 -0
- package/lib/data-view-lib/data-view/data-view.d.ts +33 -0
- package/lib/data-view-lib/data-view/idata-view.d.ts +7 -0
- package/lib/data-view-lib/data-view/image-style.d.ts +8 -0
- package/lib/data-view-lib/data-view/info-window.d.ts +10 -0
- package/lib/data-view-lib/data-view/location.d.ts +8 -0
- package/lib/data-view-lib/data-view/map-view.d.ts +21 -0
- package/lib/data-view-lib/data-view/prefix-style.d.ts +12 -0
- package/lib/data-view-lib/data-view/tag-style.d.ts +12 -0
- package/lib/data-view-lib/data-view/tagConfig.d.ts +34 -0
- package/lib/data-view-lib/data-view/task-asset-form-object-dto.d.ts +19 -0
- package/lib/data-view-lib/data-view/task-column-value.d.ts +48 -0
- package/lib/data-view-lib/data-view/task-view.d.ts +15 -0
- package/lib/data-view-lib/data-view/task.d.ts +57 -0
- package/lib/data-view-lib/data-view/value-style.d.ts +10 -0
- package/lib/data-view-lib/data-view-filters/data-view-filters.component.d.ts +142 -0
- package/lib/data-view-lib/data-view-filters/data-view-filters.service.d.ts +28 -0
- package/lib/data-view-lib/data-view-header/data-view-header.component.d.ts +85 -0
- package/lib/data-view-lib/data-view-lib.module.d.ts +19 -0
- package/lib/data-view-lib/data-view.service.d.ts +94 -0
- package/lib/data-view-lib/public-api.d.ts +27 -0
- package/lib/directive/adjust-font-size.d.ts +13 -0
- package/lib/drill-through/drill-through.component.d.ts +53 -0
- package/lib/drill-through/drill-through.module.d.ts +10 -0
- package/lib/drill-through/drill-through.resolver.d.ts +30 -0
- package/lib/drill-through/drill-through.service.d.ts +100 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-column.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-list.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-range-value.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-range.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-time-list.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-time-range-value.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-time-range.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-time.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-date-value.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-number-list.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-number-range-value.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-number-value.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-text-list.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-text.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-time-list.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-time-range-value.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-time-range.d.ts +17 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-time.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-exp-toggle.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/ax-expression-value.d.ts +19 -0
- package/lib/enlighten-lib/ax-expression/ax-expression.d.ts +66 -0
- package/lib/enlighten-lib/ax-expression/ax-number-range.d.ts +16 -0
- package/lib/enlighten-lib/ax-expression/exp-sub-type.d.ts +26 -0
- package/lib/enlighten-lib/ax-expression/public-api.d.ts +23 -0
- package/lib/enlighten-lib/data-model/attribute.d.ts +60 -0
- package/lib/enlighten-lib/data-model/data-model.d.ts +32 -0
- package/lib/enlighten-lib/data-model/dependee.d.ts +11 -0
- package/lib/enlighten-lib/data-model/dependent.d.ts +11 -0
- package/lib/enlighten-lib/data-model/entity.d.ts +31 -0
- package/lib/enlighten-lib/data-model-tree/attributes-dragdrop-layout/attributes-dragdrop-layout.component.d.ts +23 -0
- package/lib/enlighten-lib/data-model-tree/attributes-selection-layout/attributes-selection-layout.component.d.ts +24 -0
- package/lib/enlighten-lib/data-model-tree/categories-tree/categories-tree.component.d.ts +25 -0
- package/lib/enlighten-lib/data-model-tree/data-model-tree-enums.d.ts +4 -0
- package/lib/enlighten-lib/data-model-tree/data-model-tree.component.d.ts +67 -0
- package/lib/enlighten-lib/data-model-tree/data-model-tree.module.d.ts +18 -0
- package/lib/enlighten-lib/elements/Property.d.ts +3 -0
- package/lib/enlighten-lib/elements/ax-element.d.ts +31 -0
- package/lib/enlighten-lib/elements/element-factory.d.ts +13 -0
- package/lib/enlighten-lib/enlighten-lib.module.d.ts +53 -0
- package/lib/enlighten-lib/enums/bread-crumbs-style.d.ts +4 -0
- package/lib/enlighten-lib/enums/operator-text-enum.d.ts +9 -0
- package/lib/enlighten-lib/fields/attribute-data.d.ts +55 -0
- package/lib/enlighten-lib/fields/entity.d.ts +15 -0
- package/lib/enlighten-lib/fields/types/ax-audio.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-barcode.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-childrecord.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-counter.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-date.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-decimal.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-document.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-file.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-image.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-location.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-number.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-qrcode.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-signature.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-staticmedia.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-text.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-time.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ax-uniqueid.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/axo-timestamp.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/choicelist.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/datetime.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/hyperlink.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/ienlighten-type.d.ts +3 -0
- package/lib/enlighten-lib/fields/types/toggle.d.ts +4 -0
- package/lib/enlighten-lib/fields/types/video.d.ts +4 -0
- package/lib/enlighten-lib/filters/ax-filter.d.ts +38 -0
- package/lib/enlighten-lib/filters/ax-operator.d.ts +40 -0
- package/lib/enlighten-lib/filters/chart-filter-type.d.ts +5 -0
- package/lib/enlighten-lib/filters/condition-type.d.ts +43 -0
- package/lib/enlighten-lib/filters/dataList-searchNode.d.ts +27 -0
- package/lib/enlighten-lib/filters/dataListFilterExpression.d.ts +20 -0
- package/lib/enlighten-lib/filters/dataListFilterOperator.d.ts +29 -0
- package/lib/enlighten-lib/filters/dataListSeachQueryTree.d.ts +15 -0
- package/lib/enlighten-lib/filters/filter-category.d.ts +43 -0
- package/lib/enlighten-lib/filters/general-filter-type.d.ts +10 -0
- package/lib/enlighten-lib/filters/gridster-properties.d.ts +17 -0
- package/lib/enlighten-lib/filters/iax-filter.d.ts +7 -0
- package/lib/enlighten-lib/filters/search-node.d.ts +27 -0
- package/lib/enlighten-lib/filters/static-widget.d.ts +2 -0
- package/lib/enlighten-lib/property/element-property.d.ts +8 -0
- package/lib/enlighten-lib/property/filter-category-property.d.ts +6 -0
- package/lib/enlighten-lib/property/filter-property.d.ts +6 -0
- package/lib/enlighten-lib/report/chart-filter/chart-filter.component.d.ts +78 -0
- package/lib/enlighten-lib/report/element.service.d.ts +61 -0
- package/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.component.d.ts +259 -0
- package/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.d.ts +52 -0
- package/lib/enlighten-lib/report/graphical-report/bar-chart/bar-chart.service.d.ts +9 -0
- package/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.component.d.ts +177 -0
- package/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.d.ts +29 -0
- package/lib/enlighten-lib/report/graphical-report/card-chart/card-chart.service.d.ts +9 -0
- package/lib/enlighten-lib/report/graphical-report/chart/border.d.ts +13 -0
- package/lib/enlighten-lib/report/graphical-report/chart/chart-factory.d.ts +7 -0
- package/lib/enlighten-lib/report/graphical-report/chart/chart-property.d.ts +5 -0
- package/lib/enlighten-lib/report/graphical-report/chart/chart-type.d.ts +16 -0
- package/lib/enlighten-lib/report/graphical-report/chart/chart.d.ts +41 -0
- package/lib/enlighten-lib/report/graphical-report/chart/common-chart.service.d.ts +13 -0
- package/lib/enlighten-lib/report/graphical-report/chart/conditional-formatting.d.ts +6 -0
- package/lib/enlighten-lib/report/graphical-report/chart/dimension.d.ts +6 -0
- package/lib/enlighten-lib/report/graphical-report/chart/font.d.ts +13 -0
- package/lib/enlighten-lib/report/graphical-report/chart/fontStyle.d.ts +13 -0
- package/lib/enlighten-lib/report/graphical-report/chart/label.d.ts +6 -0
- package/lib/enlighten-lib/report/graphical-report/chart/legend.d.ts +13 -0
- package/lib/enlighten-lib/report/graphical-report/chart/matrix.d.ts +11 -0
- package/lib/enlighten-lib/report/graphical-report/chart/shadow.d.ts +5 -0
- package/lib/enlighten-lib/report/graphical-report/chart/style.d.ts +12 -0
- package/lib/enlighten-lib/report/graphical-report/chart/text-style.d.ts +17 -0
- package/lib/enlighten-lib/report/graphical-report/chart/title.d.ts +11 -0
- package/lib/enlighten-lib/report/graphical-report/graphical-report.component.d.ts +130 -0
- package/lib/enlighten-lib/report/graphical-report/graphical-report.directive.d.ts +8 -0
- package/lib/enlighten-lib/report/graphical-report/ichart-component.d.ts +6 -0
- package/lib/enlighten-lib/report/graphical-report/igraphical-report.component.d.ts +21 -0
- package/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.component.d.ts +215 -0
- package/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.d.ts +34 -0
- package/lib/enlighten-lib/report/graphical-report/line-chart/line-chart.service.d.ts +9 -0
- package/lib/enlighten-lib/report/graphical-report/page/page.d.ts +25 -0
- package/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.component.d.ts +220 -0
- package/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.d.ts +38 -0
- package/lib/enlighten-lib/report/graphical-report/pie-chart/pie-chart.service.d.ts +9 -0
- package/lib/enlighten-lib/report/graphical-report/text/text-chart.d.ts +19 -0
- package/lib/enlighten-lib/report/graphical-report/text/text.component.d.ts +72 -0
- package/lib/enlighten-lib/report/graphical-report/text/text.service.d.ts +9 -0
- package/lib/enlighten-lib/report/iproperty.component.d.ts +14 -0
- package/lib/enlighten-lib/report/ireport.d.ts +14 -0
- package/lib/enlighten-lib/report/report-builder-master.service.d.ts +42 -0
- package/lib/enlighten-lib/report/report-filter/report-filter.component.d.ts +117 -0
- package/lib/enlighten-lib/report/report-filter/report-filter.module.d.ts +19 -0
- package/lib/enlighten-lib/report/report-filter/report-filter.service.d.ts +102 -0
- package/lib/enlighten-lib/report/tabular-report/aggregate.d.ts +8 -0
- package/lib/enlighten-lib/report/tabular-report/axo-percentage.pipe.d.ts +7 -0
- package/lib/enlighten-lib/report/tabular-report/column-style.d.ts +5 -0
- package/lib/enlighten-lib/report/tabular-report/itabular-report.component.d.ts +16 -0
- package/lib/enlighten-lib/report/tabular-report/orderby-type.d.ts +5 -0
- package/lib/enlighten-lib/report/tabular-report/row-style.d.ts +5 -0
- package/lib/enlighten-lib/report/tabular-report/table-style.d.ts +21 -0
- package/lib/enlighten-lib/report/tabular-report/tabular/column-group-view/column-group-view.component.d.ts +124 -0
- package/lib/enlighten-lib/report/tabular-report/tabular/detail-group-view/detail-group-view.component.d.ts +242 -0
- package/lib/enlighten-lib/report/tabular-report/tabular/resize-column-directive.d.ts +21 -0
- package/lib/enlighten-lib/report/tabular-report/tabular/row-group-view/row-group-view.component.d.ts +190 -0
- package/lib/enlighten-lib/report/tabular-report/tabular/tabular.component.d.ts +177 -0
- package/lib/enlighten-lib/report/tabular-report/tabular-report.component.d.ts +53 -0
- package/lib/enlighten-lib/report/tabular-report/tabular-report.d.ts +102 -0
- package/lib/enlighten-lib/report/tabular-report/tabular-report.service.d.ts +173 -0
- package/lib/enlighten-lib/report/tabular-report/tabular.d.ts +92 -0
- package/lib/enlighten-lib/report/tabular-report/value-formatting.d.ts +7 -0
- package/lib/enlighten-lib/report-control.service.d.ts +15 -0
- package/lib/enlighten-lib/utils/utils.d.ts +16 -0
- package/lib/field-list-lib/fields-list.service.d.ts +71 -0
- package/lib/filters/calender-filter/calender-filter.component.d.ts +70 -0
- package/lib/filters/category-filter/category-filter.component.d.ts +65 -0
- package/lib/filters/category-filter/category-filter.service.d.ts +16 -0
- package/lib/filters/category-filter/category.service.d.ts +23 -0
- package/lib/filters/choice-list-filter/choice-list-filter.component.d.ts +64 -0
- package/lib/filters/choice-list-filter/choice-list-filter.service.d.ts +36 -0
- package/lib/filters/common-filter/common-filter.component.d.ts +135 -0
- package/lib/filters/common-filter/common-filter.service.d.ts +42 -0
- package/lib/filters/custom-scroll-directives.d.ts +14 -0
- package/lib/filters/date-time-filter/date-time-filter.component.d.ts +83 -0
- package/lib/filters/filter-footer/filter-footer.component.d.ts +12 -0
- package/lib/filters/filters.component.d.ts +139 -0
- package/lib/filters/filters.module.d.ts +43 -0
- package/lib/filters/filters.service.d.ts +83 -0
- package/lib/filters/meta-column-filter-builder/meta-column-filter-builder.service.d.ts +70 -0
- package/lib/filters/metaColumnTypes.d.ts +18 -0
- package/lib/filters/multi-select-filter/multi-select-filter.component.d.ts +68 -0
- package/lib/filters/multi-select-filter/multi-select-filter.service.d.ts +77 -0
- package/lib/filters/number-filter/number-filter.component.d.ts +70 -0
- package/lib/filters/public-api.d.ts +14 -0
- package/lib/filters/reference-list-filter/reference-list-filter.component.d.ts +59 -0
- package/lib/filters/reference-list-filter/reference-list-filter.service.d.ts +62 -0
- package/lib/filters/single-select-filter/single-select-filter.component.d.ts +59 -0
- package/lib/filters/time-filter/time-filter.component.d.ts +62 -0
- package/lib/filters/user-filter/user-filter.component.d.ts +61 -0
- package/lib/filters/user-filter/user-filter.service.d.ts +26 -0
- package/lib/form-object/form-object-list/form-object-list-filter/form-object-list-filter.component.d.ts +87 -0
- package/lib/form-object/form-object-list/form-object-list-filter/form-object-list-filter.service.d.ts +33 -0
- package/lib/form-object/form-object-list/form-object-list-header/form-object-list-header.component.d.ts +13 -0
- package/lib/form-object/form-object-list/form-object-list-header/widget-header-type-handler.d.ts +3 -0
- package/lib/form-object/form-object-list/form-object-list-header/widgets/text-box-header/text-box-header.component.d.ts +10 -0
- package/lib/form-object/form-object-list/form-object-list-header/widgets-header.directive.d.ts +8 -0
- package/lib/form-object/form-object-list/form-object-list.component.d.ts +200 -0
- package/lib/form-object/form-object-list/form-object-list.d.ts +42 -0
- package/lib/form-object/form-object-list/form-object-list.module.d.ts +59 -0
- package/lib/form-object/form-object-list/form-object-list.service.d.ts +69 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/form-object-value-handler.d.ts +3 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/form-object-value.directive.d.ts +8 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/form-object-widget-value.component.d.ts +22 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-apply-geo-fence-value/formobject-apply-geo-fence-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-audio-value/formobject-audio-value.component.d.ts +12 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-auto-number-value/formobject-auto-number-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-bar-code-value/formobject-bar-code-value.component.d.ts +27 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-child-records-value/formobject-child-records-value.component.d.ts +13 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-choicelist-value/formobject-choicelist-value.component.d.ts +20 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-counter-value/formobject-counter-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-date-time-value/formobject-date-time-value.component.d.ts +13 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-document-value/formobject-document-value.component.d.ts +15 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-formula-value/formobject-formula-value.component.d.ts +11 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-geo-fence-value/formobject-geo-fence-value.component.d.ts +21 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-gps-value/formobject-gps-value.component.d.ts +23 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-group-header-value/formobject-group-header-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-image-value/formobject-image-value.component.d.ts +34 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-languages-value/formobject-languages-value.component.d.ts +12 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-payment-value/formobject-payment-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-qr-code-value/formobject-qr-code-value.component.d.ts +27 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-signature-value/formobject-signature-value.component.d.ts +17 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-static-media-value/formobject-static-media-value.component.d.ts +15 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-stop-watch-value/formobject-stop-watch-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-sub-form-value/formobject-sub-form-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-textbox-value/formobject-textbox-value.component.d.ts +12 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-time-stamp-value/formobject-time-stamp-value.component.d.ts +16 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-toggle-value/formobject-toggle-value.component.d.ts +11 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-unique-id-value/formobject-unique-id-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-verification-value/formobject-verification-value.component.d.ts +14 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-video-value/formobject-video-value.component.d.ts +16 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-web-link-value/formobject-web-link-value.component.d.ts +10 -0
- package/lib/form-object/form-object-list/formObjectWidgetValue/formobject-widget-mat-dialog/formobject-widget-mat-dialog.component.d.ts +13 -0
- package/lib/form-object/form-object-view/data-detail-view-dto.d.ts +16 -0
- package/lib/form-object/form-object-view/dynamic-view/dynamic-view.component.d.ts +32 -0
- package/lib/form-object/form-object-view/dynamic-view/dynamic-view.directive.d.ts +8 -0
- package/lib/form-object/form-object-view/form-object-view.component.d.ts +45 -0
- package/lib/form-object/form-object-view/form-object-view.module.d.ts +70 -0
- package/lib/form-object/form-object-view/form-object-view.service.d.ts +49 -0
- package/lib/form-object/form-object-view/form-object-widgets/apply-geo-fence-widget-view/apply-geo-fence-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/audio-widget-view/audio-widget-view.component.d.ts +12 -0
- package/lib/form-object/form-object-view/form-object-widgets/auto-number-widget-view/auto-number-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/bar-code-widget-view/bar-code-widget-view.component.d.ts +31 -0
- package/lib/form-object/form-object-view/form-object-widgets/child-records-widget-view/child-records-widget-view.component.d.ts +22 -0
- package/lib/form-object/form-object-view/form-object-widgets/choice-list-widget-view/choice-list-widget-view.component.d.ts +25 -0
- package/lib/form-object/form-object-view/form-object-widgets/counter-widget-view/counter-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/date-time-widget-view/date-time-widget-view.component.d.ts +12 -0
- package/lib/form-object/form-object-view/form-object-widgets/document-widget-view/document-widget-view.component.d.ts +15 -0
- package/lib/form-object/form-object-view/form-object-widgets/form-object-widget-type-handler.d.ts +3 -0
- package/lib/form-object/form-object-view/form-object-widgets/form-object-widgets-view.component.d.ts +25 -0
- package/lib/form-object/form-object-view/form-object-widgets/form-object-widgets-view.directive.d.ts +8 -0
- package/lib/form-object/form-object-view/form-object-widgets/formula-widget-view/formula-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/geo-fence-widget-view/geo-fence-widget-view.component.d.ts +14 -0
- package/lib/form-object/form-object-view/form-object-widgets/gps-widget-view/gps-widget-view.component.d.ts +37 -0
- package/lib/form-object/form-object-view/form-object-widgets/group-header-widget-view/group-header-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-annotation-data-dto.d.ts +91 -0
- package/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-map-view/image-map-view.component.d.ts +32 -0
- package/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-widget-lightbox-view/image-widget-lightbox-view.component.d.ts +71 -0
- package/lib/form-object/form-object-view/form-object-widgets/image-widget-view/image-widget-view.component.d.ts +40 -0
- package/lib/form-object/form-object-view/form-object-widgets/language-widget-view/language-widget-view.component.d.ts +12 -0
- package/lib/form-object/form-object-view/form-object-widgets/payment-widget-view/payment-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/qr-code-widget-view/qr-code-widget-view.component.d.ts +26 -0
- package/lib/form-object/form-object-view/form-object-widgets/signature-widget-view/signature-widget-view.component.d.ts +13 -0
- package/lib/form-object/form-object-view/form-object-widgets/static-media-widget-view/static-media-widget-view.component.d.ts +13 -0
- package/lib/form-object/form-object-view/form-object-widgets/stop-watch-widget-view/stop-watch-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/sub-form-widget-view/sub-form-widget-view.component.d.ts +16 -0
- package/lib/form-object/form-object-view/form-object-widgets/text-box-widget-view/text-box-widget-view.component.d.ts +14 -0
- package/lib/form-object/form-object-view/form-object-widgets/time-stamp-widget-view/time-stamp-widget-view.component.d.ts +15 -0
- package/lib/form-object/form-object-view/form-object-widgets/toggle-widget-view/toggle-widget-view.component.d.ts +11 -0
- package/lib/form-object/form-object-view/form-object-widgets/unique-id-widget-view/unique-id-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/form-object-widgets/verification-widget-view/verification-widget-view.component.d.ts +14 -0
- package/lib/form-object/form-object-view/form-object-widgets/video-widget-view/video-widget-view.component.d.ts +16 -0
- package/lib/form-object/form-object-view/form-object-widgets/web-link-widget-view/web-link-widget-view.component.d.ts +10 -0
- package/lib/form-object/form-object-view/meta-section/meta-section.component.d.ts +31 -0
- package/lib/form-object/form-object-view/section/section.component.d.ts +16 -0
- package/lib/form-object/form-object-view/section-field/section-field.component.d.ts +13 -0
- package/lib/form-object/form-object-view/section-view/section-view.component.d.ts +16 -0
- package/lib/form-object/public-api.d.ts +2 -0
- package/lib/form-permission.service.d.ts +51 -0
- package/lib/forms/ax-form.d.ts +47 -0
- package/lib/forms/iform.d.ts +18 -0
- package/lib/forms/page/common/axo-response-status.d.ts +4 -0
- package/lib/forms/page/common/constants.d.ts +371 -0
- package/lib/forms/page/common/detail-view-enums.d.ts +5 -0
- package/lib/forms/page/common/flatten-status-enum.d.ts +7 -0
- package/lib/forms/page/common/form.constant.d.ts +85 -0
- package/lib/forms/page/common/property-panel-field.d.ts +21 -0
- package/lib/forms/page/common/widget-enums.d.ts +236 -0
- package/lib/forms/page/common/widget-value-handler.d.ts +4 -0
- package/lib/forms/page/data-detail-view/ax-section.d.ts +22 -0
- package/lib/forms/page/data-detail-view/collection-view.d.ts +11 -0
- package/lib/forms/page/data-detail-view/data-details.d.ts +17 -0
- package/lib/forms/page/data-detail-view/section-field.d.ts +13 -0
- package/lib/forms/page/data-detail-view/section.d.ts +13 -0
- package/lib/forms/page/data-list/data-list-column.d.ts +24 -0
- package/lib/forms/page/data-list/data-list.d.ts +24 -0
- package/lib/forms/page/form-object.d.ts +6 -0
- package/lib/forms/page/form-page.d.ts +19 -0
- package/lib/forms/page/value-converters/displayMode-to-bool.d.ts +5 -0
- package/lib/forms/page/value-converters/form-type-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/geo-fence-value-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/image-annotation-value-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/language-source-value-converter.d.ts +6 -0
- package/lib/forms/page/value-converters/list-view-title-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/parse-float-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/parse-int-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/parse-string-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/publicUrls-string-to-array.d.ts +5 -0
- package/lib/forms/page/value-converters/record-limit-type-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/restriction-mode-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/string-to-bool-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/string-to-bool-value-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/string-to-date-time-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/string-to-number -converter.d.ts +5 -0
- package/lib/forms/page/value-converters/textBox-mask-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/validate-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/value-without-mask-converter.d.ts +5 -0
- package/lib/forms/page/value-converters/widget-concrete-class-converter.d.ts +6 -0
- package/lib/forms/page/value-converters/widget-deserializer.d.ts +3 -0
- package/lib/forms/page/widgets/apply-geofences.d.ts +25 -0
- package/lib/forms/page/widgets/auto-number.d.ts +28 -0
- package/lib/forms/page/widgets/ax-audio.d.ts +43 -0
- package/lib/forms/page/widgets/ax-document.d.ts +44 -0
- package/lib/forms/page/widgets/ax-image.d.ts +46 -0
- package/lib/forms/page/widgets/bar-code.d.ts +52 -0
- package/lib/forms/page/widgets/child-record.d.ts +50 -0
- package/lib/forms/page/widgets/choicelist.d.ts +70 -0
- package/lib/forms/page/widgets/counter.d.ts +36 -0
- package/lib/forms/page/widgets/datetime.d.ts +53 -0
- package/lib/forms/page/widgets/formula.d.ts +38 -0
- package/lib/forms/page/widgets/geofence.d.ts +41 -0
- package/lib/forms/page/widgets/gps.d.ts +49 -0
- package/lib/forms/page/widgets/group-header.d.ts +51 -0
- package/lib/forms/page/widgets/languages.d.ts +41 -0
- package/lib/forms/page/widgets/link.d.ts +36 -0
- package/lib/forms/page/widgets/payment.d.ts +37 -0
- package/lib/forms/page/widgets/qr-code.d.ts +39 -0
- package/lib/forms/page/widgets/script-condition.d.ts +33 -0
- package/lib/forms/page/widgets/signature.d.ts +34 -0
- package/lib/forms/page/widgets/static-media.d.ts +40 -0
- package/lib/forms/page/widgets/stopwatch.d.ts +37 -0
- package/lib/forms/page/widgets/sub-form.d.ts +39 -0
- package/lib/forms/page/widgets/textbox.d.ts +63 -0
- package/lib/forms/page/widgets/timestamp.d.ts +42 -0
- package/lib/forms/page/widgets/toggle.d.ts +36 -0
- package/lib/forms/page/widgets/unique-id.d.ts +33 -0
- package/lib/forms/page/widgets/verification.d.ts +55 -0
- package/lib/forms/page/widgets/video.d.ts +44 -0
- package/lib/forms/page/widgets/widget-value/apply-geo-fence-widget-value.d.ts +18 -0
- package/lib/forms/page/widgets/widget-value/audio-video-widget-value.d.ts +11 -0
- package/lib/forms/page/widgets/widget-value/child-record-value.d.ts +26 -0
- package/lib/forms/page/widgets/widget-value/choice-list-options.d.ts +27 -0
- package/lib/forms/page/widgets/widget-value/choices-ml.d.ts +22 -0
- package/lib/forms/page/widgets/widget-value/dateRangeValue.d.ts +12 -0
- package/lib/forms/page/widgets/widget-value/deviceProfileParams.d.ts +4 -0
- package/lib/forms/page/widgets/widget-value/deviceProfilesTemp.d.ts +19 -0
- package/lib/forms/page/widgets/widget-value/document-widget-value.d.ts +15 -0
- package/lib/forms/page/widgets/widget-value/geo-fence-location-value.d.ts +14 -0
- package/lib/forms/page/widgets/widget-value/geo-fence-widget-value.d.ts +14 -0
- package/lib/forms/page/widgets/widget-value/gps-widget-value.d.ts +21 -0
- package/lib/forms/page/widgets/widget-value/image-widget-value.d.ts +19 -0
- package/lib/forms/page/widgets/widget-value/language-widget-value.d.ts +12 -0
- package/lib/forms/page/widgets/widget-value/location-object-value.d.ts +12 -0
- package/lib/forms/page/widgets/widget-value/multiple-languages.d.ts +21 -0
- package/lib/forms/page/widgets/widget-value/reference-list-object-value.d.ts +17 -0
- package/lib/forms/page/widgets/widget-value/verification-widget-value.d.ts +31 -0
- package/lib/forms/page/widgets/widget.d.ts +75 -0
- package/lib/ghost-loader/ghost-loader.component.d.ts +41 -0
- package/lib/ghost-loader/ghost-loader.module.d.ts +8 -0
- package/lib/ghost-loader/public-api.d.ts +2 -0
- package/lib/map-dialog/map-dialog.component.d.ts +16 -0
- package/lib/map-dialog/map-dialog.module.d.ts +11 -0
- package/lib/map-dialog/public-api.d.ts +5 -0
- package/lib/reports-container/public-api.d.ts +7 -0
- package/lib/reports-container/report-group/report-group.component.d.ts +17 -0
- package/lib/reports-container/reports-container-models/report-group.d.ts +20 -0
- package/lib/reports-container/reports-container-models/report-property.d.ts +19 -0
- package/lib/reports-container/reports-container-models/reports-container-enums.d.ts +13 -0
- package/lib/reports-container/reports-container-models/reports-container.d.ts +16 -0
- package/lib/reports-container/reports-container.component.d.ts +16 -0
- package/lib/reports-container/reports-container.module.d.ts +13 -0
- package/lib/reports-container/reports-container.service.d.ts +18 -0
- package/lib/scrollbar/index.d.ts +2 -0
- package/lib/scrollbar/public-api.d.ts +2 -0
- package/lib/scrollbar/scrollbar.directive.d.ts +153 -0
- package/lib/scrollbar/scrollbar.module.d.ts +7 -0
- package/lib/scrollbar/scrollbar.types.d.ts +12 -0
- package/lib/sculptor-lib/widgets/audio/audio.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/barcode/barcode.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/child-record/child-record.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/choice-list/choice-list.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/date-time/date-time.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/document/document.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/geofence/geofence.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/gps/gps.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/group-header/group-header.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/image/image.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/language/language.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/link/link.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/qr-code/qr-code.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/stopwatch/stopwatch.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/subform/subform.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/textbox/textbox.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/timestamp/timestamp.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/toggle/toggle.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/video/video.component.d.ts +32 -0
- package/lib/sculptor-lib/widgets/widgets.service.d.ts +30 -0
- package/lib/shared/comfirmation-modal/confirmation-modal.component.d.ts +18 -0
- package/lib/shared/conditional-formatting/conditional-formatting/conditional-formatting.component.d.ts +29 -0
- package/lib/shared/shared.module.d.ts +13 -0
- package/package.json +64 -0
- package/public-api.d.ts +130 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Component, Injector, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { AxoMap } from '../../../../axo-map/axo-map';
|
|
4
|
+
import { MapDialogComponent } from '../../../../map-dialog/map-dialog.component';
|
|
5
|
+
import { BarCode } from '../../../../forms/page/widgets/bar-code';
|
|
6
|
+
import { WidgetSubType } from '../../../../../lib/forms/page/common/widget-enums';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/common";
|
|
9
|
+
import * as i2 from "@angular/material/tooltip";
|
|
10
|
+
import * as i3 from "@angular/material/icon";
|
|
11
|
+
function FormObjectBarCodeValueComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
13
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
14
|
+
i0.ɵɵelementStart(1, "div", 4);
|
|
15
|
+
i0.ɵɵlistener("click", function FormObjectBarCodeValueComponent_div_1_Template_div_click_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.showLocationView($event); return $event.stopPropagation(); });
|
|
16
|
+
i0.ɵɵelement(2, "mat-icon", 5);
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
i0.ɵɵadvance(2);
|
|
21
|
+
i0.ɵɵproperty("svgIcon", "axo_location_red");
|
|
22
|
+
} }
|
|
23
|
+
export class FormObjectBarCodeValueComponent {
|
|
24
|
+
constructor(_injector) {
|
|
25
|
+
this._injector = _injector;
|
|
26
|
+
this.widgetValue = '';
|
|
27
|
+
this.locations = new Array();
|
|
28
|
+
// variable for showing the map.
|
|
29
|
+
this.showMap = true;
|
|
30
|
+
}
|
|
31
|
+
ngOnInit() {
|
|
32
|
+
this.widgetValue = this.widget.getWidgetValue();
|
|
33
|
+
if (this.widget.subType == WidgetSubType.scan_with_location) {
|
|
34
|
+
let value = JSON.parse(this.widgetValue);
|
|
35
|
+
this.widgetValue = value[0].data;
|
|
36
|
+
let latitude = value[0]?.location?.lat;
|
|
37
|
+
let longitude = value[0]?.location?.long;
|
|
38
|
+
//checks the lat and long value and set showMap value.
|
|
39
|
+
if ((latitude == 0 && longitude == 0) || !latitude || !longitude) {
|
|
40
|
+
this.showMap = false;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
let axoMap = new AxoMap();
|
|
44
|
+
axoMap.latitude = latitude;
|
|
45
|
+
axoMap.longitude = longitude;
|
|
46
|
+
this.locations.push(axoMap);
|
|
47
|
+
this.showMap = true;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Open location dialog
|
|
53
|
+
*/
|
|
54
|
+
showLocationView(event) {
|
|
55
|
+
this.dialog = this._injector.get(MatDialog);
|
|
56
|
+
this.dialog.open(MapDialogComponent, {
|
|
57
|
+
maxWidth: '100vw',
|
|
58
|
+
maxHeight: '100vh',
|
|
59
|
+
height: '100%',
|
|
60
|
+
width: '100%',
|
|
61
|
+
panelClass: 'location-box-container',
|
|
62
|
+
data: {
|
|
63
|
+
locations: this.locations
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* enum of widget subType
|
|
69
|
+
*/
|
|
70
|
+
get WidgetSubType() {
|
|
71
|
+
return WidgetSubType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
FormObjectBarCodeValueComponent.ɵfac = function FormObjectBarCodeValueComponent_Factory(t) { return new (t || FormObjectBarCodeValueComponent)(i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
75
|
+
FormObjectBarCodeValueComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormObjectBarCodeValueComponent, selectors: [["formobject-bar-code-value"]], inputs: { widget: "widget", widgetProperties: "widgetProperties" }, decls: 4, vars: 3, consts: [[1, "flex", "items-center", "gap-1"], ["class", "icon-container", 4, "ngIf"], [1, "data-list-value", "axo-font", 3, "matTooltip"], [1, "icon-container"], [1, "flex", "items-center", "location-btn-icon", "rounded-md", "m-0", 3, "click"], [3, "svgIcon"]], template: function FormObjectBarCodeValueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
77
|
+
i0.ɵɵtemplate(1, FormObjectBarCodeValueComponent_div_1_Template, 3, 1, "div", 1);
|
|
78
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
79
|
+
i0.ɵɵtext(3);
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
} if (rf & 2) {
|
|
83
|
+
i0.ɵɵadvance(1);
|
|
84
|
+
i0.ɵɵproperty("ngIf", ctx.widget.subType == ctx.WidgetSubType.scan_with_location && ctx.widgetProperties.captureLocation && ctx.showMap);
|
|
85
|
+
i0.ɵɵadvance(1);
|
|
86
|
+
i0.ɵɵproperty("matTooltip", ctx.widgetValue);
|
|
87
|
+
i0.ɵɵadvance(1);
|
|
88
|
+
i0.ɵɵtextInterpolate1(" ", ctx.widgetValue, " ");
|
|
89
|
+
} }, directives: [i1.NgIf, i2.MatTooltip, i3.MatIcon], styles: [""], encapsulation: 2 });
|
|
90
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormObjectBarCodeValueComponent, [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{ selector: 'formobject-bar-code-value', encapsulation: ViewEncapsulation.None, template: "<div class=\"flex items-center gap-1\">\n <!-- If location is enabled icon for triggering map-dialog get visible-->\n <div class=\"icon-container\" *ngIf=\"widget.subType == WidgetSubType.scan_with_location && widgetProperties.captureLocation && showMap\">\n <div class=\"flex items-center location-btn-icon rounded-md m-0\" (click)=\"showLocationView($event); $event.stopPropagation();\">\n <mat-icon [svgIcon]=\"'axo_location_red'\" ></mat-icon>\n </div>\n </div>\n <div [matTooltip]=\"widgetValue\" class=\"data-list-value axo-font\">\n {{widgetValue}}\n </div>\n</div>\n", styles: [""] }]
|
|
93
|
+
}], function () { return [{ type: i0.Injector }]; }, { widget: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], widgetProperties: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}] }); })();
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybW9iamVjdC1iYXItY29kZS12YWx1ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI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cC0xXCI+XG4gICAgPCEtLSBJZiBsb2NhdGlvbiBpcyBlbmFibGVkIGljb24gZm9yIHRyaWdnZXJpbmcgbWFwLWRpYWxvZyBnZXQgdmlzaWJsZS0tPlxuICAgIDxkaXYgY2xhc3M9XCJpY29uLWNvbnRhaW5lclwiICpuZ0lmPVwid2lkZ2V0LnN1YlR5cGUgPT0gV2lkZ2V0U3ViVHlwZS5zY2FuX3dpdGhfbG9jYXRpb24gJiYgd2lkZ2V0UHJvcGVydGllcy5jYXB0dXJlTG9jYXRpb24gJiYgc2hvd01hcFwiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiZmxleCBpdGVtcy1jZW50ZXIgbG9jYXRpb24tYnRuLWljb24gcm91bmRlZC1tZCBtLTBcIiAoY2xpY2spPVwic2hvd0xvY2F0aW9uVmlldygkZXZlbnQpOyAkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XCI+XG4gICAgICAgICAgICA8bWF0LWljb24gW3N2Z0ljb25dPVwiJ2F4b19sb2NhdGlvbl9yZWQnXCIgPjwvbWF0LWljb24+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICAgIDxkaXYgW21hdFRvb2x0aXBdPVwid2lkZ2V0VmFsdWVcIiBjbGFzcz1cImRhdGEtbGlzdC12YWx1ZSBheG8tZm9udFwiPlxuICAgICAgICB7e3dpZGdldFZhbHVlfX1cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { AxoUtils } from '../../../../axo-utils/axo-utils';
|
|
3
|
+
import _ from 'lodash';
|
|
4
|
+
import { ChildRecord } from '../../../../forms/page/widgets/child-record';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
function FormObjectChildRecordsValueComponent_div_0_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
9
|
+
i0.ɵɵelementStart(1, "span", 11);
|
|
10
|
+
i0.ɵɵtext(2);
|
|
11
|
+
i0.ɵɵelementEnd();
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
15
|
+
i0.ɵɵadvance(2);
|
|
16
|
+
i0.ɵɵtextInterpolate1(" +", ctx_r2.widgetValue.length - 1, "");
|
|
17
|
+
} }
|
|
18
|
+
function FormObjectChildRecordsValueComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "div");
|
|
20
|
+
i0.ɵɵelementStart(1, "mat-card", 1);
|
|
21
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
22
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
23
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
24
|
+
i0.ɵɵelement(5, "img", 5);
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
27
|
+
i0.ɵɵelementStart(7, "div", 7);
|
|
28
|
+
i0.ɵɵtext(8);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
31
|
+
i0.ɵɵtext(10);
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵtemplate(11, FormObjectChildRecordsValueComponent_div_0_div_11_Template, 3, 1, "div", 9);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
41
|
+
i0.ɵɵadvance(5);
|
|
42
|
+
i0.ɵɵproperty("src", ctx_r0.baseUrl + ctx_r0.choiceRecordImageValue, i0.ɵɵsanitizeUrl);
|
|
43
|
+
i0.ɵɵadvance(3);
|
|
44
|
+
i0.ɵɵtextInterpolate(ctx_r0.widgetValue[0].title);
|
|
45
|
+
i0.ɵɵadvance(2);
|
|
46
|
+
i0.ɵɵtextInterpolate(ctx_r0.widgetValue[0].subTitle);
|
|
47
|
+
i0.ɵɵadvance(1);
|
|
48
|
+
i0.ɵɵproperty("ngIf", ctx_r0.widgetValue.length > 1);
|
|
49
|
+
} }
|
|
50
|
+
function FormObjectChildRecordsValueComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
i0.ɵɵelementContainerStart(0);
|
|
52
|
+
i0.ɵɵelementStart(1, "div", 12);
|
|
53
|
+
i0.ɵɵtext(2, "-");
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
i0.ɵɵelementContainerEnd();
|
|
56
|
+
} }
|
|
57
|
+
export class FormObjectChildRecordsValueComponent {
|
|
58
|
+
constructor() { }
|
|
59
|
+
ngOnInit() {
|
|
60
|
+
this.widgetValue = this.widget.getWidgetValue();
|
|
61
|
+
if (this.widgetValue && !_.isEmpty(this.widgetValue) && this.widgetValue.length && !_.isEmpty(this.widgetValue[0].picture)) {
|
|
62
|
+
this.choiceRecordImageValue = AxoUtils.removeSlashFromImageUrl(this.widgetValue[0].picture);
|
|
63
|
+
}
|
|
64
|
+
if (this.choiceRecordImageValue === undefined) {
|
|
65
|
+
this.choiceRecordImageValue = 'images/media/default_icons/thumb_no-image-found.png';
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
FormObjectChildRecordsValueComponent.ɵfac = function FormObjectChildRecordsValueComponent_Factory(t) { return new (t || FormObjectChildRecordsValueComponent)(); };
|
|
70
|
+
FormObjectChildRecordsValueComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormObjectChildRecordsValueComponent, selectors: [["app-formobject-child-records-value"]], inputs: { widget: "widget", baseUrl: "baseUrl" }, decls: 2, vars: 2, consts: [[4, "ngIf"], [1, "customscroll"], [1, "row", "flex", "gap-3", "justify-start", "items-center", "child-record"], [1, "flex", "gap-4", "justify-start", "items-center"], [1, "col-4"], ["alt", "...", 1, "thumbnail", "rounded", 3, "src"], [1, "col-6"], [1, "form-child-record-title"], [1, "form-child-record-subtitle"], ["class", "flex justify-end align-center", 4, "ngIf"], [1, "flex", "justify-end", "align-center"], [1, "child-record-counter"], [1, "flex", "items-center", "justify-start"]], template: function FormObjectChildRecordsValueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
i0.ɵɵtemplate(0, FormObjectChildRecordsValueComponent_div_0_Template, 12, 4, "div", 0);
|
|
72
|
+
i0.ɵɵtemplate(1, FormObjectChildRecordsValueComponent_ng_container_1_Template, 3, 0, "ng-container", 0);
|
|
73
|
+
} if (rf & 2) {
|
|
74
|
+
i0.ɵɵproperty("ngIf", ctx.widgetValue !== null && (ctx.widgetValue == null ? null : ctx.widgetValue.length) !== 0 && ctx.widgetValue !== undefined);
|
|
75
|
+
i0.ɵɵadvance(1);
|
|
76
|
+
i0.ɵɵproperty("ngIf", !ctx.widget.value || ctx.widget.value.length <= 0);
|
|
77
|
+
} }, directives: [i1.NgIf], styles: [".child-record-counter[_ngcontent-%COMP%]{border-radius:100%;background-color:#6554c0;min-width:1rem;max-width:1rem;min-height:1rem;max-height:1rem;line-height:1rem;text-align:center;margin-left:.5rem;color:#fff;font-size:8px;font-weight:500}.form-child-record-subtitle[_ngcontent-%COMP%]{font-size:.8rem}"] });
|
|
78
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormObjectChildRecordsValueComponent, [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'app-formobject-child-records-value', template: "<div *ngIf=\"widgetValue !== null && widgetValue?.length!==0 && widgetValue !== undefined\">\n <mat-card class=\"customscroll\">\n <div class=\"row flex gap-3 justify-start items-center child-record\">\n \n <div class=\"flex gap-4 justify-start items-center\">\n <div class=\"col-4\">\n <img class=\"thumbnail rounded\" alt=\"...\" [src]=\"baseUrl + choiceRecordImageValue\" />\n </div>\n <div class=\"col-6\">\n <div class=\"form-child-record-title\">{{widgetValue[0].title}}</div>\n <div class=\"form-child-record-subtitle\">{{widgetValue[0].subTitle}}</div>\n </div>\n </div>\n <div *ngIf=\"widgetValue.length > 1\" class=\"flex justify-end align-center\">\n \n <span class=\"child-record-counter\"> +{{widgetValue.length-1}}</span>\n </div>\n </div>\n </mat-card>\n</div>\n<ng-container *ngIf=\"!widget.value || widget.value.length <= 0\" >\n <div class=\"flex items-center justify-start\">-</div>\n</ng-container>", styles: [".child-record-counter{border-radius:100%;background-color:#6554c0;min-width:1rem;max-width:1rem;min-height:1rem;max-height:1rem;line-height:1rem;text-align:center;margin-left:.5rem;color:#fff;font-size:8px;font-weight:500}.form-child-record-subtitle{font-size:.8rem}\n"] }]
|
|
81
|
+
}], function () { return []; }, { widget: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], baseUrl: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}] }); })();
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybW9iamVjdC1jaGlsZC1yZWNvcmRzLXZhbHVlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9heC1hcHAtY29tbW9uLWxpYi9zcmMvbGliL2Zvcm0tb2JqZWN0L2Zvcm0tb2JqZWN0LWxpc3QvZm9ybU9iamVjdFdpZGdldFZhbHVlL2Zvcm1vYmplY3QtY2hpbGQtcmVjb3Jkcy12YWx1ZS9mb3Jtb2JqZWN0LWNoaWxkLXJlY29yZHMtdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2F4LWFwcC1jb21t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vcm0tY2hpbGQtcmVjb3JkLXRpdGxlXCI+e3t3aWRnZXRWYWx1ZVswXS50aXRsZX19PC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtLWNoaWxkLXJlY29yZC1zdWJ0aXRsZVwiPnt7d2lkZ2V0VmFsdWVbMF0uc3ViVGl0bGV9fTwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2ICpuZ0lmPVwid2lkZ2V0VmFsdWUubGVuZ3RoID4gMVwiIGNsYXNzPVwiZmxleCBqdXN0aWZ5LWVuZCBhbGlnbi1jZW50ZXJcIj5cbiAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImNoaWxkLXJlY29yZC1jb3VudGVyXCI+ICt7e3dpZGdldFZhbHVlLmxlbmd0aC0xfX08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9tYXQtY2FyZD5cbjwvZGl2PlxuPG5nLWNvbnRhaW5lciAqbmdJZj1cIiF3aWRnZXQudmFsdWUgfHwgd2lkZ2V0LnZhbHVlLmxlbmd0aCA8PSAwXCIgPlxuICAgIDxkaXYgY2xhc3M9XCJmbGV4IGl0ZW1zLWNlbnRlciBqdXN0aWZ5LXN0YXJ0XCI+LTwvZGl2PlxuPC9uZy1jb250YWluZXI+Il19
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { AxoUtils } from '../../../../axo-utils/axo-utils';
|
|
3
|
+
import { WidgetSubType } from '../../../../forms/page/common/widget-enums';
|
|
4
|
+
import { ChoiceList } from '../../../../forms/page/widgets/choicelist';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/material/tooltip";
|
|
8
|
+
import * as i3 from "@angular/material/list";
|
|
9
|
+
function FormObjectChoiceListValueComponent_mat_card_0_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
11
|
+
i0.ɵɵelementStart(1, "span", 12);
|
|
12
|
+
i0.ɵɵtext(2);
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
} if (rf & 2) {
|
|
16
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
17
|
+
i0.ɵɵadvance(2);
|
|
18
|
+
i0.ɵɵtextInterpolate1("+", ctx_r3.widgetValue.length - 1, "");
|
|
19
|
+
} }
|
|
20
|
+
const _c0 = function (a0, a1) { return { "reference-list-class": a0, "multi-reference-list-class": a1 }; };
|
|
21
|
+
function FormObjectChoiceListValueComponent_mat_card_0_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
i0.ɵɵelementStart(0, "mat-card", 2);
|
|
23
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
24
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
25
|
+
i0.ɵɵelementStart(3, "div", 5);
|
|
26
|
+
i0.ɵɵelement(4, "img", 6);
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵelementStart(5, "div", 7);
|
|
29
|
+
i0.ɵɵelementStart(6, "div", 8);
|
|
30
|
+
i0.ɵɵtext(7);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(8, "div", 9);
|
|
33
|
+
i0.ɵɵtext(9);
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵtemplate(10, FormObjectChoiceListValueComponent_mat_card_0_div_10_Template, 3, 1, "div", 10);
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
42
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c0, ctx_r0.widget.subType === "reference_list", ctx_r0.widgetValue.length > 1));
|
|
43
|
+
i0.ɵɵadvance(4);
|
|
44
|
+
i0.ɵɵproperty("src", ctx_r0.baseUrl + ctx_r0.choiceListValue, i0.ɵɵsanitizeUrl);
|
|
45
|
+
i0.ɵɵadvance(2);
|
|
46
|
+
i0.ɵɵproperty("matTooltip", ctx_r0.widgetValue[0].formObjectTitle);
|
|
47
|
+
i0.ɵɵadvance(1);
|
|
48
|
+
i0.ɵɵtextInterpolate(ctx_r0.widgetValue[0].formObjectTitle);
|
|
49
|
+
i0.ɵɵadvance(1);
|
|
50
|
+
i0.ɵɵproperty("matTooltip", ctx_r0.widgetValue[0].formObjectSubTitle);
|
|
51
|
+
i0.ɵɵadvance(1);
|
|
52
|
+
i0.ɵɵtextInterpolate(ctx_r0.widgetValue[0].formObjectSubTitle);
|
|
53
|
+
i0.ɵɵadvance(1);
|
|
54
|
+
i0.ɵɵproperty("ngIf", ctx_r0.widgetValue.length > 1);
|
|
55
|
+
} }
|
|
56
|
+
function FormObjectChoiceListValueComponent_mat_card_1_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
58
|
+
i0.ɵɵelementStart(1, "span", 12);
|
|
59
|
+
i0.ɵɵtext(2);
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
64
|
+
i0.ɵɵadvance(2);
|
|
65
|
+
i0.ɵɵtextInterpolate1("+", ctx_r4.widgetValue.length - 1, "");
|
|
66
|
+
} }
|
|
67
|
+
const _c1 = function (a0) { return { "imgFixed-list-class": a0 }; };
|
|
68
|
+
function FormObjectChoiceListValueComponent_mat_card_1_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵelementStart(0, "mat-card", 2);
|
|
70
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
71
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
72
|
+
i0.ɵɵelementStart(3, "div", 13);
|
|
73
|
+
i0.ɵɵelement(4, "img", 6);
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
i0.ɵɵelementStart(5, "div", 14);
|
|
76
|
+
i0.ɵɵelementStart(6, "div", 15);
|
|
77
|
+
i0.ɵɵtext(7);
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵtemplate(8, FormObjectChoiceListValueComponent_mat_card_1_div_8_Template, 3, 1, "div", 10);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
86
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1, ctx_r1.widget.subType === "img_fixed_list"));
|
|
87
|
+
i0.ɵɵadvance(4);
|
|
88
|
+
i0.ɵɵproperty("src", ctx_r1.baseUrl + ctx_r1.choiceListValue, i0.ɵɵsanitizeUrl);
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵproperty("matTooltip", ctx_r1.choiceListImgLabel);
|
|
91
|
+
i0.ɵɵadvance(1);
|
|
92
|
+
i0.ɵɵtextInterpolate(ctx_r1.choiceListImgLabel);
|
|
93
|
+
i0.ɵɵadvance(1);
|
|
94
|
+
i0.ɵɵproperty("ngIf", ctx_r1.widgetValue.length > 1);
|
|
95
|
+
} }
|
|
96
|
+
function FormObjectChoiceListValueComponent_div_2_mat_list_1_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
+
i0.ɵɵelementStart(0, "span");
|
|
98
|
+
i0.ɵɵtext(1, ",");
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
} }
|
|
101
|
+
function FormObjectChoiceListValueComponent_div_2_mat_list_1_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
+
i0.ɵɵelementStart(0, "mat-list", 18);
|
|
103
|
+
i0.ɵɵelementStart(1, "mat-list-item", 19);
|
|
104
|
+
i0.ɵɵtext(2);
|
|
105
|
+
i0.ɵɵtemplate(3, FormObjectChoiceListValueComponent_div_2_mat_list_1_span_3_Template, 2, 0, "span", 20);
|
|
106
|
+
i0.ɵɵtext(4, "\u00A0");
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementEnd();
|
|
109
|
+
} if (rf & 2) {
|
|
110
|
+
const item_r6 = ctx.$implicit;
|
|
111
|
+
const i_r7 = ctx.index;
|
|
112
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
113
|
+
i0.ɵɵadvance(1);
|
|
114
|
+
i0.ɵɵproperty("matTooltip", item_r6);
|
|
115
|
+
i0.ɵɵadvance(1);
|
|
116
|
+
i0.ɵɵtextInterpolate(item_r6);
|
|
117
|
+
i0.ɵɵadvance(1);
|
|
118
|
+
i0.ɵɵproperty("ngIf", i_r7 !== ctx_r5.widgetValue.length - 1);
|
|
119
|
+
} }
|
|
120
|
+
const _c2 = function (a0) { return { "fixed-list-class": a0 }; };
|
|
121
|
+
function FormObjectChoiceListValueComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
123
|
+
i0.ɵɵtemplate(1, FormObjectChoiceListValueComponent_div_2_mat_list_1_Template, 5, 3, "mat-list", 17);
|
|
124
|
+
i0.ɵɵelementEnd();
|
|
125
|
+
} if (rf & 2) {
|
|
126
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2, ctx_r2.widget.subType === "fixed_list"));
|
|
128
|
+
i0.ɵɵadvance(1);
|
|
129
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.widgetValue);
|
|
130
|
+
} }
|
|
131
|
+
export class FormObjectChoiceListValueComponent {
|
|
132
|
+
constructor() {
|
|
133
|
+
this.choiceListImgLabel = "";
|
|
134
|
+
}
|
|
135
|
+
ngOnInit() {
|
|
136
|
+
this.widgetValue = this.widget.getWidgetValue();
|
|
137
|
+
if (this.widget.subType === WidgetSubType.referenceList && this.widgetValue && this.widgetValue[0]?.thumb) {
|
|
138
|
+
this.choiceListValue = AxoUtils.removeSlashFromImageUrl(this.widgetValue[0].thumb);
|
|
139
|
+
}
|
|
140
|
+
else if (this.widget.subType == WidgetSubType.imageFixedList) {
|
|
141
|
+
// Set Selected Image
|
|
142
|
+
this.setSelectedImage(this.widgetValue[0]);
|
|
143
|
+
}
|
|
144
|
+
if (this.choiceListValue === undefined) {
|
|
145
|
+
this.choiceListValue = 'images/media/default_icons/thumb_no-image-found.png';
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Set Image and Label of image choice-list.
|
|
150
|
+
* @param value
|
|
151
|
+
*/
|
|
152
|
+
setSelectedImage(value) {
|
|
153
|
+
let choice = this.widgetProperties.choices.find(choice => choice.value == value);
|
|
154
|
+
this.choiceListValue = AxoUtils.removeSlashFromImageUrl(choice.img);
|
|
155
|
+
this.choiceListImgLabel = choice.label;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
FormObjectChoiceListValueComponent.ɵfac = function FormObjectChoiceListValueComponent_Factory(t) { return new (t || FormObjectChoiceListValueComponent)(); };
|
|
159
|
+
FormObjectChoiceListValueComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormObjectChoiceListValueComponent, selectors: [["app-formobject-choicelist-value"]], inputs: { widget: "widget", baseUrl: "baseUrl", widgetProperties: "widgetProperties" }, decls: 3, vars: 3, consts: [[3, "ngClass", 4, "ngIf"], ["class", "choiceList-container", 3, "ngClass", 4, "ngIf"], [3, "ngClass"], [1, "row", "flex", "gap-3", "justify-start", "items-center", "choice-list"], [1, "flex", "gap-4", "items-center"], [1, "reference_list-icon"], ["alt", "...", 1, "thumbnail", 3, "src"], [1, "reference_list-text"], [1, "choice-list-title", "axo-font", "ellipsis", 3, "matTooltip"], [1, "choice-list-sub-title", "axo-font", "ellipsis", 3, "matTooltip"], ["class", "flex justify-end align-center", 4, "ngIf"], [1, "flex", "justify-end", "align-center"], [1, "choice-list-counter"], [1, "imageList-img"], [1, "imageList-text"], [1, "choice-list-title", "ellipsis", "axo-font", 3, "matTooltip"], [1, "choiceList-container", 3, "ngClass"], ["role", "list", 4, "ngFor", "ngForOf"], ["role", "list"], ["role", "listitem", 1, "axo-font", 3, "matTooltip"], [4, "ngIf"]], template: function FormObjectChoiceListValueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
160
|
+
i0.ɵɵtemplate(0, FormObjectChoiceListValueComponent_mat_card_0_Template, 11, 10, "mat-card", 0);
|
|
161
|
+
i0.ɵɵtemplate(1, FormObjectChoiceListValueComponent_mat_card_1_Template, 9, 7, "mat-card", 0);
|
|
162
|
+
i0.ɵɵtemplate(2, FormObjectChoiceListValueComponent_div_2_Template, 2, 4, "div", 1);
|
|
163
|
+
} if (rf & 2) {
|
|
164
|
+
i0.ɵɵproperty("ngIf", (ctx.widget.subType === "reference_list" || ctx.widget.subType === "api_list") && ctx.widgetValue !== null && (ctx.widgetValue == null ? null : ctx.widgetValue.length) !== 0 && ctx.widgetValue !== undefined);
|
|
165
|
+
i0.ɵɵadvance(1);
|
|
166
|
+
i0.ɵɵproperty("ngIf", ctx.widget.subType === "img_fixed_list" && ctx.widgetValue !== null && (ctx.widgetValue == null ? null : ctx.widgetValue.length) !== 0 && ctx.widgetValue !== undefined);
|
|
167
|
+
i0.ɵɵadvance(1);
|
|
168
|
+
i0.ɵɵproperty("ngIf", ctx.widget.subType === "fixed_list" && ctx.widgetValue !== null && (ctx.widgetValue == null ? null : ctx.widgetValue.length) !== 0 && ctx.widgetValue !== undefined);
|
|
169
|
+
} }, directives: [i1.NgIf, i1.NgClass, i2.MatTooltip, i1.NgForOf, i3.MatList, i3.MatListItem], styles: ["app-formobject-choicelist-value .choice-list-counter{border-radius:100%;background-color:#6554c0;color:#fff;min-width:1rem;max-width:1rem;min-height:1rem;max-height:1rem;line-height:1rem;margin-left:.5rem;font-size:8px;text-align:center;font-weight:500}app-formobject-choicelist-value .choiceList-container{max-width:18.75rem;min-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;line-height:56px;display:flex;align-items:center}app-formobject-choicelist-value .choiceList-container .mat-list-base{padding:0;display:flex;align-items:center}app-formobject-choicelist-value .choiceList-container .mat-list-base .mat-list-item{display:flex;align-items:center;height:3rem;line-height:3rem}app-formobject-choicelist-value .choice-list-sub-title{font-size:10px}app-formobject-choicelist-value .mat-list-item-content{font-size:.8rem;padding:0!important}app-formobject-choicelist-value .reference_list-icon .thumbnail{max-width:2rem;max-height:2rem;min-width:2rem;min-height:2rem}\n"], encapsulation: 2 });
|
|
170
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormObjectChoiceListValueComponent, [{
|
|
171
|
+
type: Component,
|
|
172
|
+
args: [{ selector: 'app-formobject-choicelist-value', encapsulation: ViewEncapsulation.None, template: "<!-- Reference and API List Value -->\n<mat-card\n *ngIf=\"(this.widget.subType === 'reference_list' || this.widget.subType === 'api_list') && widgetValue !== null && widgetValue?.length!==0 && widgetValue !== undefined\" [ngClass]=\"{'reference-list-class': this.widget.subType === 'reference_list', 'multi-reference-list-class': widgetValue.length > 1}\">\n <div class=\"row flex gap-3 justify-start items-center choice-list\">\n <div class=\"flex gap-4 items-center\">\n <div class=\"reference_list-icon\">\n <img class=\"thumbnail\" alt=\"...\" [src]=\"baseUrl + choiceListValue\">\n </div>\n <div class=\"reference_list-text\">\n <div class=\"choice-list-title axo-font ellipsis\" [matTooltip]=\"widgetValue[0].formObjectTitle\">{{widgetValue[0].formObjectTitle}}</div>\n <div class=\"choice-list-sub-title axo-font ellipsis\" [matTooltip]=\"widgetValue[0].formObjectSubTitle\">{{widgetValue[0].formObjectSubTitle}}</div>\n </div>\n </div>\n <div *ngIf=\"widgetValue.length > 1\" class=\"flex justify-end align-center\">\n <span class=\"choice-list-counter\">+{{widgetValue.length-1}}</span>\n </div>\n </div>\n</mat-card>\n<!-- Image Choice List Value-->\n<mat-card\n *ngIf=\" this.widget.subType === 'img_fixed_list' && widgetValue !== null && widgetValue?.length!==0 && widgetValue !== undefined\" [ngClass]=\"{'imgFixed-list-class': this.widget.subType === 'img_fixed_list'}\">\n <div class=\"row flex gap-3 justify-start items-center choice-list\">\n <div class=\"flex gap-4 items-center\">\n <div class=\"imageList-img\">\n <img class=\"thumbnail\" alt=\"...\" [src]=\"baseUrl + choiceListValue\">\n </div>\n <div class=\"imageList-text\">\n <div class=\"choice-list-title ellipsis axo-font\" [matTooltip]=\"choiceListImgLabel\">{{choiceListImgLabel}}</div>\n </div>\n </div>\n <div *ngIf=\"widgetValue.length > 1\" class=\"flex justify-end align-center\">\n <span class=\"choice-list-counter\">+{{widgetValue.length-1}}</span>\n </div>\n </div>\n</mat-card>\n\n<!-- Fixed Choice list Value-->\n<div *ngIf=\"this.widget.subType === 'fixed_list' && widgetValue !== null && widgetValue?.length!==0 && widgetValue !== undefined\" class=\"choiceList-container\" [ngClass]=\"{'fixed-list-class': this.widget.subType === 'fixed_list'}\">\n <mat-list *ngFor=\"let item of widgetValue;let i =index\" role=\"list\">\n <mat-list-item [matTooltip]=\"item\" role=\"listitem\" class=\"axo-font\">{{item }}<span *ngIf=\"i !== widgetValue.length-1\">,</span> </mat-list-item>\n </mat-list>\n</div>", styles: ["app-formobject-choicelist-value .choice-list-counter{border-radius:100%;background-color:#6554c0;color:#fff;min-width:1rem;max-width:1rem;min-height:1rem;max-height:1rem;line-height:1rem;margin-left:.5rem;font-size:8px;text-align:center;font-weight:500}app-formobject-choicelist-value .choiceList-container{max-width:18.75rem;min-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;line-height:56px;display:flex;align-items:center}app-formobject-choicelist-value .choiceList-container .mat-list-base{padding:0;display:flex;align-items:center}app-formobject-choicelist-value .choiceList-container .mat-list-base .mat-list-item{display:flex;align-items:center;height:3rem;line-height:3rem}app-formobject-choicelist-value .choice-list-sub-title{font-size:10px}app-formobject-choicelist-value .mat-list-item-content{font-size:.8rem;padding:0!important}app-formobject-choicelist-value .reference_list-icon .thumbnail{max-width:2rem;max-height:2rem;min-width:2rem;min-height:2rem}\n"] }]
|
|
173
|
+
}], function () { return []; }, { widget: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], baseUrl: [{
|
|
176
|
+
type: Input
|
|
177
|
+
}], widgetProperties: [{
|
|
178
|
+
type: Input
|
|
179
|
+
}] }); })();
|
|
180
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybW9iamVjdC1jaG9pY2VsaXN0LXZhbHVlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9heC1hcHAtY29tbW9uLWxpYi9zcmMvbGliL2Zvcm0tb2JqZWN0L2Zvcm0tb2JqZWN0LWxpc3QvZm9ybU9iamVjdFdpZGdldFZhbHVlL2Zvcm1vYmplY3QtY2hvaWNlbGlzdC12YWx1ZS9mb3Jtb2JqZWN0LWNob2ljZWxpc3QtdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2F4LWFwcC1jb21tb24tbGliL3NyYy9saWIvZm9ybS1vYmplY3QvZm9ybS1vYmplY3QtbGlzdC9mb3JtT2JqZWN0V2lkZ2V0VmFsdWUvZm9ybW9iamVjdC1jaG9pY2VsaXN0LX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1ZS5sZW5ndGgtMX19PC9zcGFuPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvbWF0LWNhcmQ+XG5cbjwhLS0gRml4ZWQgQ2hvaWNlIGxpc3QgVmFsdWUtLT5cbjxkaXYgKm5nSWY9XCJ0aGlzLndpZGdldC5zdWJUeXBlID09PSAnZml4ZWRfbGlzdCcgJiYgd2lkZ2V0VmFsdWUgIT09IG51bGwgJiYgd2lkZ2V0VmFsdWU/Lmxlbmd0aCE9PTAgJiYgd2lkZ2V0VmFsdWUgIT09IHVuZGVmaW5lZFwiIGNsYXNzPVwiY2hvaWNlTGlzdC1jb250YWluZXJcIiBbbmdDbGFzc109XCJ7J2ZpeGVkLWxpc3QtY2xhc3MnOiB0aGlzLndpZGdldC5zdWJUeXBlID09PSAnZml4ZWRfbGlzdCd9XCI+XG4gIDxtYXQtbGlzdCAqbmdGb3I9XCJsZXQgaXRlbSBvZiB3aWRnZXRWYWx1ZTtsZXQgaSA9aW5kZXhcIiByb2xlPVwibGlzdFwiPlxuICAgIDxtYXQtbGlzdC1pdGVtIFttYXRUb29sdGlwXT1cIml0ZW1cIiByb2xlPVwibGlzdGl0ZW1cIiBjbGFzcz1cImF4by1mb250XCI+e3tpdGVtIH19PHNwYW4gKm5nSWY9XCJpICE9PSB3aWRnZXRWYWx1ZS5sZW5ndGgtMVwiPiw8L3NwYW4+Jm5ic3A7PC9tYXQtbGlzdC1pdGVtPlxuICA8L21hdC1saXN0PlxuPC9kaXY+Il19
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { Counter } from '../../../../forms/page/widgets/counter';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
function FormObjectCounterValueComponent_ng_container_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
7
|
+
i0.ɵɵtext(1);
|
|
8
|
+
i0.ɵɵelementEnd();
|
|
9
|
+
} if (rf & 2) {
|
|
10
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11
|
+
i0.ɵɵadvance(1);
|
|
12
|
+
i0.ɵɵtextInterpolate(ctx_r1.widget.unit);
|
|
13
|
+
} }
|
|
14
|
+
function FormObjectCounterValueComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
i0.ɵɵelementContainerStart(0);
|
|
16
|
+
i0.ɵɵelementStart(1, "span");
|
|
17
|
+
i0.ɵɵtext(2);
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵtemplate(3, FormObjectCounterValueComponent_ng_container_0_span_3_Template, 2, 1, "span", 1);
|
|
20
|
+
i0.ɵɵelementContainerEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
23
|
+
i0.ɵɵadvance(2);
|
|
24
|
+
i0.ɵɵtextInterpolate1("", ctx_r0.widget.value, " ");
|
|
25
|
+
i0.ɵɵadvance(1);
|
|
26
|
+
i0.ɵɵproperty("ngIf", ctx_r0.widget.unit);
|
|
27
|
+
} }
|
|
28
|
+
export class FormObjectCounterValueComponent {
|
|
29
|
+
constructor() { }
|
|
30
|
+
ngOnInit() {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
FormObjectCounterValueComponent.ɵfac = function FormObjectCounterValueComponent_Factory(t) { return new (t || FormObjectCounterValueComponent)(); };
|
|
34
|
+
FormObjectCounterValueComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormObjectCounterValueComponent, selectors: [["app-formobject-counter-value"]], inputs: { widget: "widget" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "pl-1", 4, "ngIf"], [1, "pl-1"]], template: function FormObjectCounterValueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵtemplate(0, FormObjectCounterValueComponent_ng_container_0_Template, 4, 2, "ng-container", 0);
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
i0.ɵɵproperty("ngIf", ctx.widget.value);
|
|
38
|
+
} }, directives: [i1.NgIf], styles: [""] });
|
|
39
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormObjectCounterValueComponent, [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'app-formobject-counter-value', template: "<ng-container *ngIf=\"widget.value\">\n <span>{{widget.value}}\n </span> \n <span *ngIf=\"widget.unit\" class=\"pl-1\">{{widget.unit}}</span>\n</ng-container>\n", styles: [""] }]
|
|
42
|
+
}], function () { return []; }, { widget: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}] }); })();
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybW9iamVjdC1jb3VudGVyLXZhbHVlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9heC1hcHAtY29tbW9uLWxpYi9zcmMvbGliL2Zvcm0tb2JqZWN0L2Zvcm0tb2JqZWN0LWxpc3QvZm9ybU9iamVjdFdpZGdldFZhbHVlL2Zvcm1vYmplY3QtY291bnRlci12YWx1ZS9mb3Jtb2JqZWN0LWNvdW50ZXItdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2F4LWFwcC1jb21tb24tbGliL3NyYy9saWIvZm9ybS1vYmplY3QvZm9ybS1vYmplY3QtbGlzdC9mb3JtT2JqZWN0V2lkZ2V0VmFsdWUvZm9ybW9iamVjdC1jb3VudGVyLXZhbHVlL2Zvcm1vYmplY3QtY291bnRlci12YWx1ZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFL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x1ZUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5ASW5wdXQoKSB3aWRnZXQ6IENvdW50ZXI7XG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gIH1cblxufVxuIiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cIndpZGdldC52YWx1ZVwiPlxuICAgIDxzcGFuPnt7d2lkZ2V0LnZhbHVlfX1cbiAgICA8L3NwYW4+ICAgIFxuICAgIDxzcGFuICpuZ0lmPVwid2lkZ2V0LnVuaXRcIiBjbGFzcz1cInBsLTFcIj57e3dpZGdldC51bml0fX08L3NwYW4+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
import { AxoUtils } from '../../../../axo-utils/axo-utils';
|
|
5
|
+
import { DateTime } from '../../../../forms/page/widgets/datetime';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
function FormObjectDateTimeValueComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelementContainerStart(0);
|
|
10
|
+
i0.ɵɵtext(1);
|
|
11
|
+
i0.ɵɵelementContainerEnd();
|
|
12
|
+
} if (rf & 2) {
|
|
13
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
14
|
+
i0.ɵɵadvance(1);
|
|
15
|
+
i0.ɵɵtextInterpolate(ctx_r0.widgetValue);
|
|
16
|
+
} }
|
|
17
|
+
export class FormObjectDateTimeValueComponent {
|
|
18
|
+
constructor() { }
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.widgetValue = this.widget.value;
|
|
21
|
+
this.changeValueToDateRange();
|
|
22
|
+
}
|
|
23
|
+
changeValueToDateRange() {
|
|
24
|
+
if (this.widgetValue != null && !_.isEmpty(this.widgetValue)) {
|
|
25
|
+
if (this.widget.subType === 'date_range') {
|
|
26
|
+
this.widgetValue = AxoUtils.formatDateToCustomDateFormat(this.widgetValue.from, 'MMMM D, YYYY') + ' to ' + AxoUtils.formatDateToCustomDateFormat(this.widgetValue.to, 'MMMM D, YYYY');
|
|
27
|
+
}
|
|
28
|
+
else if (this.widget.subType === 'time') {
|
|
29
|
+
this.widgetValue = this.widgetProperties && this.widgetProperties.dateFormat !== '' ? moment(AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString(), 'h:mm a').toLocaleString())).format(AxoUtils.checkFormat(this.widgetProperties.dateFormat)) : moment(AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString(), 'h:mm a').toLocaleString())).format('hh:mm A');
|
|
30
|
+
}
|
|
31
|
+
else if (this.widget.subType === 'date') {
|
|
32
|
+
this.widgetValue = this.widgetProperties && this.widgetProperties.dateFormat !== '' ? moment(AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString()).toLocaleString())).format(AxoUtils.checkFormat(this.widgetProperties.dateFormat)) : moment(AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString()).toLocaleString())).format('MMMM DD YYYY');
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.widgetValue = this.widgetProperties && this.widgetProperties.dateFormat !== '' ? moment(AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString()).toLocaleString())).format(AxoUtils.checkFormat(this.widgetProperties.dateFormat)) : AxoUtils.formatDateFromUTCToLocal(moment(this.widget.value.toString()).toLocaleString());
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
FormObjectDateTimeValueComponent.ɵfac = function FormObjectDateTimeValueComponent_Factory(t) { return new (t || FormObjectDateTimeValueComponent)(); };
|
|
41
|
+
FormObjectDateTimeValueComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormObjectDateTimeValueComponent, selectors: [["app-formobject-date-time-value"]], inputs: { widget: "widget", widgetProperties: "widgetProperties" }, decls: 1, vars: 1, consts: [[4, "ngIf"]], template: function FormObjectDateTimeValueComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵtemplate(0, FormObjectDateTimeValueComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx.widgetValue);
|
|
45
|
+
} }, directives: [i1.NgIf], styles: [""] });
|
|
46
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormObjectDateTimeValueComponent, [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'app-formobject-date-time-value', template: "<ng-container *ngIf=\"widgetValue\" >{{this.widgetValue}}</ng-container>", styles: [""] }]
|
|
49
|
+
}], function () { return []; }, { widget: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], widgetProperties: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}] }); })();
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybW9iamVjdC1kYXRlLXRpbWUtdmFsdWUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2F4LWFwcC1jb21tb24tbGliL3NyYy9saWIvZm9ybS1vYmplY3QvZm9ybS1vYmplY3QtbGlzdC9mb3JtT2JqZWN0V2lkZ2V0VmFsdWUvZm9ybW9iamVjdC1kYXRlLXRpbWUtdmFsdWUvZm9ybW9iamVjdC1kYXRlLXRpbWUtdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2F4LWFwcC1jb21tb24tbGliL3NyYy9saWIvZm9ybS1vYmplY3QvZm9ybS1vYmplY3QtbGlzdC9mb3JtT2JqZW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