@luzmo/analytics-components-kit 1.0.1-alpha.50 → 1.0.1-alpha.51

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.
Files changed (31) hide show
  1. package/components/display-settings-numeric/helpers/constants.d.ts +1 -0
  2. package/components/display-settings-numeric/index.cjs +16 -10
  3. package/components/display-settings-numeric/index.js +52 -34
  4. package/components/draggable-data-item/draggable-data-item.d.ts +0 -1
  5. package/components/draggable-data-item/index.cjs +5 -8
  6. package/components/draggable-data-item/index.js +32 -38
  7. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +1 -1
  8. package/components/draggable-data-item-level/index.cjs +6 -6
  9. package/components/draggable-data-item-level/index.js +106 -113
  10. package/components/droppable-slot/droppable-slot.d.ts +4 -1
  11. package/components/droppable-slot/index.cjs +14 -12
  12. package/components/droppable-slot/index.js +138 -118
  13. package/components/filter-item/index.cjs +1 -1
  14. package/components/filter-item/index.js +1 -1
  15. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  16. package/components/filter-value-picker-hierarchy/index.js +1 -1
  17. package/components/filter-value-picker-numeric/index.cjs +1 -1
  18. package/components/filter-value-picker-numeric/index.js +1 -1
  19. package/components/{index-Delpl7qa.js → index-Cyo2hwg7.js} +1 -1
  20. package/components/{index-eBsINoH9.cjs → index-DpHum3lw.cjs} +1 -1
  21. package/components/slot-menu/index.cjs +11 -11
  22. package/components/slot-menu/index.js +165 -157
  23. package/components/slot-menu/slot-menu.d.ts +1 -1
  24. package/custom-elements.json +19 -42
  25. package/item-definitions/box-plot/box-plot-options.config.d.ts +1 -1
  26. package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
  27. package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +1 -1
  28. package/item-definitions/route-map/route-map-options.config.d.ts +1 -1
  29. package/item-definitions/spike-map/spike-map-options.config.d.ts +1 -1
  30. package/package.json +1 -1
  31. package/utils/data-broker/index.d.ts +1 -1
@@ -661,9 +661,9 @@
661
661
  "kind": "variable",
662
662
  "name": "NUMERIC_SEPARATOR_FORMATS",
663
663
  "type": {
664
- "text": "Record<\n NumericSeparatorFormatKeys,\n {\n auto: boolean;\n label: () => string;\n thousandSeparator?: ',' | '.';\n decimalSeparator?: ',' | '.';\n }\n>"
664
+ "text": "Record<\n NumericSeparatorFormatKeys,\n {\n auto: boolean;\n label: () => string;\n thousandSeparator?: ',' | '.';\n decimalSeparator?: ',' | '.';\n hiddenFor?: DisplayAsFormatLabel;\n }\n>"
665
665
  },
666
- "default": "{ Auto: { auto: true, label: () => msg('Auto', { desc: 'Automatic setting of the option' }) }, '1,000.00': { auto: false, label: () => '1,000.00', thousandSeparator: ',', decimalSeparator: '.' }, '1.000,00': { auto: false, label: () => '1.000,00', thousandSeparator: '.', decimalSeparator: ',' }, '1000.00': { auto: false, label: () => '1000.00', decimalSeparator: '.' }, '1000,00': { auto: false, label: () => '1000,00', decimalSeparator: ',' } }"
666
+ "default": "{ Auto: { auto: true, label: () => msg('Auto', { desc: 'Automatic setting of the option' }) }, '1,000.00': { auto: false, label: () => '1,000.00', thousandSeparator: ',', decimalSeparator: '.', hiddenFor: 'scientific' }, '1.000,00': { auto: false, label: () => '1.000,00', thousandSeparator: '.', decimalSeparator: ',', hiddenFor: 'scientific' }, '1000.00': { auto: false, label: () => '1000.00', decimalSeparator: '.' }, '1000,00': { auto: false, label: () => '1000,00', decimalSeparator: ',' } }"
667
667
  },
668
668
  {
669
669
  "kind": "variable",
@@ -935,15 +935,6 @@
935
935
  },
