nuxeo-development-framework 5.3.6 → 5.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/nuxeo-development-framework.umd.js +575 -202
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/ndf-config-editor/containers/monaco-editor.component.js +1 -2
- package/esm2015/lib/components/ndf-filters/base/base-aggregation-field.component.js +91 -0
- package/esm2015/lib/components/ndf-filters/base/base-checkbox-radio.component.js +66 -0
- package/esm2015/lib/components/ndf-filters/base/base-custom-field.component.js +46 -0
- package/esm2015/lib/components/ndf-filters/base/base-predicate-field.component.js +43 -0
- package/esm2015/lib/components/ndf-filters/base/base-value-accessor.component.js +34 -0
- package/esm2015/lib/components/ndf-filters/base/index.js +6 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/field-header.component.js +1 -1
- package/esm2015/lib/components/ndf-filters/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.js +97 -0
- package/esm2015/lib/components/ndf-filters/components/__parts/filter-autocomplete-input/filter-autocomplete.service.js +43 -0
- package/esm2015/lib/components/ndf-filters/components/__parts/filter-collapse-control/filter-collapse-control.component.js +44 -0
- package/esm2015/lib/components/ndf-filters/components/__parts/filter-date-range/filter-date-range.component.js +89 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-empty-message.component.js +1 -1
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-option-text/filter-option-text.component.js +1 -1
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-options-sort/filter-options-sort.component.js +1 -1
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-search-input/filter-search-input.component.js +1 -1
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/html-dialog/html-dialog.component.js +2 -2
- package/esm2015/lib/components/ndf-filters/components/__parts/index.js +10 -0
- package/esm2015/lib/components/ndf-filters/components/aggregation-autocomplete/aggregation-autocomplete.component.js +109 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-checkbox/aggregation-checkbox.component.js +1 -1
- package/esm2015/lib/components/ndf-filters/components/aggregation-custom/aggregation-custom.component.js +66 -0
- package/esm2015/lib/components/ndf-filters/components/aggregation-date-list/aggregation-date-list.component.js +219 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-radio/aggregation-radio.component.js +1 -1
- package/esm2015/lib/components/ndf-filters/components/aggregation-select/aggregation-select.component.js +83 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-switch/aggregation-switch.component.js +1 -1
- package/esm2015/lib/components/ndf-filters/components/index.js +11 -0
- package/esm2015/lib/components/ndf-filters/components/predicate-date-input/predicate-date-input.component.js +146 -0
- package/esm2015/lib/components/ndf-filters/components/predicate-text-input/predicate-text-input.component.js +144 -0
- package/esm2015/lib/components/ndf-filters/constants/common.js +4 -0
- package/esm2015/lib/components/ndf-filters/constants/field.js +6 -0
- package/esm2015/lib/components/ndf-filters/constants/index.js +5 -0
- package/esm2015/lib/components/ndf-filters/constants/operators.js +18 -0
- package/esm2015/lib/components/ndf-filters/constants/sort.js +23 -0
- package/esm2015/lib/components/ndf-filters/constants/type.js +26 -0
- package/esm2015/lib/components/ndf-filters/containers/aggregation-field/aggregation-field.component.js +78 -0
- package/esm2015/lib/components/ndf-filters/containers/base-field.js +62 -0
- package/esm2015/lib/components/ndf-filters/containers/custom-field/custom-field.component.js +73 -0
- package/esm2015/lib/components/ndf-filters/containers/filters-panel/base-filters-panel.js +55 -0
- package/esm2015/lib/components/ndf-filters/containers/filters-panel/filters-panel.component.js +127 -0
- package/esm2015/lib/components/ndf-filters/containers/index.js +5 -0
- package/esm2015/lib/components/ndf-filters/containers/predicate-field/predicate-field.component.js +71 -0
- package/esm2015/lib/components/ndf-filters/custom-components/active-user-switch/active-user-switch.component.js +55 -0
- package/esm2015/lib/components/ndf-filters/custom-components/active-user-switch/active-user.service.js +17 -0
- package/esm2015/lib/components/ndf-filters/custom-components/active-user-switch/user-types.js +2 -0
- package/esm2015/lib/components/ndf-filters/custom-components/index.js +2 -0
- package/esm2015/lib/components/ndf-filters/directives/autocomplete-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/directives/checkbox-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/directives/custom-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/directives/date-template.directive.js +28 -0
- package/esm2015/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/dropdown-label-template.directive.js +1 -1
- package/esm2015/lib/components/ndf-filters/directives/dropdown-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/directives/index.js +9 -0
- package/esm2015/lib/components/ndf-filters/directives/radio-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/directives/switch-template.directive.js +28 -0
- package/esm2015/lib/components/ndf-filters/index.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/aggregation-field-config.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/aggregation-response.model.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/base-field-config.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/common.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/custom-field-config.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-config.model.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/autocomplete-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/checkbox-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/common-utils.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/custom-fields-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/custom-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/date-list-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/date-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/dropdown-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/index.js +12 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/input-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/radio-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/field-options/switch-options.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/filter-option.model.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/form-query-request.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/index.js +14 -0
- package/esm2015/lib/components/ndf-filters/models/operator-value-object.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/predicate-field-config.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/types-helper.js +2 -0
- package/esm2015/lib/components/ndf-filters/models/value-object.model.js +12 -0
- package/esm2015/lib/components/ndf-filters/ndf-filters-panel.module.js +207 -0
- package/esm2015/lib/components/ndf-filters/pipes/autocomplete-filter.pipe.js +27 -0
- package/esm2015/lib/components/ndf-filters/pipes/check-condition.pipe.js +32 -0
- package/esm2015/lib/components/ndf-filters/pipes/filter.pipe.js +27 -0
- package/esm2015/lib/components/ndf-filters/pipes/hash-translate.pipe.js +52 -0
- package/esm2015/lib/components/ndf-filters/pipes/index.js +10 -0
- package/esm2015/lib/components/ndf-filters/pipes/localized-label.pipe.js +28 -0
- package/esm2015/lib/components/ndf-filters/pipes/roles-filters.pipe.js +31 -0
- package/esm2015/lib/components/ndf-filters/pipes/sanitizer.pipe.js +34 -0
- package/esm2015/lib/components/ndf-filters/pipes/sort.pipe.js +40 -0
- package/esm2015/lib/components/ndf-filters/pipes/tooltip.pipe.js +69 -0
- package/esm2015/lib/components/ndf-filters/public-api.js +12 -0
- package/esm2015/lib/components/ndf-filters/services/aggregation-field.service.js +105 -0
- package/esm2015/lib/components/ndf-filters/services/dynamic-component-loader.service.js +59 -0
- package/esm2015/lib/components/ndf-filters/services/filters-mapper.service.js +60 -0
- package/esm2015/lib/components/ndf-filters/services/filters-query.service.js +117 -0
- package/esm2015/lib/components/ndf-filters/services/index.js +5 -0
- package/esm2015/lib/components/ndf-filters/utility/index.js +4 -0
- package/esm2015/lib/components/ndf-filters/utility/nxql-query.js +53 -0
- package/esm2015/lib/components/ndf-filters/utility/nxql.js +47 -0
- package/esm2015/lib/components/ndf-filters/utility/object.js +42 -0
- package/esm2015/lib/components/ndf-tabs/tab.type.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/containers/ndf-reports/ndf-reports.component.js +3 -3
- package/esm2015/lib/components/reports/ndf-reports/models/common.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/models/ndf-reports.config.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/ndf-reports.module.js +6 -5
- package/esm2015/lib/components/reports/ndf-reports/services/report-config-mapper.service.js +1 -1
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/components/text-search/text-search.component.js +2 -2
- package/esm2015/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.js +26 -25
- package/esm2015/lib/components/tables/ndf-table/models/payload-types.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/search.config.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/table-mode.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/table-options.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/types.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/ndf-table.module.js +5 -5
- package/esm2015/lib/components/tables/ndf-table/public-api.js +1 -2
- package/esm2015/lib/components/tables/ndf-table/services/index.js +1 -2
- package/esm2015/lib/shared/evaluator/evaluator.js +332 -0
- package/esm2015/lib/shared/evaluator/index.js +2 -0
- package/esm2015/lib/shared/evaluator/types.js +2 -0
- package/esm2015/lib/shared/models/index.js +2 -1
- package/esm2015/lib/shared/models/type-helpers.js +2 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +532 -169
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/base-aggregation-field.component.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/base-value-accessor.component.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-autocomplete-input/filter-autocomplete.service.d.ts +3 -2
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-date-range/filter-date-range.component.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/html-dialog/html-dialog.component.d.ts +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/filters-panel/base-filters-panel.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/filters-panel/filters-panel.component.d.ts +1 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/custom-components/active-user-switch/active-user.service.d.ts +1 -1
- package/lib/components/ndf-filters/index.d.ts +1 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/aggregation-field-config.d.ts +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/base-field-config.d.ts +3 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/custom-field-config.d.ts +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/autocomplete-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/checkbox-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/common-utils.d.ts +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/custom-fields-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/date-list-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/date-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/dropdown-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/input-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/radio-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/switch-options.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/filter-option.model.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/index.d.ts +1 -0
- package/lib/components/ndf-filters/models/operator-value-object.d.ts +6 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/predicate-field-config.d.ts +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/types-helper.d.ts +0 -11
- package/lib/components/ndf-filters/ndf-filters-panel.module.d.ts +66 -0
- package/lib/components/ndf-filters/pipes/check-condition.pipe.d.ts +12 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/index.d.ts +1 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/roles-filters.pipe.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel/index.d.ts → ndf-filters/public-api.d.ts} +2 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/services/aggregation-field.service.d.ts +1 -1
- package/lib/components/{tables/ndf-table → ndf-filters}/services/filters-mapper.service.d.ts +1 -1
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/services/index.d.ts +1 -0
- package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/utility/index.d.ts +1 -0
- package/lib/components/{tables/ndf-table/utils → ndf-filters/utility}/nxql-query.d.ts +4 -3
- package/lib/components/ndf-tabs/tab.type.d.ts +1 -1
- package/lib/components/reports/ndf-reports/base/base-report.d.ts +3 -3
- package/lib/components/reports/ndf-reports/containers/ndf-report/ndf-report.component.d.ts +1 -1
- package/lib/components/reports/ndf-reports/containers/ndf-reports/ndf-reports.component.d.ts +3 -2
- package/lib/components/reports/ndf-reports/models/common.d.ts +2 -2
- package/lib/components/reports/ndf-reports/models/ndf-reports.config.d.ts +1 -1
- package/lib/components/reports/ndf-reports/ndf-reports.module.d.ts +2 -2
- package/lib/components/reports/ndf-reports/services/dynamic-timeline-report.service.d.ts +1 -1
- package/lib/components/tables/ndf-table/components/text-search/text-search.component.d.ts +1 -1
- package/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.d.ts +3 -2
- package/lib/components/tables/ndf-table/models/payload-types.d.ts +0 -6
- package/lib/components/tables/ndf-table/models/search.config.d.ts +1 -1
- package/lib/components/tables/ndf-table/models/table-mode.d.ts +1 -1
- package/lib/components/tables/ndf-table/models/table-options.d.ts +1 -1
- package/lib/components/tables/ndf-table/models/types.d.ts +1 -1
- package/lib/components/tables/ndf-table/ndf-table.module.d.ts +2 -2
- package/lib/components/tables/ndf-table/public-api.d.ts +0 -1
- package/lib/components/tables/ndf-table/services/index.d.ts +0 -1
- package/lib/shared/evaluator/evaluator.d.ts +79 -0
- package/lib/shared/evaluator/index.d.ts +1 -0
- package/lib/shared/evaluator/types.d.ts +14 -0
- package/lib/shared/models/index.d.ts +1 -0
- package/lib/shared/models/type-helpers.d.ts +11 -0
- package/package.json +3 -2
- package/public-api.d.ts +1 -0
- package/src/docs/ndf-table.doc.md +287 -217
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.js +0 -91
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-checkbox-radio.component.js +0 -66
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-custom-field.component.js +0 -46
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.js +0 -43
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-value-accessor.component.js +0 -34
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/index.js +0 -6
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.js +0 -97
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete.service.js +0 -43
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-collapse-control/filter-collapse-control.component.js +0 -44
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-date-range/filter-date-range.component.js +0 -89
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/index.js +0 -10
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-autocomplete/aggregation-autocomplete.component.js +0 -109
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-custom/aggregation-custom.component.js +0 -66
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-date-list/aggregation-date-list.component.js +0 -219
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-select/aggregation-select.component.js +0 -83
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/index.js +0 -11
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-date-input/predicate-date-input.component.js +0 -146
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-text-input/predicate-text-input.component.js +0 -144
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/common.js +0 -4
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/field.js +0 -6
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/index.js +0 -5
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/operators.js +0 -18
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/sort.js +0 -23
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/type.js +0 -26
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/aggregation-field/aggregation-field.component.js +0 -78
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/base-field.js +0 -62
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/custom-field/custom-field.component.js +0 -73
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/base-filters-panel.js +0 -55
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/filters-panel.component.js +0 -122
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/index.js +0 -5
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/predicate-field/predicate-field.component.js +0 -71
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user-switch.component.js +0 -55
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user.service.js +0 -17
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/user-types.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/index.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/autocomplete-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/checkbox-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/custom-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/date-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/dropdown-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/index.js +0 -9
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/radio-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/switch-template.directive.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/filters-panel.module.js +0 -205
- package/esm2015/lib/components/tables/ndf-table/filters-panel/index.js +0 -11
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-field-config.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-response.model.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/base-field-config.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/common.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/custom-field-config.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-config.model.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/autocomplete-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/checkbox-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/common-utils.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-fields-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-list-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/dropdown-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/index.js +0 -12
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/input-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/radio-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/switch-options.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/filter-option.model.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/form-query-request.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/index.js +0 -13
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/predicate-field-config.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/types-helper.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/value-object.model.js +0 -12
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/autocomplete-filter.pipe.js +0 -27
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/filter.pipe.js +0 -27
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/hash-translate.pipe.js +0 -52
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/index.js +0 -9
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/localized-label.pipe.js +0 -28
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/roles-filters.pipe.js +0 -31
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sanitizer.pipe.js +0 -34
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sort.pipe.js +0 -40
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/tooltip.pipe.js +0 -69
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/aggregation-field.service.js +0 -105
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/dynamic-component-loader.service.js +0 -59
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/filters-query.service.js +0 -117
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/index.js +0 -4
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/index.js +0 -3
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/nxql.js +0 -47
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/object.js +0 -42
- package/esm2015/lib/components/tables/ndf-table/services/filters-mapper.service.js +0 -60
- package/esm2015/lib/components/tables/ndf-table/utils/index.js +0 -2
- package/esm2015/lib/components/tables/ndf-table/utils/nxql-query.js +0 -52
- package/lib/components/tables/ndf-table/filters-panel/filters-panel.module.d.ts +0 -65
- package/lib/components/tables/ndf-table/utils/index.d.ts +0 -1
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/base-checkbox-radio.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/base-custom-field.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/base-predicate-field.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/base/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/field-header.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-collapse-control/filter-collapse-control.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-empty-message.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-option-text/filter-option-text.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-options-sort/filter-options-sort.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/filter-search-input/filter-search-input.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/__parts/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-autocomplete/aggregation-autocomplete.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-checkbox/aggregation-checkbox.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-custom/aggregation-custom.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-date-list/aggregation-date-list.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-radio/aggregation-radio.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-select/aggregation-select.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/aggregation-switch/aggregation-switch.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/predicate-date-input/predicate-date-input.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/components/predicate-text-input/predicate-text-input.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/common.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/field.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/operators.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/sort.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/constants/type.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/aggregation-field/aggregation-field.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/base-field.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/custom-field/custom-field.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/containers/predicate-field/predicate-field.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/custom-components/active-user-switch/active-user-switch.component.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/custom-components/active-user-switch/user-types.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/custom-components/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/autocomplete-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/checkbox-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/custom-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/date-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/dropdown-label-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/dropdown-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/radio-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/directives/switch-template.directive.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/aggregation-response.model.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/common.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-config.model.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/custom-options.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/field-options/index.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/form-query-request.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/models/value-object.model.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/autocomplete-filter.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/filter.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/hash-translate.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/localized-label.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/sanitizer.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/sort.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/pipes/tooltip.pipe.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/services/dynamic-component-loader.service.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/services/filters-query.service.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/utility/nxql.d.ts +0 -0
- /package/lib/components/{tables/ndf-table/filters-panel → ndf-filters}/utility/object.d.ts +0 -0
|
@@ -37,7 +37,7 @@ import _omit from 'lodash/omit';
|
|
|
37
37
|
import _assign from 'lodash/assign';
|
|
38
38
|
import _cloneDeep from 'lodash/cloneDeep';
|
|
39
39
|
import * as _ from 'lodash';
|
|
40
|
-
import ___default, { filter, sortBy, each, unionWith, isEqual, cloneDeep, isNil, isObject as isObject$1, isDate, isBoolean, isNumber, union, assign, keyBy
|
|
40
|
+
import ___default, { filter, sortBy, each, unionWith, isEqual, cloneDeep, isNil, isObject as isObject$1, isDate, isBoolean, isNumber, keys, trim, get, set, values, union, assign, keyBy } from 'lodash';
|
|
41
41
|
import * as i1$4 from '@angular/platform-browser';
|
|
42
42
|
import { BrowserTransferStateModule } from '@angular/platform-browser';
|
|
43
43
|
import moment$8 from 'moment-es6';
|
|
@@ -99,6 +99,7 @@ import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
|
99
99
|
import * as i5$4 from 'ngx-mask';
|
|
100
100
|
import { NgxMaskModule } from 'ngx-mask';
|
|
101
101
|
import * as moment$7 from 'moment/moment';
|
|
102
|
+
import stringHash from 'string-hash';
|
|
102
103
|
import * as i5$5 from '@angular/cdk/layout';
|
|
103
104
|
import { LayoutModule } from '@angular/cdk/layout';
|
|
104
105
|
import Dynamsoft from 'dwt';
|
|
@@ -16479,6 +16480,57 @@ function shouldIncludeValue(value) {
|
|
|
16479
16480
|
return !Array.isArray(value) && (!!value || isBoolean(value) || isNumber(value) || isDate(value));
|
|
16480
16481
|
}
|
|
16481
16482
|
|
|
16483
|
+
class NxQlQuery extends NxQL {
|
|
16484
|
+
static preparePayloadItem(value, field) {
|
|
16485
|
+
var _a;
|
|
16486
|
+
const _defaultOperator = field.type == 'aggregation' ? COMPARISON_OPERATOR.in : COMPARISON_OPERATOR.like;
|
|
16487
|
+
const _fieldName = field.config.fieldKey;
|
|
16488
|
+
const _operator = (value === null || value === void 0 ? void 0 : value.operator) || ((_a = field.config) === null || _a === void 0 ? void 0 : _a.operator) || _defaultOperator;
|
|
16489
|
+
return {
|
|
16490
|
+
name: _fieldName,
|
|
16491
|
+
operator: _operator,
|
|
16492
|
+
value: NxQlQuery.prepareValueByOperator(_operator, value)
|
|
16493
|
+
};
|
|
16494
|
+
}
|
|
16495
|
+
static prepareValueByOperator(operator, fieldValue) {
|
|
16496
|
+
const _opr = COMPARISON_OPERATOR;
|
|
16497
|
+
const { value, prefix } = fieldValue;
|
|
16498
|
+
if (operator === _opr.between) {
|
|
16499
|
+
return NxQlQuery._getMinMaxRange(fieldValue, prefix);
|
|
16500
|
+
}
|
|
16501
|
+
const operatorHandlers = {
|
|
16502
|
+
[_opr.equals]: NxQlQuery.equals,
|
|
16503
|
+
[_opr.notEquals]: NxQlQuery.equals,
|
|
16504
|
+
[_opr.lessThan]: NxQlQuery.equals,
|
|
16505
|
+
[_opr.greaterThan]: NxQlQuery.equals,
|
|
16506
|
+
[_opr.in]: NxQlQuery.in,
|
|
16507
|
+
[_opr.notIn]: NxQlQuery.in,
|
|
16508
|
+
[_opr.lessThanOrEqual]: NxQlQuery.equals,
|
|
16509
|
+
[_opr.greaterThanOrEqual]: NxQlQuery.equals,
|
|
16510
|
+
[_opr.like]: NxQlQuery.like,
|
|
16511
|
+
[_opr.iLike]: NxQlQuery.like,
|
|
16512
|
+
[_opr.notLike]: NxQlQuery.like,
|
|
16513
|
+
[_opr.notILike]: NxQlQuery.like,
|
|
16514
|
+
[_opr.startsWith]: NxQlQuery.equals,
|
|
16515
|
+
[_opr.fullText]: NxQlQuery.equals
|
|
16516
|
+
};
|
|
16517
|
+
const _val = Array.isArray(value) ? value.join(',') : value;
|
|
16518
|
+
return operatorHandlers[operator](_val, prefix);
|
|
16519
|
+
}
|
|
16520
|
+
static equals(value, prefix = '') {
|
|
16521
|
+
return `${prefix ? `${prefix} ` : ''}'${value.trim()}'`;
|
|
16522
|
+
}
|
|
16523
|
+
static like(value, prefix = '') {
|
|
16524
|
+
return `${prefix ? `${prefix} ` : ''}'%${value.trim()}%'`;
|
|
16525
|
+
}
|
|
16526
|
+
static in(value, prefix = '') {
|
|
16527
|
+
return `${prefix ? `${prefix} ` : ''}(${value.trim()})`;
|
|
16528
|
+
}
|
|
16529
|
+
static between(value1, value2) {
|
|
16530
|
+
return `${value1} AND ${value2}`;
|
|
16531
|
+
}
|
|
16532
|
+
}
|
|
16533
|
+
|
|
16482
16534
|
class ActiveUserService extends BaseService {
|
|
16483
16535
|
getCurrentUser() {
|
|
16484
16536
|
return this.user;
|
|
@@ -16707,6 +16759,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
16707
16759
|
}]
|
|
16708
16760
|
}], ctorParameters: function () { return []; } });
|
|
16709
16761
|
|
|
16762
|
+
class FiltersMapperService {
|
|
16763
|
+
preparePayload(fields, criteria) {
|
|
16764
|
+
return this._preparePayload(fields, criteria);
|
|
16765
|
+
}
|
|
16766
|
+
_preparePayload(fields, criteria) {
|
|
16767
|
+
const params = {};
|
|
16768
|
+
const predicateList = [];
|
|
16769
|
+
const payload = {};
|
|
16770
|
+
for (const field of fields) {
|
|
16771
|
+
const fieldValue = criteria[field.config.fieldKey];
|
|
16772
|
+
const paramKey = field.type == 'aggregation' ? field.config.aggregation : field.config.fieldKey;
|
|
16773
|
+
if (!fieldValue) {
|
|
16774
|
+
continue;
|
|
16775
|
+
}
|
|
16776
|
+
if ((this._sendInPayload(field) || this._sendCustom(field)) && isFieldValueObject(fieldValue)) {
|
|
16777
|
+
const _data = NxQlQuery.preparePayloadItem(fieldValue, field);
|
|
16778
|
+
predicateList.push(_data);
|
|
16779
|
+
continue;
|
|
16780
|
+
}
|
|
16781
|
+
if (this._sendInPayload(field)) {
|
|
16782
|
+
payload[paramKey] = this._stringifyValue(fieldValue);
|
|
16783
|
+
}
|
|
16784
|
+
if (this._sendCustom(field) || this._sendInQueryParams(field)) {
|
|
16785
|
+
params[paramKey] = this._stringifyValue(fieldValue);
|
|
16786
|
+
}
|
|
16787
|
+
}
|
|
16788
|
+
return {
|
|
16789
|
+
params,
|
|
16790
|
+
payload: Object.assign(Object.assign({}, payload), { predicateList })
|
|
16791
|
+
};
|
|
16792
|
+
}
|
|
16793
|
+
_stringifyValue(value) {
|
|
16794
|
+
return Array.isArray(value) ? JSON.stringify(value) : value;
|
|
16795
|
+
}
|
|
16796
|
+
_sendInQueryParams(field) {
|
|
16797
|
+
var _a;
|
|
16798
|
+
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.queryParam;
|
|
16799
|
+
}
|
|
16800
|
+
_sendInPayload(field) {
|
|
16801
|
+
var _a;
|
|
16802
|
+
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.payload;
|
|
16803
|
+
}
|
|
16804
|
+
_sendCustom(field) {
|
|
16805
|
+
var _a;
|
|
16806
|
+
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.custom;
|
|
16807
|
+
}
|
|
16808
|
+
}
|
|
16809
|
+
FiltersMapperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16810
|
+
FiltersMapperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, providedIn: 'root' });
|
|
16811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, decorators: [{
|
|
16812
|
+
type: Injectable,
|
|
16813
|
+
args: [{
|
|
16814
|
+
providedIn: 'root'
|
|
16815
|
+
}]
|
|
16816
|
+
}] });
|
|
16817
|
+
|
|
16710
16818
|
class BaseAggregationField extends BaseSelector {
|
|
16711
16819
|
/**
|
|
16712
16820
|
*
|
|
@@ -18382,11 +18490,372 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
18382
18490
|
}]
|
|
18383
18491
|
}], ctorParameters: function () { return [{ type: NuxeoService }, { type: RolesService }]; } });
|
|
18384
18492
|
|
|
18493
|
+
/**
|
|
18494
|
+
* Creates a secure context for function evaluation that prevents access to the window object.
|
|
18495
|
+
* @returns {Record<string, any>} A secure context object with safe properties.
|
|
18496
|
+
*/
|
|
18497
|
+
function createSecureContext() {
|
|
18498
|
+
// Create a secure context with only safe properties
|
|
18499
|
+
const secureContext = {
|
|
18500
|
+
// Add any safe globals here that should be accessible
|
|
18501
|
+
console: {
|
|
18502
|
+
log: console.log,
|
|
18503
|
+
warn: console.warn,
|
|
18504
|
+
error: console.error
|
|
18505
|
+
},
|
|
18506
|
+
// Add other safe objects/functions as needed
|
|
18507
|
+
Math,
|
|
18508
|
+
Date,
|
|
18509
|
+
Number,
|
|
18510
|
+
String,
|
|
18511
|
+
Boolean,
|
|
18512
|
+
Array,
|
|
18513
|
+
Object,
|
|
18514
|
+
JSON,
|
|
18515
|
+
// Prevent access to window
|
|
18516
|
+
window: undefined,
|
|
18517
|
+
self: undefined,
|
|
18518
|
+
globalThis: undefined
|
|
18519
|
+
};
|
|
18520
|
+
return secureContext;
|
|
18521
|
+
}
|
|
18522
|
+
/**
|
|
18523
|
+
* A utility class for evaluating expressions, interpolating strings, and working with templates.
|
|
18524
|
+
* This class provides static methods for dynamic evaluation of code, string interpolation,
|
|
18525
|
+
* and template processing with caching capabilities.
|
|
18526
|
+
*/
|
|
18527
|
+
class Evaluator {
|
|
18528
|
+
/**
|
|
18529
|
+
* Creates a function from a string or returns the function if already provided.
|
|
18530
|
+
* Uses a secure context to prevent access to the window object by default.
|
|
18531
|
+
* @param {string|Function} func - The function or string to convert to a function.
|
|
18532
|
+
* @param {...any} params - The parameters to pass to the function.
|
|
18533
|
+
* @param {EvaluatorOptions} [options={}] - Optional configuration for the evaluation.
|
|
18534
|
+
* @returns {Function} - The resulting function.
|
|
18535
|
+
*/
|
|
18536
|
+
static evaluator(func, ...params) {
|
|
18537
|
+
// Extract options if the last parameter is an options object
|
|
18538
|
+
let options = {};
|
|
18539
|
+
if (params.length > 0 &&
|
|
18540
|
+
params[params.length - 1] &&
|
|
18541
|
+
typeof params[params.length - 1] === 'object' &&
|
|
18542
|
+
'securityMode' in params[params.length - 1]) {
|
|
18543
|
+
options = params.pop();
|
|
18544
|
+
}
|
|
18545
|
+
if (typeof func === 'function') {
|
|
18546
|
+
return func;
|
|
18547
|
+
}
|
|
18548
|
+
if (typeof params[0] === 'object') {
|
|
18549
|
+
params = keys(params[0]);
|
|
18550
|
+
}
|
|
18551
|
+
// Check if we should use secure mode (default) or unsafe mode
|
|
18552
|
+
const securityMode = options.securityMode || 'secure';
|
|
18553
|
+
if (securityMode === 'unsafe') {
|
|
18554
|
+
// In unsafe mode, create a function with access to all globals
|
|
18555
|
+
return new Function(...params, func);
|
|
18556
|
+
}
|
|
18557
|
+
else {
|
|
18558
|
+
// In secure mode, create a function that runs in a restricted context
|
|
18559
|
+
const secureFunction = new Function(...params, `
|
|
18560
|
+
// Create a secure context with limited access
|
|
18561
|
+
const secureContext = (${createSecureContext.toString()})();
|
|
18562
|
+
|
|
18563
|
+
// Prevent access to global objects
|
|
18564
|
+
const window = undefined;
|
|
18565
|
+
const self = undefined;
|
|
18566
|
+
const globalThis = undefined;
|
|
18567
|
+
|
|
18568
|
+
// Run the function in the secure context
|
|
18569
|
+
with (secureContext) {
|
|
18570
|
+
${func}
|
|
18571
|
+
}
|
|
18572
|
+
`);
|
|
18573
|
+
return secureFunction;
|
|
18574
|
+
}
|
|
18575
|
+
}
|
|
18576
|
+
/**
|
|
18577
|
+
* Replaces template expressions in a string with values from data.
|
|
18578
|
+
* Supports function calls within templates and fallback values using || syntax.
|
|
18579
|
+
* By default, ensures evaluation happens in a secure context to prevent access to window object.
|
|
18580
|
+
* @param {string} rawTemplate - The template string containing expressions to interpolate.
|
|
18581
|
+
* @param {Record<string, any>} data - The data object containing values to use for interpolation.
|
|
18582
|
+
* @param {EvaluatorOptions} [options={}] - Optional configuration for the interpolation process.
|
|
18583
|
+
* @returns {string} - The interpolated string with all expressions replaced with actual values.
|
|
18584
|
+
*/
|
|
18585
|
+
static interpolateString(rawTemplate, data, options = {}) {
|
|
18586
|
+
if (!rawTemplate) {
|
|
18587
|
+
return '';
|
|
18588
|
+
}
|
|
18589
|
+
if (typeof rawTemplate !== 'string') {
|
|
18590
|
+
return rawTemplate.toString();
|
|
18591
|
+
}
|
|
18592
|
+
// Check if we should use secure mode (default) or unsafe mode
|
|
18593
|
+
const securityMode = options.securityMode || 'secure';
|
|
18594
|
+
// Create a secure data object if needed
|
|
18595
|
+
const secureData = securityMode === 'unsafe'
|
|
18596
|
+
? data
|
|
18597
|
+
: Object.assign(Object.assign(Object.assign({}, createSecureContext()), data), {
|
|
18598
|
+
// Ensure these remain undefined
|
|
18599
|
+
window: undefined, self: undefined, globalThis: undefined });
|
|
18600
|
+
return rawTemplate.replace(/({{\s*(.*?)\s*}})/g, (match, $1, $2) => {
|
|
18601
|
+
if ($2.indexOf('(') !== -1) {
|
|
18602
|
+
return $2.replace(/([^(]+)\(([^)]+)\s*\);?/, (evalMatch, funcName, args) => {
|
|
18603
|
+
funcName = trim(funcName);
|
|
18604
|
+
const func = get(secureData, funcName);
|
|
18605
|
+
if (func) {
|
|
18606
|
+
if (args) {
|
|
18607
|
+
const argsArray = args.split(',').map((arg) => {
|
|
18608
|
+
arg = trim(arg);
|
|
18609
|
+
if (arg.indexOf('"') === 0 || arg.indexOf("'") === 0) {
|
|
18610
|
+
return arg.substring(1, arg.length - 1);
|
|
18611
|
+
}
|
|
18612
|
+
return get(secureData, arg);
|
|
18613
|
+
});
|
|
18614
|
+
return Evaluator.evaluate(func, argsArray, '', false, secureData, options);
|
|
18615
|
+
}
|
|
18616
|
+
return Evaluator.evaluate(func, [], '', false, secureData, options);
|
|
18617
|
+
}
|
|
18618
|
+
return '';
|
|
18619
|
+
});
|
|
18620
|
+
}
|
|
18621
|
+
else {
|
|
18622
|
+
let dataPath = $2;
|
|
18623
|
+
if ($2.indexOf('?') !== -1) {
|
|
18624
|
+
dataPath = $2.replace(/\?\./g, '.');
|
|
18625
|
+
}
|
|
18626
|
+
const parts = dataPath.split('||').map((item) => item.trim());
|
|
18627
|
+
let value = '';
|
|
18628
|
+
let path = '';
|
|
18629
|
+
for (let i = 0; i < parts.length; i++) {
|
|
18630
|
+
path = parts[i];
|
|
18631
|
+
value = get(secureData, path);
|
|
18632
|
+
if (value) {
|
|
18633
|
+
break;
|
|
18634
|
+
}
|
|
18635
|
+
}
|
|
18636
|
+
if (options.data) {
|
|
18637
|
+
set(options.data, path, value);
|
|
18638
|
+
}
|
|
18639
|
+
return value;
|
|
18640
|
+
}
|
|
18641
|
+
});
|
|
18642
|
+
}
|
|
18643
|
+
/**
|
|
18644
|
+
* Performs an evaluation using the evaluation context of this component.
|
|
18645
|
+
* By default, ensures evaluation happens in a secure context to prevent access to window object.
|
|
18646
|
+
* @param {string|Function|object} func - The function or string to evaluate.
|
|
18647
|
+
* @param {object} args - The arguments to pass to the evaluation.
|
|
18648
|
+
* @param {string} ret - The name of the variable within the evaluation context to return.
|
|
18649
|
+
* @param {boolean} interpolate - Determines if it should replace all {{ }} token references with actual data.
|
|
18650
|
+
* @param {object} context - - The evaluation context.
|
|
18651
|
+
* @param {EvaluatorOptions } options - The options to pass to the evaluation.
|
|
18652
|
+
* @returns {*} - The result of the evaluation.
|
|
18653
|
+
*/
|
|
18654
|
+
static evaluate(func, args = {}, ret = 'show', interpolate = false, context = {}, options = {}) {
|
|
18655
|
+
let returnVal = null;
|
|
18656
|
+
const field = args.field ? args.field : { key: 'unknown' };
|
|
18657
|
+
const fieldKey = field.key;
|
|
18658
|
+
if (typeof func === 'string') {
|
|
18659
|
+
if (ret) {
|
|
18660
|
+
func = `var ${ret};${func};return ${ret}`;
|
|
18661
|
+
}
|
|
18662
|
+
if (interpolate) {
|
|
18663
|
+
func = Evaluator.interpolate(func, args, options);
|
|
18664
|
+
}
|
|
18665
|
+
try {
|
|
18666
|
+
// Pass the security mode option to the evaluator
|
|
18667
|
+
const evaluatorOptions = { securityMode: options.securityMode || 'secure' };
|
|
18668
|
+
func = Evaluator.evaluator(func, args, context, evaluatorOptions);
|
|
18669
|
+
args = Array.isArray(args) ? args : values(args);
|
|
18670
|
+
}
|
|
18671
|
+
catch (err) {
|
|
18672
|
+
console.warn(`An error occured within the custom function for ${fieldKey}`, err);
|
|
18673
|
+
returnVal = null;
|
|
18674
|
+
func = false;
|
|
18675
|
+
}
|
|
18676
|
+
}
|
|
18677
|
+
if (typeof func === 'function') {
|
|
18678
|
+
try {
|
|
18679
|
+
returnVal = Evaluator.execute(func, args, context, options);
|
|
18680
|
+
}
|
|
18681
|
+
catch (err) {
|
|
18682
|
+
returnVal = null;
|
|
18683
|
+
console.warn(`An error occured within custom function for ${fieldKey}`, err);
|
|
18684
|
+
}
|
|
18685
|
+
}
|
|
18686
|
+
else if (func) {
|
|
18687
|
+
console.warn(`Unknown function type for ${fieldKey}`);
|
|
18688
|
+
}
|
|
18689
|
+
return returnVal;
|
|
18690
|
+
}
|
|
18691
|
+
/**
|
|
18692
|
+
* Executes a function with provided arguments and context.
|
|
18693
|
+
* By default, ensures execution happens in a secure context to prevent access to window object.
|
|
18694
|
+
* @param {Function} func - The function to execute.
|
|
18695
|
+
* @param {any[]|Record<string, any>} args - The arguments to pass to the function, either as an array or object.
|
|
18696
|
+
* @param {Record<string, any>} [context={}] - The context (this) to use when executing the function.
|
|
18697
|
+
* @param {EvaluatorOptions} [options={}] - Optional configuration for the execution.
|
|
18698
|
+
* @returns {any} - The result of the function execution.
|
|
18699
|
+
*/
|
|
18700
|
+
static execute(func, args, context = {}, options = {}) {
|
|
18701
|
+
// Check if we should use secure mode (default) or unsafe mode
|
|
18702
|
+
const securityMode = options.securityMode || 'secure';
|
|
18703
|
+
if (securityMode === 'unsafe') {
|
|
18704
|
+
// In unsafe mode, execute with the original context
|
|
18705
|
+
return Array.isArray(args) ? func.apply(context, args) : func.call(context, args);
|
|
18706
|
+
}
|
|
18707
|
+
else {
|
|
18708
|
+
// In secure mode, create a secure context by merging the provided context with our secure context
|
|
18709
|
+
const secureContext = Object.assign(Object.assign(Object.assign({}, createSecureContext()), context), {
|
|
18710
|
+
// Ensure these remain undefined even if they were in the provided context
|
|
18711
|
+
window: undefined, self: undefined, globalThis: undefined });
|
|
18712
|
+
// Execute the function with the secure context
|
|
18713
|
+
return Array.isArray(args) ? func.apply(secureContext, args) : func.call(secureContext, args);
|
|
18714
|
+
}
|
|
18715
|
+
}
|
|
18716
|
+
/**
|
|
18717
|
+
* Creates a template function from a string with caching for performance.
|
|
18718
|
+
* By default, ensures the template function executes in a secure context.
|
|
18719
|
+
* @param {string} template - The template string to compile into a function.
|
|
18720
|
+
* @param {string} [hash] - Optional hash to use as cache key. If not provided, a hash will be generated from the template.
|
|
18721
|
+
* @param {EvaluatorOptions} [options={}] - Optional configuration for the template.
|
|
18722
|
+
* @returns {Function|undefined} - The compiled template function, or undefined if compilation fails.
|
|
18723
|
+
*/
|
|
18724
|
+
static template(template, hash, options = {}) {
|
|
18725
|
+
hash = hash || stringHash(template).toString();
|
|
18726
|
+
// If hash contains options object, extract it
|
|
18727
|
+
if (typeof hash === 'object' && 'securityMode' in hash) {
|
|
18728
|
+
options = hash;
|
|
18729
|
+
hash = stringHash(template).toString();
|
|
18730
|
+
}
|
|
18731
|
+
// Check if we have a cached version
|
|
18732
|
+
const cacheKey = hash + (options.securityMode || 'secure');
|
|
18733
|
+
if (Evaluator.cache[cacheKey]) {
|
|
18734
|
+
return Evaluator.cache[cacheKey];
|
|
18735
|
+
}
|
|
18736
|
+
try {
|
|
18737
|
+
template = template.replace(/ctx\./g, '');
|
|
18738
|
+
// Create the template function using lodash
|
|
18739
|
+
const templateFunc = ___default.template(template, Evaluator.templateSettings);
|
|
18740
|
+
// Check if we should use secure mode (default) or unsafe mode
|
|
18741
|
+
const securityMode = options.securityMode || 'secure';
|
|
18742
|
+
if (securityMode === 'unsafe') {
|
|
18743
|
+
// In unsafe mode, return the original template function
|
|
18744
|
+
return (Evaluator.cache[cacheKey] = templateFunc);
|
|
18745
|
+
}
|
|
18746
|
+
else {
|
|
18747
|
+
// In secure mode, wrap the template function to ensure it runs in a secure context
|
|
18748
|
+
const secureTemplateFunc = (data) => {
|
|
18749
|
+
// Create a secure context for the template
|
|
18750
|
+
const secureData = Object.assign(Object.assign(Object.assign({}, createSecureContext()), data), {
|
|
18751
|
+
// Ensure these remain undefined
|
|
18752
|
+
window: undefined, self: undefined, globalThis: undefined });
|
|
18753
|
+
return templateFunc(secureData);
|
|
18754
|
+
};
|
|
18755
|
+
// Cache and return the secure template function
|
|
18756
|
+
return (Evaluator.cache[cacheKey] = secureTemplateFunc);
|
|
18757
|
+
}
|
|
18758
|
+
}
|
|
18759
|
+
catch (err) {
|
|
18760
|
+
console.warn('Error while processing template', err, template);
|
|
18761
|
+
return undefined;
|
|
18762
|
+
}
|
|
18763
|
+
}
|
|
18764
|
+
/**
|
|
18765
|
+
* Interpolates a template with data, handling both function templates and string templates.
|
|
18766
|
+
* By default, ensures interpolation happens in a secure context to prevent access to window object.
|
|
18767
|
+
* @param {string|Function} rawTemplate - The template to interpolate, either as a string or a function.
|
|
18768
|
+
* @param {Record<string, any>} data - The data object to use for interpolation.
|
|
18769
|
+
* @param {EvaluatorOptions} options - Options for the interpolation process.
|
|
18770
|
+
* @returns {string|any} - The result of the interpolation, typically a string but could be any type depending on the template.
|
|
18771
|
+
*/
|
|
18772
|
+
static interpolate(rawTemplate, data, options = {}) {
|
|
18773
|
+
if (typeof rawTemplate === 'function') {
|
|
18774
|
+
try {
|
|
18775
|
+
// If the template is a function, execute it with the data
|
|
18776
|
+
// We can't directly secure a provided function, but we can use execute
|
|
18777
|
+
// to run it in a secure context if needed
|
|
18778
|
+
if (options.securityMode !== 'unsafe') {
|
|
18779
|
+
const secureData = Object.assign(Object.assign(Object.assign({}, createSecureContext()), data), { window: undefined, self: undefined, globalThis: undefined });
|
|
18780
|
+
return rawTemplate(secureData);
|
|
18781
|
+
}
|
|
18782
|
+
else {
|
|
18783
|
+
return rawTemplate(data);
|
|
18784
|
+
}
|
|
18785
|
+
}
|
|
18786
|
+
catch (err) {
|
|
18787
|
+
console.warn('Error interpolating template', err, data);
|
|
18788
|
+
return err.message;
|
|
18789
|
+
}
|
|
18790
|
+
}
|
|
18791
|
+
rawTemplate = String(rawTemplate);
|
|
18792
|
+
// Pass the security mode option to the template method
|
|
18793
|
+
const template = Evaluator.template(rawTemplate, undefined, options);
|
|
18794
|
+
if (typeof template === 'function') {
|
|
18795
|
+
try {
|
|
18796
|
+
return template(data);
|
|
18797
|
+
}
|
|
18798
|
+
catch (err) {
|
|
18799
|
+
console.warn('Error interpolating template', err, rawTemplate, data);
|
|
18800
|
+
return err.message;
|
|
18801
|
+
}
|
|
18802
|
+
}
|
|
18803
|
+
return template;
|
|
18804
|
+
}
|
|
18805
|
+
}
|
|
18806
|
+
/**
|
|
18807
|
+
* Cache for storing compiled template functions to improve performance.
|
|
18808
|
+
* Keys are string hashes of the template, values are the compiled functions.
|
|
18809
|
+
*/
|
|
18810
|
+
Evaluator.cache = {};
|
|
18811
|
+
/**
|
|
18812
|
+
* Settings for template processing, defining regex patterns for different template operations.
|
|
18813
|
+
* - interpolate: Pattern for variable interpolation ({{ variable }})
|
|
18814
|
+
* - evaluate: Pattern for code evaluation ({% code %})
|
|
18815
|
+
* - escape: Pattern for HTML escaping ({{{ variable }}})
|
|
18816
|
+
*/
|
|
18817
|
+
Evaluator.templateSettings = {
|
|
18818
|
+
interpolate: /{{([\s\S]+?)}}/g,
|
|
18819
|
+
evaluate: /\{%([\s\S]+?)%\}/g,
|
|
18820
|
+
escape: /\{\{\{([\s\S]+?)\}\}\}/g
|
|
18821
|
+
};
|
|
18822
|
+
|
|
18823
|
+
class CheckConditionPipe {
|
|
18824
|
+
constructor(nuxeoService) {
|
|
18825
|
+
this.nuxeoService = nuxeoService;
|
|
18826
|
+
this.user = nuxeoService.nuxeoClient.user;
|
|
18827
|
+
}
|
|
18828
|
+
transform(condition, aggregations, language) {
|
|
18829
|
+
if (!condition) {
|
|
18830
|
+
return true;
|
|
18831
|
+
}
|
|
18832
|
+
try {
|
|
18833
|
+
return Evaluator.evaluate(condition, ___default.cloneDeep({ aggregations, language, user: this.user }), '');
|
|
18834
|
+
}
|
|
18835
|
+
catch (error) {
|
|
18836
|
+
console.log({ error });
|
|
18837
|
+
return false;
|
|
18838
|
+
}
|
|
18839
|
+
}
|
|
18840
|
+
}
|
|
18841
|
+
CheckConditionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckConditionPipe, deps: [{ token: NuxeoService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
18842
|
+
CheckConditionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckConditionPipe, name: "checkCondition" });
|
|
18843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CheckConditionPipe, decorators: [{
|
|
18844
|
+
type: Pipe,
|
|
18845
|
+
args: [{
|
|
18846
|
+
name: 'checkCondition'
|
|
18847
|
+
}]
|
|
18848
|
+
}], ctorParameters: function () { return [{ type: NuxeoService }]; } });
|
|
18849
|
+
|
|
18385
18850
|
class FiltersPanelComponent extends BaseFiltersPanel {
|
|
18386
18851
|
constructor(_translateService) {
|
|
18387
18852
|
super();
|
|
18388
18853
|
this._translateService = _translateService;
|
|
18389
|
-
this.
|
|
18854
|
+
this.currentLang = this._translateService.currentLang;
|
|
18855
|
+
this.direction$ = this._translateService.onLangChange.pipe(startWith({ lang: this._translateService.currentLang }), map((lang) => {
|
|
18856
|
+
this.currentLang = lang.lang;
|
|
18857
|
+
return lang.lang === 'ar' ? 'rtl' : 'ltr';
|
|
18858
|
+
}));
|
|
18390
18859
|
this._fieldsSub = new BehaviorSubject([]);
|
|
18391
18860
|
this._activeQuerySub = new BehaviorSubject(null);
|
|
18392
18861
|
this.filterChanged = new EventEmitter();
|
|
@@ -18466,7 +18935,7 @@ class FiltersPanelComponent extends BaseFiltersPanel {
|
|
|
18466
18935
|
}
|
|
18467
18936
|
}
|
|
18468
18937
|
FiltersPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersPanelComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18469
|
-
FiltersPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FiltersPanelComponent, selector: "app-filters-panel", inputs: { aggregations: "aggregations", fields: "fields", activeQuery: "activeQuery" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"formGroup\" class=\"filters-panel\" [dir]=\"direction$ | async\">\r\n\t<div class=\"reset-filter flex reset-container\">\r\n\t\t<button mat-stroked-button class=\"w-full\" (click)=\"resetFilters()\" [disabled]=\"!hasValues\">\r\n\t\t\t{{ 'BUTTONS.clearFilter' | translate }}\r\n\t\t</button>\r\n\t</div>\r\n\t<ng-container *ngFor=\"let field of fields | filterByRoles; trackBy: trackByFieldKey\">\r\n\t\t<ng-container *permission=\"{ name: field.config?.permission }\">\r\n\t\t\t<app-predicate-field\r\n\t\t\t\t*ngIf=\"field.type == fieldTypes.predicate\"\r\n\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t></app-predicate-field>\r\n\t\t\t<app-aggregation-field\r\n\t\t\t\t*ngIf=\"field.type == fieldTypes.aggregation && !!aggregations\"\r\n\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t[aggregation]=\"aggregations[field.config.aggregation]\"\r\n\t\t\t\t[contentTemplate]=\"getContentTemplate(field.config.render.type)\"\r\n\t\t\t></app-aggregation-field>\r\n\t\t\t<app-custom-field\r\n\t\t\t\t*ngIf=\"field.type == fieldTypes.custom\"\r\n\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t\t[aggregations]=\"aggregations\"\r\n\t\t\t></app-custom-field>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</div>\r\n", styles: [".filters-panel{display:var(--filters-panel-display, flex);flex-direction:var(--filters-panel-direction, column);grid-gap:var(--filters-panel-gap, .5rem);gap:var(--filters-panel-gap, .5rem);flex-wrap:var(--filters-panel-wrap, wrap);max-width:100%;box-sizing:border-box}.aggregation-field{padding-inline:var(--af-padding-inline, var(--ff-padding-inline, .5rem));padding-block:var(--af-padding-block, var(--ff-padding-block, 0));max-width:100%}.reset-container{padding:.5rem;position:sticky;top:-8px;z-index:4;background:var(--reset-filter-panel-bg, #fff)}.reset-container button.mat-button-base{background-color:var(--reset-filter-panel-btn-bg, transparent);border-color:var(--reset-filter-panel-btn-bg, #e2e8f0);color:var(--reset-filter-panel-btn-color, currentColor)}\n"], components: [{ type: i1$c.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: PredicateFieldComponent, selector: "app-predicate-field" }, { type: AggregationFieldComponent, selector: "app-aggregation-field", inputs: ["aggregation", "contentTemplate"] }, { type: CustomFieldComponent, selector: "app-custom-field", inputs: ["aggregations"] }], directives: [{ type: i2$4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2$4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$4.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4$1.AsyncPipe, "translate": i1.TranslatePipe, "filterByRoles": FiltersByRolesPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18938
|
+
FiltersPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FiltersPanelComponent, selector: "app-filters-panel", inputs: { aggregations: "aggregations", fields: "fields", activeQuery: "activeQuery" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"formGroup\" class=\"filters-panel\" [dir]=\"direction$ | async\">\r\n\t<div class=\"reset-filter flex reset-container\">\r\n\t\t<button mat-stroked-button class=\"w-full\" (click)=\"resetFilters()\" [disabled]=\"!hasValues\">\r\n\t\t\t{{ 'BUTTONS.clearFilter' | translate }}\r\n\t\t</button>\r\n\t</div>\r\n\t<ng-container *ngFor=\"let field of fields | filterByRoles; trackBy: trackByFieldKey\">\r\n\t\t<ng-container *permission=\"{ name: field.config?.permission }\">\r\n\t\t\t<ng-container *ngIf=\"field.config?.condition | checkCondition: aggregations : currentLang \">\r\n\t\t\t\t<app-predicate-field\r\n\t\t\t\t\t*ngIf=\"field.type == fieldTypes.predicate\"\r\n\t\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t\t></app-predicate-field>\r\n\t\t\t\t<app-aggregation-field\r\n\t\t\t\t\t*ngIf=\"field.type == fieldTypes.aggregation && !!aggregations\"\r\n\t\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t\t[aggregation]=\"aggregations[field.config.aggregation]\"\r\n\t\t\t\t\t[contentTemplate]=\"getContentTemplate(field.config.render.type)\"\r\n\t\t\t\t></app-aggregation-field>\r\n\t\t\t\t<app-custom-field\r\n\t\t\t\t\t*ngIf=\"field.type == fieldTypes.custom\"\r\n\t\t\t\t\t[fieldConfig]=\"field.config\"\r\n\t\t\t\t\t[formControlName]=\"field.config.fieldKey\"\r\n\t\t\t\t\t[aggregations]=\"aggregations\"\r\n\t\t\t\t></app-custom-field>\r\n\t\t\t</ng-container>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</div>\r\n", styles: [".filters-panel{display:var(--filters-panel-display, flex);flex-direction:var(--filters-panel-direction, column);grid-gap:var(--filters-panel-gap, .5rem);gap:var(--filters-panel-gap, .5rem);flex-wrap:var(--filters-panel-wrap, wrap);max-width:100%;box-sizing:border-box}.aggregation-field{padding-inline:var(--af-padding-inline, var(--ff-padding-inline, .5rem));padding-block:var(--af-padding-block, var(--ff-padding-block, 0));max-width:100%}.reset-container{padding:.5rem;position:sticky;top:-8px;z-index:4;background:var(--reset-filter-panel-bg, #fff)}.reset-container button.mat-button-base{background-color:var(--reset-filter-panel-btn-bg, transparent);border-color:var(--reset-filter-panel-btn-bg, #e2e8f0);color:var(--reset-filter-panel-btn-color, currentColor)}\n"], components: [{ type: i1$c.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: PredicateFieldComponent, selector: "app-predicate-field" }, { type: AggregationFieldComponent, selector: "app-aggregation-field", inputs: ["aggregation", "contentTemplate"] }, { type: CustomFieldComponent, selector: "app-custom-field", inputs: ["aggregations"] }], directives: [{ type: i2$4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2$4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$4.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4$1.AsyncPipe, "translate": i1.TranslatePipe, "filterByRoles": FiltersByRolesPipe, "checkCondition": CheckConditionPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18470
18939
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersPanelComponent, decorators: [{
|
|
18471
18940
|
type: Component,
|
|
18472
18941
|
args: [{
|
|
@@ -18581,12 +19050,13 @@ const PIPES = [
|
|
|
18581
19050
|
SanitizerPipe,
|
|
18582
19051
|
SortListPipe,
|
|
18583
19052
|
TooltipPipe,
|
|
18584
|
-
FiltersByRolesPipe
|
|
19053
|
+
FiltersByRolesPipe,
|
|
19054
|
+
CheckConditionPipe
|
|
18585
19055
|
];
|
|
18586
|
-
class
|
|
19056
|
+
class NdfFiltersPanelModule {
|
|
18587
19057
|
}
|
|
18588
|
-
|
|
18589
|
-
|
|
19058
|
+
NdfFiltersPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfFiltersPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19059
|
+
NdfFiltersPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfFiltersPanelModule, declarations: [FiltersPanelComponent, PredicateFieldComponent, AggregationFieldComponent, CustomFieldComponent, AggregationAutocompleteComponent,
|
|
18590
19060
|
AggregationSelectComponent,
|
|
18591
19061
|
AggregationCheckboxComponent,
|
|
18592
19062
|
AggregationSwitchComponent,
|
|
@@ -18610,7 +19080,8 @@ FiltersPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
18610
19080
|
SanitizerPipe,
|
|
18611
19081
|
SortListPipe,
|
|
18612
19082
|
TooltipPipe,
|
|
18613
|
-
FiltersByRolesPipe,
|
|
19083
|
+
FiltersByRolesPipe,
|
|
19084
|
+
CheckConditionPipe, FilterOptionTextComponent,
|
|
18614
19085
|
FilterSearchInputComponent,
|
|
18615
19086
|
FilterCollapseControlComponent,
|
|
18616
19087
|
FieldHeaderComponent,
|
|
@@ -18653,7 +19124,7 @@ FiltersPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
18653
19124
|
DropdownLabelTemplateDirective,
|
|
18654
19125
|
DropdownMultiLabelTemplateDirective,
|
|
18655
19126
|
DateListTemplateDirective, HtmlDialogComponent] });
|
|
18656
|
-
|
|
19127
|
+
NdfFiltersPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfFiltersPanelModule, providers: [DynamicComponentLoaderService, AggregationFieldService], imports: [[
|
|
18657
19128
|
CommonModule,
|
|
18658
19129
|
FormsModule,
|
|
18659
19130
|
ReactiveFormsModule,
|
|
@@ -18678,7 +19149,7 @@ FiltersPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
18678
19149
|
validation: true
|
|
18679
19150
|
})
|
|
18680
19151
|
]] });
|
|
18681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type:
|
|
19152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfFiltersPanelModule, decorators: [{
|
|
18682
19153
|
type: NgModule,
|
|
18683
19154
|
args: [{
|
|
18684
19155
|
declarations: [CONTAINERS$1, COMPONENTS$4, CUSTOM_ELEMENTS, DIRECTIVES$3, PIPES, PARTS, EXPORTED_PARTS],
|
|
@@ -18888,157 +19359,6 @@ const PARAMS_KEYS = {
|
|
|
18888
19359
|
KEY: 'key'
|
|
18889
19360
|
};
|
|
18890
19361
|
|
|
18891
|
-
class NxQlQuery extends NxQL {
|
|
18892
|
-
static preparePayloadItem(value, field) {
|
|
18893
|
-
var _a;
|
|
18894
|
-
const _defaultOperator = field.type == 'aggregation' ? COMPARISON_OPERATOR.in : COMPARISON_OPERATOR.like;
|
|
18895
|
-
const _fieldName = field.config.fieldKey;
|
|
18896
|
-
const _operator = (value === null || value === void 0 ? void 0 : value.operator) || ((_a = field.config) === null || _a === void 0 ? void 0 : _a.operator) || _defaultOperator;
|
|
18897
|
-
return {
|
|
18898
|
-
name: _fieldName,
|
|
18899
|
-
operator: _operator,
|
|
18900
|
-
value: NxQlQuery.prepareValueByOperator(_operator, value)
|
|
18901
|
-
};
|
|
18902
|
-
}
|
|
18903
|
-
static prepareValueByOperator(operator, fieldValue) {
|
|
18904
|
-
const _opr = COMPARISON_OPERATOR;
|
|
18905
|
-
const { value, prefix } = fieldValue;
|
|
18906
|
-
if (operator === _opr.between) {
|
|
18907
|
-
return NxQlQuery._getMinMaxRange(fieldValue, prefix);
|
|
18908
|
-
}
|
|
18909
|
-
const operatorHandlers = {
|
|
18910
|
-
[_opr.equals]: NxQlQuery.equals,
|
|
18911
|
-
[_opr.notEquals]: NxQlQuery.equals,
|
|
18912
|
-
[_opr.lessThan]: NxQlQuery.equals,
|
|
18913
|
-
[_opr.greaterThan]: NxQlQuery.equals,
|
|
18914
|
-
[_opr.in]: NxQlQuery.in,
|
|
18915
|
-
[_opr.notIn]: NxQlQuery.in,
|
|
18916
|
-
[_opr.lessThanOrEqual]: NxQlQuery.equals,
|
|
18917
|
-
[_opr.greaterThanOrEqual]: NxQlQuery.equals,
|
|
18918
|
-
[_opr.like]: NxQlQuery.like,
|
|
18919
|
-
[_opr.iLike]: NxQlQuery.like,
|
|
18920
|
-
[_opr.notLike]: NxQlQuery.like,
|
|
18921
|
-
[_opr.notILike]: NxQlQuery.like,
|
|
18922
|
-
[_opr.startsWith]: NxQlQuery.equals,
|
|
18923
|
-
[_opr.fullText]: NxQlQuery.equals
|
|
18924
|
-
};
|
|
18925
|
-
const _val = Array.isArray(value) ? value.join(',') : value;
|
|
18926
|
-
return operatorHandlers[operator](_val, prefix);
|
|
18927
|
-
}
|
|
18928
|
-
static equals(value, prefix = '') {
|
|
18929
|
-
return `${prefix ? `${prefix} ` : ''}'${value.trim()}'`;
|
|
18930
|
-
}
|
|
18931
|
-
static like(value, prefix = '') {
|
|
18932
|
-
return `${prefix ? `${prefix} ` : ''}'%${value.trim()}%'`;
|
|
18933
|
-
}
|
|
18934
|
-
static in(value, prefix = '') {
|
|
18935
|
-
return `${prefix ? `${prefix} ` : ''}(${value.trim()})`;
|
|
18936
|
-
}
|
|
18937
|
-
static between(value1, value2) {
|
|
18938
|
-
return `${value1} AND ${value2}`;
|
|
18939
|
-
}
|
|
18940
|
-
}
|
|
18941
|
-
|
|
18942
|
-
class FiltersMapperService {
|
|
18943
|
-
preparePayload(fields, criteria) {
|
|
18944
|
-
return this._preparePayload(fields, criteria);
|
|
18945
|
-
}
|
|
18946
|
-
_preparePayload(fields, criteria) {
|
|
18947
|
-
const params = {};
|
|
18948
|
-
const predicateList = [];
|
|
18949
|
-
const payload = {};
|
|
18950
|
-
for (const field of fields) {
|
|
18951
|
-
const fieldValue = criteria[field.config.fieldKey];
|
|
18952
|
-
const paramKey = field.type == 'aggregation' ? field.config.aggregation : field.config.fieldKey;
|
|
18953
|
-
if (!fieldValue) {
|
|
18954
|
-
continue;
|
|
18955
|
-
}
|
|
18956
|
-
if ((this._sendInPayload(field) || this._sendCustom(field)) && isFieldValueObject(fieldValue)) {
|
|
18957
|
-
const _data = NxQlQuery.preparePayloadItem(fieldValue, field);
|
|
18958
|
-
predicateList.push(_data);
|
|
18959
|
-
continue;
|
|
18960
|
-
}
|
|
18961
|
-
if (this._sendInPayload(field)) {
|
|
18962
|
-
payload[paramKey] = this._stringifyValue(fieldValue);
|
|
18963
|
-
}
|
|
18964
|
-
if (this._sendCustom(field) || this._sendInQueryParams(field)) {
|
|
18965
|
-
params[paramKey] = this._stringifyValue(fieldValue);
|
|
18966
|
-
}
|
|
18967
|
-
}
|
|
18968
|
-
return {
|
|
18969
|
-
params,
|
|
18970
|
-
payload: Object.assign(Object.assign({}, payload), { predicateList })
|
|
18971
|
-
};
|
|
18972
|
-
}
|
|
18973
|
-
_stringifyValue(value) {
|
|
18974
|
-
return Array.isArray(value) ? JSON.stringify(value) : value;
|
|
18975
|
-
}
|
|
18976
|
-
_sendInQueryParams(field) {
|
|
18977
|
-
var _a;
|
|
18978
|
-
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.queryParam;
|
|
18979
|
-
}
|
|
18980
|
-
_sendInPayload(field) {
|
|
18981
|
-
var _a;
|
|
18982
|
-
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.payload;
|
|
18983
|
-
}
|
|
18984
|
-
_sendCustom(field) {
|
|
18985
|
-
var _a;
|
|
18986
|
-
return ((_a = field.config) === null || _a === void 0 ? void 0 : _a.sendMode) === FIELD_SEND_MODE.custom;
|
|
18987
|
-
}
|
|
18988
|
-
}
|
|
18989
|
-
FiltersMapperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18990
|
-
FiltersMapperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, providedIn: 'root' });
|
|
18991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FiltersMapperService, decorators: [{
|
|
18992
|
-
type: Injectable,
|
|
18993
|
-
args: [{
|
|
18994
|
-
providedIn: 'root'
|
|
18995
|
-
}]
|
|
18996
|
-
}] });
|
|
18997
|
-
|
|
18998
|
-
class NdfTableService extends BaseService {
|
|
18999
|
-
constructor(injector) {
|
|
19000
|
-
super(injector);
|
|
19001
|
-
}
|
|
19002
|
-
exportTable(request, payload) {
|
|
19003
|
-
return this.request({
|
|
19004
|
-
type: (`${request.method}`.toLowerCase() || 'post'),
|
|
19005
|
-
endpoint: request.url,
|
|
19006
|
-
headers: request === null || request === void 0 ? void 0 : request.headers,
|
|
19007
|
-
queryParams: request === null || request === void 0 ? void 0 : request.params,
|
|
19008
|
-
payload: payload
|
|
19009
|
-
}).pipe(map((res) => `${res === null || res === void 0 ? void 0 : res.Statue}`.toLowerCase() === 'success'));
|
|
19010
|
-
}
|
|
19011
|
-
}
|
|
19012
|
-
NdfTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19013
|
-
NdfTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, providedIn: 'root' });
|
|
19014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, decorators: [{
|
|
19015
|
-
type: Injectable,
|
|
19016
|
-
args: [{
|
|
19017
|
-
providedIn: 'root'
|
|
19018
|
-
}]
|
|
19019
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
19020
|
-
|
|
19021
|
-
class NdfTableConfigurationService extends HttpBaseService {
|
|
19022
|
-
constructor(injector) {
|
|
19023
|
-
super(injector);
|
|
19024
|
-
this.injector = injector;
|
|
19025
|
-
this.appConfigService = this.injector.get(AppConfigService);
|
|
19026
|
-
this.configurationsUrl = 'assets/configs/configuration.json';
|
|
19027
|
-
}
|
|
19028
|
-
getTableConfiguration(key, path) {
|
|
19029
|
-
return of(this.appConfigService.myConfiguration).pipe(map((config) => {
|
|
19030
|
-
const base = path ? ___default.get(config, path) : config;
|
|
19031
|
-
return cloneDeep(___default.get(base, key));
|
|
19032
|
-
}));
|
|
19033
|
-
}
|
|
19034
|
-
}
|
|
19035
|
-
NdfTableConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19036
|
-
NdfTableConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, providedIn: 'root' });
|
|
19037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, decorators: [{
|
|
19038
|
-
type: Injectable,
|
|
19039
|
-
args: [{ providedIn: 'root' }]
|
|
19040
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
19041
|
-
|
|
19042
19362
|
class DynamicTableService {
|
|
19043
19363
|
constructor() {
|
|
19044
19364
|
this.refreshData = new EventEmitter();
|
|
@@ -19680,6 +20000,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
19680
20000
|
}]
|
|
19681
20001
|
}] });
|
|
19682
20002
|
|
|
20003
|
+
class NdfTableService extends BaseService {
|
|
20004
|
+
constructor(injector) {
|
|
20005
|
+
super(injector);
|
|
20006
|
+
}
|
|
20007
|
+
exportTable(request, payload) {
|
|
20008
|
+
return this.request({
|
|
20009
|
+
type: (`${request.method}`.toLowerCase() || 'post'),
|
|
20010
|
+
endpoint: request.url,
|
|
20011
|
+
headers: request === null || request === void 0 ? void 0 : request.headers,
|
|
20012
|
+
queryParams: request === null || request === void 0 ? void 0 : request.params,
|
|
20013
|
+
payload: payload
|
|
20014
|
+
}).pipe(map((res) => `${res === null || res === void 0 ? void 0 : res.Statue}`.toLowerCase() === 'success'));
|
|
20015
|
+
}
|
|
20016
|
+
}
|
|
20017
|
+
NdfTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20018
|
+
NdfTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, providedIn: 'root' });
|
|
20019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, decorators: [{
|
|
20020
|
+
type: Injectable,
|
|
20021
|
+
args: [{
|
|
20022
|
+
providedIn: 'root'
|
|
20023
|
+
}]
|
|
20024
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
20025
|
+
|
|
20026
|
+
class NdfTableConfigurationService extends HttpBaseService {
|
|
20027
|
+
constructor(injector) {
|
|
20028
|
+
super(injector);
|
|
20029
|
+
this.injector = injector;
|
|
20030
|
+
this.appConfigService = this.injector.get(AppConfigService);
|
|
20031
|
+
this.configurationsUrl = 'assets/configs/configuration.json';
|
|
20032
|
+
}
|
|
20033
|
+
getTableConfiguration(key, path) {
|
|
20034
|
+
return of(this.appConfigService.myConfiguration).pipe(map((config) => {
|
|
20035
|
+
const base = path ? ___default.get(config, path) : config;
|
|
20036
|
+
return cloneDeep(___default.get(base, key));
|
|
20037
|
+
}));
|
|
20038
|
+
}
|
|
20039
|
+
}
|
|
20040
|
+
NdfTableConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20041
|
+
NdfTableConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, providedIn: 'root' });
|
|
20042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableConfigurationService, decorators: [{
|
|
20043
|
+
type: Injectable,
|
|
20044
|
+
args: [{ providedIn: 'root' }]
|
|
20045
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
20046
|
+
|
|
19683
20047
|
const PROJECT_BASE_HREF = new InjectionToken('PROJECT_BASE_HREF');
|
|
19684
20048
|
|
|
19685
20049
|
class EditorButtonComponent {
|
|
@@ -20252,7 +20616,7 @@ NdfTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
20252
20616
|
TableColumnsTogglerComponent,
|
|
20253
20617
|
ModeTogglerComponent,
|
|
20254
20618
|
TextSearchComponent, ActionsTableTemplateDirective, SearchTableTemplateDirective, FilterCustomTemplateDirective, TableExportComponent], imports: [CommonModule,
|
|
20255
|
-
|
|
20619
|
+
NdfFiltersPanelModule,
|
|
20256
20620
|
DynamicTableModule,
|
|
20257
20621
|
MatMenuModule,
|
|
20258
20622
|
MatCheckboxModule,
|
|
@@ -20276,7 +20640,7 @@ NdfTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
20276
20640
|
TextSearchComponent, ActionsTableTemplateDirective, SearchTableTemplateDirective, FilterCustomTemplateDirective] });
|
|
20277
20641
|
NdfTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableModule, imports: [[
|
|
20278
20642
|
CommonModule,
|
|
20279
|
-
|
|
20643
|
+
NdfFiltersPanelModule,
|
|
20280
20644
|
DynamicTableModule,
|
|
20281
20645
|
MatMenuModule,
|
|
20282
20646
|
MatCheckboxModule,
|
|
@@ -20301,7 +20665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
20301
20665
|
declarations: [COMPONENTS$3, DIRECTIVES$2, TableExportComponent],
|
|
20302
20666
|
imports: [
|
|
20303
20667
|
CommonModule,
|
|
20304
|
-
|
|
20668
|
+
NdfFiltersPanelModule,
|
|
20305
20669
|
DynamicTableModule,
|
|
20306
20670
|
MatMenuModule,
|
|
20307
20671
|
MatCheckboxModule,
|
|
@@ -42645,7 +43009,7 @@ NdfReportsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
42645
43009
|
NgSelectModule,
|
|
42646
43010
|
MatTooltipModule,
|
|
42647
43011
|
FluidHeightModule,
|
|
42648
|
-
|
|
43012
|
+
NdfFiltersPanelModule,
|
|
42649
43013
|
MatProgressSpinnerModule,
|
|
42650
43014
|
NuxeoDialogModule,
|
|
42651
43015
|
NdfTableModule,
|
|
@@ -42664,7 +43028,7 @@ NdfReportsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
42664
43028
|
NgSelectModule,
|
|
42665
43029
|
MatTooltipModule,
|
|
42666
43030
|
FluidHeightModule,
|
|
42667
|
-
|
|
43031
|
+
NdfFiltersPanelModule,
|
|
42668
43032
|
MatProgressSpinnerModule,
|
|
42669
43033
|
NuxeoDialogModule,
|
|
42670
43034
|
NdfTableModule,
|
|
@@ -42688,7 +43052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
42688
43052
|
NgSelectModule,
|
|
42689
43053
|
MatTooltipModule,
|
|
42690
43054
|
FluidHeightModule,
|
|
42691
|
-
|
|
43055
|
+
NdfFiltersPanelModule,
|
|
42692
43056
|
MatProgressSpinnerModule,
|
|
42693
43057
|
NuxeoDialogModule,
|
|
42694
43058
|
NdfTableModule,
|
|
@@ -44347,7 +44711,6 @@ class MonacoEditorComponent {
|
|
|
44347
44711
|
return this._value;
|
|
44348
44712
|
}
|
|
44349
44713
|
set options(options) {
|
|
44350
|
-
console.log(options);
|
|
44351
44714
|
this._options = Object.assign({}, this.config.defaultOptions, options);
|
|
44352
44715
|
if (this._editor) {
|
|
44353
44716
|
this._editor.dispose();
|
|
@@ -44746,5 +45109,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
44746
45109
|
* Generated bundle index. Do not edit.
|
|
44747
45110
|
*/
|
|
44748
45111
|
|
|
44749
|
-
export { ACTIONS_TABLE_TEMPLATE, AGGREGATION_FIELD_TYPES, AUTOCOMPLETE_TEMPLATE, ActionsTableTemplateDirective, ActiveUserSwitchComponent, ActivitiesLogComponent, ActivitiesLogModule, ActivityLineComponent, AdapterService, AddPermissionsDialogComponent, AddToCollectionComponent, AggregationAutocompleteComponent, AggregationCheckboxComponent, AggregationCustomComponent, AggregationDateListComponent, AggregationFieldComponent, AggregationRadioComponent, AggregationSelectComponent, AggregationSwitchComponent, ApisErrorsMessagesService, AppConfigService, AppHasRoleDirective, AttachmentItemComponent, AttachmentItemModule, AttachmentModalModule, AttachmentsComponent, AttachmentsListComponent, AttachmentsPageProviderComponent, AutocompleteFilterPipe, AutocompleteTemplateDirective, AvatarComponent, AvatarModule, BaseChartBuilderService, BaseChartComponent, BaseColumnComponent, BaseComponent, BaseDatePicker, BaseDateValueAccessor, BaseDialogComponent, BaseNodeClass, BaseSelector, BaseService, BooleanViewerComponent, ButtonComponent, CHART_DEFAULTS_OPTIONS, CHART_MAIN_COLOR, CHECKBOX_TEMPLATE, COLORS_COUNT, COMPARISON_OPERATOR, CONFIG_EDITOR_MODE, CUSTOM_FIELD_TYPES, CUSTOM_TEMPLATE, CachingExpiryUnit, CalendarService, CallApiService, CardComponent, CardModule, ChartComponent, ChartDataService, ChartDataTransformers, index$1 as ChartDefaults, ChartManagerService, index as ChartPlugins, ChartPluginsRegistry, index$2 as ChartUtils, ChartsModule, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, CommentApiService, CommentsDashletComponent, CommentsModule, ComponentRegisterService, ComponentTranslationModel, ConfigEditorActionsComponent, ConfigPreviewComponent, ConfirmCallerDialogComponent, ConfirmCallerModule, ConfirmDialogComponent, ConfirmationDialogComponent, ConfirmationDialogModule, Connection, ConnectionLabelComponent, ContentActionType, ContentNode, ContentNodeComponent, CopyComponent, CopyToClipboardDirective, CopyToClipboardModule, CorrespondenceRelationComponent, CorrespondenceRelationCreateFormComponent, CorrespondenceRelationModule, CorrespondenceRelationService, CorrespondenceTagsComponent, CreateDirectoryComponent, CreateEntityComponent, CreateEntityModule, CreateModalComponent, CreationTypeComponent, CtsTagsModule, CustomConnectionComponent, CustomDocumentViewerComponent, CustomFieldComponent, CustomMomentDateAdapter, CustomPpViewerComponent, CustomSocketComponent, CustomTemplateDirective, CustomToastrModule, CustomToastrService, CutomeVocViewerComponent, DATE_LIST_TEMPLATE, DATE_LIST_VIEW, DATE_LOCALE_KEYS, DATE_TYPE, DEFAULT_DEBOUNCE_TIME, DEFAULT_VIEW, DIAGRAM_DEFAULT_OPTIONS, DIAGRAM_HEIGHT, DROPDOWN_LABEL_TEMPLATE, DROPDOWN_MULTI_LABEL_TEMPLATE, DROPDOWN_TEMPLATE, DataChartComponent, DataViewerComponent, DateFormatterService, DateHelperService, DateListTemplateDirective, DateViewerComponent, DeleteComponent, DepartmentApiService, DepartmentFormComponent, DepartmentManagementService, DepartmentViewerComponent, DestroySubject, DiagramDirective, DiagramPluginsService, DiagramService, DiagramUtils, DiagramsModule, DialogMangmentService, DigitChartService, DirectiveModule, DisplaySuitableIconComponent, DisplaySuitableIconModule, DocumentScanService, DocumentTemplatesConstants, DocumentTemplatesService, DocumentUploadComponent, DocumentsComponent, DocumentsConstants, DocumentsListComponent, DocumentsModule, DocumentsService, DragAndDropDirective, DropdownLabelTemplateDirective, DropdownMultiLabelTemplateDirective, DropdownTemplateDirective, DropdownViewerComponent, DynamicChartComponent, DynamicChartModule, DynamicColumnComponent, DynamicCustomComponent, DynamicFieldsRendererComponent, DynamicFieldsRendererModule, DynamicFilterComponent, DynamicFilterModule, DynamicFormBoolItemComponent, DynamicFormBuilderComponent, DynamicFormCheckboxItemComponent, DynamicFormComponent, DynamicFormDateItemComponent, DynamicFormDepartmentComponent, DynamicFormFieldComponent, DynamicFormHijriDateitemComponent, DynamicFormMapItemComponent, DynamicFormModule, DynamicFormOptionsComponent, DynamicFormSelectItemComponent, DynamicFormSelectTagComponent, DynamicFormSelectUserFilterComponent, DynamicFormSelectUsersComponent, DynamicFormService, DynamicFormSlideToggleitemComponent, DynamicFormTextItemComponent, DynamicFormTextareaComponent, DynamicFormViewerComponent, DynamicFormVocabularyItemComponent, DynamicSearchComponent, DynamicSearchModule, DynamicTableComponent, DynamicTableModule, DynamicTableService, DynamicTabsComponent, DynamicTabsModule, DynamicTimelineReportService, DynamicViewModule, EMPTY_TEMPLATE, ENTITY_TYPE, EXTENSION_JSONS, EditDeleteModalComponent, EditorModeSwitchComponent, EditorSettingsComponent, ElementHeightDirective, ElementHeightModule, EmptyTemplateDirective, EnvManager, EvaluatorsService, ExtensionLoaderService, ExtensionService, FIELD_SEND_MODE, FIELD_TYPE, FILTER_CUSTOM_TEMPLATE, FILTER_DATES_TYPE, FieldHeaderComponent, FieldValueObject, FileGridInfiniteScrollDirective, FileManagerAbstract, FileManagerAdapter, FileManagerPaginationConfig, FileManagerService, FileMangerModule, FileSizePipe, FilterAutocompleteInputComponent, FilterCollapseControlComponent, FilterComponent, FilterCustomTemplateDirective, FilterDateRangeComponent, FilterEmptyMessageComponent, FilterModule, FilterOptionTextComponent, FilterOptionsSortComponent, FilterPipe, FilterQueryService, FilterSearchInputComponent, FiltersByRolesPipe, FiltersMapperService, FiltersPanelComponent, FiltersPanelModule, FluidHeightDirective, FluidHeightModule, FolderModalComponent, FolderishType, FormBuilderService, GREGORIAN_DATE_FORMATS, GREGORIAN_FORMAT, GatewayNodeComponent, GatewayPortsComponent, GlobalAdminService, GlobalPdfTron, GregorianDatepickerComponent, HIJRI_DATE_ARABIC_NAMES, HIJRI_DATE_ENGLISH_NAMES, HIJRI_DATE_FORMATS, HIJRI_FORMAT, HashTranslateAsyncPipe, HashTranslatePipe, HijriAdapterService, HijriDatePipe, HijriDatepickerComponent, HijriGregorianDatepickerComponent, HtmlDialogComponent, IN_OUT_DIRECTION, IconService, InfoDialogComponent, InitializationService, InputDateComponent, InputPort, InputRangeDateComponent, ItemListComponent, Lang, LatestActivityComponent, LatestActivityModule, LibrarySharedModule, ListViewerComponent, LoanRequestComponent, LocalStoragService, LocalizeState, LocalizedDatePipe, LocalizedLabelPipe, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY, MESSAGE_TYPE, MIN_VISIBLE_COUNT, MONACO_EDITOR_CONFIG, MY_MOMENT_FORMATS, MainfolderService, MessageService, ModeTogglerComponent, MomentDateAdapter, MonacoEditorComponent, MoveComponent, MultiValuePipe, MultipleDynamicFormViewerComponent, MutipleDynamicFormViewerModule, NDF_EDITOR_TYPE, NODE_CIRCLE_SIZE, NODE_GATEWAY_SIZE, NODE_HEIGHT, NODE_MARGIN, NODE_STATUS, NODE_TYPE, NODE_WIDTH, NOTIFICATIONS_LIST_OPTIONS, NOTIFICATION_ICON, NOTIFICATION_ITEM, NOTIFICATION_STATUS, NOTIFY_EVENT, NdfConfigEditorComponent, NdfConfigEditorModule, NdfConfirmationDialogComponent, NdfDatepickerComponent, NdfDatepickerModule, NdfGregorianDatepickerComponent, NdfHijriDatepickerComponent, NdfNuxeoDialog, NdfPanelComponent, NdfPanelModule, NdfReportComponent, NdfReportsComponent, NdfReportsModule, NdfReportsService, NdfTableComponent, NdfTableConfigurationService, NdfTableModule, NdfTableService, NdfTabsComponent, NdfTabsModule, NdfTransformService, NgxHijriGregorianDatepickerModule, NoDataComponent, NoDataFoundComponent, NoDataModule, NodeIconComponent, NodeInputsComponent, NodeOutputsComponent, NodePortsComponent, NotificationIconDirective, NotificationItemComponent, NotificationItemDirective, NotificationSourceSelectComponent, NotificationStatusToggleComponent, NotificationToastComponent, NotificationsButtonComponent, NotificationsDateSelectComponent, NotificationsListComponent, NotificationsListContainerComponent, NotificationsModule, NotificationsService, NotificationsSettingsContainerComponent, NuxeoCoreModule, NuxeoDevelopmentFrameworkComponent, NuxeoDevelopmentFrameworkModule, NuxeoDevelopmentFrameworkService, NuxeoDialogModule, NuxeoDialogService, NuxeoMapper, NuxeoService, NxQL, OutputPort, PAGINATION_MODE, PANEL_MODE, PARAMS_KEYS, PREDICATE_FIELD_TYPES, PROJECT_BASE_HREF, PageSizesListComponent, PaginationComponent, PaginationModule, PdfTronModule, PdftronComponent, PdftronService, PermissionService, PermissionsComponent, PermissionsDirective, PermissionsModule, PermissionsTemplateComponent, PipesModule, PredicateDateInputComponent, PredicateFieldComponent, PredicateTextInputComponent, PublishDialogComponent, PublishingDocumentService, RADIO_TEMPLATE, RadioTemplateDirective, ReadMoreComponent, RecentlyViewedService, RemoveButtonComponent, RenameComponent, ReportConfigMapperService, ReportTransformService, ReportsStateService, RolesService, SEARCH_TABLE_TEMPLATE, SOCKET_WIDTH, SUBSCRIPTION_STATE, SWITCH_TEMPLATE, SafeHtmlPipe, SanitizerPipe, ScanComponent, ScanModalComponent, SearchAutocompleteComponent, SearchTableTemplateDirective, SecurePipe, SelectComponent, SelectModule, SelectUsersByDepartmentModule, SelectUsersByDepartmentsComponent, SetDirRtlDirective, SetRtlDirective, ShareDialogComponent, SharedDocsService, SharedServicesModule, SidepanelComponent, SilentPdfTronService, SingleActivityComponent, SkeletonComponent, SkeletonModule, Socket, SortListPipe, SortingListComponent, SpellCheckerFieldModule, SpellCheckerTextFieldComponent, SpinnerComponent, StatisticService, StatusIconComponent, SwitchTemplateDirective, TRANSLATION_PROVIDER, TableColumnsTogglerComponent, TableComponent, TableExportComponent, TableModule, TagsApiService, TemplateModalComponent, TemplateNode, TemplateNodeComponent, TextSearchComponent, TimeAgoPipe, ToastsModule, TooltipPipe, TransferDocComponent, TranslateLoaderService, TranslatedVocabularySelectComponent, TranslationService, TreeviewSelectComponent, UpdateModalComponent, UploadFileService, UploadManagmentService, UserCardComponent, UserComponent, UserModule, UserPreferenceValues, UserPreferencesService, UserService, UsersCardComponent, UsersCardModule, UtilityService, VALUE_OBJECT, VersionsComponent, ViewerFilesService, ViewerLogComponent, ViewerLogModule, VocabularyApiService, VocabularyComponent, VocabularyModule, WorkflowService, ZoomControlComponent, appInitializer, departmentCacheBuster$, extensionJsonsFactory, filterEnabled, getChartsOptions, getConnections, getDoughnutOptions, getHorizontalBarOptions, getLineOptions, getPieOptions, getRandomNumber, getValue, getVerticalBarOptions, isDateObject, isFieldValueObject, mergeArrays, mergeObjects, minute$1 as minute, provideExtensionConfig, reduceEmptyMenus, reduceSeparators, removeConnections, removeEmptyKeys, removeNode, removeNodeAndConnections, serializeControl, serializePort, slideAnimation, sortByOrder };
|
|
45112
|
+
export { ACTIONS_TABLE_TEMPLATE, AGGREGATION_FIELD_TYPES, AUTOCOMPLETE_TEMPLATE, ActionsTableTemplateDirective, ActiveUserSwitchComponent, ActivitiesLogComponent, ActivitiesLogModule, ActivityLineComponent, AdapterService, AddPermissionsDialogComponent, AddToCollectionComponent, AggregationAutocompleteComponent, AggregationCheckboxComponent, AggregationCustomComponent, AggregationDateListComponent, AggregationFieldComponent, AggregationRadioComponent, AggregationSelectComponent, AggregationSwitchComponent, ApisErrorsMessagesService, AppConfigService, AppHasRoleDirective, AttachmentItemComponent, AttachmentItemModule, AttachmentModalModule, AttachmentsComponent, AttachmentsListComponent, AttachmentsPageProviderComponent, AutocompleteFilterPipe, AutocompleteTemplateDirective, AvatarComponent, AvatarModule, BaseChartBuilderService, BaseChartComponent, BaseColumnComponent, BaseComponent, BaseDatePicker, BaseDateValueAccessor, BaseDialogComponent, BaseNodeClass, BaseSelector, BaseService, BooleanViewerComponent, ButtonComponent, CHART_DEFAULTS_OPTIONS, CHART_MAIN_COLOR, CHECKBOX_TEMPLATE, COLORS_COUNT, COMPARISON_OPERATOR, CONFIG_EDITOR_MODE, CUSTOM_FIELD_TYPES, CUSTOM_TEMPLATE, CachingExpiryUnit, CalendarService, CallApiService, CardComponent, CardModule, ChartComponent, ChartDataService, ChartDataTransformers, index$1 as ChartDefaults, ChartManagerService, index as ChartPlugins, ChartPluginsRegistry, index$2 as ChartUtils, ChartsModule, CheckConditionPipe, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, CommentApiService, CommentsDashletComponent, CommentsModule, ComponentRegisterService, ComponentTranslationModel, ConfigEditorActionsComponent, ConfigPreviewComponent, ConfirmCallerDialogComponent, ConfirmCallerModule, ConfirmDialogComponent, ConfirmationDialogComponent, ConfirmationDialogModule, Connection, ConnectionLabelComponent, ContentActionType, ContentNode, ContentNodeComponent, CopyComponent, CopyToClipboardDirective, CopyToClipboardModule, CorrespondenceRelationComponent, CorrespondenceRelationCreateFormComponent, CorrespondenceRelationModule, CorrespondenceRelationService, CorrespondenceTagsComponent, CreateDirectoryComponent, CreateEntityComponent, CreateEntityModule, CreateModalComponent, CreationTypeComponent, CtsTagsModule, CustomConnectionComponent, CustomDocumentViewerComponent, CustomFieldComponent, CustomMomentDateAdapter, CustomPpViewerComponent, CustomSocketComponent, CustomTemplateDirective, CustomToastrModule, CustomToastrService, CutomeVocViewerComponent, DATE_LIST_TEMPLATE, DATE_LIST_VIEW, DATE_LOCALE_KEYS, DATE_TYPE, DEFAULT_DEBOUNCE_TIME, DEFAULT_VIEW, DIAGRAM_DEFAULT_OPTIONS, DIAGRAM_HEIGHT, DROPDOWN_LABEL_TEMPLATE, DROPDOWN_MULTI_LABEL_TEMPLATE, DROPDOWN_TEMPLATE, DataChartComponent, DataViewerComponent, DateFormatterService, DateHelperService, DateListTemplateDirective, DateViewerComponent, DeleteComponent, DepartmentApiService, DepartmentFormComponent, DepartmentManagementService, DepartmentViewerComponent, DestroySubject, DiagramDirective, DiagramPluginsService, DiagramService, DiagramUtils, DiagramsModule, DialogMangmentService, DigitChartService, DirectiveModule, DisplaySuitableIconComponent, DisplaySuitableIconModule, DocumentScanService, DocumentTemplatesConstants, DocumentTemplatesService, DocumentUploadComponent, DocumentsComponent, DocumentsConstants, DocumentsListComponent, DocumentsModule, DocumentsService, DragAndDropDirective, DropdownLabelTemplateDirective, DropdownMultiLabelTemplateDirective, DropdownTemplateDirective, DropdownViewerComponent, DynamicChartComponent, DynamicChartModule, DynamicColumnComponent, DynamicCustomComponent, DynamicFieldsRendererComponent, DynamicFieldsRendererModule, DynamicFilterComponent, DynamicFilterModule, DynamicFormBoolItemComponent, DynamicFormBuilderComponent, DynamicFormCheckboxItemComponent, DynamicFormComponent, DynamicFormDateItemComponent, DynamicFormDepartmentComponent, DynamicFormFieldComponent, DynamicFormHijriDateitemComponent, DynamicFormMapItemComponent, DynamicFormModule, DynamicFormOptionsComponent, DynamicFormSelectItemComponent, DynamicFormSelectTagComponent, DynamicFormSelectUserFilterComponent, DynamicFormSelectUsersComponent, DynamicFormService, DynamicFormSlideToggleitemComponent, DynamicFormTextItemComponent, DynamicFormTextareaComponent, DynamicFormViewerComponent, DynamicFormVocabularyItemComponent, DynamicSearchComponent, DynamicSearchModule, DynamicTableComponent, DynamicTableModule, DynamicTableService, DynamicTabsComponent, DynamicTabsModule, DynamicTimelineReportService, DynamicViewModule, EMPTY_TEMPLATE, ENTITY_TYPE, EXTENSION_JSONS, EditDeleteModalComponent, EditorModeSwitchComponent, EditorSettingsComponent, ElementHeightDirective, ElementHeightModule, EmptyTemplateDirective, EnvManager, EvaluatorsService, ExtensionLoaderService, ExtensionService, FIELD_SEND_MODE, FIELD_TYPE, FILTER_CUSTOM_TEMPLATE, FILTER_DATES_TYPE, FieldHeaderComponent, FieldValueObject, FileGridInfiniteScrollDirective, FileManagerAbstract, FileManagerAdapter, FileManagerPaginationConfig, FileManagerService, FileMangerModule, FileSizePipe, FilterAutocompleteInputComponent, FilterCollapseControlComponent, FilterComponent, FilterCustomTemplateDirective, FilterDateRangeComponent, FilterEmptyMessageComponent, FilterModule, FilterOptionTextComponent, FilterOptionsSortComponent, FilterPipe, FilterQueryService, FilterSearchInputComponent, FiltersByRolesPipe, FiltersMapperService, FiltersPanelComponent, FluidHeightDirective, FluidHeightModule, FolderModalComponent, FolderishType, FormBuilderService, GREGORIAN_DATE_FORMATS, GREGORIAN_FORMAT, GatewayNodeComponent, GatewayPortsComponent, GlobalAdminService, GlobalPdfTron, GregorianDatepickerComponent, HIJRI_DATE_ARABIC_NAMES, HIJRI_DATE_ENGLISH_NAMES, HIJRI_DATE_FORMATS, HIJRI_FORMAT, HashTranslateAsyncPipe, HashTranslatePipe, HijriAdapterService, HijriDatePipe, HijriDatepickerComponent, HijriGregorianDatepickerComponent, HtmlDialogComponent, IN_OUT_DIRECTION, IconService, InfoDialogComponent, InitializationService, InputDateComponent, InputPort, InputRangeDateComponent, ItemListComponent, Lang, LatestActivityComponent, LatestActivityModule, LibrarySharedModule, ListViewerComponent, LoanRequestComponent, LocalStoragService, LocalizeState, LocalizedDatePipe, LocalizedLabelPipe, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY, MESSAGE_TYPE, MIN_VISIBLE_COUNT, MONACO_EDITOR_CONFIG, MY_MOMENT_FORMATS, MainfolderService, MessageService, ModeTogglerComponent, MomentDateAdapter, MonacoEditorComponent, MoveComponent, MultiValuePipe, MultipleDynamicFormViewerComponent, MutipleDynamicFormViewerModule, NDF_EDITOR_TYPE, NODE_CIRCLE_SIZE, NODE_GATEWAY_SIZE, NODE_HEIGHT, NODE_MARGIN, NODE_STATUS, NODE_TYPE, NODE_WIDTH, NOTIFICATIONS_LIST_OPTIONS, NOTIFICATION_ICON, NOTIFICATION_ITEM, NOTIFICATION_STATUS, NOTIFY_EVENT, NdfConfigEditorComponent, NdfConfigEditorModule, NdfConfirmationDialogComponent, NdfDatepickerComponent, NdfDatepickerModule, NdfFiltersPanelModule, NdfGregorianDatepickerComponent, NdfHijriDatepickerComponent, NdfNuxeoDialog, NdfPanelComponent, NdfPanelModule, NdfReportComponent, NdfReportsComponent, NdfReportsModule, NdfReportsService, NdfTableComponent, NdfTableConfigurationService, NdfTableModule, NdfTableService, NdfTabsComponent, NdfTabsModule, NdfTransformService, NgxHijriGregorianDatepickerModule, NoDataComponent, NoDataFoundComponent, NoDataModule, NodeIconComponent, NodeInputsComponent, NodeOutputsComponent, NodePortsComponent, NotificationIconDirective, NotificationItemComponent, NotificationItemDirective, NotificationSourceSelectComponent, NotificationStatusToggleComponent, NotificationToastComponent, NotificationsButtonComponent, NotificationsDateSelectComponent, NotificationsListComponent, NotificationsListContainerComponent, NotificationsModule, NotificationsService, NotificationsSettingsContainerComponent, NuxeoCoreModule, NuxeoDevelopmentFrameworkComponent, NuxeoDevelopmentFrameworkModule, NuxeoDevelopmentFrameworkService, NuxeoDialogModule, NuxeoDialogService, NuxeoMapper, NuxeoService, NxQL, NxQlQuery, OutputPort, PAGINATION_MODE, PANEL_MODE, PARAMS_KEYS, PREDICATE_FIELD_TYPES, PROJECT_BASE_HREF, PageSizesListComponent, PaginationComponent, PaginationModule, PdfTronModule, PdftronComponent, PdftronService, PermissionService, PermissionsComponent, PermissionsDirective, PermissionsModule, PermissionsTemplateComponent, PipesModule, PredicateDateInputComponent, PredicateFieldComponent, PredicateTextInputComponent, PublishDialogComponent, PublishingDocumentService, RADIO_TEMPLATE, RadioTemplateDirective, ReadMoreComponent, RecentlyViewedService, RemoveButtonComponent, RenameComponent, ReportConfigMapperService, ReportTransformService, ReportsStateService, RolesService, SEARCH_TABLE_TEMPLATE, SOCKET_WIDTH, SUBSCRIPTION_STATE, SWITCH_TEMPLATE, SafeHtmlPipe, SanitizerPipe, ScanComponent, ScanModalComponent, SearchAutocompleteComponent, SearchTableTemplateDirective, SecurePipe, SelectComponent, SelectModule, SelectUsersByDepartmentModule, SelectUsersByDepartmentsComponent, SetDirRtlDirective, SetRtlDirective, ShareDialogComponent, SharedDocsService, SharedServicesModule, SidepanelComponent, SilentPdfTronService, SingleActivityComponent, SkeletonComponent, SkeletonModule, Socket, SortListPipe, SortingListComponent, SpellCheckerFieldModule, SpellCheckerTextFieldComponent, SpinnerComponent, StatisticService, StatusIconComponent, SwitchTemplateDirective, TRANSLATION_PROVIDER, TableColumnsTogglerComponent, TableComponent, TableExportComponent, TableModule, TagsApiService, TemplateModalComponent, TemplateNode, TemplateNodeComponent, TextSearchComponent, TimeAgoPipe, ToastsModule, TooltipPipe, TransferDocComponent, TranslateLoaderService, TranslatedVocabularySelectComponent, TranslationService, TreeviewSelectComponent, UpdateModalComponent, UploadFileService, UploadManagmentService, UserCardComponent, UserComponent, UserModule, UserPreferenceValues, UserPreferencesService, UserService, UsersCardComponent, UsersCardModule, UtilityService, VALUE_OBJECT, VersionsComponent, ViewerFilesService, ViewerLogComponent, ViewerLogModule, VocabularyApiService, VocabularyComponent, VocabularyModule, WorkflowService, ZoomControlComponent, appInitializer, departmentCacheBuster$, extensionJsonsFactory, filterEnabled, getChartsOptions, getConnections, getDoughnutOptions, getHorizontalBarOptions, getLineOptions, getPieOptions, getRandomNumber, getValue, getVerticalBarOptions, isDateObject, isFieldValueObject, mergeArrays, mergeObjects, minute$1 as minute, provideExtensionConfig, reduceEmptyMenus, reduceSeparators, removeConnections, removeEmptyKeys, removeNode, removeNodeAndConnections, serializeControl, serializePort, slideAnimation, sortByOrder };
|
|
44750
45113
|
//# sourceMappingURL=nuxeo-development-framework.js.map
|