@milaboratories/graph-maker 1.1.191 → 1.1.193

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 (53) hide show
  1. package/dist/constantsAesthetic.d.ts +0 -1
  2. package/dist/constantsAesthetic.js +16 -17
  3. package/dist/constantsAesthetic.js.map +1 -1
  4. package/dist/dataBindAes.d.ts +5 -5
  5. package/dist/dataBindAes.js +110 -110
  6. package/dist/dataBindAes.js.map +1 -1
  7. package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js +35 -35
  8. package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js.map +1 -1
  9. package/dist/forms/LayersForm/AesSelector.vue.js +59 -59
  10. package/dist/forms/LayersForm/AesSelector.vue.js.map +1 -1
  11. package/dist/forms/LayersForm/Layer/Bubble.vue.js +41 -41
  12. package/dist/forms/LayersForm/Layer/Bubble.vue.js.map +1 -1
  13. package/dist/forms/LayersForm/Layer/heatmap/Heatmap.vue.js +35 -35
  14. package/dist/forms/LayersForm/Layer/heatmap/Heatmap.vue.js.map +1 -1
  15. package/dist/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue.js +31 -31
  16. package/dist/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue.js.map +1 -1
  17. package/dist/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue.js +35 -35
  18. package/dist/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue.js.map +1 -1
  19. package/dist/icons/StackedAreaIcon.vue.js +1 -0
  20. package/dist/icons/StackedAreaIcon.vue.js.map +1 -1
  21. package/dist/index.vue.js +94 -90
  22. package/dist/index.vue.js.map +1 -1
  23. package/dist/store.d.ts +8 -3
  24. package/dist/store.js +129 -123
  25. package/dist/store.js.map +1 -1
  26. package/dist/types.d.ts +9 -0
  27. package/dist/utils/createChartSettingsForRender/composeBubbleSettings.d.ts +2 -2
  28. package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js +11 -11
  29. package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js.map +1 -1
  30. package/dist/utils/createChartSettingsForRender/composeChartSettings.d.ts +2 -2
  31. package/dist/utils/createChartSettingsForRender/composeChartSettings.js +28 -28
  32. package/dist/utils/createChartSettingsForRender/composeChartSettings.js.map +1 -1
  33. package/dist/utils/createChartSettingsForRender/composeDendroSettings.js +23 -20
  34. package/dist/utils/createChartSettingsForRender/composeDendroSettings.js.map +1 -1
  35. package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.d.ts +2 -2
  36. package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js +20 -18
  37. package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js.map +1 -1
  38. package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.d.ts +2 -2
  39. package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js +28 -28
  40. package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js.map +1 -1
  41. package/dist/utils/createChartSettingsForRender/composeHistogramSettings.d.ts +2 -2
  42. package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js +11 -10
  43. package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js.map +1 -1
  44. package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.d.ts +3 -3
  45. package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js +71 -68
  46. package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js.map +1 -1
  47. package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.d.ts +2 -2
  48. package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js +19 -18
  49. package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js.map +1 -1
  50. package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.d.ts +1 -1
  51. package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.js +37 -37
  52. package/dist/utils/createChartSettingsForRender/getLayersDataFromForms.js.map +1 -1
  53. package/package.json +1 -1
