@milaboratories/graph-maker 1.1.150 → 1.1.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GraphMaker/components/AesSettings/AesDataMappingDiscrete.vue.d.ts.map +1 -1
- package/dist/GraphMaker/components/AesSettings/AesDataMappingDiscrete.vue.js +2 -1
- package/dist/GraphMaker/components/AesSettings/AesDataMappingDiscrete.vue.js.map +1 -1
- package/dist/GraphMaker/components/Chart.vue.js +3 -3
- package/dist/GraphMaker/components/Chart.vue.js.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DnDBasketChip.vue.d.ts +3 -12
- package/dist/GraphMaker/components/DragAndDrop/DnDBasketChip.vue.d.ts.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DnDBasketChip.vue.js +42 -85
- package/dist/GraphMaker/components/DragAndDrop/DnDBasketChip.vue.js.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DnDRangeChip.vue.d.ts +1 -9
- package/dist/GraphMaker/components/DragAndDrop/DnDRangeChip.vue.d.ts.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DnDRangeChip.vue.js +44 -89
- package/dist/GraphMaker/components/DragAndDrop/DnDRangeChip.vue.js.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.d.ts +1 -3
- package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.d.ts.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.js +68 -86
- package/dist/GraphMaker/components/DragAndDrop/DndBasket.vue.js.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.d.ts +7 -11
- package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.d.ts.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.js +48 -91
- package/dist/GraphMaker/components/DragAndDrop/DndDoubleChip.vue.js.map +1 -1
- package/dist/GraphMaker/components/DragAndDrop/types.d.ts +1 -21
- package/dist/GraphMaker/components/DragAndDrop/types.d.ts.map +1 -1
- package/dist/GraphMaker/components/PlColorSliderThumb.vue.js +18 -18
- package/dist/GraphMaker/components/PlColorSliderThumb.vue.js.map +1 -1
- package/dist/GraphMaker/constantsCommon.d.ts +0 -1
- package/dist/GraphMaker/constantsCommon.d.ts.map +1 -1
- package/dist/GraphMaker/constantsCommon.js +95 -95
- package/dist/GraphMaker/constantsCommon.js.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/DendroForm.vue.d.ts.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/DendroForm.vue.js +128 -166
- package/dist/GraphMaker/forms/DataMappingForm/DendroForm.vue.js.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/useBaskets.d.ts.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/useBaskets.js +93 -131
- package/dist/GraphMaker/forms/DataMappingForm/useBaskets.js.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/utils.d.ts +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/utils.d.ts.map +1 -1
- package/dist/GraphMaker/forms/DataMappingForm/utils.js +79 -155
- package/dist/GraphMaker/forms/DataMappingForm/utils.js.map +1 -1
- package/dist/GraphMaker/forms/index.js +2 -2
- package/dist/GraphMaker/forms/index.js.map +1 -1
- package/dist/GraphMaker/icons/StackedAreaIcon.vue.d.ts +3 -0
- package/dist/GraphMaker/icons/StackedAreaIcon.vue.d.ts.map +1 -0
- package/dist/GraphMaker/icons/StackedAreaIcon.vue.js +19 -0
- package/dist/GraphMaker/icons/StackedAreaIcon.vue.js.map +1 -0
- package/dist/GraphMaker/index.vue.js +1 -1
- package/dist/GraphMaker/store.d.ts.map +1 -1
- package/dist/GraphMaker/store.js +43 -45
- package/dist/GraphMaker/store.js.map +1 -1
- package/dist/GraphMaker/types.d.ts +1 -1
- package/dist/GraphMaker/types.d.ts.map +1 -1
- package/dist/GraphMaker/utils/addFixedOptionsToState.js +2 -2
- package/dist/GraphMaker/utils/addFixedOptionsToState.js.map +1 -1
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeChartSettings.js +25 -25
- package/dist/GraphMaker/utils/createChartSettingsForRender/composeChartSettings.js.map +1 -1
- package/dist/GraphMaker/utils/loadDefaultSources.d.ts +2 -3
- package/dist/GraphMaker/utils/loadDefaultSources.d.ts.map +1 -1
- package/dist/GraphMaker/utils/loadDefaultSources.js +47 -51
- package/dist/GraphMaker/utils/loadDefaultSources.js.map +1 -1
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.d.ts.map +1 -1
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.js +39 -41
- package/dist/GraphMaker/utils/loadUniqueValuesToSave.js.map +1 -1
- package/dist/lib.js +1 -1
- package/dist/node_modules/@milaboratories/helpers/dist/objects.js +33 -0
- package/dist/node_modules/@milaboratories/helpers/dist/objects.js.map +1 -0
- package/dist/node_modules/@milaboratories/helpers/dist/utils.js +12 -0
- package/dist/node_modules/@milaboratories/helpers/dist/utils.js.map +1 -0
- package/dist/node_modules/@milaboratories/pf-plots/dist/constants.js +6 -5
- package/dist/node_modules/@milaboratories/pf-plots/dist/constants.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ComponentController.js +146 -149
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ComponentController.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ControllerBase.js +168 -221
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/ControllerBase.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.js +95 -102
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/dendro.js +145 -156
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/dendro.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/discrete.js +68 -75
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/discrete.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.js +154 -159
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/histogram.js +48 -55
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/histogram.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.js +114 -122
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js +111 -119
- package/dist/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/index.js +4 -4
- package/dist/node_modules/@milaboratories/pf-plots/dist/pframe/ColumnsProvider.js +70 -69
- package/dist/node_modules/@milaboratories/pf-plots/dist/pframe/ColumnsProvider.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/spec.js +2 -2
- package/dist/node_modules/@milaboratories/pf-plots/dist/spec.js.map +1 -1
- package/dist/node_modules/@milaboratories/pf-plots/dist/utils.js +184 -183
- package/dist/node_modules/@milaboratories/pf-plots/dist/utils.js.map +1 -1
- package/dist/node_modules/@vueuse/shared/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/node_modules/@milaboratories/helpers/dist/index.js +0 -372
- package/dist/node_modules/@milaboratories/helpers/dist/index.js.map +0 -1
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { PlIcon16 as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const D = {
|
|
1
|
+
import { defineComponent as h, mergeModels as c, useModel as v, ref as _, onMounted as y, watch as b, createElementBlock as m, openBlock as d, createElementVNode as i, normalizeClass as f, createCommentVNode as M, createVNode as k, createBlock as a, unref as r, toDisplayString as V } from "vue";
|
|
2
|
+
import { PlIcon16 as u, PlDropdownMulti as g, PlAutocompleteMulti as w } from "@platforma-sdk/ui-vue";
|
|
3
|
+
import C from "../../assets/drag-and-drop/img/chip-close.svg.js";
|
|
4
|
+
const B = {
|
|
6
5
|
ref: "chipRoot",
|
|
7
6
|
class: "dnd-double-chip__group"
|
|
8
|
-
},
|
|
7
|
+
}, O = { class: "dnd-double-chip__top" }, D = {
|
|
9
8
|
key: 0,
|
|
10
9
|
class: "dnd-basket-chip__handler"
|
|
11
|
-
},
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "dnd-basket-chip__fixed-axes-block"
|
|
14
|
-
}, K = /* @__PURE__ */ w({
|
|
10
|
+
}, F = ["title"], N = { class: "dnd-double-chip__title" }, P = ["innerHTML"], S = { class: "dnd-double-chip__bottom" }, T = /* @__PURE__ */ h({
|
|
15
11
|
__name: "DndDoubleChip",
|
|
16
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ c({
|
|
17
13
|
info: {},
|
|
18
14
|
error: { type: Boolean },
|
|
19
15
|
searchModel: { type: Function },
|
|
@@ -22,106 +18,67 @@ const D = {
|
|
|
22
18
|
sortable: { type: Boolean }
|
|
23
19
|
}, {
|
|
24
20
|
filter: { required: !0 },
|
|
25
|
-
filterModifiers: {}
|
|
26
|
-
fixedAxes: { default: {} },
|
|
27
|
-
fixedAxesModifiers: {}
|
|
21
|
+
filterModifiers: {}
|
|
28
22
|
}),
|
|
29
|
-
emits: /* @__PURE__ */
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
return
|
|
33
|
-
|
|
34
|
-
}),
|
|
35
|
-
if (
|
|
36
|
-
const l = await Promise.all(a.info.axesToBeFixed.map((e) => a.loadOptions(e)));
|
|
37
|
-
p.value = a.info.axesToBeFixed.reduce((e, i, O) => (e[i] = l[O], e), {});
|
|
38
|
-
}
|
|
39
|
-
}, { immediate: !0 }), v(() => m.value, async (o) => {
|
|
40
|
-
if (u.value !== void 0 || o === void 0)
|
|
23
|
+
emits: /* @__PURE__ */ c(["close-chip", "update:filter"], ["update:filter"]),
|
|
24
|
+
setup(p, { emit: E }) {
|
|
25
|
+
const t = p, n = v(p, "filter"), s = _();
|
|
26
|
+
return y(async () => {
|
|
27
|
+
s.value = await t.loadOptions(t.info.id);
|
|
28
|
+
}), b(() => s.value, async (e) => {
|
|
29
|
+
if (n.value !== void 0 || e === void 0)
|
|
41
30
|
return;
|
|
42
|
-
let
|
|
43
|
-
|
|
44
|
-
}, { immediate: !0 }),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if (t.value[e].axisValue !== void 0 || o[e] === void 0)
|
|
48
|
-
continue;
|
|
49
|
-
let i = o[e];
|
|
50
|
-
o[e] === null && (i = await a.searchOptions(e, "")), i != null && i.length && (t.value[e].axisValue = i[0].value), g("update:fixedAxes", t.value);
|
|
51
|
-
}
|
|
52
|
-
}, { immediate: !0 }), (o, l) => (n(), f("div", D, [
|
|
53
|
-
d("div", {
|
|
54
|
-
class: F([{ error: o.error, sortable: o.sortable }, "dnd-double-chip"])
|
|
31
|
+
let o = e;
|
|
32
|
+
e === null && (o = await t.searchOptions(t.info.id, "")), o != null && o.length && (n.value = [o[0].value]);
|
|
33
|
+
}, { immediate: !0 }), (e, o) => (d(), m("div", B, [
|
|
34
|
+
i("div", {
|
|
35
|
+
class: f([{ error: e.error, sortable: e.sortable }, "dnd-double-chip"])
|
|
55
36
|
}, [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class:
|
|
37
|
+
i("div", O, [
|
|
38
|
+
i("div", {
|
|
39
|
+
class: f(["dnd-double-chip__icon", { error: e.error }])
|
|
59
40
|
}, [
|
|
60
|
-
|
|
41
|
+
e.error ? (d(), a(r(u), {
|
|
61
42
|
key: 0,
|
|
62
43
|
name: "warning"
|
|
63
|
-
})) : (
|
|
44
|
+
})) : (d(), a(r(u), {
|
|
64
45
|
key: 1,
|
|
65
|
-
name:
|
|
46
|
+
name: e.info.isSubsetFilter ? "cell-type-subset" : e.info.type === "String" ? "cell-type-txt" : "cell-type-num"
|
|
66
47
|
}, null, 8, ["name"]))
|
|
67
48
|
], 2),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
49
|
+
e.sortable ? (d(), m("div", D)) : M("", !0),
|
|
50
|
+
k(r(u), { name: "drag-dots" }),
|
|
51
|
+
i("div", {
|
|
71
52
|
class: "dnd-double-chip__title-wrapper",
|
|
72
|
-
title:
|
|
53
|
+
title: e.info.title
|
|
73
54
|
}, [
|
|
74
|
-
|
|
75
|
-
], 8,
|
|
76
|
-
|
|
77
|
-
innerHTML:
|
|
55
|
+
i("div", N, V(e.info.title), 1)
|
|
56
|
+
], 8, F),
|
|
57
|
+
i("div", {
|
|
58
|
+
innerHTML: r(C),
|
|
78
59
|
class: "dnd-double-chip__icon-close",
|
|
79
|
-
onClick:
|
|
80
|
-
}, null, 8,
|
|
60
|
+
onClick: o[0] || (o[0] = (l) => e.$emit("close-chip", t.info.id))
|
|
61
|
+
}, null, 8, P)
|
|
81
62
|
]),
|
|
82
|
-
|
|
83
|
-
|
|
63
|
+
i("div", S, [
|
|
64
|
+
s.value !== null ? (d(), a(r(g), {
|
|
84
65
|
key: 0,
|
|
85
|
-
modelValue:
|
|
86
|
-
"onUpdate:modelValue":
|
|
87
|
-
options:
|
|
88
|
-
}, null, 8, ["modelValue", "options"])) : (
|
|
66
|
+
modelValue: n.value,
|
|
67
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => n.value = l),
|
|
68
|
+
options: s.value
|
|
69
|
+
}, null, 8, ["modelValue", "options"])) : (d(), a(r(w), {
|
|
89
70
|
key: 1,
|
|
90
|
-
modelValue:
|
|
91
|
-
"onUpdate:modelValue":
|
|
92
|
-
"options-search": (
|
|
93
|
-
"model-search": (
|
|
71
|
+
modelValue: n.value,
|
|
72
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => n.value = l),
|
|
73
|
+
"options-search": (l) => e.searchOptions(t.info.id, l),
|
|
74
|
+
"model-search": (l) => e.searchModel(t.info.id, l)
|
|
94
75
|
}, null, 8, ["modelValue", "options-search", "model-search"]))
|
|
95
76
|
])
|
|
96
|
-
], 2)
|
|
97
|
-
o.info.axesToBeFixed.length > 0 ? (n(), f("div", q, [
|
|
98
|
-
(n(!0), f(B, null, $(o.info.axesToBeFixed, (e) => (n(), f(B, { key: e }, [
|
|
99
|
-
t.value[e] && p.value[e] !== null ? (n(), r(s(k), {
|
|
100
|
-
key: 0,
|
|
101
|
-
modelValue: t.value[e].axisValue,
|
|
102
|
-
"onUpdate:modelValue": [
|
|
103
|
-
(i) => t.value[e].axisValue = i,
|
|
104
|
-
l[3] || (l[3] = (i) => o.$emit("update:fixedAxes", t.value))
|
|
105
|
-
],
|
|
106
|
-
options: p.value[e],
|
|
107
|
-
label: o.info.axesToBeFixedInfo[e].title
|
|
108
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "label"])) : t.value[e] ? (n(), r(s(T), {
|
|
109
|
-
key: 1,
|
|
110
|
-
modelValue: t.value[e].axisValue,
|
|
111
|
-
"onUpdate:modelValue": [
|
|
112
|
-
(i) => t.value[e].axisValue = i,
|
|
113
|
-
l[4] || (l[4] = (i) => o.$emit("update:fixedAxes", t.value))
|
|
114
|
-
],
|
|
115
|
-
"options-search": (i) => o.searchOptions(e, i),
|
|
116
|
-
"model-search": (i) => o.searchModel(e, i),
|
|
117
|
-
label: o.info.axesToBeFixedInfo[e].title
|
|
118
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "options-search", "model-search", "label"])) : h("", !0)
|
|
119
|
-
], 64))), 128))
|
|
120
|
-
])) : h("", !0)
|
|
77
|
+
], 2)
|
|
121
78
|
], 512));
|
|
122
79
|
}
|
|
123
80
|
});
|
|
124
81
|
export {
|
|
125
|
-
|
|
82
|
+
T as default
|
|
126
83
|
};
|
|
127
84
|
//# sourceMappingURL=DndDoubleChip.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DndDoubleChip.vue.js","sources":["../../../../src/GraphMaker/components/DragAndDrop/DndDoubleChip.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, ref, watch } from 'vue';\nimport type { ListOption } from '@platforma-sdk/ui-vue';\nimport {
|
|
1
|
+
{"version":3,"file":"DndDoubleChip.vue.js","sources":["../../../../src/GraphMaker/components/DragAndDrop/DndDoubleChip.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { onMounted, ref, watch } from 'vue';\nimport type { ListOption, ListOptionBase } from '@platforma-sdk/ui-vue';\nimport { PlAutocompleteMulti, PlDropdownMulti, PlIcon16 } from '@platforma-sdk/ui-vue';\nimport { ChipInfo } from './types';\nimport CloseIcon from '../../assets/drag-and-drop/img/chip-close.svg?raw';\n\nconst props = defineProps<{\n info: ChipInfo;\n error: boolean;\n searchModel: (sourceId:string, selectedValues:string[]) => Promise<ListOptionBase<string>[]>;\n searchOptions: (sourceId:string, searchStr:string) => Promise<ListOptionBase<string>[]>;\n loadOptions: (sourceId:string) => Promise<ListOptionBase<string>[] | null>;\n sortable?: boolean;\n}>();\n\nconst emit = defineEmits<{\n (e: 'close-chip', id: ChipInfo['id']): void;\n (e: 'update:filter', id: unknown): void;\n}>();\n\nconst filterModel = defineModel<string[]>('filter', {required: true});\n\nconst preloadedOptions = ref<ListOption[]|null|undefined>();\n\nonMounted(async () => {\n preloadedOptions.value = await props.loadOptions(props.info.id);\n});\n\nwatch(() => preloadedOptions.value, async (opts) => {\n if (filterModel.value !== undefined || opts === undefined) { // some filter value already selected or options isn't loaded yet\n return;\n }\n let availableOptions = opts;\n if (opts === null) { // options loaded but too many unique values\n availableOptions = await props.searchOptions(props.info.id, '');\n }\n if (availableOptions?.length) {\n filterModel.value = [availableOptions[0].value as string];\n }\n}, {immediate: true});\n\n</script>\n\n<template>\n <div ref=\"chipRoot\" class=\"dnd-double-chip__group\">\n <div :class=\"{ error, sortable }\" class=\"dnd-double-chip\">\n <div class=\"dnd-double-chip__top\">\n <div class=\"dnd-double-chip__icon\" :class=\"{error}\">\n <PlIcon16 v-if=\"error\" name=\"warning\"/>\n <PlIcon16 v-else :name=\"info.isSubsetFilter ? 'cell-type-subset' : info.type === 'String' ? 'cell-type-txt' : 'cell-type-num'\"/>\n </div>\n <div v-if=\"sortable\" class=\"dnd-basket-chip__handler\"></div>\n <PlIcon16 name=\"drag-dots\" />\n <div class=\"dnd-double-chip__title-wrapper\" :title=\"info.title\">\n <div class=\"dnd-double-chip__title\">\n {{ info.title }}\n </div>\n </div>\n\n <div\n v-html=\"CloseIcon\"\n class=\"dnd-double-chip__icon-close\"\n @click=\"$emit('close-chip', props.info.id)\"\n />\n </div>\n <div class=\"dnd-double-chip__bottom\">\n <PlDropdownMulti v-if=\"preloadedOptions !== null\" v-model=\"filterModel\" :options=\"preloadedOptions\" />\n <PlAutocompleteMulti\n v-else\n v-model=\"filterModel\"\n :options-search=\"(str) => searchOptions(props.info.id, str)\"\n :model-search=\"(v) => searchModel(props.info.id, v as string[])\"\n />\n </div>\n </div>\n </div>\n</template>\n"],"names":["props","__props","filterModel","_useModel","preloadedOptions","ref","onMounted","watch","opts","availableOptions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAMA,IAAQC,GAcRC,IAAcC,EAAqBF,GAAC,QAA0B,GAE9DG,IAAmBC,EAAA;AAEzB,WAAAC,EAAU,YAAY;AACpB,MAAAF,EAAiB,QAAQ,MAAMJ,EAAM,YAAYA,EAAM,KAAK,EAAE;AAAA,IAChE,CAAC,GAEDO,EAAM,MAAMH,EAAiB,OAAO,OAAOI,MAAS;AAClD,UAAIN,EAAY,UAAU,UAAaM,MAAS;AAC9C;AAEF,UAAIC,IAAmBD;AACvB,MAAIA,MAAS,SACXC,IAAmB,MAAMT,EAAM,cAAcA,EAAM,KAAK,IAAI,EAAE,IAE5DS,KAAA,QAAAA,EAAkB,WACpBP,EAAY,QAAQ,CAACO,EAAiB,CAAC,EAAE,KAAe;AAAA,IAE5D,GAAG,EAAC,WAAW,IAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { ValueType } from '@platforma-sdk/model';
|
|
3
|
-
import { PValue } from '@milaboratories/pf-plots';
|
|
4
3
|
export type ChipInfo = {
|
|
5
4
|
id: string;
|
|
6
5
|
title: string;
|
|
@@ -10,12 +9,6 @@ export type ChipInfo = {
|
|
|
10
9
|
isDiscreteFilter: boolean;
|
|
11
10
|
availableBasketIds: Set<string>;
|
|
12
11
|
uniqueValues: string[];
|
|
13
|
-
axesToBeFixed: string[];
|
|
14
|
-
axesToBeFixedInfo: Record<string, {
|
|
15
|
-
title: string;
|
|
16
|
-
type: ValueType;
|
|
17
|
-
idx: number;
|
|
18
|
-
}>;
|
|
19
12
|
};
|
|
20
13
|
export type DndBasketProps<T = any> = {
|
|
21
14
|
id: T;
|
|
@@ -27,10 +20,8 @@ export type DndBasketProps<T = any> = {
|
|
|
27
20
|
readonly?: boolean;
|
|
28
21
|
consistency: Record<string, boolean>;
|
|
29
22
|
droppedIds: string[];
|
|
30
|
-
|
|
31
|
-
selectedFilters?: Record<string, string | undefined>;
|
|
23
|
+
selectedFilters?: Record<string, string[]>;
|
|
32
24
|
selectedRanges?: Record<string, [number, number]>;
|
|
33
|
-
fixedAxes: Record<string, Record<string, FixedAxisData>>;
|
|
34
25
|
info: Record<string, ChipInfo>;
|
|
35
26
|
draggedId: string | null;
|
|
36
27
|
sortable?: boolean;
|
|
@@ -55,32 +46,21 @@ export type RemoveItemEvent<T = any> = {
|
|
|
55
46
|
chipId: ChipInfo['id'];
|
|
56
47
|
basketId: DndBasketProps<T>['id'];
|
|
57
48
|
};
|
|
58
|
-
export type FixedAxisData = {
|
|
59
|
-
axisIdx: number;
|
|
60
|
-
axisSource: string;
|
|
61
|
-
axisValue: PValue;
|
|
62
|
-
};
|
|
63
49
|
export type SelectFilterValueEvent = {
|
|
64
50
|
v: any;
|
|
65
51
|
idx: number;
|
|
66
52
|
};
|
|
67
|
-
export type SelectFixedAxisValueEvent = {
|
|
68
|
-
v: Record<string, FixedAxisData>;
|
|
69
|
-
idx: number;
|
|
70
|
-
};
|
|
71
53
|
export type DndBasketEmits = {
|
|
72
54
|
(e: 'drop-item', data: DropItemEvent): void;
|
|
73
55
|
(e: 'remove-item', data: RemoveItemEvent): void;
|
|
74
56
|
(e: 'select-filter-value', data: SelectFilterValueEvent): void;
|
|
75
57
|
(e: 'select-filter-range', data: SelectFilterValueEvent): void;
|
|
76
|
-
(e: 'select-fixed-axis-value', data: SelectFixedAxisValueEvent): void;
|
|
77
58
|
(e: 'reorder', data: ChipInfo['id'][]): void;
|
|
78
59
|
};
|
|
79
60
|
export type BasketProps<T extends Ref = Ref, Q = keyof T['value']> = DndBasketProps<Q> & {
|
|
80
61
|
listeners: {
|
|
81
62
|
'drop-item': (data: DropItemEvent) => void;
|
|
82
63
|
'remove-item': (data: RemoveItemEvent) => void;
|
|
83
|
-
'select-fixed-axis-value': (data: SelectFixedAxisValueEvent) => void;
|
|
84
64
|
'select-filter-value'?: (data: SelectFilterValueEvent) => void;
|
|
85
65
|
'select-filter-range'?: (data: SelectFilterValueEvent) => void;
|
|
86
66
|
'reorder'?: (data: ChipInfo['id'][]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/GraphMaker/components/DragAndDrop/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/GraphMaker/components/DragAndDrop/types.ts"],"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,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC;CAC9C,CAAC;AAGF,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,GAAG,GAAG,GAAG,EACnB,CAAC,GAAG,MAAM,CAAC,CAAC,OAAO,CAAC,IAClB,cAAc,CAAC,CAAC,CAAC,GAAG;IACtB,SAAS,EAAE;QACT,WAAW,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;QAC3C,aAAa,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;QAC/C,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;QAC/D,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAC;QAC/D,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC;KAC9C,CAAC;CACH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as $, ref as
|
|
2
|
-
import {
|
|
3
|
-
import { useMouseCapture as
|
|
4
|
-
const c = 1,
|
|
1
|
+
import { defineComponent as $, ref as s, computed as g, unref as k, createElementBlock as B, openBlock as S, normalizeClass as y, normalizeStyle as A, createElementVNode as C } from "vue";
|
|
2
|
+
import { clamp as d, tapIf as F } from "../../node_modules/@milaboratories/helpers/dist/utils.js";
|
|
3
|
+
import { useMouseCapture as N } from "@platforma-sdk/ui-vue";
|
|
4
|
+
const c = 1, K = /* @__PURE__ */ $({
|
|
5
5
|
__name: "PlColorSliderThumb",
|
|
6
6
|
props: {
|
|
7
7
|
barRef: {},
|
|
@@ -14,9 +14,9 @@ const c = 1, I = /* @__PURE__ */ $({
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue", "active"],
|
|
16
16
|
setup(L, { emit: M }) {
|
|
17
|
-
const l = L,
|
|
18
|
-
let p =
|
|
19
|
-
const w = r - n, V = l.padding / l.barRef.getBoundingClientRect().width * 100 / 2, f = g(() =>
|
|
17
|
+
const l = L, u = M, b = s(), m = s(), a = s(!1), n = l.min, r = l.max;
|
|
18
|
+
let p = s(0);
|
|
19
|
+
const w = r - n, V = l.padding / l.barRef.getBoundingClientRect().width * 100 / 2, f = g(() => d(
|
|
20
20
|
(l.modelValue ?? 0) + p.value,
|
|
21
21
|
Math.ceil(n + V),
|
|
22
22
|
Math.ceil(r - V)
|
|
@@ -24,26 +24,26 @@ const c = 1, I = /* @__PURE__ */ $({
|
|
|
24
24
|
right: `calc(${Math.ceil((1 - E.value) * 100)}%) `
|
|
25
25
|
})), E = g(() => (f.value - n) / w);
|
|
26
26
|
function R(e) {
|
|
27
|
-
const t =
|
|
27
|
+
const t = d(e, n, r);
|
|
28
28
|
return Math.round((t + Number.EPSILON) * (1 / c)) / (1 / c);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function i() {
|
|
31
|
+
a.value = !1;
|
|
32
32
|
}
|
|
33
33
|
function v(e) {
|
|
34
|
-
e ? (document.addEventListener("mouseup",
|
|
34
|
+
e ? (document.addEventListener("mouseup", i), document.addEventListener("focusout", i)) : (document.removeEventListener("mouseup", i), document.removeEventListener("focusout", i)), a.value = e, u("active", e);
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
N(b, (e) => {
|
|
37
37
|
var t;
|
|
38
|
-
|
|
38
|
+
F((t = k(l.barRef)) == null ? void 0 : t.getBoundingClientRect(), (o) => {
|
|
39
39
|
const { dx: _ } = e;
|
|
40
|
-
p.value = _ / o.width * w, e.stop && (
|
|
40
|
+
p.value = _ / o.width * w, e.stop && (u("update:modelValue", R(f.value)), p.value = 0);
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
function P(e) {
|
|
44
44
|
["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft", "Enter"].includes(
|
|
45
45
|
e.code
|
|
46
|
-
) && e.preventDefault(), e.code === "ArrowLeft" &&
|
|
46
|
+
) && e.preventDefault(), e.code === "ArrowLeft" && u("update:modelValue", d(l.modelValue - c, n, r)), e.code === "ArrowRight" && u("update:modelValue", d(l.modelValue + c, n, r));
|
|
47
47
|
}
|
|
48
48
|
function h(e) {
|
|
49
49
|
var t, o;
|
|
@@ -53,7 +53,7 @@ const c = 1, I = /* @__PURE__ */ $({
|
|
|
53
53
|
ref_key: "wrapper",
|
|
54
54
|
ref: m,
|
|
55
55
|
style: A(x.value),
|
|
56
|
-
class: y([{ "active-thumb":
|
|
56
|
+
class: y([{ "active-thumb": a.value || e.isActive }, "pl-color-slider__thumb"]),
|
|
57
57
|
tabindex: "0",
|
|
58
58
|
onMousedown: t[2] || (t[2] = (o) => v(!0)),
|
|
59
59
|
onMouseup: t[3] || (t[3] = (o) => v(!1)),
|
|
@@ -63,7 +63,7 @@ const c = 1, I = /* @__PURE__ */ $({
|
|
|
63
63
|
C("div", {
|
|
64
64
|
ref_key: "thumb",
|
|
65
65
|
ref: b,
|
|
66
|
-
class: y([{ active:
|
|
66
|
+
class: y([{ active: a.value }, "pl-color-slider__thumb-roof"]),
|
|
67
67
|
onMouseover: t[0] || (t[0] = (o) => h(!0)),
|
|
68
68
|
onMouseout: t[1] || (t[1] = (o) => h(!1))
|
|
69
69
|
}, [
|
|
@@ -76,6 +76,6 @@ const c = 1, I = /* @__PURE__ */ $({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
K as default
|
|
80
80
|
};
|
|
81
81
|
//# sourceMappingURL=PlColorSliderThumb.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlColorSliderThumb.vue.js","sources":["../../../src/GraphMaker/components/PlColorSliderThumb.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { utils } from '@milaboratories/helpers';\nimport { useMouseCapture } from '@platforma-sdk/ui-vue';\nimport { computed, ref, unref } from 'vue';\n\nconst props = withDefaults(\n defineProps<{\n barRef: HTMLElement;\n modelValue: number;\n min: number;\n max: number;\n getColorForPercent: (percent: number) => string;\n padding?: number;\n isActive: boolean;\n }>(),\n { min: 0, max: 100, padding: 16 }\n);\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: number): void;\n (e: 'active', v: boolean): void;\n}>();\n\nconst thumb = ref<HTMLElement>();\nconst wrapper = ref<HTMLElement>();\nconst active = ref(false);\nconst min = props.min;\nconst max = props.max;\nconst step = 1;\nlet deltaValue = ref(0);\nconst range = max - min;\n\nconst onePerc =\n ((props.padding / props.barRef.getBoundingClientRect().width) * 100) / 2;\n\nconst localValue = computed(() => {\n return utils.clamp(\n (props.modelValue ?? 0) + deltaValue.value,\n Math.ceil(min + onePerc),\n Math.ceil(max - onePerc)\n );\n});\n\nconst thumbStyle = computed(() => {\n let value = Math.ceil((1 - position.value) * 100);\n return {\n right: `calc(${value}%) `\n };\n});\n\nconst position = computed(() => {\n return (localValue.value - min) / range;\n});\n\nfunction round(value: number) {\n const v = utils.clamp(value, min, max);\n return Math.round((v + Number.EPSILON) * (1 / step)) / (1 / step);\n}\n\nfunction upHandler() {\n active.value = false;\n}\n\nfunction emitActive(val: boolean) {\n if (val) {\n document.addEventListener('mouseup', upHandler);\n document.addEventListener('focusout', upHandler);\n } else {\n document.removeEventListener('mouseup', upHandler);\n document.removeEventListener('focusout', upHandler);\n }\n active.value = val;\n emit('active', val);\n}\n\nuseMouseCapture(thumb, (ev) => {\n utils.tapIf(unref(props.barRef)?.getBoundingClientRect(), (rect: DOMRect) => {\n const { dx } = ev;\n deltaValue.value = (dx / rect.width) * range;\n if (ev.stop) {\n emit('update:modelValue', round(localValue.value));\n deltaValue.value = 0;\n }\n });\n});\n\nfunction handleKeyPress(e: KeyboardEvent) {\n if (\n ['ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Enter'].includes(\n e.code\n )\n ) {\n e.preventDefault();\n }\n\n if (e.code === 'ArrowLeft') {\n emit('update:modelValue', utils.clamp(props.modelValue - step, min, max));\n }\n if (e.code === 'ArrowRight') {\n emit('update:modelValue', utils.clamp(props.modelValue + step, min, max));\n }\n}\n\nfunction toggleZindex(mode: boolean) {\n if (mode) {\n wrapper.value?.classList.add('pl-color-slider__top-index');\n } else {\n wrapper.value?.classList.remove('pl-color-slider__top-index');\n }\n}\n</script>\n<template>\n <div\n ref=\"wrapper\"\n :style=\"thumbStyle\"\n :class=\"{ 'active-thumb': active || isActive }\"\n class=\"pl-color-slider__thumb\"\n tabindex=\"0\"\n @mousedown=\"emitActive(true)\"\n @mouseup=\"emitActive(false)\"\n @keydown=\"handleKeyPress\"\n @focus=\"emitActive(true)\"\n >\n <div\n ref=\"thumb\"\n :class=\"{ active: active }\"\n class=\"pl-color-slider__thumb-roof\"\n @mouseover=\"toggleZindex(true)\"\n @mouseout=\"toggleZindex(false)\"\n >\n <div\n class=\"pl-color-slider__thumb-color-indicator\"\n :style=\"{ backgroundColor: getColorForPercent(localValue) }\"\n ></div>\n </div>\n </div>\n</template>\n"],"names":["step","props","__props","emit","__emit","thumb","ref","wrapper","active","min","max","deltaValue","range","onePerc","localValue","computed","utils","thumbStyle","position","round","value","v","upHandler","emitActive","val","useMouseCapture","ev","_a","unref","rect","dx","handleKeyPress","toggleZindex","mode","_b"],"mappings":";;;AA4BA,MAAMA,IAAO;;;;;;;;;;;;;AAvBb,UAAMC,IAAQC,GAaRC,IAAOC,GAKPC,IAAQC,EAAA,GACRC,IAAUD,EAAA,GACVE,IAASF,EAAI,EAAK,GAClBG,IAAMR,EAAM,KACZS,IAAMT,EAAM;AAElB,QAAIU,IAAaL,EAAI,CAAC;AACtB,UAAMM,IAAQF,IAAMD,GAEdI,IACFZ,EAAM,UAAUA,EAAM,OAAO,sBAAA,EAAwB,QAAS,MAAO,GAEnEa,IAAaC,EAAS,MACnBC
|
|
1
|
+
{"version":3,"file":"PlColorSliderThumb.vue.js","sources":["../../../src/GraphMaker/components/PlColorSliderThumb.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { utils } from '@milaboratories/helpers';\nimport { useMouseCapture } from '@platforma-sdk/ui-vue';\nimport { computed, ref, unref } from 'vue';\n\nconst props = withDefaults(\n defineProps<{\n barRef: HTMLElement;\n modelValue: number;\n min: number;\n max: number;\n getColorForPercent: (percent: number) => string;\n padding?: number;\n isActive: boolean;\n }>(),\n { min: 0, max: 100, padding: 16 }\n);\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', value: number): void;\n (e: 'active', v: boolean): void;\n}>();\n\nconst thumb = ref<HTMLElement>();\nconst wrapper = ref<HTMLElement>();\nconst active = ref(false);\nconst min = props.min;\nconst max = props.max;\nconst step = 1;\nlet deltaValue = ref(0);\nconst range = max - min;\n\nconst onePerc =\n ((props.padding / props.barRef.getBoundingClientRect().width) * 100) / 2;\n\nconst localValue = computed(() => {\n return utils.clamp(\n (props.modelValue ?? 0) + deltaValue.value,\n Math.ceil(min + onePerc),\n Math.ceil(max - onePerc)\n );\n});\n\nconst thumbStyle = computed(() => {\n let value = Math.ceil((1 - position.value) * 100);\n return {\n right: `calc(${value}%) `\n };\n});\n\nconst position = computed(() => {\n return (localValue.value - min) / range;\n});\n\nfunction round(value: number) {\n const v = utils.clamp(value, min, max);\n return Math.round((v + Number.EPSILON) * (1 / step)) / (1 / step);\n}\n\nfunction upHandler() {\n active.value = false;\n}\n\nfunction emitActive(val: boolean) {\n if (val) {\n document.addEventListener('mouseup', upHandler);\n document.addEventListener('focusout', upHandler);\n } else {\n document.removeEventListener('mouseup', upHandler);\n document.removeEventListener('focusout', upHandler);\n }\n active.value = val;\n emit('active', val);\n}\n\nuseMouseCapture(thumb, (ev) => {\n utils.tapIf(unref(props.barRef)?.getBoundingClientRect(), (rect: DOMRect) => {\n const { dx } = ev;\n deltaValue.value = (dx / rect.width) * range;\n if (ev.stop) {\n emit('update:modelValue', round(localValue.value));\n deltaValue.value = 0;\n }\n });\n});\n\nfunction handleKeyPress(e: KeyboardEvent) {\n if (\n ['ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Enter'].includes(\n e.code\n )\n ) {\n e.preventDefault();\n }\n\n if (e.code === 'ArrowLeft') {\n emit('update:modelValue', utils.clamp(props.modelValue - step, min, max));\n }\n if (e.code === 'ArrowRight') {\n emit('update:modelValue', utils.clamp(props.modelValue + step, min, max));\n }\n}\n\nfunction toggleZindex(mode: boolean) {\n if (mode) {\n wrapper.value?.classList.add('pl-color-slider__top-index');\n } else {\n wrapper.value?.classList.remove('pl-color-slider__top-index');\n }\n}\n</script>\n<template>\n <div\n ref=\"wrapper\"\n :style=\"thumbStyle\"\n :class=\"{ 'active-thumb': active || isActive }\"\n class=\"pl-color-slider__thumb\"\n tabindex=\"0\"\n @mousedown=\"emitActive(true)\"\n @mouseup=\"emitActive(false)\"\n @keydown=\"handleKeyPress\"\n @focus=\"emitActive(true)\"\n >\n <div\n ref=\"thumb\"\n :class=\"{ active: active }\"\n class=\"pl-color-slider__thumb-roof\"\n @mouseover=\"toggleZindex(true)\"\n @mouseout=\"toggleZindex(false)\"\n >\n <div\n class=\"pl-color-slider__thumb-color-indicator\"\n :style=\"{ backgroundColor: getColorForPercent(localValue) }\"\n ></div>\n </div>\n </div>\n</template>\n"],"names":["step","props","__props","emit","__emit","thumb","ref","wrapper","active","min","max","deltaValue","range","onePerc","localValue","computed","utils.clamp","thumbStyle","position","round","value","v","upHandler","emitActive","val","useMouseCapture","ev","utils.tapIf","_a","unref","rect","dx","handleKeyPress","toggleZindex","mode","_b"],"mappings":";;;AA4BA,MAAMA,IAAO;;;;;;;;;;;;;AAvBb,UAAMC,IAAQC,GAaRC,IAAOC,GAKPC,IAAQC,EAAA,GACRC,IAAUD,EAAA,GACVE,IAASF,EAAI,EAAK,GAClBG,IAAMR,EAAM,KACZS,IAAMT,EAAM;AAElB,QAAIU,IAAaL,EAAI,CAAC;AACtB,UAAMM,IAAQF,IAAMD,GAEdI,IACFZ,EAAM,UAAUA,EAAM,OAAO,sBAAA,EAAwB,QAAS,MAA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,KAGJ,EAAE,eAAA,GAGA,EAAE,SAAS,eACb7B,EAAK,qBAAqBa,EAAYf,EAAM,aAAaD,GAAMS,GAAKC,CAAG,CAAC,GAEtE,EAAE,SAAS,gBACbP,EAAK,qBAAqBa,EAAYf,EAAM,aAAaD,GAAMS,GAAKC,CAAG,CAAC;AAAA,IAE5E;AAEA,aAASuB,EAAaC,GAAe;;AACnC,MAAIA,KACFN,IAAArB,EAAQ,UAAR,QAAAqB,EAAe,UAAU,IAAI,iCAE7BO,IAAA5B,EAAQ,UAAR,QAAA4B,EAAe,UAAU,OAAO;AAAA,IAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,7 +9,6 @@ export declare const LOWER_LIMIT_KEY = "pl7.app/graph/axis/lowerLimit";
|
|
|
9
9
|
export declare const UPPER_LIMIT_KEY = "pl7.app/graph/axis/upperLimit";
|
|
10
10
|
export declare const SYMMETRIC_RANGE_KEY = "pl7.app/graph/axis/symmetricRange";
|
|
11
11
|
export declare const PALETTE_KEY = "pl7.app/graph/palette";
|
|
12
|
-
export declare const AXIS_NATURE_KEY = "pl7.app/axisNature";
|
|
13
12
|
export declare const COLUMN_MIN_KEY = "pl7.app/min";
|
|
14
13
|
export declare const COLUMN_MAX_KEY = "pl7.app/max";
|
|
15
14
|
export declare const SUBSET_FILTER_KEY = "pl7.app/isSubset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constantsCommon.d.ts","sourceRoot":"","sources":["../../src/GraphMaker/constantsCommon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EACL,QAAQ,EACR,QAAQ,EACT,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"constantsCommon.d.ts","sourceRoot":"","sources":["../../src/GraphMaker/constantsCommon.ts"],"names":[],"mappings":"AAA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