ik-next-ui 0.0.1
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/Demo/ik.index.es.js +8 -0
- package/dist/IkApprovalProcess/ik-next-ui.css +1 -0
- package/dist/IkApprovalProcess/ik.index.es.js +2610 -0
- package/dist/IkApprovalProcessDetail/ik-next-ui.css +1 -0
- package/dist/IkApprovalProcessDetail/ik.index.es.js +17033 -0
- package/dist/IkAutoCard/ik-next-ui.css +1 -0
- package/dist/IkAutoCard/ik.index.es.js +51 -0
- package/dist/IkBaseDialog/ik-next-ui.css +1 -0
- package/dist/IkBaseDialog/ik.index.es.js +1954 -0
- package/dist/IkBottomOperate/ik-next-ui.css +1 -0
- package/dist/IkBottomOperate/ik.index.es.js +241 -0
- package/dist/IkBtnContent/ik-next-ui.css +1 -0
- package/dist/IkBtnContent/ik.index.es.js +80 -0
- package/dist/IkCollapseCard/ik-next-ui.css +1 -0
- package/dist/IkCollapseCard/ik.index.es.js +1924 -0
- package/dist/IkCurrencyInput/ik.index.es.js +60 -0
- package/dist/IkDescription/ik-next-ui.css +1 -0
- package/dist/IkDescription/ik.index.es.js +16544 -0
- package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -0
- package/dist/IkDetailPreviewFiles/ik.index.es.js +16540 -0
- package/dist/IkDragList/ik-next-ui.css +1 -0
- package/dist/IkDragList/ik.index.es.js +445 -0
- package/dist/IkEmpty/ik-next-ui.css +1 -0
- package/dist/IkEmpty/ik.index.es.js +44 -0
- package/dist/IkFileIcon/ik.index.es.js +619 -0
- package/dist/IkHorizontalStepBar/ik-next-ui.css +1 -0
- package/dist/IkHorizontalStepBar/ik.index.es.js +279 -0
- package/dist/IkIconPicker/ik-next-ui.css +1 -0
- package/dist/IkIconPicker/ik.index.es.js +2060 -0
- package/dist/IkImageUploadEditor/ik-next-ui.css +9 -0
- package/dist/IkImageUploadEditor/ik.index.es.js +9489 -0
- package/dist/IkImageViewer/ik.index.es.js +552 -0
- package/dist/IkMonacoEditor/ik-next-ui.css +1 -0
- package/dist/IkMonacoEditor/ik.index.es.js +2566 -0
- package/dist/IkOnlyOffice/ik.index.es.js +1612 -0
- package/dist/IkPage/ik.index.es.js +1 -0
- package/dist/IkPickerUser/ik-next-ui.css +1 -0
- package/dist/IkPickerUser/ik.index.es.js +2077 -0
- package/dist/IkPlayer/ik-next-ui.css +1 -0
- package/dist/IkPlayer/ik.index.es.js +11071 -0
- package/dist/IkPreviewFile/ik-next-ui.css +1 -0
- package/dist/IkPreviewFile/ik.index.es.js +16385 -0
- package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -0
- package/dist/IkPreviewFileDialog/ik.index.es.js +15486 -0
- package/dist/IkRadioGroup/ik-next-ui.css +1 -0
- package/dist/IkRadioGroup/ik.index.es.js +1937 -0
- package/dist/IkSelectTag/ik-next-ui.css +1 -0
- package/dist/IkSelectTag/ik.index.es.js +359 -0
- package/dist/IkSideText/ik-next-ui.css +1 -0
- package/dist/IkSideText/ik.index.es.js +2084 -0
- package/dist/IkStatu/ik-next-ui.css +1 -0
- package/dist/IkStatu/ik.index.es.js +131 -0
- package/dist/IkStatuOver/ik-next-ui.css +1 -0
- package/dist/IkStatuOver/ik.index.es.js +284 -0
- package/dist/IkSvgIcon/ik-next-ui.css +1 -0
- package/dist/IkSvgIcon/ik.index.es.js +1845 -0
- package/dist/IkTemplateOfficeConfig/ik-next-ui.css +1 -0
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +2027 -0
- package/dist/IkTinymce/ik-next-ui.css +1 -0
- package/dist/IkTinymce/ik.index.es.js +50349 -0
- package/dist/IkTooltip/ik.index.es.js +48 -0
- package/dist/IkTree/ik-next-ui.css +1 -0
- package/dist/IkTree/ik.index.es.js +136 -0
- package/dist/IkUploadFile/ik-next-ui.css +1 -0
- package/dist/IkUploadFile/ik.index.es.js +17251 -0
- package/dist/IkUploadImage/ik-next-ui.css +1 -0
- package/dist/IkUploadImage/ik.index.es.js +2946 -0
- package/dist/IkVerticalStepBar/ik-next-ui.css +1 -0
- package/dist/IkVerticalStepBar/ik.index.es.js +1987 -0
- package/dist/Provider/ik.index.es.js +42 -0
- package/dist/ik-next-ui.css +9 -0
- package/dist/index.es.js +84696 -0
- package/dist/index.umd.js +371 -0
- package/dist/resolver.cjs +1 -0
- package/dist/resolver.js +63 -0
- package/dist/src/components/Demo/index.d.ts +4 -0
- package/dist/src/components/IkApprovalProcess/index.d.ts +100 -0
- package/dist/src/components/IkApprovalProcess/src/IkApprovalProcess.vue.d.ts +100 -0
- package/dist/src/components/IkApprovalProcessDetail/index.d.ts +108 -0
- package/dist/src/components/IkApprovalProcessDetail/src/IkApprovalProcessDetail.vue.d.ts +109 -0
- package/dist/src/components/IkAutoCard/index.d.ts +60 -0
- package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +43 -0
- package/dist/src/components/IkBaseDialog/index.d.ts +141 -0
- package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +23 -0
- package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +87 -0
- package/dist/src/components/IkBottomOperate/index.d.ts +155 -0
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +84 -0
- package/dist/src/components/IkCollapseCard/index.d.ts +59 -0
- package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +36 -0
- package/dist/src/components/IkCurrencyInput/index.d.ts +25 -0
- package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +25 -0
- package/dist/src/components/IkDescription/index.d.ts +235 -0
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +146 -0
- package/dist/src/components/IkDetailPreviewFiles/index.d.ts +52 -0
- package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +53 -0
- package/dist/src/components/IkDragList/index.d.ts +509 -0
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +307 -0
- package/dist/src/components/IkDragList/src/default-props.d.ts +150 -0
- package/dist/src/components/IkEmpty/index.d.ts +69 -0
- package/dist/src/components/IkEmpty/src/index.vue.d.ts +41 -0
- package/dist/src/components/IkFileIcon/index.d.ts +40 -0
- package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +42 -0
- package/dist/src/components/IkHorizontalStepBar/index.d.ts +224 -0
- package/dist/src/components/IkHorizontalStepBar/src/IkHorizontalStepBar.vue.d.ts +137 -0
- package/dist/src/components/IkIconPicker/index.d.ts +83 -0
- package/dist/src/components/IkIconPicker/src/index.vue.d.ts +83 -0
- package/dist/src/components/IkImageUploadEditor/index.d.ts +231 -0
- package/dist/src/components/IkImageUploadEditor/src/IkImageUploadEditor.vue.d.ts +232 -0
- package/dist/src/components/IkImageViewer/index.d.ts +6 -0
- package/dist/src/components/IkImageViewer/src/IkImageViewer.vue.d.ts +11 -0
- package/dist/src/components/IkImageViewer/src/image-viewer.d.ts +87 -0
- package/dist/src/components/IkMonacoEditor/index.d.ts +229 -0
- package/dist/src/components/IkMonacoEditor/src/editor-config.d.ts +10 -0
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +232 -0
- package/dist/src/components/IkOnlyOffice/index.d.ts +32 -0
- package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +32 -0
- package/dist/src/components/IkPage/index.d.ts +0 -0
- package/dist/src/components/IkPickerUser/index.d.ts +373 -0
- package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +41 -0
- package/dist/src/components/IkPickerUser/src/default.d.ts +156 -0
- package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +112 -0
- package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +110 -0
- package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +110 -0
- package/dist/src/components/IkPickerUser/src/list/props.d.ts +49 -0
- package/dist/src/components/IkPickerUser/src/list/utils.d.ts +5 -0
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +375 -0
- package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +15 -0
- package/dist/src/components/IkPickerUser/types.d.ts +28 -0
- package/dist/src/components/IkPlayer/index.d.ts +82 -0
- package/dist/src/components/IkPlayer/src/Player.vue.d.ts +48 -0
- package/dist/src/components/IkPreviewFile/index.d.ts +382 -0
- package/dist/src/components/IkPreviewFile/src/IkPreviewFile.vue.d.ts +231 -0
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +80 -0
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +82 -0
- package/dist/src/components/IkRadioGroup/index.d.ts +30 -0
- package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +32 -0
- package/dist/src/components/IkSelectTag/index.d.ts +85 -0
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +49 -0
- package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +32 -0
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +115 -0
- package/dist/src/components/IkSideText/index.d.ts +113 -0
- package/dist/src/components/IkSideText/useLinear.d.ts +3 -0
- package/dist/src/components/IkStatu/index.d.ts +117 -0
- package/dist/src/components/IkStatu/src/index.vue.d.ts +119 -0
- package/dist/src/components/IkStatuOver/index.d.ts +36 -0
- package/dist/src/components/IkStatuOver/src/index.vue.d.ts +52 -0
- package/dist/src/components/IkSvgIcon/index.d.ts +135 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +146 -0
- package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +130 -0
- package/dist/src/components/IkTemplateOfficeConfig/src/IkTemplateOfficeConfig.vue.d.ts +130 -0
- package/dist/src/components/IkTemplateOfficeConfig/src/templateOfficeData.vue.d.ts +57 -0
- package/dist/src/components/IkTinymce/index.d.ts +215 -0
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +216 -0
- package/dist/src/components/IkTooltip/index.d.ts +84 -0
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +52 -0
- package/dist/src/components/IkTree/IkTree.vue.d.ts +1597 -0
- package/dist/src/components/IkTree/index.d.ts +4693 -0
- package/dist/src/components/IkUploadFile/index.d.ts +586 -0
- package/dist/src/components/IkUploadFile/src/components/ErrorFileItem.vue.d.ts +27 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemCard.vue.d.ts +85 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemDefault.vue.d.ts +103 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemSimple.vue.d.ts +68 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemSimpleIcon.vue.d.ts +112 -0
- package/dist/src/components/IkUploadFile/src/components/UploadTriggerButton.vue.d.ts +59 -0
- package/dist/src/components/IkUploadFile/src/components/UploadTriggerCard.vue.d.ts +90 -0
- package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +35 -0
- package/dist/src/components/IkUploadFile/src/hooks/useFileOperations.d.ts +32 -0
- package/dist/src/components/IkUploadFile/src/hooks/useUploadFile.d.ts +35 -0
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +349 -0
- package/dist/src/components/IkUploadFile/src/types/index.d.ts +133 -0
- package/dist/src/components/IkUploadFile/src/utils.d.ts +0 -0
- package/dist/src/components/IkUploadImage/index.d.ts +287 -0
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +171 -0
- package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +2 -0
- package/dist/src/components/IkVerticalStepBar/index.d.ts +79 -0
- package/dist/src/components/IkVerticalStepBar/src/IkVerticalStepBar.vue.d.ts +81 -0
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +59 -0
- package/dist/src/components/Provider/index.d.ts +99 -0
- package/dist/src/components/index.d.ts +37 -0
- package/dist/src/components-dev/IkUmoEditor/index.d.ts +322 -0
- package/dist/src/components-dev/IkUmoEditor/src/props.d.ts +138 -0
- package/dist/src/components-dev/IkUmoEditor/src/types.d.ts +78 -0
- package/dist/src/components-dev/IkUmoViewer/index.d.ts +168 -0
- package/dist/src/components-dev/IkUmoViewer/src/props.d.ts +85 -0
- package/dist/src/components-dev/IkUmoViewer/src/types.d.ts +13 -0
- package/dist/src/enum/search.d.ts +88 -0
- package/dist/src/iking-ui/component.d.ts +4 -0
- package/dist/src/iking-ui/defaults.d.ts +4 -0
- package/dist/src/iking-ui/index.d.ts +6 -0
- package/dist/src/iking-ui/make-installer.d.ts +5 -0
- package/dist/src/iking-ui/resolver.d.ts +16 -0
- package/dist/src/utils/approval.d.ts +10 -0
- package/dist/src/utils/file.d.ts +27 -0
- package/dist/src/utils/index.d.ts +12 -0
- package/dist/src/utils/install.d.ts +6 -0
- package/dist/src/utils/math.d.ts +3 -0
- package/dist/src/utils/object.d.ts +4 -0
- package/dist/src/utils/theme.d.ts +1 -0
- package/dist/src/utils/typescript.d.ts +6 -0
- package/dist/src/utils/use-provider.d.ts +15 -0
- package/package.json +236 -0
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
import { unref as o, getCurrentScope as ke, onScopeDispose as he, watch as Q, defineComponent as _e, markRaw as q, ref as T, effectScope as xe, shallowRef as Ce, computed as E, nextTick as Ne, onMounted as Ee, openBlock as S, createBlock as J, Teleport as Te, createVNode as c, Transition as Le, withCtx as b, createElementVNode as I, normalizeStyle as ee, normalizeClass as p, withModifiers as Ae, createCommentVNode as z, createElementBlock as $, Fragment as te, resolveDynamicComponent as Se, renderList as ze, withDirectives as Re, vShow as Pe, renderSlot as Me } from "vue";
|
|
2
|
+
import { paramType as ne, _ as F } from "iking-utils-pro";
|
|
3
|
+
import { useLocale as Be, useNamespace as Ve, useZIndex as Xe, ElIcon as h, EVENT_CODE as L } from "element-plus";
|
|
4
|
+
import { ScaleToOriginal as Ye, FullScreen as $e, Close as Fe, ArrowLeft as Qe, ArrowRight as De, ZoomOut as He, ZoomIn as We, RefreshLeft as je, RefreshRight as Ze } from "@element-plus/icons-vue";
|
|
5
|
+
const Ge = (e, s) => (e.install = (a) => {
|
|
6
|
+
for (const f of [e, ...Object.values({})])
|
|
7
|
+
a.component(f.name, f);
|
|
8
|
+
}, e);
|
|
9
|
+
var oe;
|
|
10
|
+
const ue = typeof window < "u", Ke = (e) => typeof e == "string", Ue = () => {
|
|
11
|
+
};
|
|
12
|
+
ue && ((oe = window == null ? void 0 : window.navigator) != null && oe.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
13
|
+
function ce(e) {
|
|
14
|
+
return typeof e == "function" ? e() : o(e);
|
|
15
|
+
}
|
|
16
|
+
function qe(e) {
|
|
17
|
+
return e;
|
|
18
|
+
}
|
|
19
|
+
function Je(e) {
|
|
20
|
+
return ke() ? (he(e), !0) : !1;
|
|
21
|
+
}
|
|
22
|
+
function et(e) {
|
|
23
|
+
var s;
|
|
24
|
+
const a = ce(e);
|
|
25
|
+
return (s = a == null ? void 0 : a.$el) != null ? s : a;
|
|
26
|
+
}
|
|
27
|
+
const tt = ue ? window : void 0;
|
|
28
|
+
function M(...e) {
|
|
29
|
+
let s, a, f, O;
|
|
30
|
+
if (Ke(e[0]) || Array.isArray(e[0]) ? ([a, f, O] = e, s = tt) : [s, a, f, O] = e, !s)
|
|
31
|
+
return Ue;
|
|
32
|
+
Array.isArray(a) || (a = [a]), Array.isArray(f) || (f = [f]);
|
|
33
|
+
const i = [], _ = () => {
|
|
34
|
+
i.forEach((d) => d()), i.length = 0;
|
|
35
|
+
}, B = (d, x, C, m) => (d.addEventListener(x, C, m), () => d.removeEventListener(x, C, m)), l = Q(() => [et(s), ce(O)], ([d, x]) => {
|
|
36
|
+
_(), d && i.push(...a.flatMap((C) => f.map((m) => B(d, C, m, x))));
|
|
37
|
+
}, { immediate: !0, flush: "post" }), R = () => {
|
|
38
|
+
l(), _();
|
|
39
|
+
};
|
|
40
|
+
return Je(R), R;
|
|
41
|
+
}
|
|
42
|
+
const ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, se = "__vueuse_ssr_handlers__";
|
|
43
|
+
ae[se] = ae[se] || {};
|
|
44
|
+
var re;
|
|
45
|
+
(function(e) {
|
|
46
|
+
e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
|
|
47
|
+
})(re || (re = {}));
|
|
48
|
+
var nt = Object.defineProperty, le = Object.getOwnPropertySymbols, ot = Object.prototype.hasOwnProperty, at = Object.prototype.propertyIsEnumerable, ie = (e, s, a) => s in e ? nt(e, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[s] = a, st = (e, s) => {
|
|
49
|
+
for (var a in s || (s = {}))
|
|
50
|
+
ot.call(s, a) && ie(e, a, s[a]);
|
|
51
|
+
if (le)
|
|
52
|
+
for (var a of le(s))
|
|
53
|
+
at.call(s, a) && ie(e, a, s[a]);
|
|
54
|
+
return e;
|
|
55
|
+
};
|
|
56
|
+
const rt = {
|
|
57
|
+
easeInSine: [0.12, 0, 0.39, 0],
|
|
58
|
+
easeOutSine: [0.61, 1, 0.88, 1],
|
|
59
|
+
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
60
|
+
easeInQuad: [0.11, 0, 0.5, 0],
|
|
61
|
+
easeOutQuad: [0.5, 1, 0.89, 1],
|
|
62
|
+
easeInOutQuad: [0.45, 0, 0.55, 1],
|
|
63
|
+
easeInCubic: [0.32, 0, 0.67, 0],
|
|
64
|
+
easeOutCubic: [0.33, 1, 0.68, 1],
|
|
65
|
+
easeInOutCubic: [0.65, 0, 0.35, 1],
|
|
66
|
+
easeInQuart: [0.5, 0, 0.75, 0],
|
|
67
|
+
easeOutQuart: [0.25, 1, 0.5, 1],
|
|
68
|
+
easeInOutQuart: [0.76, 0, 0.24, 1],
|
|
69
|
+
easeInQuint: [0.64, 0, 0.78, 0],
|
|
70
|
+
easeOutQuint: [0.22, 1, 0.36, 1],
|
|
71
|
+
easeInOutQuint: [0.83, 0, 0.17, 1],
|
|
72
|
+
easeInExpo: [0.7, 0, 0.84, 0],
|
|
73
|
+
easeOutExpo: [0.16, 1, 0.3, 1],
|
|
74
|
+
easeInOutExpo: [0.87, 0, 0.13, 1],
|
|
75
|
+
easeInCirc: [0.55, 0, 1, 0.45],
|
|
76
|
+
easeOutCirc: [0, 0.55, 0.45, 1],
|
|
77
|
+
easeInOutCirc: [0.85, 0, 0.15, 1],
|
|
78
|
+
easeInBack: [0.36, 0, 0.66, -0.56],
|
|
79
|
+
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
80
|
+
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
81
|
+
};
|
|
82
|
+
st({
|
|
83
|
+
linear: qe
|
|
84
|
+
}, rt);
|
|
85
|
+
const lt = {
|
|
86
|
+
/**
|
|
87
|
+
* @description preview link list.
|
|
88
|
+
*/
|
|
89
|
+
urlList: {
|
|
90
|
+
type: Array,
|
|
91
|
+
default: () => []
|
|
92
|
+
},
|
|
93
|
+
/**
|
|
94
|
+
* @description preview backdrop z-index.
|
|
95
|
+
*/
|
|
96
|
+
zIndex: {
|
|
97
|
+
type: Number
|
|
98
|
+
},
|
|
99
|
+
/**
|
|
100
|
+
* @description the initial preview image index, less than or equal to the length of `url-list`.
|
|
101
|
+
*/
|
|
102
|
+
initialIndex: {
|
|
103
|
+
type: Number,
|
|
104
|
+
default: 0
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* @description whether preview is infinite.
|
|
108
|
+
*/
|
|
109
|
+
infinite: {
|
|
110
|
+
type: Boolean,
|
|
111
|
+
default: !0
|
|
112
|
+
},
|
|
113
|
+
/**
|
|
114
|
+
* @description whether user can emit close event when clicking backdrop.
|
|
115
|
+
*/
|
|
116
|
+
hideOnClickModal: Boolean,
|
|
117
|
+
/**
|
|
118
|
+
* @description whether to append image itself to body. A nested parent element attribute transform should have this attribute set to `true`.
|
|
119
|
+
*/
|
|
120
|
+
teleported: Boolean,
|
|
121
|
+
/**
|
|
122
|
+
* @description whether the image-viewer can be closed by pressing ESC.
|
|
123
|
+
*/
|
|
124
|
+
closeOnPressEscape: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: !0
|
|
127
|
+
},
|
|
128
|
+
/**
|
|
129
|
+
* @description the zoom rate of the image viewer zoom event.
|
|
130
|
+
*/
|
|
131
|
+
zoomRate: {
|
|
132
|
+
type: Number,
|
|
133
|
+
default: 1.2
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* @description the min scale of the image viewer zoom event.
|
|
137
|
+
*/
|
|
138
|
+
minScale: {
|
|
139
|
+
type: Number,
|
|
140
|
+
default: 0.2
|
|
141
|
+
},
|
|
142
|
+
/**
|
|
143
|
+
* @description the max scale of the image viewer zoom event.
|
|
144
|
+
*/
|
|
145
|
+
maxScale: {
|
|
146
|
+
type: Number,
|
|
147
|
+
default: 7
|
|
148
|
+
},
|
|
149
|
+
/**
|
|
150
|
+
* @description set HTML attribute: crossorigin.
|
|
151
|
+
*/
|
|
152
|
+
crossorigin: {
|
|
153
|
+
type: ["anonymous", "use-credentials", ""]
|
|
154
|
+
}
|
|
155
|
+
}, it = {
|
|
156
|
+
close: () => !0,
|
|
157
|
+
switch: (e) => ne.isNumber(e),
|
|
158
|
+
rotate: (e) => ne.isNumber(e)
|
|
159
|
+
}, ut = ["src", "crossorigin"], ct = /* @__PURE__ */ _e({
|
|
160
|
+
name: "ElImageViewer",
|
|
161
|
+
__name: "IkImageViewer",
|
|
162
|
+
props: lt,
|
|
163
|
+
emits: it,
|
|
164
|
+
setup(e, { expose: s, emit: a }) {
|
|
165
|
+
const f = (t) => Object.keys(t), O = {
|
|
166
|
+
CONTAIN: {
|
|
167
|
+
name: "contain",
|
|
168
|
+
icon: q($e)
|
|
169
|
+
},
|
|
170
|
+
ORIGINAL: {
|
|
171
|
+
name: "original",
|
|
172
|
+
icon: q(Ye)
|
|
173
|
+
}
|
|
174
|
+
}, i = e, _ = a, { t: B } = Be(), l = Ve("image-viewer"), { nextZIndex: R } = Xe(), d = T(), x = T([]), C = xe(), m = T(!0), y = T(i.initialIndex), P = Ce(O.CONTAIN), u = T({
|
|
175
|
+
scale: 1,
|
|
176
|
+
deg: 0,
|
|
177
|
+
offsetX: 0,
|
|
178
|
+
offsetY: 0,
|
|
179
|
+
enableTransition: !1
|
|
180
|
+
}), fe = T(i.zIndex ?? R()), de = E(() => {
|
|
181
|
+
const { urlList: t } = i;
|
|
182
|
+
return t.length <= 1;
|
|
183
|
+
}), D = E(() => y.value === 0), H = E(() => y.value === i.urlList.length - 1), me = E(() => i.urlList[y.value]), ve = E(() => [
|
|
184
|
+
l.e("btn"),
|
|
185
|
+
l.e("prev"),
|
|
186
|
+
l.is("disabled", !i.infinite && D.value)
|
|
187
|
+
]), pe = E(() => [
|
|
188
|
+
l.e("btn"),
|
|
189
|
+
l.e("next"),
|
|
190
|
+
l.is("disabled", !i.infinite && H.value)
|
|
191
|
+
]), ge = E(() => {
|
|
192
|
+
const { scale: t, deg: n, offsetX: r, offsetY: v, enableTransition: g } = u.value;
|
|
193
|
+
let w = r / t, k = v / t;
|
|
194
|
+
const A = n * Math.PI / 180, K = Math.cos(A), U = Math.sin(A);
|
|
195
|
+
w = w * K + k * U, k = k * K - r / t * U;
|
|
196
|
+
const Y = {
|
|
197
|
+
transform: `scale(${t}) rotate(${n}deg) translate(${w}px, ${k}px)`,
|
|
198
|
+
transition: g ? "transform .3s" : ""
|
|
199
|
+
};
|
|
200
|
+
return P.value.name === O.CONTAIN.name && (Y.maxWidth = Y.maxHeight = "100%"), Y;
|
|
201
|
+
});
|
|
202
|
+
function V() {
|
|
203
|
+
Ie(), _("close");
|
|
204
|
+
}
|
|
205
|
+
function we() {
|
|
206
|
+
const t = F.throttle((r) => {
|
|
207
|
+
switch (r.code) {
|
|
208
|
+
// ESC
|
|
209
|
+
case L.esc:
|
|
210
|
+
i.closeOnPressEscape && V();
|
|
211
|
+
break;
|
|
212
|
+
// SPACE
|
|
213
|
+
case L.space:
|
|
214
|
+
j();
|
|
215
|
+
break;
|
|
216
|
+
// LEFT_ARROW
|
|
217
|
+
case L.left:
|
|
218
|
+
Z();
|
|
219
|
+
break;
|
|
220
|
+
// UP_ARROW
|
|
221
|
+
case L.up:
|
|
222
|
+
N("zoomIn");
|
|
223
|
+
break;
|
|
224
|
+
// RIGHT_ARROW
|
|
225
|
+
case L.right:
|
|
226
|
+
G();
|
|
227
|
+
break;
|
|
228
|
+
// DOWN_ARROW
|
|
229
|
+
case L.down:
|
|
230
|
+
N("zoomOut");
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
}), n = F.throttle((r) => {
|
|
234
|
+
const v = r.deltaY || r.deltaX;
|
|
235
|
+
N(v < 0 ? "zoomIn" : "zoomOut", {
|
|
236
|
+
zoomRate: i.zoomRate,
|
|
237
|
+
enableTransition: !1
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
C.run(() => {
|
|
241
|
+
M(document, "keydown", t), M(document, "wheel", n);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
function Ie() {
|
|
245
|
+
C.stop();
|
|
246
|
+
}
|
|
247
|
+
function Oe() {
|
|
248
|
+
m.value = !1;
|
|
249
|
+
}
|
|
250
|
+
function be(t) {
|
|
251
|
+
m.value = !1, t.target.alt = B("el.image.error");
|
|
252
|
+
}
|
|
253
|
+
function ye(t) {
|
|
254
|
+
if (m.value || t.button !== 0 || !d.value) return;
|
|
255
|
+
u.value.enableTransition = !1;
|
|
256
|
+
const { offsetX: n, offsetY: r } = u.value, v = t.pageX, g = t.pageY, w = F.throttle((A) => {
|
|
257
|
+
u.value = {
|
|
258
|
+
...u.value,
|
|
259
|
+
offsetX: n + A.pageX - v,
|
|
260
|
+
offsetY: r + A.pageY - g
|
|
261
|
+
};
|
|
262
|
+
}), k = M(document, "mousemove", w);
|
|
263
|
+
M(document, "mouseup", () => {
|
|
264
|
+
k();
|
|
265
|
+
}), t.preventDefault();
|
|
266
|
+
}
|
|
267
|
+
function W() {
|
|
268
|
+
u.value = {
|
|
269
|
+
scale: 1,
|
|
270
|
+
deg: 0,
|
|
271
|
+
offsetX: 0,
|
|
272
|
+
offsetY: 0,
|
|
273
|
+
enableTransition: !1
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
function j() {
|
|
277
|
+
if (m.value) return;
|
|
278
|
+
const t = f(O), n = Object.values(O), r = P.value.name, g = ((n == null ? void 0 : n.findIndex((w) => w.name === r)) + 1) % t.length;
|
|
279
|
+
P.value = O[t[g]], W();
|
|
280
|
+
}
|
|
281
|
+
function X(t) {
|
|
282
|
+
const n = i.urlList.length;
|
|
283
|
+
y.value = (t + n) % n;
|
|
284
|
+
}
|
|
285
|
+
function Z() {
|
|
286
|
+
D.value && !i.infinite || X(y.value - 1);
|
|
287
|
+
}
|
|
288
|
+
function G() {
|
|
289
|
+
H.value && !i.infinite || X(y.value + 1);
|
|
290
|
+
}
|
|
291
|
+
function N(t, n = {}) {
|
|
292
|
+
if (m.value) return;
|
|
293
|
+
const { minScale: r, maxScale: v } = i, { zoomRate: g, rotateDeg: w, enableTransition: k } = {
|
|
294
|
+
zoomRate: i.zoomRate,
|
|
295
|
+
rotateDeg: 90,
|
|
296
|
+
enableTransition: !0,
|
|
297
|
+
...n
|
|
298
|
+
};
|
|
299
|
+
switch (t) {
|
|
300
|
+
case "zoomOut":
|
|
301
|
+
u.value.scale > r && (u.value.scale = Number.parseFloat(
|
|
302
|
+
(u.value.scale / g).toFixed(3)
|
|
303
|
+
));
|
|
304
|
+
break;
|
|
305
|
+
case "zoomIn":
|
|
306
|
+
u.value.scale < v && (u.value.scale = Number.parseFloat(
|
|
307
|
+
(u.value.scale * g).toFixed(3)
|
|
308
|
+
));
|
|
309
|
+
break;
|
|
310
|
+
case "clockwise":
|
|
311
|
+
u.value.deg += w, _("rotate", u.value.deg);
|
|
312
|
+
break;
|
|
313
|
+
case "anticlockwise":
|
|
314
|
+
u.value.deg -= w, _("rotate", u.value.deg);
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
u.value.enableTransition = k;
|
|
318
|
+
}
|
|
319
|
+
return Q(me, () => {
|
|
320
|
+
Ne(() => {
|
|
321
|
+
const t = x.value[0];
|
|
322
|
+
t != null && t.complete || (m.value = !0);
|
|
323
|
+
});
|
|
324
|
+
}), Q(y, (t) => {
|
|
325
|
+
W(), _("switch", t);
|
|
326
|
+
}), Ee(() => {
|
|
327
|
+
var t, n;
|
|
328
|
+
we(), (n = (t = d.value) == null ? void 0 : t.focus) == null || n.call(t);
|
|
329
|
+
}), s({
|
|
330
|
+
/**
|
|
331
|
+
* @description manually switch image
|
|
332
|
+
*/
|
|
333
|
+
setActiveItem: X
|
|
334
|
+
}), (t, n) => (S(), J(Te, { to: "body" }, [
|
|
335
|
+
c(Le, {
|
|
336
|
+
name: "viewer-fade",
|
|
337
|
+
appear: ""
|
|
338
|
+
}, {
|
|
339
|
+
default: b(() => [
|
|
340
|
+
I(
|
|
341
|
+
"div",
|
|
342
|
+
{
|
|
343
|
+
ref_key: "wrapper",
|
|
344
|
+
ref: d,
|
|
345
|
+
tabindex: -1,
|
|
346
|
+
class: p(o(l).e("wrapper")),
|
|
347
|
+
style: ee({ zIndex: fe.value })
|
|
348
|
+
},
|
|
349
|
+
[
|
|
350
|
+
I(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
class: p(o(l).e("mask")),
|
|
354
|
+
onClick: n[0] || (n[0] = Ae((r) => t.hideOnClickModal && V(), ["self"]))
|
|
355
|
+
},
|
|
356
|
+
null,
|
|
357
|
+
2
|
|
358
|
+
/* CLASS */
|
|
359
|
+
),
|
|
360
|
+
z(" CLOSE "),
|
|
361
|
+
I(
|
|
362
|
+
"span",
|
|
363
|
+
{
|
|
364
|
+
class: p([o(l).e("btn"), o(l).e("close")]),
|
|
365
|
+
onClick: V
|
|
366
|
+
},
|
|
367
|
+
[
|
|
368
|
+
c(o(h), null, {
|
|
369
|
+
default: b(() => [
|
|
370
|
+
c(o(Fe))
|
|
371
|
+
]),
|
|
372
|
+
_: 1
|
|
373
|
+
/* STABLE */
|
|
374
|
+
})
|
|
375
|
+
],
|
|
376
|
+
2
|
|
377
|
+
/* CLASS */
|
|
378
|
+
),
|
|
379
|
+
z(" ARROW "),
|
|
380
|
+
de.value ? z("v-if", !0) : (S(), $(
|
|
381
|
+
te,
|
|
382
|
+
{ key: 0 },
|
|
383
|
+
[
|
|
384
|
+
I(
|
|
385
|
+
"span",
|
|
386
|
+
{
|
|
387
|
+
class: p(ve.value),
|
|
388
|
+
onClick: Z
|
|
389
|
+
},
|
|
390
|
+
[
|
|
391
|
+
c(o(h), null, {
|
|
392
|
+
default: b(() => [
|
|
393
|
+
c(o(Qe))
|
|
394
|
+
]),
|
|
395
|
+
_: 1
|
|
396
|
+
/* STABLE */
|
|
397
|
+
})
|
|
398
|
+
],
|
|
399
|
+
2
|
|
400
|
+
/* CLASS */
|
|
401
|
+
),
|
|
402
|
+
I(
|
|
403
|
+
"span",
|
|
404
|
+
{
|
|
405
|
+
class: p(pe.value),
|
|
406
|
+
onClick: G
|
|
407
|
+
},
|
|
408
|
+
[
|
|
409
|
+
c(o(h), null, {
|
|
410
|
+
default: b(() => [
|
|
411
|
+
c(o(De))
|
|
412
|
+
]),
|
|
413
|
+
_: 1
|
|
414
|
+
/* STABLE */
|
|
415
|
+
})
|
|
416
|
+
],
|
|
417
|
+
2
|
|
418
|
+
/* CLASS */
|
|
419
|
+
)
|
|
420
|
+
],
|
|
421
|
+
64
|
|
422
|
+
/* STABLE_FRAGMENT */
|
|
423
|
+
)),
|
|
424
|
+
z(" ACTIONS "),
|
|
425
|
+
I(
|
|
426
|
+
"div",
|
|
427
|
+
{
|
|
428
|
+
class: p([o(l).e("btn"), o(l).e("actions")])
|
|
429
|
+
},
|
|
430
|
+
[
|
|
431
|
+
I(
|
|
432
|
+
"div",
|
|
433
|
+
{
|
|
434
|
+
class: p(o(l).e("actions__inner"))
|
|
435
|
+
},
|
|
436
|
+
[
|
|
437
|
+
c(o(h), {
|
|
438
|
+
onClick: n[1] || (n[1] = (r) => N("zoomOut"))
|
|
439
|
+
}, {
|
|
440
|
+
default: b(() => [
|
|
441
|
+
c(o(He))
|
|
442
|
+
]),
|
|
443
|
+
_: 1
|
|
444
|
+
/* STABLE */
|
|
445
|
+
}),
|
|
446
|
+
c(o(h), {
|
|
447
|
+
onClick: n[2] || (n[2] = (r) => N("zoomIn"))
|
|
448
|
+
}, {
|
|
449
|
+
default: b(() => [
|
|
450
|
+
c(o(We))
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
453
|
+
/* STABLE */
|
|
454
|
+
}),
|
|
455
|
+
I(
|
|
456
|
+
"i",
|
|
457
|
+
{
|
|
458
|
+
class: p(o(l).e("actions__divider"))
|
|
459
|
+
},
|
|
460
|
+
null,
|
|
461
|
+
2
|
|
462
|
+
/* CLASS */
|
|
463
|
+
),
|
|
464
|
+
c(o(h), { onClick: j }, {
|
|
465
|
+
default: b(() => [
|
|
466
|
+
(S(), J(Se(P.value.icon)))
|
|
467
|
+
]),
|
|
468
|
+
_: 1
|
|
469
|
+
/* STABLE */
|
|
470
|
+
}),
|
|
471
|
+
I(
|
|
472
|
+
"i",
|
|
473
|
+
{
|
|
474
|
+
class: p(o(l).e("actions__divider"))
|
|
475
|
+
},
|
|
476
|
+
null,
|
|
477
|
+
2
|
|
478
|
+
/* CLASS */
|
|
479
|
+
),
|
|
480
|
+
c(o(h), {
|
|
481
|
+
onClick: n[3] || (n[3] = (r) => N("anticlockwise"))
|
|
482
|
+
}, {
|
|
483
|
+
default: b(() => [
|
|
484
|
+
c(o(je))
|
|
485
|
+
]),
|
|
486
|
+
_: 1
|
|
487
|
+
/* STABLE */
|
|
488
|
+
}),
|
|
489
|
+
c(o(h), {
|
|
490
|
+
onClick: n[4] || (n[4] = (r) => N("clockwise"))
|
|
491
|
+
}, {
|
|
492
|
+
default: b(() => [
|
|
493
|
+
c(o(Ze))
|
|
494
|
+
]),
|
|
495
|
+
_: 1
|
|
496
|
+
/* STABLE */
|
|
497
|
+
})
|
|
498
|
+
],
|
|
499
|
+
2
|
|
500
|
+
/* CLASS */
|
|
501
|
+
)
|
|
502
|
+
],
|
|
503
|
+
2
|
|
504
|
+
/* CLASS */
|
|
505
|
+
),
|
|
506
|
+
z(" CANVAS "),
|
|
507
|
+
I(
|
|
508
|
+
"div",
|
|
509
|
+
{
|
|
510
|
+
class: p(o(l).e("canvas"))
|
|
511
|
+
},
|
|
512
|
+
[
|
|
513
|
+
(S(!0), $(
|
|
514
|
+
te,
|
|
515
|
+
null,
|
|
516
|
+
ze(t.urlList, (r, v) => Re((S(), $("img", {
|
|
517
|
+
ref_for: !0,
|
|
518
|
+
ref: (g) => x.value[v] = g,
|
|
519
|
+
key: r,
|
|
520
|
+
src: r,
|
|
521
|
+
style: ee(ge.value),
|
|
522
|
+
class: p(o(l).e("img")),
|
|
523
|
+
crossorigin: t.crossorigin,
|
|
524
|
+
onLoad: Oe,
|
|
525
|
+
onError: be,
|
|
526
|
+
onMousedown: ye
|
|
527
|
+
}, null, 46, ut)), [
|
|
528
|
+
[Pe, v === y.value]
|
|
529
|
+
])),
|
|
530
|
+
128
|
|
531
|
+
/* KEYED_FRAGMENT */
|
|
532
|
+
))
|
|
533
|
+
],
|
|
534
|
+
2
|
|
535
|
+
/* CLASS */
|
|
536
|
+
),
|
|
537
|
+
Me(t.$slots, "default")
|
|
538
|
+
],
|
|
539
|
+
6
|
|
540
|
+
/* CLASS, STYLE */
|
|
541
|
+
)
|
|
542
|
+
]),
|
|
543
|
+
_: 3
|
|
544
|
+
/* FORWARDED */
|
|
545
|
+
})
|
|
546
|
+
]));
|
|
547
|
+
}
|
|
548
|
+
}), pt = Ge(ct);
|
|
549
|
+
export {
|
|
550
|
+
pt as IkImageViewer,
|
|
551
|
+
pt as default
|
|
552
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.ik-icon[data-v-701f2359]{cursor:pointer;outline:none;border-radius:var(--ik-radius)}.ik-icon[data-v-701f2359] .el-tooltip__trigger{width:inherit;height:inherit}.ik-icon .iconfont[data-v-701f2359]{display:inline-flex;align-items:center;justify-content:center}.ik-icon .two-color-icon[data-v-701f2359]{transition:all .2s ease}.ik-icon.margin+.ik-icon[data-v-701f2359]:not(.un-margin){margin-left:var(--ik-margin-8)}.ik-icon:not(.is-disabled):hover .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-deep-hover);--ik-icon-shallow-color: var(--ik-icon-shallow-hover)}.ik-icon.is-active .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-deep-active);--ik-icon-shallow-color: var(--ik-icon-shallow-active)}.ik-icon.is-disabled .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-deep-disabled);--ik-icon-shallow-color: var(--ik-icon-shallow-disabled);cursor:not-allowed;opacity:.6}.ik-icon.is-success:not(.is-disabled):hover .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-success-deep-hover);--ik-icon-shallow-color: var(--ik-icon-success-shallow-hover)}.ik-icon.is-success.is-active .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-success-deep-active);--ik-icon-shallow-color: var(--ik-icon-success-shallow-active)}.ik-icon.is-warning:not(.is-disabled):hover .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-warning-deep-hover);--ik-icon-shallow-color: var(--ik-icon-warning-shallow-hover)}.ik-icon.is-warning.is-active .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-warning-deep-active);--ik-icon-shallow-color: var(--ik-icon-warning-shallow-active)}.ik-icon.is-danger:not(.is-disabled):hover .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-danger-deep-hover);--ik-icon-shallow-color: var(--ik-icon-danger-shallow-hover)}.ik-icon.is-danger.is-active .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-danger-deep-active);--ik-icon-shallow-color: var(--ik-icon-danger-shallow-active)}.ik-icon.is-error:not(.is-disabled):hover .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-danger-deep-hover);--ik-icon-shallow-color: var(--ik-icon-danger-shallow-hover)}.ik-icon.is-error.is-active .two-color-icon[data-v-701f2359]{--ik-icon-deep-color: var(--ik-icon-danger-deep-active);--ik-icon-shallow-color: var(--ik-icon-danger-shallow-active)}.ik-icon.text-danger[data-v-701f2359]:hover,.ik-icon .iksvg_shanchu[data-v-701f2359]:hover{color:var(--ik-color-error)}.ik-icon.is-active[data-v-701f2359]{color:var(--ik-color-primary)}.ik-icon.bg[data-v-701f2359]{color:var(--ik-icon-color);background-color:var(--ik-icon-bg)}.ik-icon.bg.is-active[data-v-701f2359]{color:var(--ik-color-primary);background-color:var(--ik-icon-hover-bg)}.ik-icon.bg[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-primary);background-color:var(--ik-icon-hover-bg)}.ik-icon.bg.is-disabled[data-v-701f2359]{background-color:var(--ik-icon-disabled-bg)}.ik-icon.bg.is-success.is-active[data-v-701f2359]{color:var(--ik-color-success);background-color:var(--ik-icon-success-hover-bg)}.ik-icon.bg.is-success[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-success);background-color:var(--ik-icon-success-hover-bg)}.ik-icon.bg.is-warning.is-active[data-v-701f2359]{color:var(--ik-color-warning);background-color:var(--ik-icon-warning-hover-bg)}.ik-icon.bg.is-warning[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-warning);background-color:var(--ik-icon-warning-hover-bg)}.ik-icon.bg.is-danger.is-active[data-v-701f2359]{color:var(--ik-color-error);background-color:var(--ik-icon-danger-hover-bg)}.ik-icon.bg.is-danger[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-error);background-color:var(--ik-icon-danger-hover-bg)}.ik-icon.bg.is-error.is-active[data-v-701f2359]{color:var(--ik-color-error);background-color:var(--ik-icon-error-hover-bg)}.ik-icon.bg.is-error[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-error);background-color:var(--ik-icon-error-bg)}.ik-icon.bg.text-danger.is-active[data-v-701f2359]{color:var(--ik-color-error);background-color:var(--ik-danger-light-2)}.ik-icon.bg.text-danger[data-v-701f2359]:not(.is-disabled):hover{color:var(--ik-color-error);background-color:var(--ik-danger-light-2)}.ik-icon.bg .iksvg_shanchu[data-v-701f2359]:hover{color:var(--ik-color-error);background-color:var(--ik-danger-light-2)}.ik-icon.bg svg[data-v-701f2359]{padding:21%}.monaco-editor .margin-view-overlays .codicon-chevron-right,.monaco-editor .margin-view-overlays .codicon-chevron-down{font-size:100%!important}.monaco-editor .suggest-widget{width:200px}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:monaco-fade-in .15s ease-out}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:monaco-fade-out .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{position:absolute;z-index:1000;width:0!important;height:0!important;border-color:transparent;border-style:solid;border-width:8px}@keyframes monaco-fade-in{0%{opacity:0}to{opacity:1}}@keyframes monaco-fade-out{0%{opacity:1}to{opacity:0}}.datav-editor{position:relative;width:100%;height:240px;padding:0;overflow:hidden;background:var(--datav-component-bg-1);border:var(--datav-gui-editor-border)}.datav-editor .datav-editor-actions{position:absolute;right:10px;bottom:5px;z-index:1;width:40px;font-size:12px;text-align:right}.datav-editor .datav-editor-actions .action-btn{width:20px;color:var(--el-color-primary);cursor:pointer;transition:color .2s}.datav-editor .datav-editor-actions .action-btn:hover{color:var(--el-color-white)}.datav-editor.--read-only .margin,.datav-editor.--read-only .monaco-editor-background{background-color:#0c0c0c}.datav-fullscreen-editor-dialog{display:flex;flex-direction:column;width:90%;max-width:90%;height:95vh;margin-top:1%;background:var(--ik-page-content-bg)}.datav-fullscreen-editor-dialog.el-dialog .el-dialog__body{max-height:100%;height:100%}.datav-fullscreen-editor-dialog .n-dialog__content{height:100%;padding-bottom:10px;border-bottom:none}.datav-fullscreen-editor-dialog .datav-fullscreen-editor-wp{height:100%}.datav-fullscreen-editor-dialog .datav-fullscreen-editor{width:100%;height:100%}
|