@milaboratories/uikit 2.3.5 → 2.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.
Files changed (49) hide show
  1. package/.turbo/turbo-build.log +24 -21
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +12 -0
  4. package/dist/assets/icons/icon-assets-min/24_arrow-left-curved.svg.js +5 -0
  5. package/dist/assets/icons/icon-assets-min/24_arrow-left-curved.svg.js.map +1 -0
  6. package/dist/assets/icons/icon-assets-min/24_cursor-pointer.svg.js +5 -0
  7. package/dist/assets/icons/icon-assets-min/24_cursor-pointer.svg.js.map +1 -0
  8. package/dist/assets/icons/icon-assets-min/24_pen-tool.svg.js +5 -0
  9. package/dist/assets/icons/icon-assets-min/24_pen-tool.svg.js.map +1 -0
  10. package/dist/base/BtnBase.vue.d.ts +1 -0
  11. package/dist/base/BtnBase.vue.d.ts.map +1 -1
  12. package/dist/base/BtnBase.vue.js +20 -18
  13. package/dist/base/BtnBase.vue.js.map +1 -1
  14. package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts +1 -0
  15. package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts.map +1 -1
  16. package/dist/components/PlBtnGhost/PlBtnGhost.vue.js +19 -17
  17. package/dist/components/PlBtnGhost/PlBtnGhost.vue.js.map +1 -1
  18. package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts.map +1 -1
  19. package/dist/components/PlFileDialog/PlFileDialog.vue.js +37 -35
  20. package/dist/components/PlFileDialog/PlFileDialog.vue.js.map +1 -1
  21. package/dist/components/PlIcon24/PlIcon24.vue.d.ts.map +1 -1
  22. package/dist/components/PlIcon24/PlIcon24.vue2.js.map +1 -1
  23. package/dist/components/PlIcon24/PlIcon24.vue3.js +5 -5
  24. package/dist/components/PlSvg/PlSvg.vue.d.ts.map +1 -1
  25. package/dist/components/PlSvg/PlSvg.vue2.js +1 -1
  26. package/dist/components/PlSvg/PlSvg.vue2.js.map +1 -1
  27. package/dist/components/PlSvg/PlSvg.vue3.js +2 -2
  28. package/dist/components/PlSvg/registry.d.ts.map +1 -1
  29. package/dist/components/PlSvg/registry.js +31 -23
  30. package/dist/components/PlSvg/registry.js.map +1 -1
  31. package/dist/generated/icons-24.d.ts +1 -1
  32. package/dist/generated/icons-24.d.ts.map +1 -1
  33. package/dist/generated/icons-24.js +3 -0
  34. package/dist/generated/icons-24.js.map +1 -1
  35. package/package.json +2 -2
  36. package/scripts/parse-icons.js +3 -5
  37. package/src/assets/icons/icon-assets/24_arrow-left-curved.svg +3 -0
  38. package/src/assets/icons/icon-assets/24_cursor-pointer.svg +3 -0
  39. package/src/assets/icons/icon-assets/24_pen-tool.svg +3 -0
  40. package/src/assets/icons/icon-assets-min/24_arrow-left-curved.svg +1 -0
  41. package/src/assets/icons/icon-assets-min/24_cursor-pointer.svg +1 -0
  42. package/src/assets/icons/icon-assets-min/24_pen-tool.svg +1 -0
  43. package/src/base/BtnBase.vue +4 -2
  44. package/src/components/PlBtnGhost/PlBtnGhost.vue +4 -2
  45. package/src/components/PlFileDialog/PlFileDialog.vue +1 -0
  46. package/src/components/PlIcon24/PlIcon24.vue +11 -0
  47. package/src/components/PlSvg/PlSvg.vue +4 -0
  48. package/src/components/PlSvg/registry.ts +23 -3
  49. package/src/generated/icons-24.ts +3 -0