@@ -1,55 +1,55 @@
1
- import { defineComponent as g, computed as r, reactive as y, ref as f, createElementBlock as _, openBlock as s, Fragment as S, renderList as P, createElementVNode as C, createVNode as T, createBlock as k, createCommentVNode as B, toDisplayString as L, unref as x, withCtx as F } from "vue";
2
- import { useStore as N } from "../../../../store.js";
3
- import { DEFAULT_CATEGORICAL_PALETTE as $, DEFAULT_CONTINUOUS_PALETTE as I, PALETTE_MAP as O } from "../../../../constantsAesthetic.js";
4
- import { createContinuousMappingFromPalette as U } from "../../../../dataBindAes.js";
5
- import b from "../../../../components/MultiselectButton.vue.js";
6
- import D from "../../../../components/AesSettings/PalettesForm.vue.js";
7
- import G from "../../../../components/AesSettings/FormWrapper.vue.js";
8
- const V = { class: "section-title" }, q = /* @__PURE__ */ g({
1
+ import { defineComponent as k, computed as r, reactive as B, ref as f, createElementBlock as _, openBlock as s, Fragment as S, renderList as x, createElementVNode as g, createVNode as y, createBlock as A, createCommentVNode as $, toDisplayString as E, unref as T, withCtx as b } from "vue";
2
+ import { useStore as F } from "../../../../store.js";
3
+ import { PALETTE_MAP as N } from "../../../../constantsAesthetic.js";
4
+ import { createContinuousMappingFromPalette as V } from "../../../../dataBindAes.js";
5
+ import G from "../../../../components/MultiselectButton.vue.js";
6
+ import I from "../../../../components/AesSettings/PalettesForm.vue.js";
7
+ import L from "../../../../components/AesSettings/FormWrapper.vue.js";
8
+ const M = { class: "section-title" }, q = /* @__PURE__ */ k({
9
9
  __name: "HeatmapAnnotations",
10
- setup(M) {
11
- const o = N(), p = r(() => o.value.reactive.optionsState), A = r(
12
- () => o.value.inputGuide.value
10
+ setup(h) {
11
+ const a = F(), p = r(() => a.value.reactive.optionsState), C = r(
12
+ () => a.value.inputGuide.value
13
13
  ), i = r(() => {
14
14
  const n = p.value.components.annotationsX.selectorStates.map((t) => t.selectedSource), e = p.value.components.annotationsY.selectorStates.map((t) => t.selectedSource);
15
15
  return [...n, ...e];
16
- }), c = r(() => i.value.reduce((n, e) => (n[e] = A.value.getSourceInfo(e), n), {})), a = y(i.value.reduce((n, e) => {
16
+ }), u = r(() => i.value.reduce((n, e) => (n[e] = C.value.getSourceInfo(e), n), {})), o = B(i.value.reduce((n, e) => {
17
17
  var v, d;
18
- const u = ((v = c.value[e]) == null ? void 0 : v.type) === "String" ? $ : I;
19
- return n[e] = ((d = o.value.reactive.dataBindAes[e]) == null ? void 0 : d.palette) ?? u, n;
18
+ const c = ((v = u.value[e]) == null ? void 0 : v.type) === "String" ? a.value.defaultPalette.categorical : a.value.defaultPalette.continuous;
19
+ return n[e] = ((d = a.value.reactive.dataBindAes[e]) == null ? void 0 : d.palette) ?? c, n;
20
20
  }, {})), l = f(null), m = f(null);
21
- function E(n) {
21
+ function P(n) {
22
22
  const e = m.value;
23
- e && (a[e] = n, o.value.reactive.dataBindAes[e] = U(n)), l.value = e;
23
+ e && (o[e] = n, a.value.reactive.dataBindAes[e] = V(n)), l.value = e;
24
24
  }
25
- return (n, e) => (s(!0), _(S, null, P(i.value, (t) => (s(), _(S, { key: t }, [
26
- C("div", V, [
27
- C("span", null, L(c.value[t].label), 1)
25
+ return (n, e) => (s(!0), _(S, null, x(i.value, (t) => (s(), _(S, { key: t }, [
26
+ g("div", M, [
27
+ g("span", null, E(u.value[t].label), 1)
28
28
  ]),
29
- T(b, {
29
+ y(G, {
30
30
  label: "Color Palette ",
31
- title: x(O)[a[t]].title,
32
- palette: a[t],
31
+ title: T(N)[o[t]].title,
32
+ palette: o[t],
33
33
  style: { marginBottom: "24px" },
34
- onButtonClick: (u) => {
34
+ onButtonClick: (c) => {
35
35
  l.value = t, m.value = t;
36
36
  }
37
37
  }, null, 8, ["title", "palette", "onButtonClick"]),
38
- l.value === t ? (s(), k(G, {
38
+ l.value === t ? (s(), A(L, {
39
39
  key: 0,
40
40
  title: "Color Palette",
41
41
  "back-title": "Color mapping",
42
- "onForm:close": e[0] || (e[0] = (u) => l.value = null)
42
+ "onForm:close": e[0] || (e[0] = (c) => l.value = null)
43
43
  }, {
44
- default: F(() => [
45
- T(D, {
46
- selected: a[t],
47
- categorical: c.value[t].type === "String",
48
- onSelect: E
44
+ default: b(() => [
45
+ y(I, {
46
+ selected: o[t],
47
+ categorical: u.value[t].type === "String",
48
+ onSelect: P
49
49
  }, null, 8, ["selected", "categorical"])
50
50
  ]),
51
51
  _: 2
52
- }, 1024)) : B("", !0)
52
+ }, 1024)) : $("", !0)
53
53
  ], 64))), 128));
54
54
  }
55
55
  });
@@ -1 +1 @@
1
- {"version":3,"file":"HeatmapAnnotations.vue.js","sources":["../../../../../src/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport { computed, reactive, ref } from 'vue';\nimport {\n DEFAULT_CATEGORICAL_PALETTE,\n DEFAULT_CONTINUOUS_PALETTE,\n PALETTE_MAP,\n} from '../../../../constantsAesthetic';\nimport type { ContinuousPalette, Palette } from '../../../../components/AesSettings/types';\nimport { createContinuousMappingFromPalette } from '../../../../dataBindAes';\nimport MultiselectButton from '../../../../components/MultiselectButton.vue';\nimport PalettesForm from '../../../../components/AesSettings/PalettesForm.vue';\nimport FormWrapper from '../../../../components/AesSettings/FormWrapper.vue';\nimport type { AxisData, ColumnData, HeatmapUIState, InputGuide } from '@milaboratories/pf-plots';\n\nconst store = useStore();\nconst optionsState = computed(() => store.value.reactive.optionsState as HeatmapUIState);\nconst inputGuide = computed(\n () => store.value.inputGuide.value as InputGuide<HeatmapUIState>,\n);\n\nconst annotationSources = computed(() => {\n const x = optionsState.value.components.annotationsX.selectorStates.map((s) => s.selectedSource);\n const y = optionsState.value.components.annotationsY.selectorStates.map((s) => s.selectedSource);\n return [...x, ...y];\n});\n\nconst annotationsInfo = computed(() => annotationSources.value.reduce((res: Record<string, AxisData | ColumnData>, source) => {\n res[source] = inputGuide.value.getSourceInfo(source);\n return res;\n}, {}));\n\nconst palettes = reactive(annotationSources.value.reduce((res: Record<string, Palette>, source) => {\n const valueType = annotationsInfo.value[source]?.type;\n const defaultPalette = valueType === 'String' ? DEFAULT_CATEGORICAL_PALETTE : DEFAULT_CONTINUOUS_PALETTE;\n res[source] = store.value.reactive.dataBindAes[source]?.palette ?? defaultPalette;\n return res;\n}, {}));\n\nconst palettesOpen = ref<string | null>(null);\nconst currentSource = ref<string | null>(null); // use the same palette form for all the annotations; current is last clicked\nfunction onPaletteSelect(value: Palette) {\n const source = currentSource.value;\n if (source) {\n palettes[source] = value;\n // TODO: categorical mapping, detailed continuous mapping (with range), log continuous mapping\n store.value.reactive.dataBindAes[source] = createContinuousMappingFromPalette(value as ContinuousPalette);\n }\n palettesOpen.value = source;\n}\n</script>\n\n<template>\n <template v-for=\"source of annotationSources\" :key=\"source\">\n <div class=\"section-title\"><span>{{ annotationsInfo[source].label }}</span></div>\n <MultiselectButton\n label=\"Color Palette \"\n :title=\"PALETTE_MAP[palettes[source]].title\"\n :palette=\"palettes[source]\"\n :style=\"{marginBottom:'24px'}\"\n @button-click=\"palettesOpen = source; currentSource = source;\"\n />\n <FormWrapper\n v-if=\"palettesOpen === source\"\n title=\"Color Palette\"\n back-title=\"Color mapping\"\n @form:close=\"palettesOpen = null\"\n >\n <PalettesForm\n :selected=\"palettes[source]\" :categorical=\"annotationsInfo[source].type === 'String'\"\n @select=\"onPaletteSelect\"\n />\n </FormWrapper>\n </template>\n</template>\n"],"names":["store","useStore","optionsState","computed","inputGuide","annotationSources","x","s","y","annotationsInfo","res","source","palettes","reactive","defaultPalette","_a","DEFAULT_CATEGORICAL_PALETTE","DEFAULT_CONTINUOUS_PALETTE","_b","palettesOpen","ref","currentSource","onPaletteSelect","value","createContinuousMappingFromPalette","_createElementBlock","_Fragment","_renderList","_createElementVNode","_hoisted_1","_toDisplayString","_createVNode","MultiselectButton","_unref","PALETTE_MAP","_createBlock","FormWrapper","PalettesForm"],"mappings":";;;;;;;;;;AAeA,UAAMA,IAAQC,EAAA,GACRC,IAAeC,EAAS,MAAMH,EAAM,MAAM,SAAS,YAA8B,GACjFI,IAAaD;AAAA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AAAA,QALA,OAAM;AAAA,QACL,OAAOC,EAAAC,CAAA,EAAYtB,EAASD,CAAM,GAAG;AAAA,QACrC,SAASC,EAASD,CAAM;AAAA,QACxB,OAAO,EAAA,cAAA,OAAA;AAAA,QACP;AAAc,UAAAQ,EAAA,QAAeR,GAAQU,EAAA,QAAgBV;AAAA,QAAM;AAAA,MAAA;MAGtDQ,EAAA,UAAiBR,UADzBwB,EAUcC,GAAA;AAAA;QARZ,OAAM;AAAA,QACN,cAAW;AAAA,QACV,uCAAYjB,EAAA,QAAY;AAAA,MAAA;mBAEzB,MAGE;AAAA,UAHFY,EAGEM,GAAA;AAAA,YAFC,UAAUzB,EAASD,CAAM;AAAA,YAAI,aAAaF,EAAA,MAAgBE,CAAM,EAAE,SAAI;AAAA,YACtE,UAAQW;AAAA,UAAA;;;;;;;"}
1
+ {"version":3,"file":"HeatmapAnnotations.vue.js","sources":["../../../../../src/forms/LayersForm/Layer/heatmap/HeatmapAnnotations.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport { computed, reactive, ref } from 'vue';\nimport { PALETTE_MAP } from '../../../../constantsAesthetic';\nimport type { ContinuousPalette, Palette } from '../../../../components/AesSettings/types';\nimport { createContinuousMappingFromPalette } from '../../../../dataBindAes';\nimport MultiselectButton from '../../../../components/MultiselectButton.vue';\nimport PalettesForm from '../../../../components/AesSettings/PalettesForm.vue';\nimport FormWrapper from '../../../../components/AesSettings/FormWrapper.vue';\nimport type { AxisData, ColumnData, HeatmapUIState, InputGuide } from '@milaboratories/pf-plots';\n\nconst store = useStore();\nconst optionsState = computed(() => store.value.reactive.optionsState as HeatmapUIState);\nconst inputGuide = computed(\n () => store.value.inputGuide.value as InputGuide<HeatmapUIState>,\n);\n\nconst annotationSources = computed(() => {\n const x = optionsState.value.components.annotationsX.selectorStates.map((s) => s.selectedSource);\n const y = optionsState.value.components.annotationsY.selectorStates.map((s) => s.selectedSource);\n return [...x, ...y];\n});\n\nconst annotationsInfo = computed(() => annotationSources.value.reduce((res: Record<string, AxisData | ColumnData>, source) => {\n res[source] = inputGuide.value.getSourceInfo(source);\n return res;\n}, {}));\n\nconst palettes = reactive(annotationSources.value.reduce((res: Record<string, Palette>, source) => {\n const valueType = annotationsInfo.value[source]?.type;\n const defaultPalette = valueType === 'String' ? store.value.defaultPalette.categorical : store.value.defaultPalette.continuous;\n res[source] = store.value.reactive.dataBindAes[source]?.palette ?? defaultPalette;\n return res;\n}, {}));\n\nconst palettesOpen = ref<string | null>(null);\nconst currentSource = ref<string | null>(null); // use the same palette form for all the annotations; current is last clicked\nfunction onPaletteSelect(value: Palette) {\n const source = currentSource.value;\n if (source) {\n palettes[source] = value;\n // TODO: categorical mapping, detailed continuous mapping (with range), log continuous mapping\n store.value.reactive.dataBindAes[source] = createContinuousMappingFromPalette(value as ContinuousPalette);\n }\n palettesOpen.value = source;\n}\n</script>\n\n<template>\n <template v-for=\"source of annotationSources\" :key=\"source\">\n <div class=\"section-title\"><span>{{ annotationsInfo[source].label }}</span></div>\n <MultiselectButton\n label=\"Color Palette \"\n :title=\"PALETTE_MAP[palettes[source]].title\"\n :palette=\"palettes[source]\"\n :style=\"{marginBottom:'24px'}\"\n @button-click=\"palettesOpen = source; currentSource = source;\"\n />\n <FormWrapper\n v-if=\"palettesOpen === source\"\n title=\"Color Palette\"\n back-title=\"Color mapping\"\n @form:close=\"palettesOpen = null\"\n >\n <PalettesForm\n :selected=\"palettes[source]\" :categorical=\"annotationsInfo[source].type === 'String'\"\n @select=\"onPaletteSelect\"\n />\n </FormWrapper>\n </template>\n</template>\n"],"names":["store","useStore","optionsState","computed","inputGuide","annotationSources","x","s","y","annotationsInfo","res","source","palettes","reactive","defaultPalette","_a","_b","palettesOpen","ref","currentSource","onPaletteSelect","value","createContinuousMappingFromPalette","_createElementBlock","_Fragment","_renderList","_createElementVNode","_hoisted_1","_toDisplayString","_createVNode","MultiselectButton","_unref","PALETTE_MAP","_createBlock","FormWrapper","PalettesForm"],"mapp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AiF,OAAjFC,GAAiF;AAAA,QAAtDD,EAAgD,QAAA,MAAAE,EAAvCnB,EAAA,MAAgBE,CAAM,EAAE,KAAK,GAAA,CAAA;AAAA,MAAA;MACjEkB,EAMEC,GAAA;AAAA,QALA,OAAM;AAAA,QACL,OAAOC,EAAAC,CAAA,EAAYpB,EAASD,CAAM,GAAG;AAAA,QACrC,SAASC,EAASD,CAAM;AAAA,QACxB,OAAO,EAAA,cAAA,OAAA;AAAA,QACP;AAAc,UAAAM,EAAA,QAAeN,GAAQQ,EAAA,QAAgBR;AAAA,QAAM;AAAA,MAAA;MAGtDM,EAAA,UAAiBN,UADzBsB,EAUcC,GAAA;AAAA;QARZ,OAAM;AAAA,QACN,cAAW;AAAA,QACV,uCAAYjB,EAAA,QAAY;AAAA,MAAA;mBAEzB,MAGE;AAAA,UAHFY,EAGEM,GAAA;AAAA,YAFC,UAAUvB,EAASD,CAAM;AAAA,YAAI,aAAaF,EAAA,MAAgBE,CAAM,EAAE,SAAI;AAAA,YACtE,UAAQS;AAAA,UAAA;;;;;;;"}
@@ -1,32 +1,32 @@
1
- import { defineComponent as O, computed as r, ref as p, createElementBlock as A, openBlock as g, Fragment as T, createVNode as o, createBlock as B, createCommentVNode as N, createElementVNode as t, unref as u, withCtx as E } from "vue";
2
- import { useStore as I } from "../../../../store.js";
3
- import { PlCheckbox as i, PlBtnGroup as V, PlNumberField as P } from "@platforma-sdk/ui-vue";
4
- import { DEFAULT_CONTINUOUS_PALETTE as X, PALETTE_MAP as Y } from "../../../../constantsAesthetic.js";
5
- import { createContinuousMappingFromPalette as D } from "../../../../dataBindAes.js";
1
+ import { defineComponent as O, computed as r, ref as p, createElementBlock as A, openBlock as g, Fragment as P, createVNode as o, createBlock as U, createCommentVNode as c, createElementVNode as t, unref as u, withCtx as I } from "vue";
2
+ import { useStore as T } from "../../../../store.js";
3
+ import { PlCheckbox as d, PlBtnGroup as V, PlNumberField as X } from "@platforma-sdk/ui-vue";
4
+ import { PALETTE_MAP as Y } from "../../../../constantsAesthetic.js";
5
+ import { createContinuousMappingFromPalette as E } from "../../../../dataBindAes.js";
6
6
  import z from "../../../../components/MultiselectButton.vue.js";
7
- import L from "../../../../components/AesSettings/PalettesForm.vue.js";
7
+ import D from "../../../../components/AesSettings/PalettesForm.vue.js";
8
8
  import w from "../../../../components/AesSettings/FormWrapper.vue.js";
9
- const G = { class: "checkbox-item" }, F = {
9
+ const G = { class: "checkbox-item" }, L = {
10
10
  key: 1,
11
11
  class: "checkbox-item"
12
12
  }, R = { class: "checkbox-item" }, $ = {
13
13
  key: 2,
14
14
  class: "checkbox-item"
15
- }, H = { class: "button-group-item" }, Z = { class: "button-group-item" }, _ = { class: "checkbox-item" }, j = { class: "checkbox-item" }, q = { class: "button-group-item" }, J = {
15
+ }, F = { class: "button-group-item" }, H = { class: "button-group-item" }, Z = { class: "checkbox-item" }, j = { class: "checkbox-item" }, q = { class: "button-group-item" }, J = {
16
16
  class: "button-group-item",
17
17
  style: { display: "flex", alignItems: "end" }
18
- }, K = "heatmapClustered", ne = /* @__PURE__ */ O({
18
+ }, K = "heatmapClustered", ue = /* @__PURE__ */ O({
19
19
  __name: "HeatmapClustered",
20
20
  setup(Q) {
21
- const d = I(), a = r(() => d.value.reactive.layersSettings[K]), c = r(() => d.value.reactive.optionsState), x = r(() => d.value.inputGuide.value), s = r(() => {
21
+ const s = T(), a = r(() => s.value.reactive.layersSettings[K]), N = r(() => s.value.reactive.optionsState), x = r(() => s.value.inputGuide.value), i = r(() => {
22
22
  var n;
23
- return (n = c.value.components.value.selectorStates[0]) == null ? void 0 : n.selectedSource;
23
+ return (n = N.value.components.value.selectorStates[0]) == null ? void 0 : n.selectedSource;
24
24
  }), C = r(() => {
25
25
  var n;
26
- return s.value ? (n = d.value.reactive.dataBindAes[s.value]) == null ? void 0 : n.palette : void 0;
27
- }), m = p(!1), v = p(C.value ?? X);
26
+ return i.value ? (n = s.value.reactive.dataBindAes[i.value]) == null ? void 0 : n.palette : void 0;
27
+ }), m = p(!1), v = p(C.value ?? s.value.defaultPalette.continuous);
28
28
  function S(n) {
29
- v.value = n, m.value = !1, s.value && (d.value.reactive.dataBindAes[s.value] = D(n));
29
+ v.value = n, m.value = !1, i.value && (s.value.reactive.dataBindAes[i.value] = E(n));
30
30
  }
31
31
  const k = [
32
32
  { label: "None", value: null },
@@ -38,13 +38,13 @@ const G = { class: "checkbox-item" }, F = {
38
38
  ], M = [
39
39
  { label: "empty", value: null },
40
40
  { label: "Special value", value: "custom" }
41
- ], U = [
41
+ ], B = [
42
42
  { label: "Mean", value: "mean" },
43
43
  { label: "Min", value: "min" },
44
44
  { label: "Max", value: "max" },
45
45
  { label: "Median", value: "median" }
46
46
  ], b = p(a.value.NAValueAs !== null ? "custom" : a.value.NAValueAs), f = p(a.value.NAValueAs ?? 0);
47
- return (n, e) => (g(), A(T, null, [
47
+ return (n, e) => (g(), A(P, null, [
48
48
  o(z, {
49
49
  label: "Color Palette ",
50
50
  title: u(Y)[v.value].title,
@@ -53,50 +53,50 @@ const G = { class: "checkbox-item" }, F = {
53
53
  m.value = !0;
54
54
  })
55
55
  }, null, 8, ["title", "palette"]),
56
- m.value ? (g(), B(w, {
56
+ m.value ? (g(), U(w, {
57
57
  key: 0,
58
58
  title: "Color Palette",
59
59
  "back-title": "Color mapping",
60
60
  "onForm:close": e[1] || (e[1] = (l) => m.value = !1)
61
61
  }, {
62
- default: E(() => [
63
- o(L, {
62
+ default: I(() => [
63
+ o(D, {
64
64
  selected: v.value,
65
- categorical: s.value ? x.value.getSourceInfo(s.value).type === "String" : !1,
65
+ categorical: i.value ? x.value.getSourceInfo(i.value).type === "String" : !1,
66
66
  onSelect: S
67
67
  }, null, 8, ["selected", "categorical"])
68
68
  ]),
69
69
  _: 1
70
- })) : N("", !0),
70
+ })) : c("", !0),
71
71
  t("div", G, [
72
- o(u(i), {
72
+ o(u(d), {
73
73
  modelValue: a.value.disableClusteringX,
74
74
  "onUpdate:modelValue": e[2] || (e[2] = (l) => a.value.disableClusteringX = l)
75
75
  }, null, 8, ["modelValue"]),
76
76
  e[15] || (e[15] = t("span", null, "Disable clustering for X axis", -1))
77
77
  ]),
78
- a.value.disableClusteringX ? N("", !0) : (g(), A("div", F, [
79
- o(u(i), {
78
+ a.value.disableClusteringX ? c("", !0) : (g(), A("div", L, [
79
+ o(u(d), {
80
80
  modelValue: a.value.dendrogramX,
81
81
  "onUpdate:modelValue": e[3] || (e[3] = (l) => a.value.dendrogramX = l)
82
82
  }, null, 8, ["modelValue"]),
83
83
  e[16] || (e[16] = t("span", null, "Show dendrogram for X axis", -1))
84
84
  ])),
85
85
  t("div", R, [
86
- o(u(i), {
86
+ o(u(d), {
87
87
  modelValue: a.value.disableClusteringY,
88
88
  "onUpdate:modelValue": e[4] || (e[4] = (l) => a.value.disableClusteringY = l)
89
89
  }, null, 8, ["modelValue"]),
90
90
  e[17] || (e[17] = t("span", null, "Disable clustering for Y axis", -1))
91
91
  ]),
92
- a.value.disableClusteringY ? N("", !0) : (g(), A("div", $, [
93
- o(u(i), {
92
+ a.value.disableClusteringY ? c("", !0) : (g(), A("div", $, [
93
+ o(u(d), {
94
94
  modelValue: a.value.dendrogramY,
95
95
  "onUpdate:modelValue": e[5] || (e[5] = (l) => a.value.dendrogramY = l)
96
96
  }, null, 8, ["modelValue"]),
97
97
  e[18] || (e[18] = t("span", null, "Show dendrogram for Y axis", -1))
98
98
  ])),
99
- t("div", H, [
99
+ t("div", F, [
100
100
  o(u(V), {
101
101
  modelValue: a.value.normalizationDirection,
102
102
  "onUpdate:modelValue": e[6] || (e[6] = (l) => a.value.normalizationDirection = l),
@@ -105,7 +105,7 @@ const G = { class: "checkbox-item" }, F = {
105
105
  compact: !0
106
106
  }, null, 8, ["modelValue"])
107
107
  ]),
108
- t("div", Z, [
108
+ t("div", H, [
109
109
  o(u(V), {
110
110
  modelValue: a.value.normalizationMethod,
111
111
  "onUpdate:modelValue": e[7] || (e[7] = (l) => a.value.normalizationMethod = l),
@@ -114,15 +114,15 @@ const G = { class: "checkbox-item" }, F = {
114
114
  compact: !0
115
115
  }, null, 8, ["modelValue"])
116
116
  ]),
117
- t("div", _, [
118
- o(u(i), {
117
+ t("div", Z, [
118
+ o(u(d), {
119
119
  modelValue: a.value.aggregateByX,
120
120
  "onUpdate:modelValue": e[8] || (e[8] = (l) => a.value.aggregateByX = l)
121
121
  }, null, 8, ["modelValue"]),
122
122
  e[19] || (e[19] = t("span", null, "Aggregate X groups", -1))
123
123
  ]),
124
124
  t("div", j, [
125
- o(u(i), {
125
+ o(u(d), {
126
126
  modelValue: a.value.aggregateByY,
127
127
  "onUpdate:modelValue": e[9] || (e[9] = (l) => a.value.aggregateByY = l)
128
128
  }, null, 8, ["modelValue"]),
@@ -133,7 +133,7 @@ const G = { class: "checkbox-item" }, F = {
133
133
  modelValue: a.value.aggregationMethod,
134
134
  "onUpdate:modelValue": e[10] || (e[10] = (l) => a.value.aggregationMethod = l),
135
135
  label: "Aggregation method",
136
- options: U,
136
+ options: B,
137
137
  compact: !0
138
138
  }, null, 8, ["modelValue"])
139
139
  ]),
@@ -150,7 +150,7 @@ const G = { class: "checkbox-item" }, F = {
150
150
  options: M,
151
151
  compact: !0
152
152
  }, null, 8, ["modelValue"]),
153
- o(u(P), {
153
+ o(u(X), {
154
154
  modelValue: f.value,
155
155
  "onUpdate:modelValue": [
156
156
  e[13] || (e[13] = (l) => f.value = l),
@@ -168,6 +168,6 @@ const G = { class: "checkbox-item" }, F = {
168
168
  }
169
169
  });
170
170
  export {
171
- ne as default
171
+ ue as default
172
172
  };
173
173
  //# sourceMappingURL=HeatmapClustered.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeatmapClustered.vue.js","sources":["../../../../../src/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport type { HeatmapLayer } from '../../../../types';\nimport type { SimpleOption } from '@platforma-sdk/ui-vue';\nimport { PlBtnGroup, PlCheckbox, PlNumberField } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport { DEFAULT_CONTINUOUS_PALETTE, PALETTE_MAP } from '../../../../constantsAesthetic';\nimport type { HeatmapUIState, InputGuide } from '@milaboratories/pf-plots';\nimport type { ContinuousPalette } from '../../../../components/AesSettings/types';\nimport { createContinuousMappingFromPalette } from '../../../../dataBindAes';\nimport MultiselectButton from '../../../../components/MultiselectButton.vue';\nimport PalettesForm from '../../../../components/AesSettings/PalettesForm.vue';\nimport FormWrapper from '../../../../components/AesSettings/FormWrapper.vue';\n\nconst store = useStore();\nconst layer: HeatmapLayer = 'heatmapClustered';\nconst settings = computed(() => store.value.reactive.layersSettings[layer]);\n\nconst optionsState = computed(() => store.value.reactive.optionsState as HeatmapUIState);\nconst inputGuide = computed(() => store.value.inputGuide.value as InputGuide<HeatmapUIState>);\n\nconst dataSource = computed(() => optionsState.value.components.value.selectorStates[0]?.selectedSource);\nconst savedDataValuePalette = computed(() => dataSource.value ? store.value.reactive.dataBindAes[dataSource.value]?.palette : undefined);\n\nconst palettesOpen = ref(false);\nconst palette = ref<ContinuousPalette>(savedDataValuePalette.value as ContinuousPalette ?? DEFAULT_CONTINUOUS_PALETTE);\n\nfunction onPaletteSelect(value: ContinuousPalette) {\n palette.value = value;\n palettesOpen.value = false;\n if (dataSource.value) {\n store.value.reactive.dataBindAes[dataSource.value] = createContinuousMappingFromPalette(value);\n }\n}\nconst NORMALIZATION_DIRECTION: SimpleOption[] = [\n { label: 'None', value: null },\n { label: 'Columns', value: 'column' },\n { label: 'Rows', value: 'row' },\n];\nconst NORMALIZATION_METHOD: SimpleOption[] = [\n { label: 'z-score', value: 'standardScaling' },\n { label: 'Min-max', value: 'meanNormalization' },\n];\nconst NA_VALUE_OPTIONS: SimpleOption[] = [\n { label: 'empty', value: null },\n { label: 'Special value', value: 'custom' },\n];\nconst AGGREGATION_METHOD: SimpleOption[] = [\n { label: 'Mean', value: 'mean' },\n { label: 'Min', value: 'min' },\n { label: 'Max', value: 'max' },\n { label: 'Median', value: 'median' },\n];\n\nconst NAValueOption = ref(settings.value.NAValueAs !== null ? 'custom' : settings.value.NAValueAs);\nconst customNA = ref(settings.value.NAValueAs ?? 0);\n</script>\n\n<template>\n <MultiselectButton\n label=\"Color Palette \"\n :title=\"PALETTE_MAP[palette].title\"\n :palette=\"palette\"\n @button-click=\"palettesOpen = true;\"\n />\n <FormWrapper\n v-if=\"palettesOpen\"\n title=\"Color Palette\"\n back-title=\"Color mapping\"\n @form:close=\"palettesOpen = false\"\n >\n <PalettesForm :selected=\"palette\" :categorical=\"dataSource ? inputGuide.getSourceInfo(dataSource).type === 'String' : false\" @select=\"onPaletteSelect\" />\n </FormWrapper>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.disableClusteringX\"/>\n <span>Disable clustering for X axis</span>\n </div>\n <div v-if=\"!settings.disableClusteringX\" class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.dendrogramX\" />\n <span>Show dendrogram for X axis</span>\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.disableClusteringY\"/>\n <span>Disable clustering for Y axis</span>\n </div>\n <div v-if=\"!settings.disableClusteringY\" class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.dendrogramY\"/>\n <span>Show dendrogram for Y axis</span>\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.normalizationDirection\"\n label=\"Normalize by\"\n :options=\"NORMALIZATION_DIRECTION\"\n :compact=\"true\"\n />\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.normalizationMethod\"\n label=\"Normalization method\"\n :options=\"NORMALIZATION_METHOD\"\n :compact=\"true\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.aggregateByX\"/>\n <span>Aggregate X groups</span>\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.aggregateByY\"/>\n <span>Aggregate Y groups</span>\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.aggregationMethod\"\n label=\"Aggregation method\"\n :options=\"AGGREGATION_METHOD\"\n :compact=\"true\"\n />\n </div>\n <div class=\"button-group-item\" :style=\"{display: 'flex', alignItems: 'end'}\">\n <PlBtnGroup\n v-model=\"NAValueOption\"\n label=\"Treat NA value as:\"\n :options=\"NA_VALUE_OPTIONS\"\n :compact=\"true\"\n @update:modelValue=\"(value:unknown) => {\n if (value === 'custom') {\n settings.NAValueAs = customNA;\n } else {\n settings.NAValueAs = value as number|null;\n }\n }\"\n />\n <PlNumberField\n v-model=\"customNA\"\n :style=\"{height: '33px', marginLeft: '16px', width: '75px'}\"\n :disabled=\"NAValueOption !== 'custom'\"\n label=\"NA value\"\n :useIncrementButtons=\"false\"\n @update:modelValue=\"(value:unknown) => {\n if (value !== undefined) {\n settings.NAValueAs = value as number;\n }\n }\"\n />\n </div>\n</template>\n"],"names":["layer","store","useStore","settings","computed","optionsState","inputGuide","dataSource","_a","savedDataValuePalette","palettesOpen","ref","palette","DEFAULT_CONTINUOUS_PALETTE","onPaletteSelect","value","createContinuousMappingFromPalette","NORMALIZATION_DIRECTION","NORMALIZATION_METHOD","NA_VALUE_OPTIONS","AGGREGATION_METHOD","NAValueOption","customNA","_createVNode","MultiselectButton","_unref","PALETTE_MAP","_createBlock","FormWrapper","PalettesForm","_createElementVNode","_hoisted_1","PlCheckbox","_cache","$event","_openBlock","_createElementBlock","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","PlBtnGroup","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","PlNumberField"],"mappings":";;;;;;;;;;;;;;;;;GAeMA,IAAsB;;;AAD5B,UAAMC,IAAQC,EAAA,GAERC,IAAWC,EAAS,MAAMH,EAAM,MAAM,SAAS,eAAeD,CAAK,CAAC,GAEpEK,IAAeD,EAAS,MAAMH,EAAM,MAAM,SAAS,YAA8B,GACjFK,IAAaF,EAAS,MAAMH,EAAM,MAAM,WAA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;;;"}
1
+ {"version":3,"file":"HeatmapClustered.vue.js","sources":["../../../../../src/forms/LayersForm/Layer/heatmap/HeatmapClustered.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../../../store';\nimport type { HeatmapLayer } from '../../../../types';\nimport type { SimpleOption } from '@platforma-sdk/ui-vue';\nimport { PlBtnGroup, PlCheckbox, PlNumberField } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport { PALETTE_MAP } from '../../../../constantsAesthetic';\nimport type { HeatmapUIState, InputGuide } from '@milaboratories/pf-plots';\nimport type { ContinuousPalette } from '../../../../components/AesSettings/types';\nimport { createContinuousMappingFromPalette } from '../../../../dataBindAes';\nimport MultiselectButton from '../../../../components/MultiselectButton.vue';\nimport PalettesForm from '../../../../components/AesSettings/PalettesForm.vue';\nimport FormWrapper from '../../../../components/AesSettings/FormWrapper.vue';\n\nconst store = useStore();\nconst layer: HeatmapLayer = 'heatmapClustered';\nconst settings = computed(() => store.value.reactive.layersSettings[layer]);\n\nconst optionsState = computed(() => store.value.reactive.optionsState as HeatmapUIState);\nconst inputGuide = computed(() => store.value.inputGuide.value as InputGuide<HeatmapUIState>);\n\nconst dataSource = computed(() => optionsState.value.components.value.selectorStates[0]?.selectedSource);\nconst savedDataValuePalette = computed(() => dataSource.value ? store.value.reactive.dataBindAes[dataSource.value]?.palette : undefined);\n\nconst palettesOpen = ref(false);\nconst palette = ref<ContinuousPalette>(savedDataValuePalette.value as ContinuousPalette ?? store.value.defaultPalette.continuous);\n\nfunction onPaletteSelect(value: ContinuousPalette) {\n palette.value = value;\n palettesOpen.value = false;\n if (dataSource.value) {\n store.value.reactive.dataBindAes[dataSource.value] = createContinuousMappingFromPalette(value);\n }\n}\nconst NORMALIZATION_DIRECTION: SimpleOption[] = [\n { label: 'None', value: null },\n { label: 'Columns', value: 'column' },\n { label: 'Rows', value: 'row' },\n];\nconst NORMALIZATION_METHOD: SimpleOption[] = [\n { label: 'z-score', value: 'standardScaling' },\n { label: 'Min-max', value: 'meanNormalization' },\n];\nconst NA_VALUE_OPTIONS: SimpleOption[] = [\n { label: 'empty', value: null },\n { label: 'Special value', value: 'custom' },\n];\nconst AGGREGATION_METHOD: SimpleOption[] = [\n { label: 'Mean', value: 'mean' },\n { label: 'Min', value: 'min' },\n { label: 'Max', value: 'max' },\n { label: 'Median', value: 'median' },\n];\n\nconst NAValueOption = ref(settings.value.NAValueAs !== null ? 'custom' : settings.value.NAValueAs);\nconst customNA = ref(settings.value.NAValueAs ?? 0);\n</script>\n\n<template>\n <MultiselectButton\n label=\"Color Palette \"\n :title=\"PALETTE_MAP[palette].title\"\n :palette=\"palette\"\n @button-click=\"palettesOpen = true;\"\n />\n <FormWrapper\n v-if=\"palettesOpen\"\n title=\"Color Palette\"\n back-title=\"Color mapping\"\n @form:close=\"palettesOpen = false\"\n >\n <PalettesForm :selected=\"palette\" :categorical=\"dataSource ? inputGuide.getSourceInfo(dataSource).type === 'String' : false\" @select=\"onPaletteSelect\" />\n </FormWrapper>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.disableClusteringX\"/>\n <span>Disable clustering for X axis</span>\n </div>\n <div v-if=\"!settings.disableClusteringX\" class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.dendrogramX\" />\n <span>Show dendrogram for X axis</span>\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.disableClusteringY\"/>\n <span>Disable clustering for Y axis</span>\n </div>\n <div v-if=\"!settings.disableClusteringY\" class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.dendrogramY\"/>\n <span>Show dendrogram for Y axis</span>\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.normalizationDirection\"\n label=\"Normalize by\"\n :options=\"NORMALIZATION_DIRECTION\"\n :compact=\"true\"\n />\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.normalizationMethod\"\n label=\"Normalization method\"\n :options=\"NORMALIZATION_METHOD\"\n :compact=\"true\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.aggregateByX\"/>\n <span>Aggregate X groups</span>\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.aggregateByY\"/>\n <span>Aggregate Y groups</span>\n </div>\n <div class=\"button-group-item\">\n <PlBtnGroup\n v-model=\"settings.aggregationMethod\"\n label=\"Aggregation method\"\n :options=\"AGGREGATION_METHOD\"\n :compact=\"true\"\n />\n </div>\n <div class=\"button-group-item\" :style=\"{display: 'flex', alignItems: 'end'}\">\n <PlBtnGroup\n v-model=\"NAValueOption\"\n label=\"Treat NA value as:\"\n :options=\"NA_VALUE_OPTIONS\"\n :compact=\"true\"\n @update:modelValue=\"(value:unknown) => {\n if (value === 'custom') {\n settings.NAValueAs = customNA;\n } else {\n settings.NAValueAs = value as number|null;\n }\n }\"\n />\n <PlNumberField\n v-model=\"customNA\"\n :style=\"{height: '33px', marginLeft: '16px', width: '75px'}\"\n :disabled=\"NAValueOption !== 'custom'\"\n label=\"NA value\"\n :useIncrementButtons=\"false\"\n @update:modelValue=\"(value:unknown) => {\n if (value !== undefined) {\n settings.NAValueAs = value as number;\n }\n }\"\n />\n </div>\n</template>\n"],"names":["layer","store","useStore","settings","computed","optionsState","inputGuide","dataSource","_a","savedDataValuePalette","palettesOpen","ref","palette","onPaletteSelect","value","createContinuousMappingFromPalette","NORMALIZATION_DIRECTION","NORMALIZATION_METHOD","NA_VALUE_OPTIONS","AGGREGATION_METHOD","NAValueOption","customNA","_createVNode","MultiselectButton","_unref","PALETTE_MAP","_createBlock","FormWrapper","PalettesForm","_createElementVNode","_hoisted_1","PlCheckbox","_cache","$event","_openBlock","_createElementBlock","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","PlBtnGroup","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","PlNumberField"],"mappings":";;;;;;;;;;;;;;;;;GAeMA,IAAsB;;;AAD5B,UAAMC,IAAQC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AA,MAAU,WAAuBX,EAAA,MAAS,YAAYW;AAAA;;UAJ1G,OAAO,EAAA,QAAA,QAAA,YAAA,QAAA,OAAA,OAAA;AAAA,UACP,UAAUM,EAAA,UAAa;AAAA,UACxB,OAAM;AAAA,UACL,qBAAqB;AAAA,QAAA;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { createElementBlock as l, openBlock as d, createStaticVNode as t } from "vue";
2
2
  import i from "../_virtual/_plugin-vue_export-helper.js";
3
3
  const o = {}, p = {
4
+ class: "inline-icon",
4
5
  width: "24",
5
6
  height: "24",
6
7
  viewBox: "0 0 24 24",
@@ -1 +1 @@
1
- {"version":3,"file":"StackedAreaIcon.vue.js","sources":["../../src/icons/StackedAreaIcon.vue"],"sourcesContent":["<template>\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 2.5L3.75 4L2.25 4L2.25 2.5L3.75 2.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 5.5L3.75 7H2.25L2.25 5.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 8.5L3.75 10H2.25L2.25 8.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 11.5L3.75 13H2.25L2.25 11.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 14.5L3.75 16H2.25L2.25 14.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 17.5L3.75 19H2.25L2.25 17.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 20.5H21.75V22H2.25V20.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.5 9L7.5 19H6L6 9H7.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.5 10.3168L7.5 17.5741H6L6 10.3168H7.5Z\" fill=\"#07AD3E\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 5.12476L14 19H12.5L12.5 5.12476H14Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 8.63611L14 14.235H12.5L12.5 8.63611H14Z\" fill=\"#07AD3E\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 1L20.5 19H19L19 1H20.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 5.36682L20.5 15.3887H19L19 5.36682H20.5Z\" fill=\"#07AD3E\" />\n <path\n d=\"M20.5 7.80713C20.5 7.80713 19.1058 7.80718 17.7115 7.80718C16.3173 7.80718 16.0385 11.1533 14.6442 11.1533C13.25 11.1533 13.25 11.1533 11.8558 11.1533C10.4615 11.1533 10.1827 12.8264 8.78846 12.8264C7.39423 12.8264 6 12.8264 6 12.8264\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n <path\n d=\"M20.5 1.36011C20.5 1.36011 19.1058 1.36011 17.7115 1.36011C16.3173 1.36011 16.0385 5.82165 14.6442 5.82165C13.25 5.82165 13.25 5.82165 11.8558 5.82165C10.4615 5.82165 10.1827 9.72549 8.78846 9.72549C7.39423 9.72549 6 9.72549 6 9.72549\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n <path\n d=\"M20.5 14.6335C20.5 14.6335 19.1058 14.6335 17.7115 14.6335C16.3173 14.6335 16.0385 13.5181 14.6442 13.5181C13.25 13.5181 13.25 13.5181 11.8558 13.5181C10.4615 13.5181 10.1827 16.8642 8.78846 16.8642C7.39423 16.8642 6 16.8642 6 16.8642\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n </svg>\n</template>\n"],"names":["_openBlock","_createElementBlock","_hoisted_1","_cache"],"mappings":";;;EACO,OAAM;AAAA,EAAK,QAAO;AAAA,EAAK,SAAQ;AAAA,EAAY,MAAK;AAAA,EAAO,OAAM;;;AAAlE,SAAAA,EAAA,GAAAC,EA0BM,OA1BNC,GA0BM,CAAA,GAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA;;;;"}
1
+ {"version":3,"file":"StackedAreaIcon.vue.js","sources":["../../src/icons/StackedAreaIcon.vue"],"sourcesContent":["<template>\n <svg class=\"inline-icon\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 2.5L3.75 4L2.25 4L2.25 2.5L3.75 2.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 5.5L3.75 7H2.25L2.25 5.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 8.5L3.75 10H2.25L2.25 8.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 11.5L3.75 13H2.25L2.25 11.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 14.5L3.75 16H2.25L2.25 14.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.75 17.5L3.75 19H2.25L2.25 17.5H3.75Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 20.5H21.75V22H2.25V20.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.5 9L7.5 19H6L6 9H7.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.5 10.3168L7.5 17.5741H6L6 10.3168H7.5Z\" fill=\"#07AD3E\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 5.12476L14 19H12.5L12.5 5.12476H14Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 8.63611L14 14.235H12.5L12.5 8.63611H14Z\" fill=\"#07AD3E\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 1L20.5 19H19L19 1H20.5Z\" fill=\"#110529\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 5.36682L20.5 15.3887H19L19 5.36682H20.5Z\" fill=\"#07AD3E\" />\n <path\n d=\"M20.5 7.80713C20.5 7.80713 19.1058 7.80718 17.7115 7.80718C16.3173 7.80718 16.0385 11.1533 14.6442 11.1533C13.25 11.1533 13.25 11.1533 11.8558 11.1533C10.4615 11.1533 10.1827 12.8264 8.78846 12.8264C7.39423 12.8264 6 12.8264 6 12.8264\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n <path\n d=\"M20.5 1.36011C20.5 1.36011 19.1058 1.36011 17.7115 1.36011C16.3173 1.36011 16.0385 5.82165 14.6442 5.82165C13.25 5.82165 13.25 5.82165 11.8558 5.82165C10.4615 5.82165 10.1827 9.72549 8.78846 9.72549C7.39423 9.72549 6 9.72549 6 9.72549\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n <path\n d=\"M20.5 14.6335C20.5 14.6335 19.1058 14.6335 17.7115 14.6335C16.3173 14.6335 16.0385 13.5181 14.6442 13.5181C13.25 13.5181 13.25 13.5181 11.8558 13.5181C10.4615 13.5181 10.1827 16.8642 8.78846 16.8642C7.39423 16.8642 6 16.8642 6 16.8642\"\n stroke=\"#07AD3E\" stroke-width=\"1.5\"\n />\n </svg>\n</template>\n"],"names":["_openBlock","_createElementBlock","_hoisted_1","_cache"],"mappings":";;;EACO,OAAM;AAAA,EAAc,OAAM;AAAA,EAAK,QAAO;AAAA,EAAK,SAAQ;AAAA,EAAY,MAAK;AAAA,EAAO,OAAM;;;AAAtF,SAAAA,EAAA,GAAAC,EA0BM,OA1BNC,GA0BM,CAAA,GAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA;;;;"}