936
936
  "default": "{}",
937
937
  "attribute": "data"
938
- },
939
- {
940
- "kind": "field",
941
- "name": "linkedDatasetsIds",
942
- "type": {
943
- "text": "string[]"
944
- },
945
- "default": "[]",
946
- "attribute": "linked-datasets-ids"
947
938
  }
948
939
  ],
949
940
  "events": [
@@ -1022,14 +1013,6 @@
1022
1013
  "default": "{}",
1023
1014
  "fieldName": "data"
1024
1015
  },
1025
- {
1026
- "name": "linked-datasets-ids",
1027
- "type": {
1028
- "text": "string[]"
1029
- },
1030
- "default": "[]",
1031
- "fieldName": "linkedDatasetsIds"
1032
- },
1033
1016
  {
1034
1017
  "name": "size",
1035
1018
  "type": {
@@ -1149,16 +1132,6 @@
1149
1132
  },
1150
1133
  "default": "{}",
1151
1134
  "attribute": "data"
1152
- },
1153
- {
1154
- "kind": "field",
1155
- "name": "linkedDatasetsIds",
1156
- "type": {
1157
- "text": "string[]"
1158
- },
1159
- "default": "[]",
1160
- "attribute": "linked-datasets-ids",
1161
- "reflects": true
1162
1135
  }
1163
1136
  ],
1164
1137
  "events": [
@@ -1237,14 +1210,6 @@
1237
1210
  "default": "{}",
1238
1211
  "fieldName": "data"
1239
1212
  },
1240
- {
1241
- "name": "linked-datasets-ids",
1242
- "type": {
1243
- "text": "string[]"
1244
- },
1245
- "default": "[]",
1246
- "fieldName": "linkedDatasetsIds"
1247
- },
1248
1213
  {
1249
1214
  "name": "size",
1250
1215
  "type": {
@@ -1455,7 +1420,13 @@
1455
1420
  ],
1456
1421
  "events": [
1457
1422
  {
1458
- "name": "slot-menu-highlight-clear",
1423
+ "name": "slot-menu-inactive",
1424
+ "type": {
1425
+ "text": "CustomEvent"
1426
+ }
1427
+ },
1428
+ {
1429
+ "name": "slot-menu-active",
1459
1430
  "type": {
1460
1431
  "text": "CustomEvent"
1461
1432
  }
@@ -6972,7 +6943,7 @@
6972
6943
  "type": {
6973
6944
  "text": "string | undefined"
6974
6945
  },
6975
- "default": "'1a6069eb-9a30-424c-ad69-e0aa9e6bb8b6'",
6946
+ "default": "''",
6976
6947
  "description": "The auth key of the databroker",
6977
6948
  "attribute": "auth-key",
6978
6949
  "reflects": true
@@ -6983,7 +6954,7 @@
6983
6954
  "type": {
6984
6955
  "text": "string | undefined"
6985
6956
  },
6986
- "default": "'AGAjEOVhJPyemwt5QNx1rI6nxuOH9pwdtyeg0aGSKuWenPR8GYmC3g2yKiCIjuD8POQOrEMGLYNnZdYRHZFAMi7QOfGd6gpSgZEbLXyhW9ucYG0U9Mc0uUksxIelkVH5yUESO3c6bVCV7FMVNIo7GW'",
6957
+ "default": "''",
6987
6958
  "description": "The auth token of the databroker",
6988
6959
  "attribute": "auth-token",
6989
6960
  "reflects": true
@@ -7032,6 +7003,12 @@
7032
7003
  "text": "CustomEvent"
7033
7004
  },
7034
7005
  "description": "Emitted when the slot menu is closed"
7006
+ },
7007
+ {
7008
+ "name": "slot-menu-highlight",
7009
+ "type": {
7010
+ "text": "CustomEvent"
7011
+ }
7035
7012
  }
7036
7013
  ],
7037
7014
  "attributes": [
@@ -7145,7 +7122,7 @@
7145
7122
  "type": {
7146
7123
  "text": "string | undefined"
7147
7124
  },
7148
- "default": "'1a6069eb-9a30-424c-ad69-e0aa9e6bb8b6'",
7125
+ "default": "''",
7149
7126
  "description": "The auth key of the databroker",
7150
7127
  "fieldName": "authKey"
7151
7128
  },