@@ -1,33 +1,41 @@
1
- import { uniqueId as R } from "../../lib/util/helpers/dist/index.js";
2
- function x() {
1
+ import { uniqueId as b } from "../../lib/util/helpers/dist/index.js";
2
+ function E() {
3
3
  const e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
4
4
  return e.setAttribute("xmlns", "http://www.w3.org/2000/svg"), e.style.display = "none", document.body.prepend(e), e;
5
5
  }
6
6
  window.SvgRegistryRawSvgMap = window.SvgRegistryRawSvgMap ?? /* @__PURE__ */ new Map();
7
- window.SvgRegistryDefsElement = window.SvgRegistryDefsElement ?? x();
8
- const g = window.SvgRegistryRawSvgMap, p = window.SvgRegistryDefsElement;
9
- function b(e, d) {
10
- var l, r;
11
- if (!g.has(e)) {
12
- const c = `svg-${d ? `${d}-` : ""}${R(16)}`, v = (l = e.match(/width="(\d+)(px)?"/)) == null ? void 0 : l[1], w = (r = e.match(/height="(\d+)(px)?"/)) == null ? void 0 : r[1], t = e.match(/viewBox="[-+]?\d*\.?\d+(?:e[-+]?\d+)?"/), m = t == null ? void 0 : t[2], f = t == null ? void 0 : t[3];
13
- let s = Number(m ?? v ?? 16);
14
- s = isNaN(s) ? 16 : s;
15
- let i = Number(f ?? w ?? 16);
16
- i = isNaN(i) ? 16 : i;
17
- const $ = `0 0 ${s} ${i}`;
18
- let u = 0, S = 0;
19
- const y = e.replace(/^<svg[^>]*>/, `<svg id="${c}" viewBox="${$}">`).replace(/<\/svg>\s*$/, "</svg>").replace(/\bfill\s*=\s*(['"])(.*?)\1/gi, (M, n, o) => `fill=${n}var(--svg-fill-${u++}, ${o})${n}`).replace(/\bstroke\s*=\s*(['"])(.*?)\1/gi, (M, n, o) => `stroke=${n}var(--svg-stroke-${S++}, ${o})${n}`), a = document.createElement("template");
20
- a.innerHTML = y;
21
- const h = a.content.firstElementChild;
22
- h && p && p.appendChild(h), g.set(e, {
23
- spriteId: c,
24
- defaultWidth: s,
25
- defaultHeight: i
7
+ window.SvgRegistryDefsElement = window.SvgRegistryDefsElement ?? E();
8
+ const r = window.SvgRegistryRawSvgMap, $ = window.SvgRegistryDefsElement;
9
+ function k(e, c) {
10
+ var d, l;
11
+ if (!r.has(e)) {
12
+ const a = `svg-${c ? `${c}-` : ""}${b(16)}`, w = (d = e.match(/width="(\d+)(px)?"/)) == null ? void 0 : d[1], m = (l = e.match(/height="(\d+)(px)?"/)) == null ? void 0 : l[1], i = e.match(/viewBox="[-+]?\d*\.?\d+(?:e[-+]?\d+)?"/), f = i == null ? void 0 : i[2], S = i == null ? void 0 : i[3];
13
+ let n = Number(f ?? w ?? 16);
14
+ n = isNaN(n) ? 16 : n;
15
+ let g = Number(S ?? m ?? 16);
16
+ g = isNaN(g) ? 16 : g;
17
+ const u = `0 0 ${n} ${g}`, p = e.match(/^<svg([^>]*)>/i);
18
+ let o = p ? p[1] : "";
19
+ o = o.replace(/\s*id\s*=\s*(['"])[^'"]*\1/gi, "").replace(/\s*viewBox\s*=\s*(['"])[^'"]*\1/gi, "");
20
+ let M = 0, y = 0;
21
+ const R = e.replace(/^<svg[^>]*>/i, `<svg id="${a}" viewBox="${u}" ${o}>`).replace(/<\/svg>\s*$/, "</svg>").replace(
22
+ /\bfill\s*=\s*(['"])(.*?)\1/gi,
23
+ (x, t, s) => /^(none|transparent)$/i.test(s) ? `fill=${t}${s}${t}` : `fill=${t}var(--svg-fill-${M++}, ${s})${t}`
24
+ ).replace(
25
+ /\bstroke\s*=\s*(['"])(.*?)\1/gi,
26
+ (x, t, s) => /^(none|transparent)$/i.test(s) ? `stroke=${t}${s}${t}` : `stroke=${t}var(--svg-stroke-${y++}, ${s})${t}`
27
+ ), h = document.createElement("template");
28
+ h.innerHTML = R;
29
+ const v = h.content.firstElementChild;
30
+ v && $ && $.appendChild(v), r.set(e, {
31
+ spriteId: a,
32
+ defaultWidth: n,
33
+ defaultHeight: g
26
34
  });
27
35
  }
28
- return g.get(e);
36
+ return r.get(e);
29
37
  }
30
38
  export {
31
- b as registerSvg
39
+ k as registerSvg
32
40
  };
33
41
  //# sourceMappingURL=registry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sources":["../../../src/components/PlSvg/registry.ts"],"sourcesContent":["import { uniqueId } from '@milaboratories/helpers';\n\ndeclare global {\n interface Window {\n SvgRegistryRawSvgMap: Map<string, SvgMeta>;\n SvgRegistryDefsElement: SVGDefsElement;\n }\n}\n\nfunction createSpriteContainer() {\n const defsElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n defsElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n defsElement.style.display = 'none';\n document.body.prepend(defsElement);\n return defsElement;\n}\n\n// prevent multiple definitions of the same SVG registry in different builds\nwindow.SvgRegistryRawSvgMap = window.SvgRegistryRawSvgMap ?? new Map<string, SvgMeta>();\nwindow.SvgRegistryDefsElement = window.SvgRegistryDefsElement ?? createSpriteContainer();\n\nexport type SvgMeta = {\n spriteId: string;\n defaultWidth: number;\n defaultHeight: number;\n};\n\nconst registeredRaw = window.SvgRegistryRawSvgMap;\nconst defsElement = window.SvgRegistryDefsElement;\n\nexport function registerSvg(raw: string, name?: string): SvgMeta {\n if (!registeredRaw.has(raw)) {\n const id = `svg-${name ? `${name}-` : ''}${uniqueId(16)}`;\n\n const widthMatch = raw.match(/width=\"(\\d+)(px)?\"/)?.[1];\n const heightMatch = raw.match(/height=\"(\\d+)(px)?\"/)?.[1];\n const viewBoxParts = raw.match(/viewBox=\"[-+]?\\d*\\.?\\d+(?:e[-+]?\\d+)?\"/);\n const viewBoxWidthMatch = viewBoxParts?.[2];\n const viewBoxHeightMatch = viewBoxParts?.[3];\n let width = Number(viewBoxWidthMatch ?? widthMatch ?? 16);\n width = isNaN(width) ? 16 : width;\n let height = Number(viewBoxHeightMatch ?? heightMatch ?? 16);\n height = isNaN(height) ? 16 : height;\n const viewBox = `0 0 ${width} ${height}`;\n\n let fillIdx = 0;\n let strokeIdx = 0;\n const preparedSvg = raw\n .replace(/^<svg[^>]*>/, `<svg id=\"${id}\" viewBox=\"${viewBox}\">`)\n .replace(/<\\/svg>\\s*$/, '</svg>')\n .replace(/\\bfill\\s*=\\s*(['\"])(.*?)\\1/gi, (_, q, value) => `fill=${q}var(--svg-fill-${fillIdx++}, ${value})${q}`)\n .replace(/\\bstroke\\s*=\\s*(['\"])(.*?)\\1/gi, (_, q, value) => `stroke=${q}var(--svg-stroke-${strokeIdx++}, ${value})${q}`);\n\n const template = document.createElement('template');\n template.innerHTML = preparedSvg;\n\n const symbol = template.content.firstElementChild;\n if (symbol && defsElement) {\n defsElement.appendChild(symbol);\n }\n\n registeredRaw.set(raw, {\n spriteId: id,\n defaultWidth: width,\n defaultHeight: height,\n });\n }\n\n return registeredRaw.get(raw)!;\n}\n"],"names":["createSpriteContainer","defsElement","registeredRaw","registerSvg","raw","name","id","uniqueId","widthMatch","_a","heightMatch","_b","viewBoxParts","viewBoxWidthMatch","viewBoxHeightMatch","width","height","viewBox","fillIdx","strokeIdx","preparedSvg","_","q","value","template","symbol"],"mappings":";AASA,SAASA,IAAwB;AAC/B,QAAMC,IAAc,SAAS,gBAAgB,8BAA8B,KAAK;AAChFA,SAAAA,EAAY,aAAa,SAAS,4BAA4B,GAC9DA,EAAY,MAAM,UAAU,QACnB,SAAA,KAAK,QAAQA,CAAW,GAC1BA;AACT;AAGA,OAAO,uBAAuB,OAAO,wBAAwB,oBAAI,IAAqB;AACtF,OAAO,yBAAyB,OAAO,0BAA0BD,EAAsB;AAQvF,MAAME,IAAgB,OAAO,sBACvBD,IAAc,OAAO;AAEX,SAAAE,EAAYC,GAAaC,GAAwB;;AAC/D,MAAI,CAACH,EAAc,IAAIE,CAAG,GAAG;AACrB,UAAAE,IAAK,OAAOD,IAAO,GAAGA,CAAI,MAAM,EAAE,GAAGE,EAAS,EAAE,CAAC,IAEjDC,KAAaC,IAAAL,EAAI,MAAM,oBAAoB,MAA9B,gBAAAK,EAAkC,IAC/CC,KAAcC,IAAAP,EAAI,MAAM,qBAAqB,MAA/B,gBAAAO,EAAmC,IACjDC,IAAeR,EAAI,MAAM,wCAAwC,GACjES,IAAoBD,KAAA,gBAAAA,EAAe,IACnCE,IAAqBF,KAAA,gBAAAA,EAAe;AAC1C,QAAIG,IAAQ,OAAOF,KAAqBL,KAAc,EAAE;AAChD,IAAAO,IAAA,MAAMA,CAAK,IAAI,KAAKA;AAC5B,QAAIC,IAAS,OAAOF,KAAsBJ,KAAe,EAAE;AAClD,IAAAM,IAAA,MAAMA,CAAM,IAAI,KAAKA;AAC9B,UAAMC,IAAU,OAAOF,CAAK,IAAIC,CAAM;AAEtC,QAAIE,IAAU,GACVC,IAAY;AACV,UAAAC,IAAchB,EACjB,QAAQ,eAAe,YAAYE,CAAE,cAAcW,CAAO,IAAI,EAC9D,QAAQ,eAAe,QAAQ,EAC/B,QAAQ,gCAAgC,CAACI,GAAGC,GAAGC,MAAU,QAAQD,CAAC,kBAAkBJ,GAAS,KAAKK,CAAK,IAAID,CAAC,EAAE,EAC9G,QAAQ,kCAAkC,CAACD,GAAGC,GAAGC,MAAU,UAAUD,CAAC,oBAAoBH,GAAW,KAAKI,CAAK,IAAID,CAAC,EAAE,GAEnHE,IAAW,SAAS,cAAc,UAAU;AAClD,IAAAA,EAAS,YAAYJ;AAEf,UAAAK,IAASD,EAAS,QAAQ;AAChC,IAAIC,KAAUxB,KACZA,EAAY,YAAYwB,CAAM,GAGhCvB,EAAc,IAAIE,GAAK;AAAA,MACrB,UAAUE;AAAA,MACV,cAAcS;AAAA,MACd,eAAeC;AAAA,IAAA,CAChB;AAAA,EAAA;AAGI,SAAAd,EAAc,IAAIE,CAAG;AAC9B;"}
1
+ {"version":3,"file":"registry.js","sources":["../../../src/components/PlSvg/registry.ts"],"sourcesContent":["import { uniqueId } from '@milaboratories/helpers';\n\ndeclare global {\n interface Window {\n SvgRegistryRawSvgMap: Map<string, SvgMeta>;\n SvgRegistryDefsElement: SVGDefsElement;\n }\n}\n\nfunction createSpriteContainer() {\n const defsElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n defsElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n defsElement.style.display = 'none';\n document.body.prepend(defsElement);\n return defsElement;\n}\n\n// prevent multiple definitions of the same SVG registry in different builds\nwindow.SvgRegistryRawSvgMap = window.SvgRegistryRawSvgMap ?? new Map<string, SvgMeta>();\nwindow.SvgRegistryDefsElement = window.SvgRegistryDefsElement ?? createSpriteContainer();\n\nexport type SvgMeta = {\n spriteId: string;\n defaultWidth: number;\n defaultHeight: number;\n};\n\nconst registeredRaw = window.SvgRegistryRawSvgMap;\nconst defsElement = window.SvgRegistryDefsElement;\n\nexport function registerSvg(raw: string, name?: string): SvgMeta {\n if (!registeredRaw.has(raw)) {\n const id = `svg-${name ? `${name}-` : ''}${uniqueId(16)}`;\n\n const widthMatch = raw.match(/width=\"(\\d+)(px)?\"/)?.[1];\n const heightMatch = raw.match(/height=\"(\\d+)(px)?\"/)?.[1];\n const viewBoxParts = raw.match(/viewBox=\"[-+]?\\d*\\.?\\d+(?:e[-+]?\\d+)?\"/);\n const viewBoxWidthMatch = viewBoxParts?.[2];\n const viewBoxHeightMatch = viewBoxParts?.[3];\n let width = Number(viewBoxWidthMatch ?? widthMatch ?? 16);\n width = isNaN(width) ? 16 : width;\n let height = Number(viewBoxHeightMatch ?? heightMatch ?? 16);\n height = isNaN(height) ? 16 : height;\n const viewBox = `0 0 ${width} ${height}`;\n\n // Parse the original SVG tag and preserve all its attributes except id and viewBox\n const svgTagMatch = raw.match(/^<svg([^>]*)>/i);\n let svgAttributes = svgTagMatch ? svgTagMatch[1] : '';\n // Remove any existing id or viewBox attributes\n svgAttributes = svgAttributes\n .replace(/\\s*id\\s*=\\s*(['\"])[^'\"]*\\1/gi, '')\n .replace(/\\s*viewBox\\s*=\\s*(['\"])[^'\"]*\\1/gi, '');\n\n let fillIdx = 0;\n let strokeIdx = 0;\n const preparedSvg = raw\n .replace(/^<svg[^>]*>/i, `<svg id=\"${id}\" viewBox=\"${viewBox}\" ${svgAttributes}>`)\n .replace(/<\\/svg>\\s*$/, '</svg>')\n .replace(\n /\\bfill\\s*=\\s*(['\"])(.*?)\\1/gi,\n (_, q, value) =>\n /^(none|transparent)$/i.test(value)\n ? `fill=${q}${value}${q}`\n : `fill=${q}var(--svg-fill-${fillIdx++}, ${value})${q}`,\n )\n .replace(\n /\\bstroke\\s*=\\s*(['\"])(.*?)\\1/gi,\n (_, q, value) =>\n /^(none|transparent)$/i.test(value)\n ? `stroke=${q}${value}${q}`\n : `stroke=${q}var(--svg-stroke-${strokeIdx++}, ${value})${q}`,\n );\n\n const template = document.createElement('template');\n template.innerHTML = preparedSvg;\n\n const symbol = template.content.firstElementChild;\n if (symbol && defsElement) {\n defsElement.appendChild(symbol);\n }\n\n registeredRaw.set(raw, {\n spriteId: id,\n defaultWidth: width,\n defaultHeight: height,\n });\n }\n\n return registeredRaw.get(raw)!;\n}\n"],"names":["createSpriteContainer","defsElement","registeredRaw","registerSvg","raw","name","id","uniqueId","widthMatch","_a","heightMatch","_b","viewBoxParts","viewBoxWidthMatch","viewBoxHeightMatch","width","height","viewBox","svgTagMatch","svgAttributes","fillIdx","strokeIdx","preparedSvg","_","q","value","template","symbol"],"mappings":";AASA,SAASA,IAAwB;AAC/B,QAAMC,IAAc,SAAS,gBAAgB,8BAA8B,KAAK;AAChFA,SAAAA,EAAY,aAAa,SAAS,4BAA4B,GAC9DA,EAAY,MAAM,UAAU,QACnB,SAAA,KAAK,QAAQA,CAAW,GAC1BA;AACT;AAGA,OAAO,uBAAuB,OAAO,wBAAwB,oBAAI,IAAqB;AACtF,OAAO,yBAAyB,OAAO,0BAA0BD,EAAsB;AAQvF,MAAME,IAAgB,OAAO,sBACvBD,IAAc,OAAO;AAEX,SAAAE,EAAYC,GAAaC,GAAwB;;AAC/D,MAAI,CAACH,EAAc,IAAIE,CAAG,GAAG;AACrB,UAAAE,IAAK,OAAOD,IAAO,GAAGA,CAAI,MAAM,EAAE,GAAGE,EAAS,EAAE,CAAC,IAEjDC,KAAaC,IAAAL,EAAI,MAAM,oBAAoB,MAA9B,gBAAAK,EAAkC,IAC/CC,KAAcC,IAAAP,EAAI,MAAM,qBAAqB,MAA/B,gBAAAO,EAAmC,IACjDC,IAAeR,EAAI,MAAM,wCAAwC,GACjES,IAAoBD,KAAA,gBAAAA,EAAe,IACnCE,IAAqBF,KAAA,gBAAAA,EAAe;AAC1C,QAAIG,IAAQ,OAAOF,KAAqBL,KAAc,EAAE;AAChD,IAAAO,IAAA,MAAMA,CAAK,IAAI,KAAKA;AAC5B,QAAIC,IAAS,OAAOF,KAAsBJ,KAAe,EAAE;AAClD,IAAAM,IAAA,MAAMA,CAAM,IAAI,KAAKA;AAC9B,UAAMC,IAAU,OAAOF,CAAK,IAAIC,CAAM,IAGhCE,IAAcd,EAAI,MAAM,gBAAgB;AAC9C,QAAIe,IAAgBD,IAAcA,EAAY,CAAC,IAAI;AAEnD,IAAAC,IAAgBA,EACb,QAAQ,gCAAgC,EAAE,EAC1C,QAAQ,qCAAqC,EAAE;AAElD,QAAIC,IAAU,GACVC,IAAY;AAChB,UAAMC,IAAclB,EACjB,QAAQ,gBAAgB,YAAYE,CAAE,cAAcW,CAAO,KAAKE,CAAa,GAAG,EAChF,QAAQ,eAAe,QAAQ,EAC/B;AAAA,MACC;AAAA,MACA,CAACI,GAAGC,GAAGC,MACL,wBAAwB,KAAKA,CAAK,IAC9B,QAAQD,CAAC,GAAGC,CAAK,GAAGD,CAAC,KACrB,QAAQA,CAAC,kBAAkBJ,GAAS,KAAKK,CAAK,IAAID,CAAC;AAAA,IAAA,EAE1D;AAAA,MACC;AAAA,MACA,CAACD,GAAGC,GAAGC,MACL,wBAAwB,KAAKA,CAAK,IAC9B,UAAUD,CAAC,GAAGC,CAAK,GAAGD,CAAC,KACvB,UAAUA,CAAC,oBAAoBH,GAAW,KAAKI,CAAK,IAAID,CAAC;AAAA,IACjE,GAEIE,IAAW,SAAS,cAAc,UAAU;AAClD,IAAAA,EAAS,YAAYJ;AAEf,UAAAK,IAASD,EAAS,QAAQ;AAChC,IAAIC,KAAU1B,KACZA,EAAY,YAAY0B,CAAM,GAGhCzB,EAAc,IAAIE,GAAK;AAAA,MACrB,UAAUE;AAAA,MACV,cAAcS;AAAA,MACd,eAAeC;AAAA,IAAA,CAChB;AAAA,EAAA;AAGI,SAAAd,EAAc,IAAIE,CAAG;AAC9B;"}
@@ -1,2 +1,2 @@
1
- export declare const icons24: readonly ["add-layer", "add", "align-center", "align-left", "align-right", "annotate", "annotation", "area", "arrow-down", "arrow-left", "arrow-link", "arrow-right", "arrow-up", "axes", "bar-cross", "bar-error", "bar-stacked", "bar-trend", "bar", "bindot", "box", "boxplot-binned", "boxplot-jitter", "boxplot-notched", "boxplot", "bubble", "calendar", "canvas", "cell-type-num", "cell-type-subset", "cell-type-txt", "checkbox-checked", "checkbox-intermediate", "checkbox", "checkmark", "chevron-down", "chevron-first", "chevron-last", "chevron-left", "chevron-right", "chevron-sort", "chevron-up", "clipboard-copied", "clipboard", "close", "cloud-download", "cloud-offline", "cloud-online", "cloud-upload", "cluster", "code", "color-fill", "color-none", "color-stroke", "color", "columns", "connected-points", "container", "cookie", "copy", "cpu", "data-dimentions", "debug", "delete-bin", "delete-circle", "delete-clear", "dendrogram-X-line", "dendrogram-X", "dendrogram-Y-line", "dendrogram-Y", "dna-add", "dna-import", "dna", "download", "drag-dots", "drag-horizontal", "drag-vertical", "duplicate", "edit", "error-bar", "error", "expand-left", "expand-right", "export", "file-doc-add", "file-doc-download", "file-doc-import", "file-doc", "filter-on", "filter", "fire-tips", "folder-parent", "frame-type-all", "frame-type-bottom", "frame-type-left-bottom", "frame-type-left", "frame-type-none", "generate", "graph", "heatmap", "help-outline", "help", "info-outline", "info", "jitter", "jump-link", "lasso", "layers", "learn", "legend-box-dot", "legend-box", "legend", "line-binned", "line-error", "line-jitter", "line", "linetype-dashed", "linetype-dotdash", "linetype-dotted", "linetype-longdash", "linetype-solid", "linetype-twodash", "link-disabled", "link", "loading", "lock", "maximize", "menu", "minimize", "minus", "monetization-off", "monetization-on", "monetization", "more", "paper-clip", "pause", "pin", "play", "position-bottom-annotation", "position-bottom", "position-left-annotation", "position-left", "position-right-annotation", "position-right", "position-top-annotation", "position-top", "product", "progress", "publications", "radio-button-checked", "radio-button", "renew", "restart", "reverse", "rotation-0", "rotation-45", "rotation-90", "search", "server-on", "server", "settings", "sina", "skatterplot", "slice", "social-github", "social-linkedin", "social-twitter-X", "social-twitter-bird", "social-youtube", "sort-list-down", "sort-list-up", "sort", "statistics", "stop", "strip-plot", "success", "table-add", "table-alias", "table-import", "table", "template", "terminal", "text-align-center", "text-align-left", "text-align-right", "theme-dark", "theme-light", "time", "tune", "venn", "view-hide", "view-show", "violin-binned", "violin-jitter", "violin", "warning", "wetlab", "windows-collapse", "windows-expand", "x-axis", "y-axis", "zip", "zoom-in", "zoom-out"];
1
+ export declare const icons24: readonly ["add-layer", "add", "align-center", "align-left", "align-right", "annotate", "annotation", "area", "arrow-down", "arrow-left-curved", "arrow-left", "arrow-link", "arrow-right", "arrow-up", "axes", "bar-cross", "bar-error", "bar-stacked", "bar-trend", "bar", "bindot", "box", "boxplot-binned", "boxplot-jitter", "boxplot-notched", "boxplot", "bubble", "calendar", "canvas", "cell-type-num", "cell-type-subset", "cell-type-txt", "checkbox-checked", "checkbox-intermediate", "checkbox", "checkmark", "chevron-down", "chevron-first", "chevron-last", "chevron-left", "chevron-right", "chevron-sort", "chevron-up", "clipboard-copied", "clipboard", "close", "cloud-download", "cloud-offline", "cloud-online", "cloud-upload", "cluster", "code", "color-fill", "color-none", "color-stroke", "color", "columns", "connected-points", "container", "cookie", "copy", "cpu", "cursor-pointer", "data-dimentions", "debug", "delete-bin", "delete-circle", "delete-clear", "dendrogram-X-line", "dendrogram-X", "dendrogram-Y-line", "dendrogram-Y", "dna-add", "dna-import", "dna", "download", "drag-dots", "drag-horizontal", "drag-vertical", "duplicate", "edit", "error-bar", "error", "expand-left", "expand-right", "export", "file-doc-add", "file-doc-download", "file-doc-import", "file-doc", "filter-on", "filter", "fire-tips", "folder-parent", "frame-type-all", "frame-type-bottom", "frame-type-left-bottom", "frame-type-left", "frame-type-none", "generate", "graph", "heatmap", "help-outline", "help", "info-outline", "info", "jitter", "jump-link", "lasso", "layers", "learn", "legend-box-dot", "legend-box", "legend", "line-binned", "line-error", "line-jitter", "line", "linetype-dashed", "linetype-dotdash", "linetype-dotted", "linetype-longdash", "linetype-solid", "linetype-twodash", "link-disabled", "link", "loading", "lock", "maximize", "menu", "minimize", "minus", "monetization-off", "monetization-on", "monetization", "more", "paper-clip", "pause", "pen-tool", "pin", "play", "position-bottom-annotation", "position-bottom", "position-left-annotation", "position-left", "position-right-annotation", "position-right", "position-top-annotation", "position-top", "product", "progress", "publications", "radio-button-checked", "radio-button", "renew", "restart", "reverse", "rotation-0", "rotation-45", "rotation-90", "search", "server-on", "server", "settings", "sina", "skatterplot", "slice", "social-github", "social-linkedin", "social-twitter-X", "social-twitter-bird", "social-youtube", "sort-list-down", "sort-list-up", "sort", "statistics", "stop", "strip-plot", "success", "table-add", "table-alias", "table-import", "table", "template", "terminal", "text-align-center", "text-align-left", "text-align-right", "theme-dark", "theme-light", "time", "tune", "venn", "view-hide", "view-show", "violin-binned", "violin-jitter", "violin", "warning", "wetlab", "windows-collapse", "windows-expand", "x-axis", "y-axis", "zip", "zoom-in", "zoom-out"];
2
2
  //# sourceMappingURL=icons-24.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons-24.d.ts","sourceRoot":"","sources":["../../src/generated/icons-24.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,i1FA6MV,CAAC"}
1
+ {"version":3,"file":"icons-24.d.ts","sourceRoot":"","sources":["../../src/generated/icons-24.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,o4FAgNV,CAAC"}
@@ -8,6 +8,7 @@ const e = [
8
8
  "annotation",
9
9
  "area",
10
10
  "arrow-down",
11
+ "arrow-left-curved",
11
12
  "arrow-left",
12
13
  "arrow-link",
13
14
  "arrow-right",
@@ -60,6 +61,7 @@ const e = [
60
61
  "cookie",
61
62
  "copy",
62
63
  "cpu",
64
+ "cursor-pointer",
63
65
  "data-dimentions",
64
66
  "debug",
65
67
  "delete-bin",
@@ -135,6 +137,7 @@ const e = [
135
137
  "more",
136
138
  "paper-clip",
137
139
  "pause",
140
+ "pen-tool",
138
141
  "pin",
139
142
  "play",
140
143
  "position-bottom-annotation",
@@ -1 +1 @@
1
- {"version":3,"file":"icons-24.js","sources":["../../src/generated/icons-24.ts"],"sourcesContent":["export const icons24 = [\n 'add-layer',\n 'add',\n 'align-center',\n 'align-left',\n 'align-right',\n 'annotate',\n 'annotation',\n 'area',\n 'arrow-down',\n 'arrow-left',\n 'arrow-link',\n 'arrow-right',\n 'arrow-up',\n 'axes',\n 'bar-cross',\n 'bar-error',\n 'bar-stacked',\n 'bar-trend',\n 'bar',\n 'bindot',\n 'box',\n 'boxplot-binned',\n 'boxplot-jitter',\n 'boxplot-notched',\n 'boxplot',\n 'bubble',\n 'calendar',\n 'canvas',\n 'cell-type-num',\n 'cell-type-subset',\n 'cell-type-txt',\n 'checkbox-checked',\n 'checkbox-intermediate',\n 'checkbox',\n 'checkmark',\n 'chevron-down',\n 'chevron-first',\n 'chevron-last',\n 'chevron-left',\n 'chevron-right',\n 'chevron-sort',\n 'chevron-up',\n 'clipboard-copied',\n 'clipboard',\n 'close',\n 'cloud-download',\n 'cloud-offline',\n 'cloud-online',\n 'cloud-upload',\n 'cluster',\n 'code',\n 'color-fill',\n 'color-none',\n 'color-stroke',\n 'color',\n 'columns',\n 'connected-points',\n 'container',\n 'cookie',\n 'copy',\n 'cpu',\n 'data-dimentions',\n 'debug',\n 'delete-bin',\n 'delete-circle',\n 'delete-clear',\n 'dendrogram-X-line',\n 'dendrogram-X',\n 'dendrogram-Y-line',\n 'dendrogram-Y',\n 'dna-add',\n 'dna-import',\n 'dna',\n 'download',\n 'drag-dots',\n 'drag-horizontal',\n 'drag-vertical',\n 'duplicate',\n 'edit',\n 'error-bar',\n 'error',\n 'expand-left',\n 'expand-right',\n 'export',\n 'file-doc-add',\n 'file-doc-download',\n 'file-doc-import',\n 'file-doc',\n 'filter-on',\n 'filter',\n 'fire-tips',\n 'folder-parent',\n 'frame-type-all',\n 'frame-type-bottom',\n 'frame-type-left-bottom',\n 'frame-type-left',\n 'frame-type-none',\n 'generate',\n 'graph',\n 'heatmap',\n 'help-outline',\n 'help',\n 'info-outline',\n 'info',\n 'jitter',\n 'jump-link',\n 'lasso',\n 'layers',\n 'learn',\n 'legend-box-dot',\n 'legend-box',\n 'legend',\n 'line-binned',\n 'line-error',\n 'line-jitter',\n 'line',\n 'linetype-dashed',\n 'linetype-dotdash',\n 'linetype-dotted',\n 'linetype-longdash',\n 'linetype-solid',\n 'linetype-twodash',\n 'link-disabled',\n 'link',\n 'loading',\n 'lock',\n 'maximize',\n 'menu',\n 'minimize',\n 'minus',\n 'monetization-off',\n 'monetization-on',\n 'monetization',\n 'more',\n 'paper-clip',\n 'pause',\n 'pin',\n 'play',\n 'position-bottom-annotation',\n 'position-bottom',\n 'position-left-annotation',\n 'position-left',\n 'position-right-annotation',\n 'position-right',\n 'position-top-annotation',\n 'position-top',\n 'product',\n 'progress',\n 'publications',\n 'radio-button-checked',\n 'radio-button',\n 'renew',\n 'restart',\n 'reverse',\n 'rotation-0',\n 'rotation-45',\n 'rotation-90',\n 'search',\n 'server-on',\n 'server',\n 'settings',\n 'sina',\n 'skatterplot',\n 'slice',\n 'social-github',\n 'social-linkedin',\n 'social-twitter-X',\n 'social-twitter-bird',\n 'social-youtube',\n 'sort-list-down',\n 'sort-list-up',\n 'sort',\n 'statistics',\n 'stop',\n 'strip-plot',\n 'success',\n 'table-add',\n 'table-alias',\n 'table-import',\n 'table',\n 'template',\n 'terminal',\n 'text-align-center',\n 'text-align-left',\n 'text-align-right',\n 'theme-dark',\n 'theme-light',\n 'time',\n 'tune',\n 'venn',\n 'view-hide',\n 'view-show',\n 'violin-binned',\n 'violin-jitter',\n 'violin',\n 'warning',\n 'wetlab',\n 'windows-collapse',\n 'windows-expand',\n 'x-axis',\n 'y-axis',\n 'zip',\n 'zoom-in',\n 'zoom-out',\n] as const;\n"],"names":["icons24"],"mappings":"AAAO,MAAMA,IAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
1
+ {"version":3,"file":"icons-24.js","sources":["../../src/generated/icons-24.ts"],"sourcesContent":["export const icons24 = [\n 'add-layer',\n 'add',\n 'align-center',\n 'align-left',\n 'align-right',\n 'annotate',\n 'annotation',\n 'area',\n 'arrow-down',\n 'arrow-left-curved',\n 'arrow-left',\n 'arrow-link',\n 'arrow-right',\n 'arrow-up',\n 'axes',\n 'bar-cross',\n 'bar-error',\n 'bar-stacked',\n 'bar-trend',\n 'bar',\n 'bindot',\n 'box',\n 'boxplot-binned',\n 'boxplot-jitter',\n 'boxplot-notched',\n 'boxplot',\n 'bubble',\n 'calendar',\n 'canvas',\n 'cell-type-num',\n 'cell-type-subset',\n 'cell-type-txt',\n 'checkbox-checked',\n 'checkbox-intermediate',\n 'checkbox',\n 'checkmark',\n 'chevron-down',\n 'chevron-first',\n 'chevron-last',\n 'chevron-left',\n 'chevron-right',\n 'chevron-sort',\n 'chevron-up',\n 'clipboard-copied',\n 'clipboard',\n 'close',\n 'cloud-download',\n 'cloud-offline',\n 'cloud-online',\n 'cloud-upload',\n 'cluster',\n 'code',\n 'color-fill',\n 'color-none',\n 'color-stroke',\n 'color',\n 'columns',\n 'connected-points',\n 'container',\n 'cookie',\n 'copy',\n 'cpu',\n 'cursor-pointer',\n 'data-dimentions',\n 'debug',\n 'delete-bin',\n 'delete-circle',\n 'delete-clear',\n 'dendrogram-X-line',\n 'dendrogram-X',\n 'dendrogram-Y-line',\n 'dendrogram-Y',\n 'dna-add',\n 'dna-import',\n 'dna',\n 'download',\n 'drag-dots',\n 'drag-horizontal',\n 'drag-vertical',\n 'duplicate',\n 'edit',\n 'error-bar',\n 'error',\n 'expand-left',\n 'expand-right',\n 'export',\n 'file-doc-add',\n 'file-doc-download',\n 'file-doc-import',\n 'file-doc',\n 'filter-on',\n 'filter',\n 'fire-tips',\n 'folder-parent',\n 'frame-type-all',\n 'frame-type-bottom',\n 'frame-type-left-bottom',\n 'frame-type-left',\n 'frame-type-none',\n 'generate',\n 'graph',\n 'heatmap',\n 'help-outline',\n 'help',\n 'info-outline',\n 'info',\n 'jitter',\n 'jump-link',\n 'lasso',\n 'layers',\n 'learn',\n 'legend-box-dot',\n 'legend-box',\n 'legend',\n 'line-binned',\n 'line-error',\n 'line-jitter',\n 'line',\n 'linetype-dashed',\n 'linetype-dotdash',\n 'linetype-dotted',\n 'linetype-longdash',\n 'linetype-solid',\n 'linetype-twodash',\n 'link-disabled',\n 'link',\n 'loading',\n 'lock',\n 'maximize',\n 'menu',\n 'minimize',\n 'minus',\n 'monetization-off',\n 'monetization-on',\n 'monetization',\n 'more',\n 'paper-clip',\n 'pause',\n 'pen-tool',\n 'pin',\n 'play',\n 'position-bottom-annotation',\n 'position-bottom',\n 'position-left-annotation',\n 'position-left',\n 'position-right-annotation',\n 'position-right',\n 'position-top-annotation',\n 'position-top',\n 'product',\n 'progress',\n 'publications',\n 'radio-button-checked',\n 'radio-button',\n 'renew',\n 'restart',\n 'reverse',\n 'rotation-0',\n 'rotation-45',\n 'rotation-90',\n 'search',\n 'server-on',\n 'server',\n 'settings',\n 'sina',\n 'skatterplot',\n 'slice',\n 'social-github',\n 'social-linkedin',\n 'social-twitter-X',\n 'social-twitter-bird',\n 'social-youtube',\n 'sort-list-down',\n 'sort-list-up',\n 'sort',\n 'statistics',\n 'stop',\n 'strip-plot',\n 'success',\n 'table-add',\n 'table-alias',\n 'table-import',\n 'table',\n 'template',\n 'terminal',\n 'text-align-center',\n 'text-align-left',\n 'text-align-right',\n 'theme-dark',\n 'theme-light',\n 'time',\n 'tune',\n 'venn',\n 'view-hide',\n 'view-show',\n 'violin-binned',\n 'violin-jitter',\n 'violin',\n 'warning',\n 'wetlab',\n 'windows-collapse',\n 'windows-expand',\n 'x-axis',\n 'y-axis',\n 'zip',\n 'zoom-in',\n 'zoom-out',\n] as const;\n"],"names":["icons24"],"mappings":"AAAO,MAAMA,IAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/uikit",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -34,8 +34,8 @@
34
34
  "vue-tsc": "^2.2.10",
35
35
  "yarpm": "^1.2.0",
36
36
  "svgo": "^3.3.2",
37
- "@milaboratories/build-configs": "1.0.4",
38
37
  "@milaboratories/ts-configs": "1.0.4",
38
+ "@milaboratories/build-configs": "1.0.4",
39
39
  "@milaboratories/eslint-config": "^1.0.4"
40
40
  },
41
41
  "scripts": {
@@ -46,11 +46,9 @@ async function generateIconsArtifacts() {
46
46
  dict[size].push({ name: icon, svg });
47
47
  }
48
48
 
49
- for (const [size] of Object.entries(dict)) {
50
- const json = {};
51
-
52
- const names = Object.keys(json)
53
- .map((k) => ` '${k}'`)
49
+ for (const [size, objs] of Object.entries(dict)) {
50
+ const names = objs
51
+ .map(({name}) => ` '${name.substring(0, name.length - 4)}'`)
54
52
  .join(',\n');
55
53
 
56
54
  await fp.writeFile(`./src/generated/icons-${size}.ts`, `export const icons${size} = [\n${names},\n] as const;\n`);
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.47461 5.46973C8.76746 5.17688 9.24225 5.17696 9.53516 5.46973C9.82793 5.76264 9.82801 6.23743 9.53516 6.53028L6.8252 9.24024H15C17.6261 9.24025 19.7548 11.3691 19.7549 13.9951C19.7548 16.6212 17.6261 18.75 15 18.75H13.4951C13.081 18.75 12.7452 18.4141 12.7451 18C12.7453 17.586 13.081 17.25 13.4951 17.25H15C16.7976 17.25 18.2548 15.7928 18.2549 13.9951C18.2548 12.1975 16.7977 10.7403 15 10.7402H6.80566L9.53516 13.4697L9.58691 13.5264C9.82721 13.821 9.80975 14.2557 9.53516 14.5303C9.24229 14.823 8.76745 14.823 8.47461 14.5303L4.47461 10.5303C4.47302 10.5287 4.47223 10.5261 4.4707 10.5244C4.33218 10.3884 4.24517 10.1997 4.24512 9.99024C4.24517 9.73126 4.3765 9.50289 4.57617 9.36817L8.47461 5.46973Z" fill="#110529"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0108 10.1802C21.2108 10.6602 21.1208 12.4002 19.8708 12.7602L13.5608 14.5702L10.6808 20.4602C10.1008 21.6202 8.38082 21.4102 8.11082 20.1402L5.17082 6.44016C4.93082 5.36016 6.00082 4.47016 7.02082 4.88016L19.9908 10.1402L20.0108 10.1802Z" stroke="#110529" fill="none" stroke-width="1.5"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.0156 9.96273C12.6057 9.96275 13.1629 10.2123 13.5928 10.6541L13.7686 10.8553L13.7695 10.8563L16.8174 14.7235C17.2304 15.2438 17.5726 15.8355 17.5098 16.5155C17.4471 17.1916 17.006 17.7224 16.4883 18.1815L15.0859 19.4364L15.4004 20.8241L15.4023 20.8309C15.5422 21.4769 15.3714 22.1055 14.9482 22.5643C14.5326 23.0148 13.9253 23.2498 13.2695 23.2498H13.2666L10.7461 23.2391V23.2381C9.49154 23.2363 8.30397 22.1755 8.61816 20.8114L8.93652 19.4129L7.54199 18.1707V18.1698C7.00174 17.7212 6.55884 17.1916 6.50488 16.5067C6.45147 15.8257 6.80347 15.2295 7.21289 14.7137H7.21387L10.2617 10.8553C10.7094 10.2888 11.3411 9.96273 12.0156 9.96273ZM10.0811 21.1463L10.0801 21.1483C10.0526 21.268 10.0834 21.3969 10.1943 21.5164C10.3086 21.6394 10.5023 21.739 10.749 21.7391H10.752L13.2695 21.7489C13.5731 21.7488 13.7563 21.6444 13.8457 21.5477C13.9264 21.4602 13.9746 21.3351 13.9375 21.1551L13.6602 19.9295H10.3574L10.0811 21.1463ZM12.7598 13.6502C12.7594 14.0642 12.4238 14.4002 12.0098 14.4002C11.5959 14.4001 11.2601 14.0641 11.2598 13.6502V12.0116L8.38867 15.6453L8.3877 15.6463C8.02735 16.1003 7.99439 16.3056 8.00098 16.3895C8.00605 16.4513 8.04715 16.6076 8.36328 16.8973L8.5166 17.0311L8.53906 17.0496L10.0898 18.4295H13.9629L15.4902 17.0614L15.4932 17.0594C15.9442 16.6595 16.0088 16.4593 16.0166 16.3778C16.0238 16.3004 16.0003 16.1056 15.6436 15.6561L15.6416 15.6541L12.7598 11.9969V13.6502ZM10.6201 1.37972C11.383 0.616962 12.618 0.616871 13.3809 1.37972L14.1602 2.15999C14.8805 2.88057 14.9189 4.01103 14.2783 4.77718L18.6875 9.18636C18.9214 9.08554 19.1791 9.03011 19.4502 9.03011C19.5195 9.03013 19.5857 9.04277 19.6494 9.06038H20.5498C21.624 9.06038 22.5 9.93636 22.5 11.0106V12.1004C22.4996 13.1743 21.6238 14.0496 20.5498 14.0496H19.4502C18.3681 14.0496 17.5003 13.1556 17.5 12.0897V10.9901C17.5 10.7341 17.5506 10.4877 17.6416 10.2616L13.2148 5.8348C12.5159 6.39275 11.5264 6.40145 10.8184 5.86019C10.8055 5.85382 10.7938 5.84476 10.7812 5.83773L6.35742 10.2616C6.44856 10.4878 6.49999 10.7339 6.5 10.9901V12.0897C6.49974 13.1556 5.63192 14.0496 4.5498 14.0496H3.4502C2.37624 14.0496 1.50043 13.1743 1.5 12.1004V11.0106C1.5 9.93636 2.37598 9.06038 3.4502 9.06038H4.35059C4.41429 9.04277 4.4805 9.03013 4.5498 9.03011C4.82056 9.03011 5.07783 9.08576 5.31152 9.18636L9.71191 4.78597C9.08194 4.02002 9.12286 2.88987 9.83691 2.17269L10.6162 1.38265L10.6201 1.37972ZM4.5498 10.5604H3.4502C3.20441 10.5604 3 10.7648 3 11.0106V12.1004C3.00043 12.3459 3.20467 12.5496 3.4502 12.5496H4.5498C4.78739 12.5496 4.99974 12.3434 5 12.0897V10.9901C4.99998 10.7799 4.85384 10.6045 4.66895 10.5496C4.63018 10.5558 4.59032 10.5604 4.5498 10.5604ZM19.3301 10.5496C19.1456 10.6048 19 10.7803 19 10.9901V12.0897C19.0003 12.3434 19.2126 12.5496 19.4502 12.5496H20.5498C20.7953 12.5496 20.9996 12.3459 21 12.1004V11.0106C21 10.7648 20.7956 10.5604 20.5498 10.5604H19.4502C19.4094 10.5604 19.3692 10.5559 19.3301 10.5496ZM12.3193 2.44027C12.1423 2.26342 11.8577 2.26337 11.6807 2.44027L10.9033 3.22737L10.9004 3.2303C10.7455 3.38536 10.7264 3.62305 10.8428 3.79866L10.9004 3.86995L10.9033 3.87288L11.5508 4.52913C11.5965 4.55816 11.6413 4.59039 11.6807 4.62972C11.8577 4.80631 12.1423 4.8063 12.3193 4.62972L13.0996 3.84945C13.2766 3.67243 13.2764 3.39765 13.0996 3.22054L12.3193 2.44027Z" fill="#110529"/>
3
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#110529" d="M8.475 5.47a.75.75 0 0 1 1.06 1.06l-2.71 2.71H15a4.755 4.755 0 0 1 0 9.51h-1.505a.75.75 0 0 1 0-1.5H15a3.255 3.255 0 0 0 0-6.51H6.806l2.73 2.73.05.056a.75.75 0 0 1-1.111 1.004l-4-4q-.003-.002-.004-.006a.747.747 0 0 1 .105-1.156z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#110529" stroke-width="1.5" d="M20.01 10.18c1.2.48 1.11 2.22-.14 2.58l-6.31 1.81-2.88 5.89c-.58 1.16-2.3.95-2.57-.32L5.17 6.44C4.93 5.36 6 4.47 7.02 4.88l12.97 5.26z" clip-rule="evenodd"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#110529" d="M12.016 9.963c.59 0 1.147.25 1.577.691l.176.201v.001l3.048 3.867c.413.52.756 1.112.693 1.792-.063.677-.504 1.207-1.022 1.666l-1.402 1.255.314 1.388.002.007c.14.646-.03 1.274-.454 1.733-.415.45-1.023.686-1.678.686h-.003l-2.52-.01v-.002c-1.255-.002-2.443-1.062-2.129-2.427l.319-1.398-1.395-1.242v-.001c-.54-.449-.983-.978-1.037-1.663-.054-.681.298-1.278.708-1.793l3.049-3.859c.447-.566 1.08-.892 1.754-.892M10.08 21.146v.002c-.028.12.002.249.113.368a.75.75 0 0 0 .555.223h.003l2.518.01c.303 0 .486-.105.576-.201.08-.088.129-.213.091-.393l-.277-1.226h-3.303zm2.679-7.496a.75.75 0 0 1-1.5 0v-1.638l-2.871 3.633-.001.001c-.36.454-.394.66-.387.744.005.061.046.218.362.507l.154.134.022.019 1.55 1.38h3.874l1.527-1.369.003-.002c.451-.4.516-.6.524-.681.007-.078-.017-.272-.373-.722l-.002-.002-2.882-3.657zM10.62 1.38a1.95 1.95 0 0 1 2.76 0l.78.78c.72.72.759 1.851.118 2.617l4.41 4.41c.233-.101.491-.157.762-.157.07 0 .136.013.2.03h.9c1.074 0 1.95.876 1.95 1.95v1.09c0 1.074-.876 1.95-1.95 1.95h-1.1a1.963 1.963 0 0 1-1.95-1.96v-1.1c0-.256.05-.502.142-.728l-4.427-4.427a1.95 1.95 0 0 1-2.397.025l-.037-.022-4.424 4.424c.092.226.143.472.143.728v1.1c0 1.066-.868 1.96-1.95 1.96h-1.1A1.954 1.954 0 0 1 1.5 12.1v-1.09c0-1.074.876-1.95 1.95-1.95h.9a.8.8 0 0 1 .2-.03c.27 0 .528.056.762.156l4.4-4.4a1.95 1.95 0 0 1 .125-2.613l.78-.79zm-6.07 9.18h-1.1a.454.454 0 0 0-.45.45v1.09c0 .246.205.45.45.45h1.1c.237 0 .45-.207.45-.46v-1.1a.465.465 0 0 0-.331-.44 1 1 0 0 1-.12.01m14.78-.01a.465.465 0 0 0-.33.44v1.1c0 .253.213.46.45.46h1.1c.245 0 .45-.204.45-.45v-1.09a.454.454 0 0 0-.45-.45h-1.1a1 1 0 0 1-.12-.01m-7.01-8.11a.45.45 0 0 0-.64 0l-.777.787-.003.003a.45.45 0 0 0-.057.569l.057.07.003.004.648.656q.07.043.13.1a.45.45 0 0 0 .638 0l.78-.78a.44.44 0 0 0 0-.628z"/></svg>
@@ -39,7 +39,9 @@ useRipple(btn);
39
39
  <span v-if="!round">
40
40
  <slot />
41
41
  </span>
42
- <PlMaskIcon16 v-if="loading" name="loading" :size="size" />
43
- <PlMaskIcon16 v-else-if="icon" :name="icon" :size="size" />
42
+ <slot name="icon">
43
+ <PlMaskIcon16 v-if="loading" name="loading" :size="size" />
44
+ <PlMaskIcon16 v-else-if="icon" :name="icon" :size="size" />
45
+ </slot>
44
46
  </button>
45
47
  </template>
@@ -69,8 +69,10 @@ useRipple(btnRef);
69
69
  <span v-if="slots.default && !round">
70
70
  <slot />
71
71
  </span>
72
- <PlMaskIcon24 v-if="loading" name="loading" :size="size" />
73
- <PlMaskIcon24 v-else-if="icon" :name="icon" :size="size" />
72
+ <slot name="icon">
73
+ <PlMaskIcon24 v-if="loading" name="loading" :size="size" />
74
+ <PlMaskIcon24 v-else-if="icon" :name="icon" :size="size" />
75
+ </slot>
74
76
  <slot name="append" />
75
77
  </button>
76
78
  </template>
@@ -101,6 +101,7 @@ const importFiles = (importedFiles: ImportedFiles) => {
101
101
  width="688px"
102
102
  height="720px"
103
103
  @update:model-value="closeModal"
104
+ @click.stop
104
105
  >
105
106
  <template #title>{{ title ?? defaultTitle }}</template>
106
107
  <div style="margin: 0 24px">
@@ -37,6 +37,17 @@ const size = computed(() => {
37
37
  --svg-fill-0: var(--icon-color, var(--mask-icon-bg-color));
38
38
  --svg-fill-1: var(--icon-color, var(--mask-icon-bg-color));
39
39
  --svg-fill-2: var(--icon-color, var(--mask-icon-bg-color));
40
+ --svg-fill-3: var(--icon-color, var(--mask-icon-bg-color));
41
+ --svg-fill-4: var(--icon-color, var(--mask-icon-bg-color));
42
+ --svg-fill-5: var(--icon-color, var(--mask-icon-bg-color));
43
+ --svg-fill-6: var(--icon-color, var(--mask-icon-bg-color));
44
+ --svg-stroke-0: var(--icon-color, var(--mask-icon-bg-color));
45
+ --svg-stroke-1: var(--icon-color, var(--mask-icon-bg-color));
46
+ --svg-stroke-2: var(--icon-color, var(--mask-icon-bg-color));
47
+ --svg-stroke-3: var(--icon-color, var(--mask-icon-bg-color));
48
+ --svg-stroke-4: var(--icon-color, var(--mask-icon-bg-color));
49
+ --svg-stroke-5: var(--icon-color, var(--mask-icon-bg-color));
50
+ --svg-stroke-6: var(--icon-color, var(--mask-icon-bg-color));
40
51
  display: inline-block;
41
52
  }
42
53
  </style>
@@ -58,6 +58,10 @@ function getStyleColor(prop: 'fill' | 'stroke', color: undefined | string | stri
58
58
  --svg-fill-0: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
59
59
  --svg-fill-1: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
60
60
  --svg-fill-2: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
61
+ --svg-fill-3: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
62
+ --svg-fill-4: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
63
+ --svg-fill-5: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
64
+ --svg-fill-6: unset; /* can be in any quantity, depends on the icon (--svg-fill-X) */
61
65
  --svg-stroke-0: unset; /* can be in any quantity, depends on the icon (--svg-stroke-X) */
62
66
 
63
67
  width: var(--svg-width);
@@ -43,13 +43,33 @@ export function registerSvg(raw: string, name?: string): SvgMeta {
43
43
  height = isNaN(height) ? 16 : height;
44
44
  const viewBox = `0 0 ${width} ${height}`;
45
45
 
46
+ // Parse the original SVG tag and preserve all its attributes except id and viewBox
47
+ const svgTagMatch = raw.match(/^<svg([^>]*)>/i);
48
+ let svgAttributes = svgTagMatch ? svgTagMatch[1] : '';
49
+ // Remove any existing id or viewBox attributes
50
+ svgAttributes = svgAttributes
51
+ .replace(/\s*id\s*=\s*(['"])[^'"]*\1/gi, '')
52
+ .replace(/\s*viewBox\s*=\s*(['"])[^'"]*\1/gi, '');
53
+
46
54
  let fillIdx = 0;
47
55
  let strokeIdx = 0;
48
56
  const preparedSvg = raw
49
- .replace(/^<svg[^>]*>/, `<svg id="${id}" viewBox="${viewBox}">`)
57
+ .replace(/^<svg[^>]*>/i, `<svg id="${id}" viewBox="${viewBox}" ${svgAttributes}>`)
50
58
  .replace(/<\/svg>\s*$/, '</svg>')
51
- .replace(/\bfill\s*=\s*(['"])(.*?)\1/gi, (_, q, value) => `fill=${q}var(--svg-fill-${fillIdx++}, ${value})${q}`)
52
- .replace(/\bstroke\s*=\s*(['"])(.*?)\1/gi, (_, q, value) => `stroke=${q}var(--svg-stroke-${strokeIdx++}, ${value})${q}`);
59
+ .replace(
60
+ /\bfill\s*=\s*(['"])(.*?)\1/gi,
61
+ (_, q, value) =>
62
+ /^(none|transparent)$/i.test(value)
63
+ ? `fill=${q}${value}${q}`
64
+ : `fill=${q}var(--svg-fill-${fillIdx++}, ${value})${q}`,
65
+ )
66
+ .replace(
67
+ /\bstroke\s*=\s*(['"])(.*?)\1/gi,
68
+ (_, q, value) =>
69
+ /^(none|transparent)$/i.test(value)
70
+ ? `stroke=${q}${value}${q}`
71
+ : `stroke=${q}var(--svg-stroke-${strokeIdx++}, ${value})${q}`,
72
+ );
53
73
 
54
74
  const template = document.createElement('template');
55
75
  template.innerHTML = preparedSvg;
@@ -8,6 +8,7 @@ export const icons24 = [
8
8
  'annotation',
9
9
  'area',
10
10
  'arrow-down',
11
+ 'arrow-left-curved',
11
12
  'arrow-left',
12
13
  'arrow-link',
13
14
  'arrow-right',
@@ -60,6 +61,7 @@ export const icons24 = [
60
61
  'cookie',
61
62
  'copy',
62
63
  'cpu',
64
+ 'cursor-pointer',
63
65
  'data-dimentions',
64
66
  'debug',
65
67
  'delete-bin',
@@ -135,6 +137,7 @@ export const icons24 = [
135
137
  'more',
136
138
  'paper-clip',
137
139
  'pause',
140
+ 'pen-tool',
138
141
  'pin',
139
142
  'play',
140
143
  'position-bottom-annotation',