@milaboratories/graph-maker 1.2.9 → 1.2.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTruncationWarningAlert.js","names":[],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `Only ${w.dataVisible} values are shown on the chart. Use filters.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"ChartTruncationWarningAlert.js","names":[],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst bigNumberFormatter = new Intl.NumberFormat('en-US', { useGrouping: true });\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `This chart can show at most ${bigNumberFormatter.format(w.dataVisible)} values. Please use filters to stay within that limit.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTruncationWarningAlert.vue_vue_type_style_index_0_lang.module.js","names":[],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `Only ${w.dataVisible} values are shown on the chart. Use filters.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"ChartTruncationWarningAlert.vue_vue_type_style_index_0_lang.module.js","names":[],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst bigNumberFormatter = new Intl.NumberFormat('en-US', { useGrouping: true });\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `This chart can show at most ${bigNumberFormatter.format(w.dataVisible)} values. Please use filters to stay within that limit.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTruncationWarningAlert.vue.d.ts","sourceRoot":"","sources":["../../src/components/ChartTruncationWarningAlert.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AAIzG,KAAK,WAAW,GAAG;IAAE,iBAAiB,EAAE,sBAAsB,CAAA;CAAE,CAAC;;AAwJjE,wBAOG"}
1
+ {"version":3,"file":"ChartTruncationWarningAlert.vue.d.ts","sourceRoot":"","sources":["../../src/components/ChartTruncationWarningAlert.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AAMzG,KAAK,WAAW,GAAG;IAAE,iBAAiB,EAAE,sBAAsB,CAAA;CAAE,CAAC;;AAwJjE,wBAOG"}
@@ -6,42 +6,42 @@ var v = /* @__PURE__ */ s({
6
6
  __name: "ChartTruncationWarningAlert",
7
7
  props: { truncationWarning: {} },
8
8
  setup(s) {
9
- let v = s, y = t(), b = u(!0), x = n(() => {
10
- let t = v.truncationWarning;
11
- if (t.type === "dataOverflow") return `Only ${t.dataVisible} values are shown on the chart. Use filters.`;
9
+ let v = new Intl.NumberFormat("en-US", { useGrouping: !0 }), y = s, b = t(), x = u(!0), S = n(() => {
10
+ let t = y.truncationWarning;
11
+ if (t.type === "dataOverflow") return `This chart can show at most ${v.format(t.dataVisible)} values. Please use filters to stay within that limit.`;
12
12
  let n = [];
13
13
  t.groups && n.push("Some groups are hidden"), t.facets && n.push("Some facets are hidden");
14
14
  let r = n.join(". "), i = [];
15
15
  return t.groups && t.groupsVisible != null && t.groupsTotal != null && i.push(`${t.groupsVisible} of ${e(t.groupsTotal)} groups`), t.facets && t.facetsVisible != null && t.facetsTotal != null && i.push(`${t.facetsVisible} of ${e(t.facetsTotal)} facets`), `${r}.${i.length ? ` Showing ${i.join("; ")}.` : ""} Limits can be changed in Axes settings.`;
16
16
  });
17
- function S() {
18
- y.value.reactive.currentTab = "axes", y.value.reactive.tabDefaultState.axes.scrollToBottom = !0;
19
- }
20
17
  function C() {
21
- y.value.reactive.currentTab = "dataMapping";
18
+ b.value.reactive.currentTab = "axes", b.value.reactive.tabDefaultState.axes.scrollToBottom = !0;
19
+ }
20
+ function w() {
21
+ b.value.reactive.currentTab = "dataMapping";
22
22
  }
23
23
  return (e, t) => (l(), i("div", { class: c(e.$style.alert) }, [o(f(g), {
24
- modelValue: b.value,
25
- "onUpdate:modelValue": t[2] ||= (e) => b.value = e,
24
+ modelValue: x.value,
25
+ "onUpdate:modelValue": t[2] ||= (e) => x.value = e,
26
26
  type: "warning",
27
27
  closable: ""
28
28
  }, {
29
29
  actions: p(() => [s.truncationWarning.type === "dataOverflow" ? (l(), r(f(h), {
30
30
  key: 0,
31
31
  icon: "arrow-right",
32
- onClick: t[0] ||= m(() => C(), ["stop"])
32
+ onClick: t[0] ||= m(() => w(), ["stop"])
33
33
  }, {
34
34
  default: p(() => [...t[3] ||= [a("Open Data Mapping", -1)]]),
35
35
  _: 1
36
36
  })) : (l(), r(f(h), {
37
37
  key: 1,
38
38
  icon: "arrow-right",
39
- onClick: t[1] ||= m(() => S(), ["stop"])
39
+ onClick: t[1] ||= m(() => C(), ["stop"])
40
40
  }, {
41
41
  default: p(() => [...t[4] ||= [a("Open Axes settings", -1)]]),
42
42
  _: 1
43
43
  })), o(f(_))]),
44
- default: p(() => [a(d(x.value) + " ", 1)]),
44
+ default: p(() => [a(d(S.value) + " ", 1)]),
45
45
  _: 1
46
46
  }, 8, ["modelValue"])], 2));
47
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTruncationWarningAlert.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `Only ${w.dataVisible} values are shown on the chart. Use filters.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":";;;;;;;;EAOA,IAAM,IAAQ,GAER,IAAQ,GAAU,EAClB,IAAc,EAAI,GAAK,EAEvB,IAAU,QAAe;GAC7B,IAAM,IAAI,EAAM;AAEhB,OAAI,EAAE,SAAS,eACb,QAAO,QAAQ,EAAE,YAAY;GAE/B,IAAM,IAAkB,EAAE;AAE1B,GADI,EAAE,UAAQ,EAAM,KAAK,yBAAyB,EAC9C,EAAE,UAAQ,EAAM,KAAK,yBAAyB;GAClD,IAAM,IAAO,EAAM,KAAK,KAAK,EACvB,IAAuB,EAAE;AAS/B,UARI,EAAE,UAAU,EAAE,iBAAiB,QAAQ,EAAE,eAAe,QAC1D,EAAW,KAAK,GAAG,EAAE,cAAc,MAAM,EAAsB,EAAE,YAAY,CAAC,SAAS,EAErF,EAAE,UAAU,EAAE,iBAAiB,QAAQ,EAAE,eAAe,QAC1D,EAAW,KAAK,GAAG,EAAE,cAAc,MAAM,EAAsB,EAAE,YAAY,CAAC,SAAS,EAIlF,GAAG,EAAK,GAFG,EAAW,SAAS,YAAY,EAAW,KAAK,KAAK,CAAC,KAAK,GAEjD;IAC5B;EAEF,SAAS,IAAmB;AAE1B,GADA,EAAM,MAAM,SAAS,aAAa,QAClC,EAAM,MAAM,SAAS,gBAAgB,KAAK,iBAAiB;;EAG7D,SAAS,IAAkB;AACzB,KAAM,MAAM,SAAS,aAAa;;yBAIlC,EASM,OAAA,EATA,OAAK,EAAEA,EAAAA,OAAO,MAAK,EAAA,EAAA,CACvB,EAOsB,EAAA,EAAA,EAAA;eAPQ,EAAA;4CAAW,QAAA;GAAE,MAAK;GAAU,UAAA;;GAE7C,SAAO,QACwI,CAApI,EAAA,kBAAkB,SAAI,kBAAA,GAAA,EAA1C,EAAwJ,EAAA,EAAA,EAAA;;IAAzF,MAAK;IAAe,SAAK,AAAA,EAAA,OAAA,QAAa,GAAe,EAAA,CAAA,OAAA,CAAA;;qBAAqB,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAjB,qBAAiB,GAAA,CAAA,CAAA,CAAA;;eACzI,EAAgH,EAAA,EAAA,EAAA;;IAA3F,MAAK;IAAe,SAAK,AAAA,EAAA,OAAA,QAAa,GAAgB,EAAA,CAAA,OAAA,CAAA;;qBAAsB,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAlB,sBAAkB,GAAA,CAAA,CAAA,CAAA;;QACjG,EAAY,EAAA,EAAA,CAAA,CAAA,CAAA;oBAJD,CAAA,EAAA,EAAV,EAAA,MAAO,GAAG,KACb,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"ChartTruncationWarningAlert.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../src/components/ChartTruncationWarningAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlNotificationAlert, PlSpacer } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ChartTruncationWarning } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { formatTruncationTotal } from '../utils/createChartSettingsForRender/composeChartSettings';\nimport { useStore } from '../store';\n\nconst bigNumberFormatter = new Intl.NumberFormat('en-US', { useGrouping: true });\n\nconst props = defineProps<{ truncationWarning: ChartTruncationWarning }>();\n\nconst store = useStore();\nconst isAlertOpen = ref(true);\n\nconst message = computed(() => {\n const w = props.truncationWarning;\n\n if (w.type === 'dataOverflow') {\n return `This chart can show at most ${bigNumberFormatter.format(w.dataVisible)} values. Please use filters to stay within that limit.`;\n }\n const intro: string[] = [];\n if (w.groups) intro.push('Some groups are hidden');\n if (w.facets) intro.push('Some facets are hidden');\n const lead = intro.join('. ');\n const countParts: string[] = [];\n if (w.groups && w.groupsVisible != null && w.groupsTotal != null) {\n countParts.push(`${w.groupsVisible} of ${formatTruncationTotal(w.groupsTotal)} groups`);\n }\n if (w.facets && w.facetsVisible != null && w.facetsTotal != null) {\n countParts.push(`${w.facetsVisible} of ${formatTruncationTotal(w.facetsTotal)} facets`);\n }\n const countText = countParts.length ? ` Showing ${countParts.join('; ')}.` : '';\n const end = 'Limits can be changed in Axes settings.';\n return `${lead}.${countText} ${end}`;\n});\n\nfunction openAxesSettings() {\n store.value.reactive.currentTab = 'axes';\n store.value.reactive.tabDefaultState.axes.scrollToBottom = true;\n}\n\nfunction openDataMapping() {\n store.value.reactive.currentTab = 'dataMapping';\n}\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"warning\" closable>\n {{ message }}\n <template #actions>\n <PlBtnPrimary v-if=\"truncationWarning.type === 'dataOverflow'\" icon=\"arrow-right\" @click.stop=\"() => openDataMapping()\">Open Data Mapping</PlBtnPrimary>\n <PlBtnPrimary v-else icon=\"arrow-right\" @click.stop=\"() => openAxesSettings()\">Open Axes settings</PlBtnPrimary>\n <PlSpacer />\n </template>\n </PlNotificationAlert>\n </div>\n</template>\n<style module>\n.alert {\n position: fixed;\n bottom: 12px;\n right: 12px;\n width: 256px;\n height: auto;\n z-index: 1;\n}\n</style>\n"],"mappings":";;;;;;;;EAOA,IAAM,IAAqB,IAAI,KAAK,aAAa,SAAS,EAAE,aAAa,IAAM,CAAC,EAE1E,IAAQ,GAER,IAAQ,GAAU,EAClB,IAAc,EAAI,GAAK,EAEvB,IAAU,QAAe;GAC7B,IAAM,IAAI,EAAM;AAEhB,OAAI,EAAE,SAAS,eACb,QAAO,+BAA+B,EAAmB,OAAO,EAAE,YAAY,CAAC;GAEjF,IAAM,IAAkB,EAAE;AAE1B,GADI,EAAE,UAAQ,EAAM,KAAK,yBAAyB,EAC9C,EAAE,UAAQ,EAAM,KAAK,yBAAyB;GAClD,IAAM,IAAO,EAAM,KAAK,KAAK,EACvB,IAAuB,EAAE;AAS/B,UARI,EAAE,UAAU,EAAE,iBAAiB,QAAQ,EAAE,eAAe,QAC1D,EAAW,KAAK,GAAG,EAAE,cAAc,MAAM,EAAsB,EAAE,YAAY,CAAC,SAAS,EAErF,EAAE,UAAU,EAAE,iBAAiB,QAAQ,EAAE,eAAe,QAC1D,EAAW,KAAK,GAAG,EAAE,cAAc,MAAM,EAAsB,EAAE,YAAY,CAAC,SAAS,EAIlF,GAAG,EAAK,GAFG,EAAW,SAAS,YAAY,EAAW,KAAK,KAAK,CAAC,KAAK,GAEjD;IAC5B;EAEF,SAAS,IAAmB;AAE1B,GADA,EAAM,MAAM,SAAS,aAAa,QAClC,EAAM,MAAM,SAAS,gBAAgB,KAAK,iBAAiB;;EAG7D,SAAS,IAAkB;AACzB,KAAM,MAAM,SAAS,aAAa;;yBAIlC,EASM,OAAA,EATA,OAAK,EAAEA,EAAAA,OAAO,MAAK,EAAA,EAAA,CACvB,EAOsB,EAAA,EAAA,EAAA;eAPQ,EAAA;4CAAW,QAAA;GAAE,MAAK;GAAU,UAAA;;GAE7C,SAAO,QACwI,CAApI,EAAA,kBAAkB,SAAI,kBAAA,GAAA,EAA1C,EAAwJ,EAAA,EAAA,EAAA;;IAAzF,MAAK;IAAe,SAAK,AAAA,EAAA,OAAA,QAAa,GAAe,EAAA,CAAA,OAAA,CAAA;;qBAAqB,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAjB,qBAAiB,GAAA,CAAA,CAAA,CAAA;;eACzI,EAAgH,EAAA,EAAA,EAAA;;IAA3F,MAAK;IAAe,SAAK,AAAA,EAAA,OAAA,QAAa,GAAgB,EAAA,CAAA,OAAA,CAAA;;qBAAsB,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAlB,sBAAkB,GAAA,CAAA,CAAA,CAAA;;QACjG,EAAY,EAAA,EAAA,CAAA,CAAA,CAAA;oBAJD,CAAA,EAAA,EAAV,EAAA,MAAO,GAAG,KACb,EAAA,CAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/graph-maker",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "type": "module",
5
5
  "main": "dist/ui.js",
6
6
  "types": "dist/ui.d.ts",
@@ -38,8 +38,8 @@
38
38
  "d3-hierarchy": "^3.1.2",
39
39
  "d3-scale": "^4.0.2",
40
40
  "vue": "^3.5.24",
41
- "@milaboratories/miplots4": "1.0.179",
42
- "@milaboratories/pf-plots": "1.1.70"
41
+ "@milaboratories/pf-plots": "1.1.70",
42
+ "@milaboratories/miplots4": "1.0.179"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@milaboratories/build-configs": "^1.5.0",