@holyer-lib/ui 0.2.0 → 0.2.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/ui.cjs.js +282 -76
- package/dist/ui.esm.js +282 -76
- package/dist/ui.umd.js +282 -76
- package/package.json +1 -1
package/dist/ui.esm.js
CHANGED
|
@@ -10,20 +10,6 @@ function __$styleInject(css) {
|
|
|
10
10
|
return css;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
function __$styleInject$3(css) {
|
|
14
|
-
if (!css) return;
|
|
15
|
-
|
|
16
|
-
if (typeof window == 'undefined') return;
|
|
17
|
-
var style = document.createElement('style');
|
|
18
|
-
style.setAttribute('media', 'screen');
|
|
19
|
-
|
|
20
|
-
style.innerHTML = css;
|
|
21
|
-
document.head.appendChild(style);
|
|
22
|
-
return css;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
__$styleInject$3(".hi-expand-panel {\n position: relative;\n display: flex;\n transition: flex 0.3s ease;\n}\n.hi-expand-panel:hover .hi-expand-panel--control-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.hi-expand-panel--content {\n height: 100%;\n width: 100%;\n overflow: auto;\n padding: 16px;\n box-sizing: border-box;\n}\n.hi-expand-panel--control-draggable:hover {\n cursor: var(--control-draggable-cursor);\n}\n.hi-expand-panel--control-dragging {\n background-color: var(--control-dragging-bg-color) !important;\n}\n.hi-expand-panel--right .hi-expand-panel--control,\n.hi-expand-panel--left .hi-expand-panel--control {\n position: absolute;\n height: 100%;\n width: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger,\n.hi-expand-panel--left .hi-expand-panel--control-trigger {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 12px;\n height: 56px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--right {\n flex-direction: row;\n}\n.hi-expand-panel--right .hi-expand-panel--control {\n right: 0;\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger {\n right: -6px;\n}\n.hi-expand-panel--left {\n flex-direction: row-reverse;\n}\n.hi-expand-panel--left .hi-expand-panel--control {\n left: 0;\n}\n.hi-expand-panel--left .hi-expand-panel--control-trigger {\n left: -6px;\n}\n.hi-expand-panel--top .hi-expand-panel--control,\n.hi-expand-panel--bottom .hi-expand-panel--control {\n position: absolute;\n width: 100%;\n height: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger,\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 56px;\n height: 12px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--top {\n flex-direction: column-reverse;\n}\n.hi-expand-panel--top .hi-expand-panel--control {\n top: 0;\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger {\n top: -6px;\n}\n.hi-expand-panel--bottom {\n flex-direction: column;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control {\n bottom: 0;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger {\n bottom: -6px;\n}\n");
|
|
26
|
-
|
|
27
13
|
/**
|
|
28
14
|
* 类型判断工具
|
|
29
15
|
*/
|
|
@@ -392,6 +378,59 @@ function normalizeComponent$3(template, style, script, scopeId, isFunctionalTemp
|
|
|
392
378
|
return script;
|
|
393
379
|
}
|
|
394
380
|
|
|
381
|
+
const isOldIE$3 = typeof navigator !== 'undefined' &&
|
|
382
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
383
|
+
function createInjector$3(context) {
|
|
384
|
+
return (id, style) => addStyle$3(id, style);
|
|
385
|
+
}
|
|
386
|
+
let HEAD$3;
|
|
387
|
+
const styles$3 = {};
|
|
388
|
+
function addStyle$3(id, css) {
|
|
389
|
+
const group = isOldIE$3 ? css.media || 'default' : id;
|
|
390
|
+
const style = styles$3[group] || (styles$3[group] = { ids: new Set(), styles: [] });
|
|
391
|
+
if (!style.ids.has(id)) {
|
|
392
|
+
style.ids.add(id);
|
|
393
|
+
let code = css.source;
|
|
394
|
+
if (css.map) {
|
|
395
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
396
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
397
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
398
|
+
// http://stackoverflow.com/a/26603875
|
|
399
|
+
code +=
|
|
400
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
401
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
402
|
+
' */';
|
|
403
|
+
}
|
|
404
|
+
if (!style.element) {
|
|
405
|
+
style.element = document.createElement('style');
|
|
406
|
+
style.element.type = 'text/css';
|
|
407
|
+
if (css.media)
|
|
408
|
+
style.element.setAttribute('media', css.media);
|
|
409
|
+
if (HEAD$3 === undefined) {
|
|
410
|
+
HEAD$3 = document.head || document.getElementsByTagName('head')[0];
|
|
411
|
+
}
|
|
412
|
+
HEAD$3.appendChild(style.element);
|
|
413
|
+
}
|
|
414
|
+
if ('styleSheet' in style.element) {
|
|
415
|
+
style.styles.push(code);
|
|
416
|
+
style.element.styleSheet.cssText = style.styles
|
|
417
|
+
.filter(Boolean)
|
|
418
|
+
.join('\n');
|
|
419
|
+
}
|
|
420
|
+
else {
|
|
421
|
+
const index = style.ids.size - 1;
|
|
422
|
+
const textNode = document.createTextNode(code);
|
|
423
|
+
const nodes = style.element.childNodes;
|
|
424
|
+
if (nodes[index])
|
|
425
|
+
style.element.removeChild(nodes[index]);
|
|
426
|
+
if (nodes.length)
|
|
427
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
428
|
+
else
|
|
429
|
+
style.element.appendChild(textNode);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
395
434
|
/* script */
|
|
396
435
|
const __vue_script__$3 = script$3;
|
|
397
436
|
|
|
@@ -496,15 +535,17 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
496
535
|
__vue_render__$3._withStripped = true;
|
|
497
536
|
|
|
498
537
|
/* style */
|
|
499
|
-
const __vue_inject_styles__$3 =
|
|
538
|
+
const __vue_inject_styles__$3 = function (inject) {
|
|
539
|
+
if (!inject) return
|
|
540
|
+
inject("data-v-0b2dbdef_0", { source: ".hi-expand-panel[data-v-0b2dbdef] {\n position: relative;\n display: flex;\n transition: flex 0.3s ease;\n}\n.hi-expand-panel:hover .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.hi-expand-panel--content[data-v-0b2dbdef] {\n height: 100%;\n width: 100%;\n overflow: auto;\n padding: 16px;\n box-sizing: border-box;\n}\n.hi-expand-panel--control-draggable[data-v-0b2dbdef]:hover {\n cursor: var(--control-draggable-cursor);\n}\n.hi-expand-panel--control-dragging[data-v-0b2dbdef] {\n background-color: var(--control-dragging-bg-color) !important;\n}\n.hi-expand-panel--right .hi-expand-panel--control[data-v-0b2dbdef],\n.hi-expand-panel--left .hi-expand-panel--control[data-v-0b2dbdef] {\n position: absolute;\n height: 100%;\n width: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger[data-v-0b2dbdef],\n.hi-expand-panel--left .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 12px;\n height: 56px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--right[data-v-0b2dbdef] {\n flex-direction: row;\n}\n.hi-expand-panel--right .hi-expand-panel--control[data-v-0b2dbdef] {\n right: 0;\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n right: -6px;\n}\n.hi-expand-panel--left[data-v-0b2dbdef] {\n flex-direction: row-reverse;\n}\n.hi-expand-panel--left .hi-expand-panel--control[data-v-0b2dbdef] {\n left: 0;\n}\n.hi-expand-panel--left .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n left: -6px;\n}\n.hi-expand-panel--top .hi-expand-panel--control[data-v-0b2dbdef],\n.hi-expand-panel--bottom .hi-expand-panel--control[data-v-0b2dbdef] {\n position: absolute;\n width: 100%;\n height: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger[data-v-0b2dbdef],\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 56px;\n height: 12px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--top[data-v-0b2dbdef] {\n flex-direction: column-reverse;\n}\n.hi-expand-panel--top .hi-expand-panel--control[data-v-0b2dbdef] {\n top: 0;\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n top: -6px;\n}\n.hi-expand-panel--bottom[data-v-0b2dbdef] {\n flex-direction: column;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control[data-v-0b2dbdef] {\n bottom: 0;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger[data-v-0b2dbdef] {\n bottom: -6px;\n}\n", map: {"version":3,"sources":["index.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,aAAa;EACb,0BAA0B;AAC5B;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,YAAY;EACZ,WAAW;EACX,cAAc;EACd,aAAa;EACb,sBAAsB;AACxB;AACA;EACE,uCAAuC;AACzC;AACA;EACE,6DAA6D;AAC/D;AACA;;EAEE,kBAAkB;EAClB,YAAY;EACZ,UAAU;EACV,wCAAwC;AAC1C;AACA;;EAEE,kBAAkB;EAClB,QAAQ;EACR,2BAA2B;EAC3B,eAAe;EACf,wCAAwC;EACxC,wCAAwC;EACxC,WAAW;EACX,YAAY;EACZ,aAAa;EACb,kBAAkB;AACpB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,QAAQ;AACV;AACA;EACE,WAAW;AACb;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,OAAO;AACT;AACA;EACE,UAAU;AACZ;AACA;;EAEE,kBAAkB;EAClB,WAAW;EACX,WAAW;EACX,wCAAwC;AAC1C;AACA;;EAEE,kBAAkB;EAClB,SAAS;EACT,2BAA2B;EAC3B,eAAe;EACf,wCAAwC;EACxC,wCAAwC;EACxC,WAAW;EACX,YAAY;EACZ,aAAa;EACb,kBAAkB;AACpB;AACA;EACE,8BAA8B;AAChC;AACA;EACE,MAAM;AACR;AACA;EACE,SAAS;AACX;AACA;EACE,sBAAsB;AACxB;AACA;EACE,SAAS;AACX;AACA;EACE,YAAY;AACd","file":"index.vue","sourcesContent":[".hi-expand-panel {\n position: relative;\n display: flex;\n transition: flex 0.3s ease;\n}\n.hi-expand-panel:hover .hi-expand-panel--control-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.hi-expand-panel--content {\n height: 100%;\n width: 100%;\n overflow: auto;\n padding: 16px;\n box-sizing: border-box;\n}\n.hi-expand-panel--control-draggable:hover {\n cursor: var(--control-draggable-cursor);\n}\n.hi-expand-panel--control-dragging {\n background-color: var(--control-dragging-bg-color) !important;\n}\n.hi-expand-panel--right .hi-expand-panel--control,\n.hi-expand-panel--left .hi-expand-panel--control {\n position: absolute;\n height: 100%;\n width: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger,\n.hi-expand-panel--left .hi-expand-panel--control-trigger {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 12px;\n height: 56px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--right {\n flex-direction: row;\n}\n.hi-expand-panel--right .hi-expand-panel--control {\n right: 0;\n}\n.hi-expand-panel--right .hi-expand-panel--control-trigger {\n right: -6px;\n}\n.hi-expand-panel--left {\n flex-direction: row-reverse;\n}\n.hi-expand-panel--left .hi-expand-panel--control {\n left: 0;\n}\n.hi-expand-panel--left .hi-expand-panel--control-trigger {\n left: -6px;\n}\n.hi-expand-panel--top .hi-expand-panel--control,\n.hi-expand-panel--bottom .hi-expand-panel--control {\n position: absolute;\n width: 100%;\n height: 1px;\n background-color: var(--td-gray-color-4);\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger,\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n cursor: pointer;\n background-color: var(--td-font-white-1);\n border: 1px solid var(--td-gray-color-4);\n width: 56px;\n height: 12px;\n display: none;\n border-radius: 6px;\n}\n.hi-expand-panel--top {\n flex-direction: column-reverse;\n}\n.hi-expand-panel--top .hi-expand-panel--control {\n top: 0;\n}\n.hi-expand-panel--top .hi-expand-panel--control-trigger {\n top: -6px;\n}\n.hi-expand-panel--bottom {\n flex-direction: column;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control {\n bottom: 0;\n}\n.hi-expand-panel--bottom .hi-expand-panel--control-trigger {\n bottom: -6px;\n}\n"]}, media: undefined });
|
|
541
|
+
|
|
542
|
+
};
|
|
500
543
|
/* scoped */
|
|
501
|
-
const __vue_scope_id__$3 =
|
|
544
|
+
const __vue_scope_id__$3 = "data-v-0b2dbdef";
|
|
502
545
|
/* module identifier */
|
|
503
546
|
const __vue_module_identifier__$3 = undefined;
|
|
504
547
|
/* functional template */
|
|
505
548
|
const __vue_is_functional_template__$3 = false;
|
|
506
|
-
/* style inject */
|
|
507
|
-
|
|
508
549
|
/* style inject SSR */
|
|
509
550
|
|
|
510
551
|
/* style inject shadow dom */
|
|
@@ -519,7 +560,7 @@ __vue_render__$3._withStripped = true;
|
|
|
519
560
|
__vue_is_functional_template__$3,
|
|
520
561
|
__vue_module_identifier__$3,
|
|
521
562
|
false,
|
|
522
|
-
|
|
563
|
+
createInjector$3,
|
|
523
564
|
undefined,
|
|
524
565
|
undefined
|
|
525
566
|
);
|
|
@@ -531,20 +572,16 @@ __vue_component__$3.install = Vue => {
|
|
|
531
572
|
Vue.component(__vue_component__$3.name, __vue_component__$3);
|
|
532
573
|
};
|
|
533
574
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
__$styleInject$2(".hi-expand-text {\n display: flex;\n width: 100%;\n line-height: 1.5;\n}\n.hi-expand-text--content {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: var(--hi-expand-text-line-clamp);\n line-clamp: var(--hi-expand-text-line-clamp);\n}\n.hi-expand-text--content.hi-expand-text--content__show-toggle::before {\n content: '';\n float: right;\n height: 100%;\n margin-bottom: calc(-1em * 1.5);\n}\n.hi-expand-text--content__expanded {\n display: block;\n overflow: visible;\n -webkit-line-clamp: unset;\n line-clamp: unset;\n}\n.hi-expand-text--toggle {\n color: var(--td-brand-color);\n float: right;\n clear: both;\n cursor: pointer;\n}\n");
|
|
547
|
-
|
|
575
|
+
//
|
|
576
|
+
//
|
|
577
|
+
//
|
|
578
|
+
//
|
|
579
|
+
//
|
|
580
|
+
//
|
|
581
|
+
//
|
|
582
|
+
//
|
|
583
|
+
//
|
|
584
|
+
//
|
|
548
585
|
//
|
|
549
586
|
|
|
550
587
|
var script$2 = {
|
|
@@ -760,6 +797,59 @@ function normalizeComponent$2(template, style, script, scopeId, isFunctionalTemp
|
|
|
760
797
|
return script;
|
|
761
798
|
}
|
|
762
799
|
|
|
800
|
+
const isOldIE$2 = typeof navigator !== 'undefined' &&
|
|
801
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
802
|
+
function createInjector$2(context) {
|
|
803
|
+
return (id, style) => addStyle$2(id, style);
|
|
804
|
+
}
|
|
805
|
+
let HEAD$2;
|
|
806
|
+
const styles$2 = {};
|
|
807
|
+
function addStyle$2(id, css) {
|
|
808
|
+
const group = isOldIE$2 ? css.media || 'default' : id;
|
|
809
|
+
const style = styles$2[group] || (styles$2[group] = { ids: new Set(), styles: [] });
|
|
810
|
+
if (!style.ids.has(id)) {
|
|
811
|
+
style.ids.add(id);
|
|
812
|
+
let code = css.source;
|
|
813
|
+
if (css.map) {
|
|
814
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
815
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
816
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
817
|
+
// http://stackoverflow.com/a/26603875
|
|
818
|
+
code +=
|
|
819
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
820
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
821
|
+
' */';
|
|
822
|
+
}
|
|
823
|
+
if (!style.element) {
|
|
824
|
+
style.element = document.createElement('style');
|
|
825
|
+
style.element.type = 'text/css';
|
|
826
|
+
if (css.media)
|
|
827
|
+
style.element.setAttribute('media', css.media);
|
|
828
|
+
if (HEAD$2 === undefined) {
|
|
829
|
+
HEAD$2 = document.head || document.getElementsByTagName('head')[0];
|
|
830
|
+
}
|
|
831
|
+
HEAD$2.appendChild(style.element);
|
|
832
|
+
}
|
|
833
|
+
if ('styleSheet' in style.element) {
|
|
834
|
+
style.styles.push(code);
|
|
835
|
+
style.element.styleSheet.cssText = style.styles
|
|
836
|
+
.filter(Boolean)
|
|
837
|
+
.join('\n');
|
|
838
|
+
}
|
|
839
|
+
else {
|
|
840
|
+
const index = style.ids.size - 1;
|
|
841
|
+
const textNode = document.createTextNode(code);
|
|
842
|
+
const nodes = style.element.childNodes;
|
|
843
|
+
if (nodes[index])
|
|
844
|
+
style.element.removeChild(nodes[index]);
|
|
845
|
+
if (nodes.length)
|
|
846
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
847
|
+
else
|
|
848
|
+
style.element.appendChild(textNode);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
763
853
|
/* script */
|
|
764
854
|
const __vue_script__$2 = script$2;
|
|
765
855
|
|
|
@@ -808,15 +898,17 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
808
898
|
__vue_render__$2._withStripped = true;
|
|
809
899
|
|
|
810
900
|
/* style */
|
|
811
|
-
const __vue_inject_styles__$2 =
|
|
901
|
+
const __vue_inject_styles__$2 = function (inject) {
|
|
902
|
+
if (!inject) return
|
|
903
|
+
inject("data-v-3bd7513c_0", { source: ".hi-expand-text[data-v-3bd7513c] {\n display: flex;\n width: 100%;\n line-height: 1.5;\n}\n.hi-expand-text--content[data-v-3bd7513c] {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: var(--hi-expand-text-line-clamp);\n line-clamp: var(--hi-expand-text-line-clamp);\n}\n.hi-expand-text--content.hi-expand-text--content__show-toggle[data-v-3bd7513c]::before {\n content: '';\n float: right;\n height: 100%;\n margin-bottom: calc(-1em * 1.5);\n}\n.hi-expand-text--content__expanded[data-v-3bd7513c] {\n display: block;\n overflow: visible;\n -webkit-line-clamp: unset;\n line-clamp: unset;\n}\n.hi-expand-text--toggle[data-v-3bd7513c] {\n color: var(--td-brand-color);\n float: right;\n clear: both;\n cursor: pointer;\n}\n", map: {"version":3,"sources":["index.vue"],"names":[],"mappings":"AAAA;EACE,aAAa;EACb,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,oBAAoB;EACpB,4BAA4B;EAC5B,gBAAgB;EAChB,uBAAuB;EACvB,sBAAsB;EACtB,oDAAoD;EACpD,4CAA4C;AAC9C;AACA;EACE,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,+BAA+B;AACjC;AACA;EACE,cAAc;EACd,iBAAiB;EACjB,yBAAyB;EACzB,iBAAiB;AACnB;AACA;EACE,4BAA4B;EAC5B,YAAY;EACZ,WAAW;EACX,eAAe;AACjB","file":"index.vue","sourcesContent":[".hi-expand-text {\n display: flex;\n width: 100%;\n line-height: 1.5;\n}\n.hi-expand-text--content {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: var(--hi-expand-text-line-clamp);\n line-clamp: var(--hi-expand-text-line-clamp);\n}\n.hi-expand-text--content.hi-expand-text--content__show-toggle::before {\n content: '';\n float: right;\n height: 100%;\n margin-bottom: calc(-1em * 1.5);\n}\n.hi-expand-text--content__expanded {\n display: block;\n overflow: visible;\n -webkit-line-clamp: unset;\n line-clamp: unset;\n}\n.hi-expand-text--toggle {\n color: var(--td-brand-color);\n float: right;\n clear: both;\n cursor: pointer;\n}\n"]}, media: undefined });
|
|
904
|
+
|
|
905
|
+
};
|
|
812
906
|
/* scoped */
|
|
813
|
-
const __vue_scope_id__$2 =
|
|
907
|
+
const __vue_scope_id__$2 = "data-v-3bd7513c";
|
|
814
908
|
/* module identifier */
|
|
815
909
|
const __vue_module_identifier__$2 = undefined;
|
|
816
910
|
/* functional template */
|
|
817
911
|
const __vue_is_functional_template__$2 = false;
|
|
818
|
-
/* style inject */
|
|
819
|
-
|
|
820
912
|
/* style inject SSR */
|
|
821
913
|
|
|
822
914
|
/* style inject shadow dom */
|
|
@@ -831,7 +923,7 @@ __vue_render__$2._withStripped = true;
|
|
|
831
923
|
__vue_is_functional_template__$2,
|
|
832
924
|
__vue_module_identifier__$2,
|
|
833
925
|
false,
|
|
834
|
-
|
|
926
|
+
createInjector$2,
|
|
835
927
|
undefined,
|
|
836
928
|
undefined
|
|
837
929
|
);
|
|
@@ -843,21 +935,39 @@ __vue_component__$2.install = Vue => {
|
|
|
843
935
|
Vue.component(__vue_component__$2.name, __vue_component__$2);
|
|
844
936
|
};
|
|
845
937
|
|
|
846
|
-
function __$styleInject$1(css) {
|
|
847
|
-
if (!css) return;
|
|
848
|
-
|
|
849
|
-
if (typeof window == 'undefined') return;
|
|
850
|
-
var style = document.createElement('style');
|
|
851
|
-
style.setAttribute('media', 'screen');
|
|
852
|
-
|
|
853
|
-
style.innerHTML = css;
|
|
854
|
-
document.head.appendChild(style);
|
|
855
|
-
return css;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
__$styleInject$1(".hi-title {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n.hi-title--small {\n gap: 2px;\n}\n.hi-title--large {\n gap: 6px;\n}\n.hi-title__header {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.hi-title__prefix {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.hi-title__bar {\n width: 4px;\n background-color: var(--td-brand-color);\n flex-shrink: 0;\n}\n.hi-title__icon {\n flex-shrink: 0;\n line-height: 1;\n}\n.hi-title__text {\n margin: 0;\n font-weight: 600;\n color: var(--td-text-color-primary);\n}\n.hi-title__description {\n margin: 0;\n font-size: 12px;\n color: var(--td-text-color-secondary);\n}\n");
|
|
859
|
-
|
|
860
938
|
//
|
|
939
|
+
//
|
|
940
|
+
//
|
|
941
|
+
//
|
|
942
|
+
//
|
|
943
|
+
//
|
|
944
|
+
//
|
|
945
|
+
//
|
|
946
|
+
//
|
|
947
|
+
//
|
|
948
|
+
//
|
|
949
|
+
//
|
|
950
|
+
//
|
|
951
|
+
//
|
|
952
|
+
//
|
|
953
|
+
//
|
|
954
|
+
//
|
|
955
|
+
//
|
|
956
|
+
//
|
|
957
|
+
//
|
|
958
|
+
//
|
|
959
|
+
//
|
|
960
|
+
//
|
|
961
|
+
//
|
|
962
|
+
//
|
|
963
|
+
//
|
|
964
|
+
//
|
|
965
|
+
//
|
|
966
|
+
//
|
|
967
|
+
//
|
|
968
|
+
//
|
|
969
|
+
//
|
|
970
|
+
|
|
861
971
|
const TITILE_SIZE_MAP = {
|
|
862
972
|
small: '14px',
|
|
863
973
|
medium: '16px',
|
|
@@ -1017,6 +1127,59 @@ function normalizeComponent$1(template, style, script, scopeId, isFunctionalTemp
|
|
|
1017
1127
|
return script;
|
|
1018
1128
|
}
|
|
1019
1129
|
|
|
1130
|
+
const isOldIE$1 = typeof navigator !== 'undefined' &&
|
|
1131
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1132
|
+
function createInjector$1(context) {
|
|
1133
|
+
return (id, style) => addStyle$1(id, style);
|
|
1134
|
+
}
|
|
1135
|
+
let HEAD$1;
|
|
1136
|
+
const styles$1 = {};
|
|
1137
|
+
function addStyle$1(id, css) {
|
|
1138
|
+
const group = isOldIE$1 ? css.media || 'default' : id;
|
|
1139
|
+
const style = styles$1[group] || (styles$1[group] = { ids: new Set(), styles: [] });
|
|
1140
|
+
if (!style.ids.has(id)) {
|
|
1141
|
+
style.ids.add(id);
|
|
1142
|
+
let code = css.source;
|
|
1143
|
+
if (css.map) {
|
|
1144
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1145
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
1146
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1147
|
+
// http://stackoverflow.com/a/26603875
|
|
1148
|
+
code +=
|
|
1149
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1150
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1151
|
+
' */';
|
|
1152
|
+
}
|
|
1153
|
+
if (!style.element) {
|
|
1154
|
+
style.element = document.createElement('style');
|
|
1155
|
+
style.element.type = 'text/css';
|
|
1156
|
+
if (css.media)
|
|
1157
|
+
style.element.setAttribute('media', css.media);
|
|
1158
|
+
if (HEAD$1 === undefined) {
|
|
1159
|
+
HEAD$1 = document.head || document.getElementsByTagName('head')[0];
|
|
1160
|
+
}
|
|
1161
|
+
HEAD$1.appendChild(style.element);
|
|
1162
|
+
}
|
|
1163
|
+
if ('styleSheet' in style.element) {
|
|
1164
|
+
style.styles.push(code);
|
|
1165
|
+
style.element.styleSheet.cssText = style.styles
|
|
1166
|
+
.filter(Boolean)
|
|
1167
|
+
.join('\n');
|
|
1168
|
+
}
|
|
1169
|
+
else {
|
|
1170
|
+
const index = style.ids.size - 1;
|
|
1171
|
+
const textNode = document.createTextNode(code);
|
|
1172
|
+
const nodes = style.element.childNodes;
|
|
1173
|
+
if (nodes[index])
|
|
1174
|
+
style.element.removeChild(nodes[index]);
|
|
1175
|
+
if (nodes.length)
|
|
1176
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
1177
|
+
else
|
|
1178
|
+
style.element.appendChild(textNode);
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1020
1183
|
/* script */
|
|
1021
1184
|
const __vue_script__$1 = script$1;
|
|
1022
1185
|
|
|
@@ -1091,15 +1254,17 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
1091
1254
|
__vue_render__$1._withStripped = true;
|
|
1092
1255
|
|
|
1093
1256
|
/* style */
|
|
1094
|
-
const __vue_inject_styles__$1 =
|
|
1257
|
+
const __vue_inject_styles__$1 = function (inject) {
|
|
1258
|
+
if (!inject) return
|
|
1259
|
+
inject("data-v-2948bff0_0", { source: ".hi-title[data-v-2948bff0] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n.hi-title--small[data-v-2948bff0] {\n gap: 2px;\n}\n.hi-title--large[data-v-2948bff0] {\n gap: 6px;\n}\n.hi-title__header[data-v-2948bff0] {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.hi-title__prefix[data-v-2948bff0] {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.hi-title__bar[data-v-2948bff0] {\n width: 4px;\n background-color: var(--td-brand-color);\n flex-shrink: 0;\n}\n.hi-title__icon[data-v-2948bff0] {\n flex-shrink: 0;\n line-height: 1;\n}\n.hi-title__text[data-v-2948bff0] {\n margin: 0;\n font-weight: 600;\n color: var(--td-text-color-primary);\n}\n.hi-title__description[data-v-2948bff0] {\n margin: 0;\n font-size: 12px;\n color: var(--td-text-color-secondary);\n}\n", map: {"version":3,"sources":["index.vue"],"names":[],"mappings":"AAAA;EACE,aAAa;EACb,sBAAsB;EACtB,QAAQ;AACV;AACA;EACE,QAAQ;AACV;AACA;EACE,QAAQ;AACV;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,SAAS;AACX;AACA;EACE,cAAc;EACd,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,uCAAuC;EACvC,cAAc;AAChB;AACA;EACE,cAAc;EACd,cAAc;AAChB;AACA;EACE,SAAS;EACT,gBAAgB;EAChB,mCAAmC;AACrC;AACA;EACE,SAAS;EACT,eAAe;EACf,qCAAqC;AACvC","file":"index.vue","sourcesContent":[".hi-title {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n.hi-title--small {\n gap: 2px;\n}\n.hi-title--large {\n gap: 6px;\n}\n.hi-title__header {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.hi-title__prefix {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.hi-title__bar {\n width: 4px;\n background-color: var(--td-brand-color);\n flex-shrink: 0;\n}\n.hi-title__icon {\n flex-shrink: 0;\n line-height: 1;\n}\n.hi-title__text {\n margin: 0;\n font-weight: 600;\n color: var(--td-text-color-primary);\n}\n.hi-title__description {\n margin: 0;\n font-size: 12px;\n color: var(--td-text-color-secondary);\n}\n"]}, media: undefined });
|
|
1260
|
+
|
|
1261
|
+
};
|
|
1095
1262
|
/* scoped */
|
|
1096
|
-
const __vue_scope_id__$1 =
|
|
1263
|
+
const __vue_scope_id__$1 = "data-v-2948bff0";
|
|
1097
1264
|
/* module identifier */
|
|
1098
1265
|
const __vue_module_identifier__$1 = undefined;
|
|
1099
1266
|
/* functional template */
|
|
1100
1267
|
const __vue_is_functional_template__$1 = false;
|
|
1101
|
-
/* style inject */
|
|
1102
|
-
|
|
1103
1268
|
/* style inject SSR */
|
|
1104
1269
|
|
|
1105
1270
|
/* style inject shadow dom */
|
|
@@ -1114,7 +1279,7 @@ __vue_render__$1._withStripped = true;
|
|
|
1114
1279
|
__vue_is_functional_template__$1,
|
|
1115
1280
|
__vue_module_identifier__$1,
|
|
1116
1281
|
false,
|
|
1117
|
-
|
|
1282
|
+
createInjector$1,
|
|
1118
1283
|
undefined,
|
|
1119
1284
|
undefined
|
|
1120
1285
|
);
|
|
@@ -1127,20 +1292,6 @@ __vue_component__$1.install = Vue => {
|
|
|
1127
1292
|
Vue.component(__vue_component__$1.name, __vue_component__$1);
|
|
1128
1293
|
};
|
|
1129
1294
|
|
|
1130
|
-
function __$styleInject(css) {
|
|
1131
|
-
if (!css) return;
|
|
1132
|
-
|
|
1133
|
-
if (typeof window == 'undefined') return;
|
|
1134
|
-
var style = document.createElement('style');
|
|
1135
|
-
style.setAttribute('media', 'screen');
|
|
1136
|
-
|
|
1137
|
-
style.innerHTML = css;
|
|
1138
|
-
document.head.appendChild(style);
|
|
1139
|
-
return css;
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
__$styleInject(".hi-virtual-list {\n overflow-y: auto;\n overflow-x: hidden;\n position: relative;\n will-change: scroll-position;\n}\n.hi-virtual-list--placeholder {\n pointer-events: none;\n}\n.hi-virtual-list--item-wrapper {\n box-sizing: border-box;\n}\n");
|
|
1143
|
-
|
|
1144
1295
|
/**
|
|
1145
1296
|
* 类型判断工具
|
|
1146
1297
|
*/
|
|
@@ -1473,6 +1624,59 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
1473
1624
|
return script;
|
|
1474
1625
|
}
|
|
1475
1626
|
|
|
1627
|
+
const isOldIE = typeof navigator !== 'undefined' &&
|
|
1628
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1629
|
+
function createInjector(context) {
|
|
1630
|
+
return (id, style) => addStyle(id, style);
|
|
1631
|
+
}
|
|
1632
|
+
let HEAD;
|
|
1633
|
+
const styles = {};
|
|
1634
|
+
function addStyle(id, css) {
|
|
1635
|
+
const group = isOldIE ? css.media || 'default' : id;
|
|
1636
|
+
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
1637
|
+
if (!style.ids.has(id)) {
|
|
1638
|
+
style.ids.add(id);
|
|
1639
|
+
let code = css.source;
|
|
1640
|
+
if (css.map) {
|
|
1641
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1642
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
1643
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1644
|
+
// http://stackoverflow.com/a/26603875
|
|
1645
|
+
code +=
|
|
1646
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1647
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1648
|
+
' */';
|
|
1649
|
+
}
|
|
1650
|
+
if (!style.element) {
|
|
1651
|
+
style.element = document.createElement('style');
|
|
1652
|
+
style.element.type = 'text/css';
|
|
1653
|
+
if (css.media)
|
|
1654
|
+
style.element.setAttribute('media', css.media);
|
|
1655
|
+
if (HEAD === undefined) {
|
|
1656
|
+
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
1657
|
+
}
|
|
1658
|
+
HEAD.appendChild(style.element);
|
|
1659
|
+
}
|
|
1660
|
+
if ('styleSheet' in style.element) {
|
|
1661
|
+
style.styles.push(code);
|
|
1662
|
+
style.element.styleSheet.cssText = style.styles
|
|
1663
|
+
.filter(Boolean)
|
|
1664
|
+
.join('\n');
|
|
1665
|
+
}
|
|
1666
|
+
else {
|
|
1667
|
+
const index = style.ids.size - 1;
|
|
1668
|
+
const textNode = document.createTextNode(code);
|
|
1669
|
+
const nodes = style.element.childNodes;
|
|
1670
|
+
if (nodes[index])
|
|
1671
|
+
style.element.removeChild(nodes[index]);
|
|
1672
|
+
if (nodes.length)
|
|
1673
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
1674
|
+
else
|
|
1675
|
+
style.element.appendChild(textNode);
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1476
1680
|
/* script */
|
|
1477
1681
|
const __vue_script__ = script;
|
|
1478
1682
|
|
|
@@ -1520,15 +1724,17 @@ var __vue_staticRenderFns__ = [];
|
|
|
1520
1724
|
__vue_render__._withStripped = true;
|
|
1521
1725
|
|
|
1522
1726
|
/* style */
|
|
1523
|
-
const __vue_inject_styles__ =
|
|
1727
|
+
const __vue_inject_styles__ = function (inject) {
|
|
1728
|
+
if (!inject) return
|
|
1729
|
+
inject("data-v-7fe73d95_0", { source: ".hi-virtual-list[data-v-7fe73d95] {\n overflow-y: auto;\n overflow-x: hidden;\n position: relative;\n will-change: scroll-position;\n}\n.hi-virtual-list--placeholder[data-v-7fe73d95] {\n pointer-events: none;\n}\n.hi-virtual-list--item-wrapper[data-v-7fe73d95] {\n box-sizing: border-box;\n}\n", map: {"version":3,"sources":["index.vue"],"names":[],"mappings":"AAAA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,4BAA4B;AAC9B;AACA;EACE,oBAAoB;AACtB;AACA;EACE,sBAAsB;AACxB","file":"index.vue","sourcesContent":[".hi-virtual-list {\n overflow-y: auto;\n overflow-x: hidden;\n position: relative;\n will-change: scroll-position;\n}\n.hi-virtual-list--placeholder {\n pointer-events: none;\n}\n.hi-virtual-list--item-wrapper {\n box-sizing: border-box;\n}\n"]}, media: undefined });
|
|
1730
|
+
|
|
1731
|
+
};
|
|
1524
1732
|
/* scoped */
|
|
1525
|
-
const __vue_scope_id__ =
|
|
1733
|
+
const __vue_scope_id__ = "data-v-7fe73d95";
|
|
1526
1734
|
/* module identifier */
|
|
1527
1735
|
const __vue_module_identifier__ = undefined;
|
|
1528
1736
|
/* functional template */
|
|
1529
1737
|
const __vue_is_functional_template__ = false;
|
|
1530
|
-
/* style inject */
|
|
1531
|
-
|
|
1532
1738
|
/* style inject SSR */
|
|
1533
1739
|
|
|
1534
1740
|
/* style inject shadow dom */
|
|
@@ -1543,7 +1749,7 @@ __vue_render__._withStripped = true;
|
|
|
1543
1749
|
__vue_is_functional_template__,
|
|
1544
1750
|
__vue_module_identifier__,
|
|
1545
1751
|
false,
|
|
1546
|
-
|
|
1752
|
+
createInjector,
|
|
1547
1753
|
undefined,
|
|
1548
1754
|
undefined
|
|
1549
1755
|
);
|