@sankhyalabs/sankhyablocks 9.2.0-dev.17 → 9.2.0-dev.19
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/dist/cjs/{ConfigStorage-0ebc800f.js → ConfigStorage-52c38bb9.js} +2 -2
- package/dist/cjs/{DataFetcher-602cdc72.js → DataFetcher-9af55840.js} +15 -0
- package/dist/cjs/{ISave-18205d86.js → ISave-c4918000.js} +1 -1
- package/dist/cjs/{SnkFormConfigManager-4b651537.js → SnkFormConfigManager-cef663d1.js} +2 -2
- package/dist/cjs/{ClientSideExporterProvider-bb0b2273.js → SnkMultiSelectionListDataSource-58ded10c.js} +78 -78
- package/dist/cjs/{auth-fetcher-82317d4d.js → auth-fetcher-a3a3bb16.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-93077a2f.js → dataunit-fetcher-ae454648.js} +1 -1
- package/dist/cjs/filter-validate-6993f6f2.js +30 -0
- package/dist/cjs/{form-config-fetcher-05d210e7.js → form-config-fetcher-d7bb4f41.js} +1 -1
- package/dist/cjs/index-1cf293c1.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +4 -4
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-actions-button_8.cjs.entry.js +5 -5
- package/dist/cjs/snk-application.cjs.entry.js +6 -6
- package/dist/cjs/snk-attach.cjs.entry.js +5 -5
- package/dist/cjs/snk-crud.cjs.entry.js +5 -5
- package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -5
- package/dist/cjs/{snk-data-unit-28d629e4.js → snk-data-unit-a59a7ade.js} +2 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
- package/dist/cjs/snk-entity-list.cjs.entry.js +10 -3
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +164 -100
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +23 -2
- package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +20 -2
- package/dist/cjs/snk-filter-detail.cjs.entry.js +25 -8
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +9 -14
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +16 -3
- package/dist/cjs/snk-filter-number.cjs.entry.js +34 -3
- package/dist/cjs/snk-filter-period.cjs.entry.js +59 -14
- package/dist/cjs/snk-filter-search.cjs.entry.js +14 -3
- package/dist/cjs/snk-filter-text.cjs.entry.js +18 -1
- package/dist/cjs/snk-form_2.cjs.entry.js +4 -4
- package/dist/cjs/snk-grid.cjs.entry.js +38 -21
- package/dist/cjs/{snk-guides-viewer-73d40f42.js → snk-guides-viewer-e7c08c71.js} +5 -5
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +4 -4
- package/dist/cjs/snk-simple-crud.cjs.entry.js +13 -13
- package/dist/collection/components/snk-entity-list/snk-entity-list.js +28 -4
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +72 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +73 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +51 -5
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +83 -3
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +118 -27
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +49 -5
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +71 -1
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +62 -11
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +70 -8
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +0 -4
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +112 -16
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +8 -16
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +106 -52
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +3 -1
- package/dist/collection/components/snk-filter-bar/utils/filter-validate.js +24 -0
- package/dist/collection/components/snk-grid/snk-grid.js +89 -11
- package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/en-us/snk-grid.msg.js +4 -0
- package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/es-es/snk-grid.msg.js +4 -0
- package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js +1 -0
- package/dist/collection/lib/message/resources/pt-br/snk-grid.msg.js +4 -0
- package/dist/components/DataFetcher.js +15 -0
- package/dist/components/snk-crud.js +62 -44
- package/dist/components/snk-detail-view2.js +89 -56
- package/dist/components/snk-entity-list.js +11 -3
- package/dist/components/snk-filter-bar2.js +77 -93
- package/dist/components/snk-filter-binary-select.js +27 -3
- package/dist/components/snk-filter-checkbox-list.js +24 -3
- package/dist/components/snk-filter-detail2.js +28 -9
- package/dist/components/snk-filter-item2.js +70 -8
- package/dist/components/snk-filter-modal-item2.js +7 -12
- package/dist/components/snk-filter-modal.js +1 -325
- package/dist/components/snk-filter-modal2.js +391 -0
- package/dist/components/snk-filter-multi-select.js +19 -4
- package/dist/components/snk-filter-number.js +38 -4
- package/dist/components/snk-filter-period.js +64 -16
- package/dist/components/snk-filter-search.js +17 -4
- package/dist/components/snk-filter-text.js +22 -2
- package/dist/components/snk-grid2.js +65 -29
- package/dist/esm/{ConfigStorage-fc4e3a42.js → ConfigStorage-1e758486.js} +2 -2
- package/dist/esm/{DataFetcher-01ce1a4f.js → DataFetcher-2f7ba7ae.js} +15 -0
- package/dist/esm/{ISave-d36bade4.js → ISave-4c9742c1.js} +1 -1
- package/dist/esm/{SnkFormConfigManager-71dae34e.js → SnkFormConfigManager-d7031fcb.js} +2 -2
- package/dist/esm/{ClientSideExporterProvider-21a99af1.js → SnkMultiSelectionListDataSource-eace25fd.js} +83 -83
- package/dist/esm/{auth-fetcher-2e565c35.js → auth-fetcher-d8169b9c.js} +1 -1
- package/dist/esm/{dataunit-fetcher-14ba162b.js → dataunit-fetcher-1f7a73df.js} +1 -1
- package/dist/esm/filter-validate-d765d450.js +27 -0
- package/dist/esm/{form-config-fetcher-a1ccc944.js → form-config-fetcher-eb03ac08.js} +1 -1
- package/dist/esm/index-479e1293.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +4 -4
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-actions-button_8.entry.js +5 -5
- package/dist/esm/snk-application.entry.js +6 -6
- package/dist/esm/snk-attach.entry.js +5 -5
- package/dist/esm/snk-crud.entry.js +5 -5
- package/dist/esm/snk-data-exporter.entry.js +5 -5
- package/dist/esm/{snk-data-unit-3977725e.js → snk-data-unit-a94dd52a.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +7 -7
- package/dist/esm/snk-entity-list.entry.js +10 -3
- package/dist/esm/snk-filter-bar_4.entry.js +165 -101
- package/dist/esm/snk-filter-binary-select.entry.js +23 -2
- package/dist/esm/snk-filter-checkbox-list.entry.js +20 -2
- package/dist/esm/snk-filter-detail.entry.js +25 -8
- package/dist/esm/snk-filter-modal-item.entry.js +9 -14
- package/dist/esm/snk-filter-multi-select.entry.js +16 -3
- package/dist/esm/snk-filter-number.entry.js +34 -3
- package/dist/esm/snk-filter-period.entry.js +59 -14
- package/dist/esm/snk-filter-search.entry.js +14 -3
- package/dist/esm/snk-filter-text.entry.js +18 -1
- package/dist/esm/snk-form_2.entry.js +4 -4
- package/dist/esm/snk-grid.entry.js +31 -14
- package/dist/esm/{snk-guides-viewer-f800c9aa.js → snk-guides-viewer-e716659f.js} +5 -5
- package/dist/esm/snk-guides-viewer.entry.js +7 -7
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +4 -4
- package/dist/esm/snk-simple-crud.entry.js +8 -8
- package/dist/sankhyablocks/p-093f58fa.entry.js +1 -0
- package/dist/sankhyablocks/{p-e63cc25f.js → p-0dc071de.js} +1 -1
- package/dist/sankhyablocks/{p-f4bf0517.entry.js → p-0f6f2a84.entry.js} +1 -1
- package/dist/sankhyablocks/{p-2b2c2718.js → p-1129ded7.js} +1 -1
- package/dist/sankhyablocks/p-12cba660.entry.js +1 -0
- package/dist/sankhyablocks/{p-51209229.js → p-12db5588.js} +1 -1
- package/dist/sankhyablocks/{p-65517fcf.js → p-3d4a3965.js} +1 -1
- package/dist/sankhyablocks/p-3ed04f0d.entry.js +1 -0
- package/dist/sankhyablocks/{p-b6b42620.entry.js → p-4033a6e3.entry.js} +1 -1
- package/dist/sankhyablocks/p-49ddc27a.entry.js +1 -0
- package/dist/sankhyablocks/{p-c3eea705.entry.js → p-4a42d004.entry.js} +1 -1
- package/dist/sankhyablocks/p-4c763b10.entry.js +1 -0
- package/dist/sankhyablocks/p-4eeb06fc.js +1 -0
- package/dist/sankhyablocks/{p-dc8bb41f.js → p-552bdfdc.js} +1 -1
- package/dist/sankhyablocks/{p-3cdfd7fb.js → p-66e6569e.js} +1 -1
- package/dist/sankhyablocks/p-6909c146.entry.js +1 -0
- package/dist/sankhyablocks/p-69d0afa4.js +1 -0
- package/dist/sankhyablocks/{p-c3bab5f4.js → p-75b80a92.js} +1 -1
- package/dist/sankhyablocks/p-7f7fe6c4.entry.js +1 -0
- package/dist/sankhyablocks/{p-e5571279.entry.js → p-86009ea5.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7b97f9af.entry.js → p-864066bb.entry.js} +1 -1
- package/dist/sankhyablocks/p-96d45943.entry.js +1 -0
- package/dist/sankhyablocks/{p-34222890.entry.js → p-a0b4c940.entry.js} +1 -1
- package/dist/sankhyablocks/{p-a60028f1.entry.js → p-a4be272f.entry.js} +1 -1
- package/dist/sankhyablocks/p-ab2ba522.entry.js +1 -0
- package/dist/sankhyablocks/p-ac9488fd.entry.js +1 -0
- package/dist/sankhyablocks/{p-7a1d3cb6.entry.js → p-b1d8cbf7.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7535d592.js → p-b393f1df.js} +1 -1
- package/dist/sankhyablocks/{p-dfbe4d7f.entry.js → p-c5d281ad.entry.js} +1 -1
- package/dist/sankhyablocks/{p-41e5a485.entry.js → p-c6d8c86b.entry.js} +1 -1
- package/dist/sankhyablocks/p-cb4343c4.entry.js +1 -0
- package/dist/sankhyablocks/p-d235314c.entry.js +1 -0
- package/dist/sankhyablocks/{p-dde9da7a.entry.js → p-d76f1aa5.entry.js} +1 -1
- package/dist/sankhyablocks/{p-aba06047.entry.js → p-de58a26f.entry.js} +1 -1
- package/dist/sankhyablocks/p-e258de96.entry.js +1 -0
- package/dist/sankhyablocks/p-fd8047b8.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +8 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +12 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +16 -4
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +17 -3
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +10 -2
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +8 -3
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +27 -4
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +17 -3
- package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +2 -3
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +15 -2
- package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +4 -2
- package/dist/types/components/snk-filter-bar/utils/filter-validate.d.ts +11 -0
- package/dist/types/components/snk-grid/snk-grid.d.ts +21 -8
- package/dist/types/components.d.ts +202 -17
- package/package.json +1 -1
- package/dist/sankhyablocks/p-07b14811.entry.js +0 -1
- package/dist/sankhyablocks/p-082e7ba8.entry.js +0 -1
- package/dist/sankhyablocks/p-25209340.entry.js +0 -1
- package/dist/sankhyablocks/p-295b83ae.entry.js +0 -1
- package/dist/sankhyablocks/p-3143bb44.entry.js +0 -1
- package/dist/sankhyablocks/p-353b4a74.js +0 -1
- package/dist/sankhyablocks/p-398cdd67.entry.js +0 -1
- package/dist/sankhyablocks/p-5bab470d.entry.js +0 -1
- package/dist/sankhyablocks/p-9fd87bfd.entry.js +0 -1
- package/dist/sankhyablocks/p-a76e6d51.entry.js +0 -1
- package/dist/sankhyablocks/p-ae2ebab7.js +0 -1
- package/dist/sankhyablocks/p-b21aa190.entry.js +0 -1
- package/dist/sankhyablocks/p-c6a8a8bc.entry.js +0 -1
- package/dist/sankhyablocks/p-c8932b14.entry.js +0 -1
- package/dist/sankhyablocks/p-dff65083.entry.js +0 -1
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const snkGuidesViewer = require('./snk-guides-viewer-
|
5
|
+
const snkGuidesViewer = require('./snk-guides-viewer-e7c08c71.js');
|
6
6
|
require('./index-1cf293c1.js');
|
7
7
|
require('@sankhyalabs/core');
|
8
|
-
require('./SnkFormConfigManager-
|
9
|
-
require('./ConfigStorage-
|
10
|
-
require('./form-config-fetcher-
|
11
|
-
require('./DataFetcher-
|
8
|
+
require('./SnkFormConfigManager-cef663d1.js');
|
9
|
+
require('./ConfigStorage-52c38bb9.js');
|
10
|
+
require('./form-config-fetcher-d7bb4f41.js');
|
11
|
+
require('./DataFetcher-9af55840.js');
|
12
12
|
require('./PrintUtils-bcaeb82f.js');
|
13
13
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
14
14
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
@@ -18,9 +18,9 @@ require('./taskbar-processor-2fba34a8.js');
|
|
18
18
|
require('./taskbar-elements-fb5d1e08.js');
|
19
19
|
require('./index-e3e39724.js');
|
20
20
|
require('./index-13d05f03.js');
|
21
|
-
require('./ISave-
|
21
|
+
require('./ISave-c4918000.js');
|
22
22
|
require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
23
|
-
require('./dataunit-fetcher-
|
23
|
+
require('./dataunit-fetcher-ae454648.js');
|
24
24
|
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
|
25
25
|
require('@sankhyalabs/core/dist/utils/SortingUtils');
|
26
26
|
require('./ResourceIDUtils-5ff86aa7.js');
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-1cf293c1.js');
|
6
6
|
const core = require('@sankhyalabs/core');
|
7
7
|
const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-7259cf65.js');
|
8
|
-
const ConfigStorage = require('./ConfigStorage-
|
8
|
+
const ConfigStorage = require('./ConfigStorage-52c38bb9.js');
|
9
9
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
10
10
|
const index$1 = require('./index-62760a9c.js');
|
11
11
|
const index$2 = require('./index-13d05f03.js');
|
12
12
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
13
|
-
require('./form-config-fetcher-
|
14
|
-
require('./DataFetcher-
|
13
|
+
require('./form-config-fetcher-d7bb4f41.js');
|
14
|
+
require('./DataFetcher-9af55840.js');
|
15
15
|
require('./PrintUtils-bcaeb82f.js');
|
16
16
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
17
17
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-1cf293c1.js');
|
6
6
|
const core = require('@sankhyalabs/core');
|
7
|
-
const ISave = require('./ISave-
|
8
|
-
require('./DataFetcher-
|
7
|
+
const ISave = require('./ISave-c4918000.js');
|
8
|
+
require('./DataFetcher-9af55840.js');
|
9
9
|
require('./index-e3e39724.js');
|
10
10
|
require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
11
11
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
12
|
-
require('./dataunit-fetcher-
|
12
|
+
require('./dataunit-fetcher-ae454648.js');
|
13
13
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
14
|
-
require('./form-config-fetcher-
|
14
|
+
require('./form-config-fetcher-d7bb4f41.js');
|
15
15
|
require('./constants-6d82e405.js');
|
16
16
|
require('./PrintUtils-bcaeb82f.js');
|
17
17
|
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
|
@@ -7,23 +7,23 @@ const core = require('@sankhyalabs/core');
|
|
7
7
|
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
8
8
|
const constants = require('./constants-6d82e405.js');
|
9
9
|
const taskbarElements = require('./taskbar-elements-fb5d1e08.js');
|
10
|
-
require('./DataFetcher-
|
11
|
-
require('./ISave-
|
12
|
-
const
|
10
|
+
require('./DataFetcher-9af55840.js');
|
11
|
+
require('./ISave-c4918000.js');
|
12
|
+
const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-58ded10c.js');
|
13
13
|
const index$1 = require('./index-e3e39724.js');
|
14
14
|
require('@sankhyalabs/ezui/dist/collection/utils/constants');
|
15
15
|
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
16
|
-
const dataunitFetcher = require('./dataunit-fetcher-
|
16
|
+
const dataunitFetcher = require('./dataunit-fetcher-ae454648.js');
|
17
17
|
require('./filter-item-type.enum-a7ffdaa6.js');
|
18
|
-
const formConfigFetcher = require('./form-config-fetcher-
|
18
|
+
const formConfigFetcher = require('./form-config-fetcher-d7bb4f41.js');
|
19
19
|
const taskbarProcessor = require('./taskbar-processor-2fba34a8.js');
|
20
|
-
const ConfigStorage = require('./ConfigStorage-
|
21
|
-
const SnkFormConfigManager = require('./SnkFormConfigManager-
|
20
|
+
const ConfigStorage = require('./ConfigStorage-52c38bb9.js');
|
21
|
+
const SnkFormConfigManager = require('./SnkFormConfigManager-cef663d1.js');
|
22
22
|
const index$2 = require('./index-13d05f03.js');
|
23
23
|
require('./PrintUtils-bcaeb82f.js');
|
24
|
-
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
|
25
24
|
require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
|
26
25
|
require('./IFetchDataExporterParams-e78ec415.js');
|
26
|
+
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
|
27
27
|
require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
|
28
28
|
require('@sankhyalabs/core/dist/utils/SortingUtils');
|
29
29
|
require('./ResourceIDUtils-5ff86aa7.js');
|
@@ -42,7 +42,7 @@ const SnkSimpleCrud = class {
|
|
42
42
|
this.formItemsReady = index.createEvent(this, "formItemsReady", 7);
|
43
43
|
this.configuratorSave = index.createEvent(this, "configuratorSave", 7);
|
44
44
|
this.configuratorCancel = index.createEvent(this, "configuratorCancel", 7);
|
45
|
-
this._multiSelectionListDataSource = new
|
45
|
+
this._multiSelectionListDataSource = new SnkMultiSelectionListDataSource.SnkMultiSelectionListDataSource();
|
46
46
|
this._formConfigFetcher = new formConfigFetcher.FormConfigFetcher();
|
47
47
|
this._customEditors = new Map();
|
48
48
|
this._customRenders = new Map();
|
@@ -401,8 +401,8 @@ const SnkSimpleCrud = class {
|
|
401
401
|
this.processMetadata();
|
402
402
|
this.onModeChange();
|
403
403
|
this.configDatasource();
|
404
|
-
this._rmPrecisionCustomValueFormatter = new
|
405
|
-
this._continuousInsertUtils = new
|
404
|
+
this._rmPrecisionCustomValueFormatter = new SnkMultiSelectionListDataSource.RmPrecisionCustomValueFormatter();
|
405
|
+
this._continuousInsertUtils = new SnkMultiSelectionListDataSource.ContinuousInsertUtils(this.application, this.resolveResourceID(), this.configName);
|
406
406
|
if (this.enableGridInsert) {
|
407
407
|
this._continuousInsertUtils.getConfig().then(value => this.enableContinuousInsert = value);
|
408
408
|
}
|
@@ -747,7 +747,7 @@ const SnkSimpleCrud = class {
|
|
747
747
|
if (this._grid == undefined) {
|
748
748
|
return;
|
749
749
|
}
|
750
|
-
const dataExporterProvider = new
|
750
|
+
const dataExporterProvider = new SnkMultiSelectionListDataSource.ClientSideExporterProvider(this.dataUnit, this._grid);
|
751
751
|
index$2.store.set("exporterProviders", Object.assign(Object.assign({}, index$2.store.get("exporterProviders")), { [this.getDataExporterStoreKey()]: dataExporterProvider }));
|
752
752
|
}
|
753
753
|
getDataExporterStoreKey() {
|
@@ -755,7 +755,7 @@ const SnkSimpleCrud = class {
|
|
755
755
|
}
|
756
756
|
setGridConfig(config) {
|
757
757
|
this.gridConfig = config;
|
758
|
-
|
758
|
+
SnkMultiSelectionListDataSource.CrudUtils.assertDefaultSorting(this.gridConfig, this.dataUnit);
|
759
759
|
}
|
760
760
|
setFormConfig(config, forceUpdate) {
|
761
761
|
if (this.formConfig && !forceUpdate)
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
2
1
|
import { ApplicationContext, ObjectUtils } from "@sankhyalabs/core";
|
2
|
+
import { h, Host } from "@stencil/core";
|
3
3
|
export class SnkEntityList {
|
4
4
|
constructor() {
|
5
5
|
this._ezListSource = [];
|
@@ -7,6 +7,7 @@ export class SnkEntityList {
|
|
7
7
|
this.rightListSlotBuilder = undefined;
|
8
8
|
this.maxHeightList = "";
|
9
9
|
this.value = undefined;
|
10
|
+
this.errorMessage = undefined;
|
10
11
|
}
|
11
12
|
async reloadList() {
|
12
13
|
this.loadListSource();
|
@@ -17,6 +18,7 @@ export class SnkEntityList {
|
|
17
18
|
}
|
18
19
|
ezListChangeListener(evt) {
|
19
20
|
var _a, _b;
|
21
|
+
this.errorMessage = undefined;
|
20
22
|
const configCopy = ObjectUtils.copy(this.config);
|
21
23
|
(_a = (this.getListConfigValue(configCopy))) === null || _a === void 0 ? void 0 : _a.forEach(value => {
|
22
24
|
var _a, _b;
|
@@ -69,7 +71,11 @@ export class SnkEntityList {
|
|
69
71
|
onEzSearchChange(evt) {
|
70
72
|
var _a, _b, _c, _d;
|
71
73
|
const newValueIsEmpty = ObjectUtils.isEmptySafetyCheck(evt.detail);
|
72
|
-
const hasConfingOnList = (_a = this.getListConfigValue(this.config)) === null || _a === void 0 ? void 0 : _a.find((
|
74
|
+
const hasConfingOnList = (_a = this.getListConfigValue(this.config)) === null || _a === void 0 ? void 0 : _a.find((item) => {
|
75
|
+
var _a;
|
76
|
+
const itemId = typeof item.id === 'number' ? String(item.id) : item.id;
|
77
|
+
return itemId === ((_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value);
|
78
|
+
});
|
73
79
|
if (newValueIsEmpty || hasConfingOnList) {
|
74
80
|
return;
|
75
81
|
}
|
@@ -94,10 +100,11 @@ export class SnkEntityList {
|
|
94
100
|
return (_d = (_b = (_a = config.value) === null || _a === void 0 ? void 0 : _a.elements) !== null && _b !== void 0 ? _b : (_c = config === null || config === void 0 ? void 0 : config.value) === null || _c === void 0 ? void 0 : _c.members) !== null && _d !== void 0 ? _d : config === null || config === void 0 ? void 0 : config.value;
|
95
101
|
}
|
96
102
|
render() {
|
97
|
-
var _a, _b, _c;
|
103
|
+
var _a, _b, _c, _d, _e;
|
98
104
|
const isSearchPlus = ((_a = this.config.props) === null || _a === void 0 ? void 0 : _a["useSearchPlus"]) == true;
|
99
105
|
const TagName = isSearchPlus ? "ez-search-plus" : "ez-search";
|
100
|
-
return (h(Host, null, h(TagName, { ref: elem => this._searchElement = elem, optionLoader: argument => this.optionLoader(argument), label: (_b = this.config) === null || _b === void 0 ? void 0 : _b.label, onEzChange: evt => this.onEzSearchChange(evt), suppressEmptyOption: true, stopPropagateEnterKeyEvent: true }), ((
|
106
|
+
return (h(Host, null, h("ez-tooltip", { active: !this.config.enabled, message: this.config.disabledMessage, type: 'warning' }, h(TagName, { ref: elem => this._searchElement = elem, optionLoader: argument => this.optionLoader(argument), label: (_b = this.config) === null || _b === void 0 ? void 0 : _b.label, enabled: (_c = this.config) === null || _c === void 0 ? void 0 : _c.enabled, onEzChange: evt => this.onEzSearchChange(evt), suppressEmptyOption: true, stopPropagateEnterKeyEvent: true }), ((_d = this._ezListSource) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("label", { class: "label" }, this.getMessage("snkEntityList.selected"))), h("div", { style: this.maxHeightList ? { 'max-height': this.maxHeightList } : {}, class: { "snk-entity-list--overflow": !!this.maxHeightList } }, h("ez-list", { ref: (el) => this._ezList = el, id: "snkEntityList", enabled: (_e = this.config) === null || _e === void 0 ? void 0 : _e.enabled, listMode: "check", dataSource: this._ezListSource, hoverFeedback: true, itemSlotBuilder: this.rightListSlotBuilder, onEzCheckChange: evt => this.ezListChangeListener(evt) })), this.errorMessage &&
|
107
|
+
h("span", { class: 'ez-text ez-text--small ez-text--error ez-margin-horizontal--medium' }, this.errorMessage))));
|
101
108
|
}
|
102
109
|
static get is() { return "snk-entity-list"; }
|
103
110
|
static get encapsulation() { return "scoped"; }
|
@@ -197,6 +204,23 @@ export class SnkEntityList {
|
|
197
204
|
"tags": [],
|
198
205
|
"text": "Define o valor do componente"
|
199
206
|
}
|
207
|
+
},
|
208
|
+
"errorMessage": {
|
209
|
+
"type": "string",
|
210
|
+
"mutable": true,
|
211
|
+
"complexType": {
|
212
|
+
"original": "string",
|
213
|
+
"resolved": "string",
|
214
|
+
"references": {}
|
215
|
+
},
|
216
|
+
"required": false,
|
217
|
+
"optional": false,
|
218
|
+
"docs": {
|
219
|
+
"tags": [],
|
220
|
+
"text": "Usado para exibir mensagens de erro."
|
221
|
+
},
|
222
|
+
"attribute": "error-message",
|
223
|
+
"reflect": true
|
200
224
|
}
|
201
225
|
};
|
202
226
|
}
|
package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js
CHANGED
@@ -9,6 +9,7 @@ export class SnkFilterBinarySelect {
|
|
9
9
|
this.value = undefined;
|
10
10
|
this.config = undefined;
|
11
11
|
this.presentationMode = EPresentationMode.CHIP;
|
12
|
+
this.errorMessage = undefined;
|
12
13
|
}
|
13
14
|
isSelected(option) {
|
14
15
|
return this.value == undefined || this.value === option;
|
@@ -17,6 +18,7 @@ export class SnkFilterBinarySelect {
|
|
17
18
|
* Emitido quando acontece a alteração de valor do componente snk-filter-binary-select
|
18
19
|
*/
|
19
20
|
ezChangeListener(evt) {
|
21
|
+
this.errorMessage = undefined;
|
20
22
|
if (this.presentationMode === EPresentationMode.MODAL) {
|
21
23
|
if (!evt.detail) {
|
22
24
|
this.assertCheckedOption(evt.target);
|
@@ -33,6 +35,23 @@ export class SnkFilterBinarySelect {
|
|
33
35
|
async resetValues() {
|
34
36
|
this.ezChangeListener({ detail: this._noOptionValue });
|
35
37
|
}
|
38
|
+
/**
|
39
|
+
* Limpa o valor do componente restaurando o valor original da configuração.
|
40
|
+
*/
|
41
|
+
async clearValue() {
|
42
|
+
this.value = this.config.value;
|
43
|
+
this._radioButtonValue = this.value || this._noOptionValue;
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* Define o foco no componente snk-filter-binary-select.
|
47
|
+
*/
|
48
|
+
async setFocus() {
|
49
|
+
if (this.presentationMode === EPresentationMode.MODAL) {
|
50
|
+
this._checkOne.setFocus();
|
51
|
+
return;
|
52
|
+
}
|
53
|
+
this._element.querySelector('ez-radio-button').focus();
|
54
|
+
}
|
36
55
|
assertCheckedOption(updatingCheck) {
|
37
56
|
if (updatingCheck === this._checkOne) {
|
38
57
|
this._checkTwo.value = true;
|
@@ -74,9 +93,11 @@ export class SnkFilterBinarySelect {
|
|
74
93
|
}
|
75
94
|
const [optOne, optTwo] = this.config.props.options;
|
76
95
|
if (this.presentationMode === EPresentationMode.MODAL) {
|
77
|
-
return (h(Host, null, h("div", { class: "ez-row ez-size-height--full" }, h("label", { class: "ez-text ez-title--small ez-title--primary ez-size-height--full ez-flex ez-flex--row ez-flex--align-items-center ez-col ez-col--sd-4" }, this.config.detailModal), h("div", { class: "ez-col ez-col--sd-4" }, h("ez-check", { ref: (ref) => this._checkOne = ref, id: `${this.config.id}_${optOne.name || "option1"}`, class: "sc-snk-filter-bar editor__ez-check", label: optOne.label, value: this.isSelected(optOne.name) })), h("div", { class: "ez-col ez-col--sd-4" }, h("ez-check", { ref: (ref) => this._checkTwo = ref, id: `${this.config.id}_${optTwo.name || "option2"}`, class: "sc-snk-filter-bar editor__ez-check", label: optTwo.label, value: this.isSelected(optTwo.name) }))
|
96
|
+
return (h(Host, null, h("div", { class: "ez-row ez-size-height--full" }, h("label", { class: "ez-text ez-title--small ez-title--primary ez-size-height--full ez-flex ez-flex--row ez-flex--align-items-center ez-col ez-col--sd-4" }, this.config.detailModal), h("div", { class: "ez-col ez-col--sd-4" }, h("ez-check", { ref: (ref) => this._checkOne = ref, id: `${this.config.id}_${optOne.name || "option1"}`, class: "sc-snk-filter-bar editor__ez-check", label: optOne.label, enabled: this.config.enabled, value: this.isSelected(optOne.name) })), h("div", { class: "ez-col ez-col--sd-4" }, h("ez-check", { ref: (ref) => this._checkTwo = ref, id: `${this.config.id}_${optTwo.name || "option2"}`, class: "sc-snk-filter-bar editor__ez-check", label: optTwo.label, enabled: this.config.enabled, value: this.isSelected(optTwo.name) })), this.errorMessage &&
|
97
|
+
h("span", { class: 'ez-text ez-text--small ez-text--error ez-margin--small' }, this.errorMessage))));
|
78
98
|
}
|
79
|
-
return (h(Host, null, h("ez-radio-button", { value: this._radioButtonValue }, h("ez-radio-button-option", { id: `${this.config.id}_${optOne.name || "option1"}`, class: "sc-snk-filter-bar editor__ez-check", label: optOne.label, value: optOne.name }), h("ez-radio-button-option", { id: `${this.config.id}_${optTwo.name || "option2"}`, class: "sc-snk-filter-bar editor__ez-check", label: optTwo.label, value: optTwo.name }), h("ez-radio-button-option", { id: `${this.config.id}_option3`, class: "sc-snk-filter-bar editor__ez-check", label: `${optOne.label} + ${optTwo.label}`, value: this._noOptionValue }))
|
99
|
+
return (h(Host, null, h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-radio-button", { value: this._radioButtonValue }, h("ez-radio-button-option", { id: `${this.config.id}_${optOne.name || "option1"}`, class: "sc-snk-filter-bar editor__ez-check", label: optOne.label, value: optOne.name }), h("ez-radio-button-option", { id: `${this.config.id}_${optTwo.name || "option2"}`, class: "sc-snk-filter-bar editor__ez-check", label: optTwo.label, value: optTwo.name }), h("ez-radio-button-option", { id: `${this.config.id}_option3`, class: "sc-snk-filter-bar editor__ez-check", label: `${optOne.label} + ${optTwo.label}`, value: this._noOptionValue })), this.errorMessage &&
|
100
|
+
h("span", { class: 'ez-text ez-text--small ez-text--error ez-margin--small' }, this.errorMessage))));
|
80
101
|
}
|
81
102
|
static get is() { return "snk-filter-binary-select"; }
|
82
103
|
static get properties() {
|
@@ -140,6 +161,23 @@ export class SnkFilterBinarySelect {
|
|
140
161
|
"attribute": "presentation-mode",
|
141
162
|
"reflect": false,
|
142
163
|
"defaultValue": "EPresentationMode.CHIP"
|
164
|
+
},
|
165
|
+
"errorMessage": {
|
166
|
+
"type": "string",
|
167
|
+
"mutable": true,
|
168
|
+
"complexType": {
|
169
|
+
"original": "string",
|
170
|
+
"resolved": "string",
|
171
|
+
"references": {}
|
172
|
+
},
|
173
|
+
"required": false,
|
174
|
+
"optional": false,
|
175
|
+
"docs": {
|
176
|
+
"tags": [],
|
177
|
+
"text": "Usado para exibir mensagens de erro."
|
178
|
+
},
|
179
|
+
"attribute": "error-message",
|
180
|
+
"reflect": true
|
143
181
|
}
|
144
182
|
};
|
145
183
|
}
|
@@ -181,6 +219,38 @@ export class SnkFilterBinarySelect {
|
|
181
219
|
"text": "Redefine os valores padr\u00E3o do componente.",
|
182
220
|
"tags": []
|
183
221
|
}
|
222
|
+
},
|
223
|
+
"clearValue": {
|
224
|
+
"complexType": {
|
225
|
+
"signature": "() => Promise<void>",
|
226
|
+
"parameters": [],
|
227
|
+
"references": {
|
228
|
+
"Promise": {
|
229
|
+
"location": "global"
|
230
|
+
}
|
231
|
+
},
|
232
|
+
"return": "Promise<void>"
|
233
|
+
},
|
234
|
+
"docs": {
|
235
|
+
"text": "Limpa o valor do componente restaurando o valor original da configura\u00E7\u00E3o.",
|
236
|
+
"tags": []
|
237
|
+
}
|
238
|
+
},
|
239
|
+
"setFocus": {
|
240
|
+
"complexType": {
|
241
|
+
"signature": "() => Promise<void>",
|
242
|
+
"parameters": [],
|
243
|
+
"references": {
|
244
|
+
"Promise": {
|
245
|
+
"location": "global"
|
246
|
+
}
|
247
|
+
},
|
248
|
+
"return": "Promise<void>"
|
249
|
+
},
|
250
|
+
"docs": {
|
251
|
+
"text": "Define o foco no componente snk-filter-binary-select.",
|
252
|
+
"tags": []
|
253
|
+
}
|
184
254
|
}
|
185
255
|
};
|
186
256
|
}
|
package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js
CHANGED
@@ -4,8 +4,24 @@ import FilterItemType from '../filter-item-type.enum';
|
|
4
4
|
export class SnkFilterCheckboxList {
|
5
5
|
constructor() {
|
6
6
|
this.config = undefined;
|
7
|
+
this.errorMessage = undefined;
|
7
8
|
this.optionsList = [];
|
8
9
|
}
|
10
|
+
/**
|
11
|
+
* Define o foco no componente snk-filter-checkbox-list.
|
12
|
+
*/
|
13
|
+
async setFocus() {
|
14
|
+
var _a, _b;
|
15
|
+
(_b = (_a = this._element) === null || _a === void 0 ? void 0 : _a.querySelector('ez-check')) === null || _b === void 0 ? void 0 : _b.setFocus();
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Limpa o valor do componente restaurando o valor original da configuração.
|
19
|
+
*/
|
20
|
+
async clearValue() {
|
21
|
+
var _a;
|
22
|
+
this.config = Object.assign(Object.assign({}, this.config), { value: this.config.value });
|
23
|
+
this.valueChanged.emit((_a = this.config) === null || _a === void 0 ? void 0 : _a.value);
|
24
|
+
}
|
9
25
|
componentDidLoad() {
|
10
26
|
if (this._element) {
|
11
27
|
ElementIDUtils.addIDInfo(this._element, 'filterContentEditor');
|
@@ -13,13 +29,14 @@ export class SnkFilterCheckboxList {
|
|
13
29
|
}
|
14
30
|
handleToggleCheck(itemChanged, checked) {
|
15
31
|
var _a, _b;
|
32
|
+
this.errorMessage = undefined;
|
16
33
|
let configValueMap = (_a = this.config.value) !== null && _a !== void 0 ? _a : {};
|
17
34
|
configValueMap[itemChanged.name] = checked;
|
18
35
|
this.config = Object.assign(Object.assign({}, this.config), { value: configValueMap });
|
19
36
|
this.valueChanged.emit((_b = this.config) === null || _b === void 0 ? void 0 : _b.value);
|
20
37
|
}
|
21
38
|
renderOptions() {
|
22
|
-
return this.optionsList.map(option => (h("ez-check", { label: option.label, onEzChange: (event) => this.handleToggleCheck(option, event.detail), value: !!this.isChecked(option.name) })));
|
39
|
+
return this.optionsList.map(option => (h("ez-check", { label: option.label, onEzChange: (event) => this.handleToggleCheck(option, event.detail), value: !!this.isChecked(option.name), enabled: this.config.enabled })));
|
23
40
|
}
|
24
41
|
isChecked(itemName) {
|
25
42
|
var _a;
|
@@ -37,7 +54,8 @@ export class SnkFilterCheckboxList {
|
|
37
54
|
if (!this.config || this.config.type !== FilterItemType.CHECK_BOX_LIST) {
|
38
55
|
return undefined;
|
39
56
|
}
|
40
|
-
return (h("div", { class: 'ez-flex ez-flex--column' }, this.renderOptions()
|
57
|
+
return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("div", { class: 'ez-flex ez-flex--column' }, this.renderOptions(), this.errorMessage &&
|
58
|
+
h("span", { class: 'ez-text ez-text--small ez-text--error ez-margin--small' }, this.errorMessage))));
|
41
59
|
}
|
42
60
|
static get is() { return "snk-filter-checkbox-list"; }
|
43
61
|
static get properties() {
|
@@ -61,6 +79,23 @@ export class SnkFilterCheckboxList {
|
|
61
79
|
"tags": [],
|
62
80
|
"text": "Define as configura\u00E7\u00F5es do componente snk-filter-multi-select"
|
63
81
|
}
|
82
|
+
},
|
83
|
+
"errorMessage": {
|
84
|
+
"type": "string",
|
85
|
+
"mutable": true,
|
86
|
+
"complexType": {
|
87
|
+
"original": "string",
|
88
|
+
"resolved": "string",
|
89
|
+
"references": {}
|
90
|
+
},
|
91
|
+
"required": false,
|
92
|
+
"optional": false,
|
93
|
+
"docs": {
|
94
|
+
"tags": [],
|
95
|
+
"text": "Usado para exibir mensagens de erro."
|
96
|
+
},
|
97
|
+
"attribute": "error-message",
|
98
|
+
"reflect": true
|
64
99
|
}
|
65
100
|
};
|
66
101
|
}
|
@@ -91,5 +126,41 @@ export class SnkFilterCheckboxList {
|
|
91
126
|
}
|
92
127
|
}];
|
93
128
|
}
|
129
|
+
static get methods() {
|
130
|
+
return {
|
131
|
+
"setFocus": {
|
132
|
+
"complexType": {
|
133
|
+
"signature": "() => Promise<void>",
|
134
|
+
"parameters": [],
|
135
|
+
"references": {
|
136
|
+
"Promise": {
|
137
|
+
"location": "global"
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"return": "Promise<void>"
|
141
|
+
},
|
142
|
+
"docs": {
|
143
|
+
"text": "Define o foco no componente snk-filter-checkbox-list.",
|
144
|
+
"tags": []
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"clearValue": {
|
148
|
+
"complexType": {
|
149
|
+
"signature": "() => Promise<void>",
|
150
|
+
"parameters": [],
|
151
|
+
"references": {
|
152
|
+
"Promise": {
|
153
|
+
"location": "global"
|
154
|
+
}
|
155
|
+
},
|
156
|
+
"return": "Promise<void>"
|
157
|
+
},
|
158
|
+
"docs": {
|
159
|
+
"text": "Limpa o valor do componente restaurando o valor original da configura\u00E7\u00E3o.",
|
160
|
+
"tags": []
|
161
|
+
}
|
162
|
+
}
|
163
|
+
};
|
164
|
+
}
|
94
165
|
static get elementRef() { return "_element"; }
|
95
166
|
}
|
package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js
CHANGED
@@ -5,21 +5,32 @@ export class SnkFilterMultiSelect {
|
|
5
5
|
constructor() {
|
6
6
|
this.value = undefined;
|
7
7
|
this.config = undefined;
|
8
|
+
this.errorMessage = undefined;
|
8
9
|
}
|
9
10
|
/**
|
10
11
|
* Emitido quando acontece a alteração de valor do componente snk-filter-multi-select
|
11
12
|
*/
|
12
13
|
ezChangeListener(evt) {
|
13
14
|
var _a;
|
15
|
+
this.errorMessage = undefined;
|
14
16
|
this.value = (_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value;
|
15
17
|
this.valueChanged.emit(this.value);
|
16
18
|
}
|
17
19
|
/**
|
18
|
-
*
|
20
|
+
* Define o foco no componente snk-filter-multi-select.
|
19
21
|
*/
|
20
|
-
async
|
22
|
+
async setFocus() {
|
21
23
|
this._comboElement.setFocus();
|
22
24
|
}
|
25
|
+
/**
|
26
|
+
* Limpa o valor do componente restaurando o valor original da configuração.
|
27
|
+
*/
|
28
|
+
async clearValue() {
|
29
|
+
this.value = this.config.value;
|
30
|
+
if (this._comboElement) {
|
31
|
+
this._comboElement.value = this.config.value;
|
32
|
+
}
|
33
|
+
}
|
23
34
|
componentDidLoad() {
|
24
35
|
if (this._element) {
|
25
36
|
ElementIDUtils.addIDInfo(this._element, 'filterContentEditor');
|
@@ -29,7 +40,9 @@ export class SnkFilterMultiSelect {
|
|
29
40
|
if (!this.config || this.config.type !== FilterItemType.MULTI_SELECT) {
|
30
41
|
return undefined;
|
31
42
|
}
|
32
|
-
return (h("ez-combo-box", { id: this.config.id, ref: ref => this._comboElement = ref, label: this.config.label, value: this.config.value, options: this.config.props.options
|
43
|
+
return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-combo-box", { id: this.config.id, ref: ref => this._comboElement = ref, label: this.config.label, value: this.config.value, options: this.config.props.options, enabled: this.config.enabled, errorMessage: this.errorMessage, onEzVisibilityChange: (event) => {
|
44
|
+
event.stopPropagation();
|
45
|
+
} })));
|
33
46
|
}
|
34
47
|
static get is() { return "snk-filter-multi-select"; }
|
35
48
|
static get properties() {
|
@@ -70,6 +83,23 @@ export class SnkFilterMultiSelect {
|
|
70
83
|
"tags": [],
|
71
84
|
"text": "Define as configura\u00E7\u00F5es do componente snk-filter-multi-select"
|
72
85
|
}
|
86
|
+
},
|
87
|
+
"errorMessage": {
|
88
|
+
"type": "string",
|
89
|
+
"mutable": true,
|
90
|
+
"complexType": {
|
91
|
+
"original": "string",
|
92
|
+
"resolved": "string",
|
93
|
+
"references": {}
|
94
|
+
},
|
95
|
+
"required": false,
|
96
|
+
"optional": false,
|
97
|
+
"docs": {
|
98
|
+
"tags": [],
|
99
|
+
"text": "Usado para exibir mensagens de erro."
|
100
|
+
},
|
101
|
+
"attribute": "error-message",
|
102
|
+
"reflect": true
|
73
103
|
}
|
74
104
|
};
|
75
105
|
}
|
@@ -93,7 +123,23 @@ export class SnkFilterMultiSelect {
|
|
93
123
|
}
|
94
124
|
static get methods() {
|
95
125
|
return {
|
96
|
-
"
|
126
|
+
"setFocus": {
|
127
|
+
"complexType": {
|
128
|
+
"signature": "() => Promise<void>",
|
129
|
+
"parameters": [],
|
130
|
+
"references": {
|
131
|
+
"Promise": {
|
132
|
+
"location": "global"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
"return": "Promise<void>"
|
136
|
+
},
|
137
|
+
"docs": {
|
138
|
+
"text": "Define o foco no componente snk-filter-multi-select.",
|
139
|
+
"tags": []
|
140
|
+
}
|
141
|
+
},
|
142
|
+
"clearValue": {
|
97
143
|
"complexType": {
|
98
144
|
"signature": "() => Promise<void>",
|
99
145
|
"parameters": [],
|
@@ -105,7 +151,7 @@ export class SnkFilterMultiSelect {
|
|
105
151
|
"return": "Promise<void>"
|
106
152
|
},
|
107
153
|
"docs": {
|
108
|
-
"text": "
|
154
|
+
"text": "Limpa o valor do componente restaurando o valor original da configura\u00E7\u00E3o.",
|
109
155
|
"tags": []
|
110
156
|
}
|
111
157
|
}
|