@milaboratories/graph-maker 1.1.180 → 1.1.182

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartErrorNotificationAlert.vue2.js","sources":["../../src/components/ChartErrorNotificationAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlBtnPrimary, PlDialogModal, PlNotificationAlert, PlSpacer, PlLogView } from '@platforma-sdk/ui-vue';\nimport { computed, ref } from 'vue';\nimport type { ErrorInfoUnknown } from '@milaboratories/miplots4';\n\nconst props = defineProps<{ errorInfo: ErrorInfoUnknown }>();\n\nconst isModalOpen = ref(false);\nconst isAlertOpen = ref(true);\n\nfunction showErrors() {\n isModalOpen.value = true;\n}\nconst errorMessage = computed(() => props.errorInfo.info?.stack);\n</script>\n<template>\n <div :class=\"$style.alert\">\n <PlDialogModal v-model=\"isModalOpen\" width=\"720px\" style=\"max-height: 100vh\">\n <template #title> Errors </template>\n <div :class=\"$style.alertContent\">\n <div :class=\"$style.alertItem\">\n <div :class=\"$style.alertTitle\">Chart error</div>\n <PlLogView\n :value=\"errorMessage\"\n :valueToCopy=\"errorMessage\"\n download-filename=\"chart-error-log.txt\"\n />\n </div>\n </div>\n </PlDialogModal>\n\n <PlNotificationAlert v-model=\"isAlertOpen\" type=\"error\" closable>\n The chart has errors.\n <template #actions>\n <PlBtnPrimary icon=\"arrow-right\" @click=\"showErrors\">See errors</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.alertContent {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-height: 100%;\n}\n.alertItem {\n position: relative;\n}\n.alertTitle {\n color: var(--txt-01);\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n margin-bottom: 6px;\n}\n</style>\n"],"names":["props","__props","isModalOpen","ref","isAlertOpen","showErrors","errorMessage","computed","_a","_createElementBlock","_normalizeClass","$style","_createVNode","_unref","PlDialogModal","$event","_cache","_createElementVNode","PlLogView","PlNotificationAlert","PlBtnPrimary","PlSpacer"],"mappings":";;;;;;;;AAKA,UAAMA,IAAQC,GAERC,IAAcC,EAAI,EAAK,GACvBC,IAAcD,EAAI,EAAI;AAE5B,aAASE,IAAa;AACpB,MAAAH,EAAY,QAAQ;AAAA,IACtB;AACA,UAAMI,IAAeC,EAAS,MAAA;;AAAM,cAAAC,IAAAR,EAAM,UAAU,SAAhB,gBAAAQ,EAAsB;AAAA,KAAK;2BAG7DC,EAsBM,OAAA;AAAA,MAtBA,OAAKC,EAAEC,EAAAA,OAAO,KAAK;AAAA,IAAA;MACvBC,EAYgBC,EAAAC,CAAA,GAAA;AAAA,oBAZQZ,EAAA;AAAA,sDAAAA,EAAW,QAAAa;AAAA,QAAE,OAAM;AAAA,QAAQ,OAAA,EAAA,cAAA,QAAA;AAAA,MAAA;QACtC,SAAM,MAAQ,CAAA,GAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,YAAR,YAAQ,EAAA;AAAA,QAAA;mBACzB,MASM;AAAA,UATNC,EASM,OAAA;AAAA,YATA,OAAKP,EAAEC,EAAAA,OAAO,YAAY;AAAA,UAAA;YAC9BM,EAOM,OAAA;AAAA,cAPA,OAAKP,EAAEC,EAAAA,OAAO,SAAS;AAAA,YAAA;cAC3BM,EAAiD,OAAA;AAAA,gBAA3C,OAAKP,EAAEC,EAAAA,OAAO,UAAU;AAAA,cAAA,GAAE,eAAW,CAAA;AAAA,cAC3CC,EAIEC,EAAAK,CAAA,GAAA;AAAA,gBAHC,OAAOZ,EAAA;AAAA,gBACP,aAAaA,EAAA;AAAA,gBACd,qBAAkB;AAAA,cAAA;;;;;;MAM1BM,EAMsBC,EAAAM,CAAA,GAAA;AAAA,oBANQf,EAAA;AAAA,sDAAAA,EAAW,QAAAW;AAAA,QAAE,MAAK;AAAA,QAAQ,UAAA;AAAA,MAAA;QAE3C,WACT,MAA8E;AAAA,UAA9EH,EAA8EC,EAAAO,CAAA,GAAA;AAAA,YAAhE,MAAK;AAAA,YAAe,SAAOf;AAAA,UAAA;uBAAY,MAAU,CAAA,GAAAW,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,gBAAV,cAAU,EAAA;AAAA,YAAA;;;UAC/DJ,EAAYC,EAAAQ,CAAA,CAAA;AAAA,QAAA;mBAJiD,MAE/D;AAAA,4BAF+D,2BAE/D,EAAA;AAAA,QAAA;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._alert_2s905_2{position:fixed;bottom:12px;right:12px;width:256px;height:auto;z-index:1}._alertContent_2s905_10{display:flex;flex-direction:column;gap:12px;max-height:100%}._alertItem_2s905_16{position:relative}._alertTitle_2s905_19{color:var(--txt-01);font-size:14px;font-weight:600;line-height:20px;margin-bottom:6px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ const t = "_alert_2s905_2", e = "_alertContent_2s905_10", l = "_alertItem_2s905_16", a = "_alertTitle_2s905_19", r = {
3
+ alert: t,
4
+ alertContent: e,
5
+ alertItem: l,
6
+ alertTitle: a
7
+ };
8
+ export {
9
+ t as alert,
10
+ e as alertContent,
11
+ l as alertItem,
12
+ a as alertTitle,
13
+ r as default
14
+ };
15
+ //# sourceMappingURL=ChartErrorNotificationAlert.vue3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartErrorNotificationAlert.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}