ids-enterprise-wc 1.15.9-patch.18 → 1.15.9-patch.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/chunks/{ids-chunk-J6OWJIUI-full.js → ids-chunk-EDQ2YH35-full.js} +3 -3
- package/chunks/{ids-chunk-GL7SUNG4-full.js → ids-chunk-OITRWBV5-full.js} +46 -8
- package/chunks/ids-chunk-OITRWBV5-full.js.map +7 -0
- package/chunks/{ids-chunk-6QLFPR6M-full.js → ids-chunk-YGNZM5DD-full.js} +1 -1
- package/chunks/{ids-chunk-6QLFPR6M-full.js.map → ids-chunk-YGNZM5DD-full.js.map} +2 -2
- package/components/ids-accordion/ids-accordion.css +141 -77
- package/components/ids-button/ids-button.css +392 -43
- package/components/ids-card/ids-card.css +344 -4
- package/components/ids-data-grid/ids-data-grid-column.d.ts +8 -0
- package/components/ids-data-grid/ids-data-grid-column.js +1 -1
- package/components/ids-data-grid/ids-data-grid-filters.js +1 -1
- package/components/ids-data-grid/ids-data-grid.js +3 -3
- package/components/ids-hierarchy/ids-hierarchy.css +117 -14
- package/components/ids-hyperlink/ids-hyperlink.css +188 -15
- package/components/ids-layout-flex/ids-layout-flex.css +69 -6
- package/components/ids-layout-grid/ids-layout-grid.css +10 -21300
- package/components/ids-menu/ids-menu.css +11 -7
- package/components/ids-modal/ids-modal.css +23 -94
- package/components/ids-pager/ids-pager.css +37 -3
- package/components/ids-upload-advanced/ids-upload-advanced.css +133 -103
- package/custom-elements.json +154 -154
- package/enterprise-wc.all.iife.js +45 -7
- package/enterprise-wc.all.iife.js.map +2 -2
- package/enterprise-wc.js +3 -3
- package/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/chunks/ids-chunk-GL7SUNG4-full.js.map +0 -7
- /package/chunks/{ids-chunk-J6OWJIUI-full.js.map → ids-chunk-EDQ2YH35-full.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -207,160 +207,6 @@
|
|
|
207
207
|
}
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
|
-
{
|
|
211
|
-
"kind": "javascript-module",
|
|
212
|
-
"path": "src/components/ids-action-sheet/ids-action-sheet.ts",
|
|
213
|
-
"declarations": [
|
|
214
|
-
{
|
|
215
|
-
"kind": "class",
|
|
216
|
-
"description": "IDS Action Sheet Component",
|
|
217
|
-
"name": "IdsActionSheet",
|
|
218
|
-
"members": [
|
|
219
|
-
{
|
|
220
|
-
"kind": "field",
|
|
221
|
-
"name": "overlay",
|
|
222
|
-
"type": {
|
|
223
|
-
"text": "IdsOverlay | null | undefined"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"kind": "field",
|
|
228
|
-
"name": "cancelBtn",
|
|
229
|
-
"type": {
|
|
230
|
-
"text": "IdsButton | null | undefined"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "field",
|
|
235
|
-
"name": "attributes",
|
|
236
|
-
"static": true,
|
|
237
|
-
"description": "Return the attributes we handle as getters/setters",
|
|
238
|
-
"return": {
|
|
239
|
-
"type": {
|
|
240
|
-
"text": "Array"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"readonly": true
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"kind": "method",
|
|
247
|
-
"name": "template",
|
|
248
|
-
"return": {
|
|
249
|
-
"type": {
|
|
250
|
-
"text": "string"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"description": "Inner template contents"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"kind": "field",
|
|
257
|
-
"name": "visible",
|
|
258
|
-
"description": "Set the visible attribute",
|
|
259
|
-
"parameters": [
|
|
260
|
-
{
|
|
261
|
-
"description": "true if the action sheet should appear",
|
|
262
|
-
"name": "val",
|
|
263
|
-
"type": {
|
|
264
|
-
"text": "boolean | string"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
"type": {
|
|
269
|
-
"text": "boolean"
|
|
270
|
-
},
|
|
271
|
-
"return": {
|
|
272
|
-
"type": {
|
|
273
|
-
"text": "boolean"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"kind": "field",
|
|
279
|
-
"name": "cancelBtnText",
|
|
280
|
-
"description": "Set the btn text attribute",
|
|
281
|
-
"parameters": [
|
|
282
|
-
{
|
|
283
|
-
"description": "the inner text of the cancel btn",
|
|
284
|
-
"name": "val",
|
|
285
|
-
"type": {
|
|
286
|
-
"text": "string"
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"type": {
|
|
291
|
-
"text": "string | null"
|
|
292
|
-
},
|
|
293
|
-
"return": {
|
|
294
|
-
"type": {
|
|
295
|
-
"text": "string"
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"kind": "method",
|
|
301
|
-
"name": "onOutsideClick",
|
|
302
|
-
"description": "Handle `onOutsideClick` on overlay"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"kind": "method",
|
|
306
|
-
"name": "onCancelClick",
|
|
307
|
-
"description": "Handle cancel btn click"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"kind": "method",
|
|
311
|
-
"name": "dismiss",
|
|
312
|
-
"description": "Remove the action sheet from the page"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"kind": "method",
|
|
316
|
-
"name": "#hideOnDesktop",
|
|
317
|
-
"privacy": "private",
|
|
318
|
-
"description": "Hide the action sheet on desktop devices"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"kind": "method",
|
|
322
|
-
"name": "#setVisibility",
|
|
323
|
-
"privacy": "private",
|
|
324
|
-
"parameters": [
|
|
325
|
-
{
|
|
326
|
-
"name": "mq",
|
|
327
|
-
"type": {
|
|
328
|
-
"text": "object"
|
|
329
|
-
},
|
|
330
|
-
"description": "the media query to check"
|
|
331
|
-
}
|
|
332
|
-
],
|
|
333
|
-
"description": "Set the action and overlay to hidden is media query is hit"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"kind": "method",
|
|
337
|
-
"name": "#attachEventHandlers",
|
|
338
|
-
"privacy": "private",
|
|
339
|
-
"description": "Sets up event listeners",
|
|
340
|
-
"return": {
|
|
341
|
-
"type": {
|
|
342
|
-
"text": "void"
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
],
|
|
347
|
-
"superclass": {
|
|
348
|
-
"name": "Base",
|
|
349
|
-
"module": "src/components/ids-action-sheet/ids-action-sheet.ts"
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"exports": [
|
|
354
|
-
{
|
|
355
|
-
"kind": "js",
|
|
356
|
-
"name": "default",
|
|
357
|
-
"declaration": {
|
|
358
|
-
"name": "IdsActionSheet",
|
|
359
|
-
"module": "src/components/ids-action-sheet/ids-action-sheet.ts"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
210
|
{
|
|
365
211
|
"kind": "javascript-module",
|
|
366
212
|
"path": "src/components/ids-accordion/ids-accordion-common.ts",
|
|
@@ -1862,6 +1708,160 @@
|
|
|
1862
1708
|
}
|
|
1863
1709
|
]
|
|
1864
1710
|
},
|
|
1711
|
+
{
|
|
1712
|
+
"kind": "javascript-module",
|
|
1713
|
+
"path": "src/components/ids-action-sheet/ids-action-sheet.ts",
|
|
1714
|
+
"declarations": [
|
|
1715
|
+
{
|
|
1716
|
+
"kind": "class",
|
|
1717
|
+
"description": "IDS Action Sheet Component",
|
|
1718
|
+
"name": "IdsActionSheet",
|
|
1719
|
+
"members": [
|
|
1720
|
+
{
|
|
1721
|
+
"kind": "field",
|
|
1722
|
+
"name": "overlay",
|
|
1723
|
+
"type": {
|
|
1724
|
+
"text": "IdsOverlay | null | undefined"
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "field",
|
|
1729
|
+
"name": "cancelBtn",
|
|
1730
|
+
"type": {
|
|
1731
|
+
"text": "IdsButton | null | undefined"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "field",
|
|
1736
|
+
"name": "attributes",
|
|
1737
|
+
"static": true,
|
|
1738
|
+
"description": "Return the attributes we handle as getters/setters",
|
|
1739
|
+
"return": {
|
|
1740
|
+
"type": {
|
|
1741
|
+
"text": "Array"
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
"readonly": true
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "method",
|
|
1748
|
+
"name": "template",
|
|
1749
|
+
"return": {
|
|
1750
|
+
"type": {
|
|
1751
|
+
"text": "string"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"description": "Inner template contents"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"kind": "field",
|
|
1758
|
+
"name": "visible",
|
|
1759
|
+
"description": "Set the visible attribute",
|
|
1760
|
+
"parameters": [
|
|
1761
|
+
{
|
|
1762
|
+
"description": "true if the action sheet should appear",
|
|
1763
|
+
"name": "val",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "boolean | string"
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
"type": {
|
|
1770
|
+
"text": "boolean"
|
|
1771
|
+
},
|
|
1772
|
+
"return": {
|
|
1773
|
+
"type": {
|
|
1774
|
+
"text": "boolean"
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "field",
|
|
1780
|
+
"name": "cancelBtnText",
|
|
1781
|
+
"description": "Set the btn text attribute",
|
|
1782
|
+
"parameters": [
|
|
1783
|
+
{
|
|
1784
|
+
"description": "the inner text of the cancel btn",
|
|
1785
|
+
"name": "val",
|
|
1786
|
+
"type": {
|
|
1787
|
+
"text": "string"
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "string | null"
|
|
1793
|
+
},
|
|
1794
|
+
"return": {
|
|
1795
|
+
"type": {
|
|
1796
|
+
"text": "string"
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"kind": "method",
|
|
1802
|
+
"name": "onOutsideClick",
|
|
1803
|
+
"description": "Handle `onOutsideClick` on overlay"
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"kind": "method",
|
|
1807
|
+
"name": "onCancelClick",
|
|
1808
|
+
"description": "Handle cancel btn click"
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"kind": "method",
|
|
1812
|
+
"name": "dismiss",
|
|
1813
|
+
"description": "Remove the action sheet from the page"
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"kind": "method",
|
|
1817
|
+
"name": "#hideOnDesktop",
|
|
1818
|
+
"privacy": "private",
|
|
1819
|
+
"description": "Hide the action sheet on desktop devices"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "method",
|
|
1823
|
+
"name": "#setVisibility",
|
|
1824
|
+
"privacy": "private",
|
|
1825
|
+
"parameters": [
|
|
1826
|
+
{
|
|
1827
|
+
"name": "mq",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "object"
|
|
1830
|
+
},
|
|
1831
|
+
"description": "the media query to check"
|
|
1832
|
+
}
|
|
1833
|
+
],
|
|
1834
|
+
"description": "Set the action and overlay to hidden is media query is hit"
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"kind": "method",
|
|
1838
|
+
"name": "#attachEventHandlers",
|
|
1839
|
+
"privacy": "private",
|
|
1840
|
+
"description": "Sets up event listeners",
|
|
1841
|
+
"return": {
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "void"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
],
|
|
1848
|
+
"superclass": {
|
|
1849
|
+
"name": "Base",
|
|
1850
|
+
"module": "src/components/ids-action-sheet/ids-action-sheet.ts"
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
],
|
|
1854
|
+
"exports": [
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "js",
|
|
1857
|
+
"name": "default",
|
|
1858
|
+
"declaration": {
|
|
1859
|
+
"name": "IdsActionSheet",
|
|
1860
|
+
"module": "src/components/ids-action-sheet/ids-action-sheet.ts"
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
1865
|
{
|
|
1866
1866
|
"kind": "javascript-module",
|
|
1867
1867
|
"path": "src/components/ids-alert/ids-alert.ts",
|
|
@@ -79501,8 +79501,23 @@ ids-trigger-button[slot=trigger-end] {
|
|
|
79501
79501
|
}
|
|
79502
79502
|
if (filterType === "decimal") {
|
|
79503
79503
|
value = formatterVal();
|
|
79504
|
-
|
|
79505
|
-
|
|
79504
|
+
const localeNumbers = this.root.localeAPI?.locale?.options?.numbers;
|
|
79505
|
+
const decimalChar = column.filterOptions?.decimal ?? localeNumbers?.decimal ?? ".";
|
|
79506
|
+
const localeGroup = localeNumbers?.group ?? ",";
|
|
79507
|
+
let resolvedGroup = localeGroup;
|
|
79508
|
+
if (localeGroup === decimalChar) {
|
|
79509
|
+
resolvedGroup = decimalChar === "," ? "." : ",";
|
|
79510
|
+
}
|
|
79511
|
+
const groupChar = column.filterOptions?.group ?? resolvedGroup;
|
|
79512
|
+
const parseDecimal = (v) => {
|
|
79513
|
+
if (!v) return NaN;
|
|
79514
|
+
const groupExp = groupChar === " " ? /\s/g : new RegExp(`\\${groupChar}`, "g");
|
|
79515
|
+
let num = v.replace(groupExp, "");
|
|
79516
|
+
num = num.replace(decimalChar, ".");
|
|
79517
|
+
return parseFloat(num);
|
|
79518
|
+
};
|
|
79519
|
+
value = parseDecimal(value);
|
|
79520
|
+
conditionValue = parseDecimal(conditionValue);
|
|
79506
79521
|
}
|
|
79507
79522
|
if (filterType === "date" || filterType === "time") {
|
|
79508
79523
|
if (/string|undefined/g.test(typeof value)) value = formatterVal();
|
|
@@ -79885,20 +79900,43 @@ ids-trigger-button[slot=trigger-end] {
|
|
|
79885
79900
|
dropdownList.refreshTriggerEvents();
|
|
79886
79901
|
}
|
|
79887
79902
|
if (type === "integer") {
|
|
79888
|
-
|
|
79889
|
-
|
|
79903
|
+
const opt = column?.filterOptions || {};
|
|
79904
|
+
const localeNumbers = this.root.localeAPI?.locale?.options?.numbers;
|
|
79905
|
+
const merged = {
|
|
79890
79906
|
allowDecimal: false,
|
|
79891
79907
|
allowNegative: true,
|
|
79892
79908
|
allowLeadingZeros: true,
|
|
79893
|
-
allowThousandsSeparator: false
|
|
79909
|
+
allowThousandsSeparator: false,
|
|
79910
|
+
...opt.maskOptions
|
|
79894
79911
|
};
|
|
79912
|
+
if (merged.allowThousandsSeparator && !opt.maskOptions?.symbols) {
|
|
79913
|
+
merged.symbols = { thousands: localeNumbers?.group ?? ",", negative: localeNumbers?.minusSign ?? "-" };
|
|
79914
|
+
}
|
|
79915
|
+
input.mask = opt.mask || "number";
|
|
79916
|
+
input.maskOptions = merged;
|
|
79895
79917
|
}
|
|
79896
79918
|
if (type === "decimal") {
|
|
79897
|
-
|
|
79919
|
+
const opt = column?.filterOptions || {};
|
|
79920
|
+
const localeNumbers = this.root.localeAPI?.locale?.options?.numbers;
|
|
79921
|
+
const decimalSym = opt.decimal ?? localeNumbers?.decimal ?? ".";
|
|
79922
|
+
const localeGroup = localeNumbers?.group ?? ",";
|
|
79923
|
+
let resolvedGroup = localeGroup;
|
|
79924
|
+
if (localeGroup === decimalSym) {
|
|
79925
|
+
resolvedGroup = decimalSym === "," ? "." : ",";
|
|
79926
|
+
}
|
|
79927
|
+
const groupSym = opt.group ?? resolvedGroup;
|
|
79928
|
+
const symbols = {
|
|
79929
|
+
decimal: decimalSym,
|
|
79930
|
+
negative: localeNumbers?.minusSign ?? "-",
|
|
79931
|
+
thousands: groupSym
|
|
79932
|
+
};
|
|
79933
|
+
input.mask = opt.mask || "number";
|
|
79898
79934
|
input.maskOptions = {
|
|
79899
79935
|
allowDecimal: true,
|
|
79900
79936
|
allowLeadingZeros: true,
|
|
79901
|
-
allowNegative: true
|
|
79937
|
+
allowNegative: true,
|
|
79938
|
+
symbols,
|
|
79939
|
+
...opt.maskOptions
|
|
79902
79940
|
};
|
|
79903
79941
|
}
|
|
79904
79942
|
});
|