@milaboratories/graph-maker 1.1.221 → 1.1.223
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/components/Chart.vue.d.ts.map +1 -1
- package/dist/components/Chart.vue.js +32 -32
- package/dist/components/Chart.vue.js.map +1 -1
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js +3 -2
- package/dist/forms/AxesSettingsForm/DiscreteAxesSettingsForm.vue.js.map +1 -1
- package/dist/forms/DataMappingForm/DiscreteForm.vue.js +3 -2
- package/dist/forms/DataMappingForm/DiscreteForm.vue.js.map +1 -1
- package/dist/forms/StatisticsForm/DiscreteStatisticsForm.vue.js +16 -15
- package/dist/forms/StatisticsForm/DiscreteStatisticsForm.vue.js.map +1 -1
- package/dist/index.vue.d.ts +0 -6
- package/dist/index.vue.d.ts.map +1 -1
- package/dist/index.vue.js +184 -209
- package/dist/index.vue.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +106 -121
- package/dist/store.js.map +1 -1
- package/dist/types.d.ts +4 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/addFixedOptionsToState.d.ts.map +1 -1
- package/dist/utils/addFixedOptionsToState.js +9 -9
- package/dist/utils/addFixedOptionsToState.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js +6 -5
- package/dist/utils/createChartSettingsForRender/composeBubbleSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js +9 -8
- package/dist/utils/createChartSettingsForRender/composeDiscreteSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js +3 -2
- package/dist/utils/createChartSettingsForRender/composeHeatmapSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js +3 -2
- package/dist/utils/createChartSettingsForRender/composeHistogramSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js +18 -17
- package/dist/utils/createChartSettingsForRender/composeScatterplotSettings.js.map +1 -1
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js +9 -8
- package/dist/utils/createChartSettingsForRender/composeScatterplotUmapSettings.js.map +1 -1
- package/dist/utils/getUsedAesInMapping.js +3 -2
- package/dist/utils/getUsedAesInMapping.js.map +1 -1
- package/dist/utils/loadDefaultSources.d.ts +5 -10
- package/dist/utils/loadDefaultSources.d.ts.map +1 -1
- package/dist/utils/loadDefaultSources.js +80 -48
- package/dist/utils/loadDefaultSources.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as u, watch as x, createElementBlock as y, openBlock as E, Fragment as k, createElementVNode as t, createVNode as
|
|
1
|
+
import { defineComponent as g, computed as u, watch as x, createElementBlock as y, openBlock as E, Fragment as k, createElementVNode as t, createVNode as r, unref as o, isRef as s } from "vue";
|
|
2
2
|
import { useStore as N } from "../../store.js";
|
|
3
3
|
import { PlDropdown as i, PlBtnGroup as h, PlCheckbox as b } from "@platforma-sdk/ui-vue";
|
|
4
4
|
import { STAT_TEST_METHOD as w, STAT_CORRECTION_METHOD as C, FORMAT_P_VALUE_OPTIONS as T } from "../../constantsCommon.js";
|
|
@@ -6,6 +6,7 @@ import "../../constantsAesthetic.js";
|
|
|
6
6
|
import "d3-scale";
|
|
7
7
|
import "@milaboratories/pf-plots";
|
|
8
8
|
import "@platforma-sdk/model";
|
|
9
|
+
import "@milaboratories/helpers";
|
|
9
10
|
import { getReferenceGroupOptions as R, getOverallTestMethodOptions as D, checkStatisticsInputsValidity as O } from "../../utils/getStatisticsOptions.js";
|
|
10
11
|
const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "input-item" }, F = { class: "input-item" }, H = {
|
|
11
12
|
class: "input-item",
|
|
@@ -13,17 +14,17 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
13
14
|
}, I = { class: "checkbox-item" }, _ = { class: "input-item" }, z = { class: "input-item" }, L = {
|
|
14
15
|
class: "input-item",
|
|
15
16
|
style: { "z-index": "0" }
|
|
16
|
-
}, j = { class: "checkbox-item" },
|
|
17
|
+
}, j = { class: "checkbox-item" }, le = /* @__PURE__ */ g({
|
|
17
18
|
__name: "DiscreteStatisticsForm",
|
|
18
19
|
setup(q) {
|
|
19
|
-
const d = N(), a = u(() => d.value.reactive.statisticsSettings), M = u(() => d.value.commonHelpersData.primaryGroups.value), U = u(() => R(M.value)), S = u(() => D(M.value)),
|
|
20
|
+
const d = N(), a = u(() => d.value.reactive.statisticsSettings), M = u(() => d.value.commonHelpersData.primaryGroups.value), U = u(() => R(M.value)), S = u(() => D(M.value)), n = (G, e) => u({
|
|
20
21
|
get() {
|
|
21
22
|
return G[e] ?? void 0;
|
|
22
23
|
},
|
|
23
24
|
set(l) {
|
|
24
25
|
G[e] = l ?? null;
|
|
25
26
|
}
|
|
26
|
-
}), p =
|
|
27
|
+
}), p = n(a.value.overall.data, "testMethod"), m = n(a.value.referenceGroup.data, "testMethod"), v = n(a.value.referenceGroup.data, "referenceGroup"), c = n(a.value.referenceGroup.data, "correctionMethod"), f = n(a.value.pairwise.data, "testMethod"), V = n(a.value.pairwise.data, "correctionMethod");
|
|
27
28
|
return O(d)(), x([
|
|
28
29
|
() => a.value.overall.data.testMethod,
|
|
29
30
|
() => a.value.referenceGroup.data.referenceGroup
|
|
@@ -33,7 +34,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
33
34
|
t("span", null, "overall p-value")
|
|
34
35
|
], -1)),
|
|
35
36
|
t("div", P, [
|
|
36
|
-
|
|
37
|
+
r(o(i), {
|
|
37
38
|
modelValue: o(p),
|
|
38
39
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => s(p) ? p.value = l : null),
|
|
39
40
|
label: "Method",
|
|
@@ -47,7 +48,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
47
48
|
t("span", null, "reference group")
|
|
48
49
|
], -1)),
|
|
49
50
|
t("div", A, [
|
|
50
|
-
|
|
51
|
+
r(o(i), {
|
|
51
52
|
modelValue: o(v),
|
|
52
53
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => s(v) ? v.value = l : null),
|
|
53
54
|
label: "Reference from...",
|
|
@@ -58,7 +59,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
58
59
|
}, null, 8, ["modelValue", "options", "error"])
|
|
59
60
|
]),
|
|
60
61
|
t("div", B, [
|
|
61
|
-
|
|
62
|
+
r(o(i), {
|
|
62
63
|
modelValue: o(m),
|
|
63
64
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => s(m) ? m.value = l : null),
|
|
64
65
|
label: "Method",
|
|
@@ -68,7 +69,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
68
69
|
}, null, 8, ["modelValue", "options"])
|
|
69
70
|
]),
|
|
70
71
|
t("div", F, [
|
|
71
|
-
|
|
72
|
+
r(o(i), {
|
|
72
73
|
modelValue: o(c),
|
|
73
74
|
"onUpdate:modelValue": e[3] || (e[3] = (l) => s(c) ? c.value = l : null),
|
|
74
75
|
label: "Correction method",
|
|
@@ -77,7 +78,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
77
78
|
}, null, 8, ["modelValue", "options"])
|
|
78
79
|
]),
|
|
79
80
|
t("div", H, [
|
|
80
|
-
|
|
81
|
+
r(o(h), {
|
|
81
82
|
modelValue: a.value.referenceGroup.data.format,
|
|
82
83
|
"onUpdate:modelValue": e[4] || (e[4] = (l) => a.value.referenceGroup.data.format = l),
|
|
83
84
|
label: "Show",
|
|
@@ -85,7 +86,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
85
86
|
}, null, 8, ["modelValue", "options"])
|
|
86
87
|
]),
|
|
87
88
|
t("div", I, [
|
|
88
|
-
|
|
89
|
+
r(o(b), {
|
|
89
90
|
modelValue: a.value.referenceGroup.data.ns,
|
|
90
91
|
"onUpdate:modelValue": e[5] || (e[5] = (l) => a.value.referenceGroup.data.ns = l)
|
|
91
92
|
}, null, 8, ["modelValue"]),
|
|
@@ -95,7 +96,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
95
96
|
t("span", null, "pairwise p-value")
|
|
96
97
|
], -1)),
|
|
97
98
|
t("div", _, [
|
|
98
|
-
|
|
99
|
+
r(o(i), {
|
|
99
100
|
modelValue: o(f),
|
|
100
101
|
"onUpdate:modelValue": e[6] || (e[6] = (l) => s(f) ? f.value = l : null),
|
|
101
102
|
label: "Method",
|
|
@@ -105,7 +106,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
105
106
|
}, null, 8, ["modelValue", "options"])
|
|
106
107
|
]),
|
|
107
108
|
t("div", z, [
|
|
108
|
-
|
|
109
|
+
r(o(i), {
|
|
109
110
|
modelValue: o(V),
|
|
110
111
|
"onUpdate:modelValue": e[7] || (e[7] = (l) => s(V) ? V.value = l : null),
|
|
111
112
|
label: "Correction method",
|
|
@@ -114,7 +115,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
114
115
|
}, null, 8, ["modelValue", "options"])
|
|
115
116
|
]),
|
|
116
117
|
t("div", L, [
|
|
117
|
-
|
|
118
|
+
r(o(h), {
|
|
118
119
|
modelValue: a.value.pairwise.data.format,
|
|
119
120
|
"onUpdate:modelValue": e[8] || (e[8] = (l) => a.value.pairwise.data.format = l),
|
|
120
121
|
label: "Show",
|
|
@@ -122,7 +123,7 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
122
123
|
}, null, 8, ["modelValue", "options"])
|
|
123
124
|
]),
|
|
124
125
|
t("div", j, [
|
|
125
|
-
|
|
126
|
+
r(o(b), {
|
|
126
127
|
modelValue: a.value.pairwise.data.ns,
|
|
127
128
|
"onUpdate:modelValue": e[9] || (e[9] = (l) => a.value.pairwise.data.ns = l)
|
|
128
129
|
}, null, 8, ["modelValue"]),
|
|
@@ -132,6 +133,6 @@ const P = { class: "input-item" }, A = { class: "input-item" }, B = { class: "in
|
|
|
132
133
|
}
|
|
133
134
|
});
|
|
134
135
|
export {
|
|
135
|
-
|
|
136
|
+
le as default
|
|
136
137
|
};
|
|
137
138
|
//# sourceMappingURL=DiscreteStatisticsForm.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscreteStatisticsForm.vue.js","sources":["../../../src/forms/StatisticsForm/DiscreteStatisticsForm.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../store';\nimport { PlDropdown, PlBtnGroup, PlCheckbox } from '@platforma-sdk/ui-vue';\nimport { computed, watch } from 'vue';\nimport type {\n DiscreteStatisticsState } from '../../constantsCommon';\nimport {\n FORMAT_P_VALUE_OPTIONS,\n STAT_CORRECTION_METHOD,\n STAT_TEST_METHOD,\n} from '../../constantsCommon';\nimport { checkStatisticsInputsValidity, getOverallTestMethodOptions, getReferenceGroupOptions } from '../../utils';\n\nconst store = useStore();\nconst settings = computed(() => store.value.reactive.statisticsSettings as DiscreteStatisticsState);\n\nconst primaryGroups = computed(() => store.value.commonHelpersData.primaryGroups.value);\n\nconst referenceGroupOptions = computed(() => getReferenceGroupOptions(primaryGroups.value));\n\nconst overallTestMethodOptions = computed(() => getOverallTestMethodOptions(primaryGroups.value));\n\nconst withUndefined = (data: Record<string, string | null | boolean>, field: string) => {\n return computed({\n get() {\n return data[field] ?? undefined;\n },\n set(newValue: string | undefined) {\n data[field] = newValue ?? null;\n },\n });\n};\nconst overallTestMethod = withUndefined(settings.value.overall.data, 'testMethod');\n\nconst referenceGroupMethod = withUndefined(settings.value.referenceGroup.data, 'testMethod');\nconst referenceGroup = withUndefined(settings.value.referenceGroup.data, 'referenceGroup');\nconst referenceGroupCorrection = withUndefined(settings.value.referenceGroup.data, 'correctionMethod');\n\nconst pairwise = withUndefined(settings.value.pairwise.data, 'testMethod');\nconst pairwiseCorrection = withUndefined(settings.value.pairwise.data, 'correctionMethod');\n\ncheckStatisticsInputsValidity(store)();\nwatch([\n () => settings.value.overall.data.testMethod,\n () => settings.value.referenceGroup.data.referenceGroup,\n], checkStatisticsInputsValidity(store));\n</script>\n<template>\n <h3>\n Statistics\n </h3>\n <!--Overall p-value settings-->\n <div class=\"section-title\"><span>overall p-value</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"overallTestMethod\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"overallTestMethodOptions\"\n :error=\"settings.overall.validity.testMethod ? '' : ' '\"\n />\n </div>\n <!--Reference group p-value settings-->\n <div class=\"section-title\"><span>reference group</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroup\"\n label=\"Reference from...\"\n clearable\n placeholder=\"Choose\"\n :options=\"referenceGroupOptions\"\n :error=\"settings.referenceGroup.validity.referenceGroup ? '' : ' '\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroupMethod\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroupCorrection\"\n label=\"Correction method\"\n placeholder=\"Choose\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <PlBtnGroup\n v-model=\"settings.referenceGroup.data.format\"\n label=\"Show\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.referenceGroup.data.ns\"/>\n <span>Non-significant</span>\n </div>\n <!--pairwise.data p-value settings-->\n <div class=\"section-title\"><span>pairwise p-value</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"pairwise\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"pairwiseCorrection\"\n label=\"Correction method\"\n placeholder=\"Choose\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <PlBtnGroup\n v-model=\"settings.pairwise.data.format\"\n label=\"Show\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.pairwise.data.ns\"/>\n <span>Non-significant</span>\n </div>\n</template>\n"],"names":["store","useStore","settings","computed","primaryGroups","referenceGroupOptions","getReferenceGroupOptions","overallTestMethodOptions","getOverallTestMethodOptions","withUndefined","data","field","newValue","overallTestMethod","referenceGroupMethod","referenceGroup","referenceGroupCorrection","pairwise","pairwiseCorrection","checkStatisticsInputsValidity","watch","_cache","_createElementVNode","_hoisted_1","_createVNode","_unref","PlDropdown","$event","_hoisted_2","_hoisted_3","STAT_TEST_METHOD","_hoisted_4","STAT_CORRECTION_METHOD","_hoisted_5","PlBtnGroup","FORMAT_P_VALUE_OPTIONS","_hoisted_6","PlCheckbox","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DiscreteStatisticsForm.vue.js","sources":["../../../src/forms/StatisticsForm/DiscreteStatisticsForm.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useStore } from '../../store';\nimport { PlDropdown, PlBtnGroup, PlCheckbox } from '@platforma-sdk/ui-vue';\nimport { computed, watch } from 'vue';\nimport type {\n DiscreteStatisticsState } from '../../constantsCommon';\nimport {\n FORMAT_P_VALUE_OPTIONS,\n STAT_CORRECTION_METHOD,\n STAT_TEST_METHOD,\n} from '../../constantsCommon';\nimport { checkStatisticsInputsValidity, getOverallTestMethodOptions, getReferenceGroupOptions } from '../../utils';\n\nconst store = useStore();\nconst settings = computed(() => store.value.reactive.statisticsSettings as DiscreteStatisticsState);\n\nconst primaryGroups = computed(() => store.value.commonHelpersData.primaryGroups.value);\n\nconst referenceGroupOptions = computed(() => getReferenceGroupOptions(primaryGroups.value));\n\nconst overallTestMethodOptions = computed(() => getOverallTestMethodOptions(primaryGroups.value));\n\nconst withUndefined = (data: Record<string, string | null | boolean>, field: string) => {\n return computed({\n get() {\n return data[field] ?? undefined;\n },\n set(newValue: string | undefined) {\n data[field] = newValue ?? null;\n },\n });\n};\nconst overallTestMethod = withUndefined(settings.value.overall.data, 'testMethod');\n\nconst referenceGroupMethod = withUndefined(settings.value.referenceGroup.data, 'testMethod');\nconst referenceGroup = withUndefined(settings.value.referenceGroup.data, 'referenceGroup');\nconst referenceGroupCorrection = withUndefined(settings.value.referenceGroup.data, 'correctionMethod');\n\nconst pairwise = withUndefined(settings.value.pairwise.data, 'testMethod');\nconst pairwiseCorrection = withUndefined(settings.value.pairwise.data, 'correctionMethod');\n\ncheckStatisticsInputsValidity(store)();\nwatch([\n () => settings.value.overall.data.testMethod,\n () => settings.value.referenceGroup.data.referenceGroup,\n], checkStatisticsInputsValidity(store));\n</script>\n<template>\n <h3>\n Statistics\n </h3>\n <!--Overall p-value settings-->\n <div class=\"section-title\"><span>overall p-value</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"overallTestMethod\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"overallTestMethodOptions\"\n :error=\"settings.overall.validity.testMethod ? '' : ' '\"\n />\n </div>\n <!--Reference group p-value settings-->\n <div class=\"section-title\"><span>reference group</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroup\"\n label=\"Reference from...\"\n clearable\n placeholder=\"Choose\"\n :options=\"referenceGroupOptions\"\n :error=\"settings.referenceGroup.validity.referenceGroup ? '' : ' '\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroupMethod\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"referenceGroupCorrection\"\n label=\"Correction method\"\n placeholder=\"Choose\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <PlBtnGroup\n v-model=\"settings.referenceGroup.data.format\"\n label=\"Show\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.referenceGroup.data.ns\"/>\n <span>Non-significant</span>\n </div>\n <!--pairwise.data p-value settings-->\n <div class=\"section-title\"><span>pairwise p-value</span></div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"pairwise\"\n label=\"Method\"\n clearable\n placeholder=\"Choose\"\n :options=\"STAT_TEST_METHOD\"\n />\n </div>\n <div class=\"input-item\">\n <PlDropdown\n v-model=\"pairwiseCorrection\"\n label=\"Correction method\"\n placeholder=\"Choose\"\n :options=\"STAT_CORRECTION_METHOD\"\n />\n </div>\n <div class=\"input-item\" style=\"z-index: 0\">\n <PlBtnGroup\n v-model=\"settings.pairwise.data.format\"\n label=\"Show\"\n :options=\"FORMAT_P_VALUE_OPTIONS\"\n />\n </div>\n <div class=\"checkbox-item\">\n <PlCheckbox v-model=\"settings.pairwise.data.ns\"/>\n <span>Non-significant</span>\n </div>\n</template>\n"],"names":["store","useStore","settings","computed","primaryGroups","referenceGroupOptions","getReferenceGroupOptions","overallTestMethodOptions","getOverallTestMethodOptions","withUndefined","data","field","newValue","overallTestMethod","referenceGroupMethod","referenceGroup","referenceGroupCorrection","pairwise","pairwiseCorrection","checkStatisticsInputsValidity","watch","_cache","_createElementVNode","_hoisted_1","_createVNode","_unref","PlDropdown","$event","_hoisted_2","_hoisted_3","STAT_TEST_METHOD","_hoisted_4","STAT_CORRECTION_METHOD","_hoisted_5","PlBtnGroup","FORMAT_P_VALUE_OPTIONS","_hoisted_6","PlCheckbox","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10"],"mappings":";;;;;;;;;;;;;;;;;;;AAaA,UAAMA,IAA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;AAAA,UAAvB,uBAAAmB,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAM,MAAAzB,EAAA,MAAS,SAAS,KAAK,KAAEyB;AAAA,QAAA;QAC9CN,EAAA,EAAA,MAAAA,EAAA,EAAA,IAAAC,EAA4B,cAAtB,mBAAe,EAAA;AAAA,MAAA;;;;"}
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PlSelectionModel } from '@platforma-sdk/model';
|
|
2
2
|
import { GraphMakerState } from './types';
|
|
3
3
|
declare function reset(): void;
|
|
4
|
-
declare function resetDefaults(): void;
|
|
5
4
|
declare function __VLS_template(): {
|
|
6
5
|
attrs: Partial<{}>;
|
|
7
6
|
slots: {
|
|
@@ -39,13 +38,8 @@ declare const __VLS_component: import('vue').DefineComponent<({
|
|
|
39
38
|
/**
|
|
40
39
|
reset() will update data-mapping, axis-settings, layers-settings with the state that is in v-model at the moment.
|
|
41
40
|
In other cases editing of v-model fields doesn't make any impact to graphs and interface.
|
|
42
|
-
Besides, after reset default-options will be applied again. You can use reset to apply new default-options.
|
|
43
41
|
*/
|
|
44
42
|
reset: typeof reset;
|
|
45
|
-
/**
|
|
46
|
-
Apply new defaults without resetting all the state
|
|
47
|
-
*/
|
|
48
|
-
resetDefaults: typeof resetDefaults;
|
|
49
43
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
44
|
"tooltip-btn-click": (...args: any[]) => void;
|
|
51
45
|
"delete-this-graph": (...args: any[]) => void;
|
package/dist/index.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../src/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../src/index.vue"],"names":[],"mappings":"AAobA,OAAO,KAAK,EAA0B,gBAAgB,EAAa,MAAM,sBAAsB,CAAC;AAGhG,OAAO,kBAAkB,CAAC;AAQ1B,OAAO,KAAK,EAAmC,eAAe,EAAe,MAAM,SAAS,CAAC;AA2E7F,iBAAS,KAAK,SAcb;AAuSD,iBAAS,cAAc;WAiMT,OAAO,IAA6B;;+BAbf,GAAG;iCACA,GAAG;8BACN,GAAG;yBACR,GAAG;;;;EAehC;AAmCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;gBAlPT,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;IA3W5B;;;OAGG;;;;;;;;gBAuWO,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;gBADlB,eAAe;gBACb,gBAAgB;;;;;;6FA6P5B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|