@@ -7154,7 +7131,7 @@
7154
7131
  "type": {
7155
7132
  "text": "string | undefined"
7156
7133
  },
7157
- "default": "'AGAjEOVhJPyemwt5QNx1rI6nxuOH9pwdtyeg0aGSKuWenPR8GYmC3g2yKiCIjuD8POQOrEMGLYNnZdYRHZFAMi7QOfGd6gpSgZEbLXyhW9ucYG0U9Mc0uUksxIelkVH5yUESO3c6bVCV7FMVNIo7GW'",
7134
+ "default": "''",
7158
7135
  "description": "The auth token of the databroker",
7159
7136
  "fieldName": "authToken"
7160
7137
  },
@@ -190,7 +190,7 @@ declare const _default: ({
190
190
  label: string;
191
191
  default: string;
192
192
  enum: string[];
193
- calculateValue: ({ options }: any) => "manual" | "divergent" | "qualitative" | "sequential" | "heat";
193
+ calculateValue: ({ options }: any) => "divergent" | "qualitative" | "sequential" | "heat" | "manual";
194
194
  toOptions: ({ options, value }: any) => any;
195
195
  min?: undefined;
196
196
  max?: undefined;
@@ -154,7 +154,7 @@ declare const _default: ({
154
154
  label: string;
155
155
  default: string;
156
156
  enum: string[];
157
- calculateValue: ({ options }: any) => "manual" | "divergent" | "qualitative" | "sequential" | "heat";
157
+ calculateValue: ({ options }: any) => "divergent" | "qualitative" | "sequential" | "heat" | "manual";
158
158
  toOptions: ({ options, value }: any) => any;
159
159
  min?: undefined;
160
160
  max?: undefined;
@@ -176,7 +176,7 @@ declare const _default: ({
176
176
  label: string;
177
177
  default: string;
178
178
  enum: string[];
179
- calculateValue: ({ options }: any) => "manual" | "divergent" | "qualitative" | "sequential" | "heat";
179
+ calculateValue: ({ options }: any) => "divergent" | "qualitative" | "sequential" | "heat" | "manual";
180
180
  toOptions: ({ options, value }: any) => any;
181
181
  min?: undefined;
182
182
  max?: undefined;
@@ -190,7 +190,7 @@ declare const _default: ({
190
190
  label: string;
191
191
  default: string;
192
192
  enum: string[];
193
- calculateValue: ({ options }: any) => "manual" | "divergent" | "qualitative" | "sequential" | "heat";
193
+ calculateValue: ({ options }: any) => "divergent" | "qualitative" | "sequential" | "heat" | "manual";
194
194
  toOptions: ({ options, value }: any) => any;
195
195
  min?: undefined;
196
196
  max?: undefined;
@@ -171,7 +171,7 @@ declare const _default: ({
171
171
  label: string;
172
172
  default: string;
173
173
  enum: string[];
174
- calculateValue: ({ options }: any) => "manual" | "divergent" | "qualitative" | "sequential" | "heat";
174
+ calculateValue: ({ options }: any) => "divergent" | "qualitative" | "sequential" | "heat" | "manual";
175
175
  toOptions: ({ options, value }: any) => any;
176
176
  hideLabel?: undefined;
177
177
  editRangeSize?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/analytics-components-kit",
3
- "version": "1.0.1-alpha.50",
3
+ "version": "1.0.1-alpha.51",
4
4
  "type": "module",
5
5
  "main": "./components/index.js",
6
6
  "module": "./components/index.js",
@@ -182,7 +182,7 @@ export declare class DataBroker {
182
182
  name: string;
183
183
  columns: any[];
184
184
  }[];
185
- getLinkedDatasetIds(datasetId: string): string[];
185
+ getLinkedDatasetsIds(datasetId: string): string[];
186
186
  }
187
187
  export declare const dataBroker: DataBroker;
188
188
  export default DataBroker;