@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.umd.js
CHANGED
|
@@ -16,20 +16,6 @@
|
|
|
16
16
|
return css;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
function __$styleInject$3(css) {
|
|
20
|
-
if (!css) return;
|
|
21
|
-
|
|
22
|
-
if (typeof window == 'undefined') return;
|
|
23
|
-
var style = document.createElement('style');
|
|
24
|
-
style.setAttribute('media', 'screen');
|
|
25
|
-
|
|
26
|
-
style.innerHTML = css;
|
|
27
|
-
document.head.appendChild(style);
|
|
28
|
-
return css;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
__$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");
|
|
32
|
-
|
|
33
19
|
/**
|
|
34
20
|
* 类型判断工具
|
|
35
21
|
*/
|
|
@@ -398,6 +384,59 @@
|
|
|
398
384
|
return script;
|
|
399
385
|
}
|
|
400
386
|
|
|
387
|
+
const isOldIE$3 = typeof navigator !== 'undefined' &&
|
|
388
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
389
|
+
function createInjector$3(context) {
|
|
390
|
+
return (id, style) => addStyle$3(id, style);
|
|
391
|
+
}
|
|
392
|
+
let HEAD$3;
|
|
393
|
+
const styles$3 = {};
|
|
394
|
+
function addStyle$3(id, css) {
|
|
395
|
+
const group = isOldIE$3 ? css.media || 'default' : id;
|
|
396
|
+
const style = styles$3[group] || (styles$3[group] = { ids: new Set(), styles: [] });
|
|
397
|
+
if (!style.ids.has(id)) {
|
|
398
|
+
style.ids.add(id);
|
|
399
|
+
let code = css.source;
|
|
400
|
+
if (css.map) {
|
|
401
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
402
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
403
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
404
|
+
// http://stackoverflow.com/a/26603875
|
|
405
|
+
code +=
|
|
406
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
407
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
408
|
+
' */';
|
|
409
|
+
}
|
|
410
|
+
if (!style.element) {
|
|
411
|
+
style.element = document.createElement('style');
|
|
412
|
+
style.element.type = 'text/css';
|
|
413
|
+
if (css.media)
|
|
414
|
+
style.element.setAttribute('media', css.media);
|
|
415
|
+
if (HEAD$3 === undefined) {
|
|
416
|
+
HEAD$3 = document.head || document.getElementsByTagName('head')[0];
|
|
417
|
+
}
|
|
418
|
+
HEAD$3.appendChild(style.element);
|
|
419
|
+
}
|
|
420
|
+
if ('styleSheet' in style.element) {
|
|
421
|
+
style.styles.push(code);
|
|
422
|
+
style.element.styleSheet.cssText = style.styles
|
|
423
|
+
.filter(Boolean)
|
|
424
|
+
.join('\n');
|
|
425
|
+
}
|
|
426
|
+
else {
|
|
427
|
+
const index = style.ids.size - 1;
|
|
428
|
+
const textNode = document.createTextNode(code);
|
|
429
|
+
const nodes = style.element.childNodes;
|
|
430
|
+
if (nodes[index])
|
|
431
|
+
style.element.removeChild(nodes[index]);
|
|
432
|
+
if (nodes.length)
|
|
433
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
434
|
+
else
|
|
435
|
+
style.element.appendChild(textNode);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
401
440
|
/* script */
|
|
402
441
|
const __vue_script__$3 = script$3;
|
|
403
442
|
|
|
@@ -502,15 +541,17 @@
|
|
|
502
541
|
__vue_render__$3._withStripped = true;
|
|
503
542
|
|
|
504
543
|
/* style */
|
|
505
|
-
const __vue_inject_styles__$3 =
|
|
544
|
+
const __vue_inject_styles__$3 = function (inject) {
|
|
545
|
+
if (!inject) return
|
|
546
|
+
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 });
|
|
547
|
+
|
|
548
|
+
};
|
|
506
549
|
/* scoped */
|
|
507
|
-
const __vue_scope_id__$3 =
|
|
550
|
+
const __vue_scope_id__$3 = "data-v-0b2dbdef";
|
|
508
551
|
/* module identifier */
|
|
509
552
|
const __vue_module_identifier__$3 = undefined;
|
|
510
553
|
/* functional template */
|
|
511
554
|
const __vue_is_functional_template__$3 = false;
|
|
512
|
-
/* style inject */
|
|
513
|
-
|
|
514
555
|
/* style inject SSR */
|
|
515
556
|
|
|
516
557
|
/* style inject shadow dom */
|
|
@@ -525,7 +566,7 @@
|
|
|
525
566
|
__vue_is_functional_template__$3,
|
|
526
567
|
__vue_module_identifier__$3,
|
|
527
568
|
false,
|
|
528
|
-
|
|
569
|
+
createInjector$3,
|
|
529
570
|
undefined,
|
|
530
571
|
undefined
|
|
531
572
|
);
|
|
@@ -537,20 +578,16 @@
|
|
|
537
578
|
Vue.component(__vue_component__$3.name, __vue_component__$3);
|
|
538
579
|
};
|
|
539
580
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
__$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");
|
|
553
|
-
|
|
581
|
+
//
|
|
582
|
+
//
|
|
583
|
+
//
|
|
584
|
+
//
|
|
585
|
+
//
|
|
586
|
+
//
|
|
587
|
+
//
|
|
588
|
+
//
|
|
589
|
+
//
|
|
590
|
+
//
|
|
554
591
|
//
|
|
555
592
|
|
|
556
593
|
var script$2 = {
|
|
@@ -766,6 +803,59 @@
|
|
|
766
803
|
return script;
|
|
767
804
|
}
|
|
768
805
|
|
|
806
|
+
const isOldIE$2 = typeof navigator !== 'undefined' &&
|
|
807
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
808
|
+
function createInjector$2(context) {
|
|
809
|
+
return (id, style) => addStyle$2(id, style);
|
|
810
|
+
}
|
|
811
|
+
let HEAD$2;
|
|
812
|
+
const styles$2 = {};
|
|
813
|
+
function addStyle$2(id, css) {
|
|
814
|
+
const group = isOldIE$2 ? css.media || 'default' : id;
|
|
815
|
+
const style = styles$2[group] || (styles$2[group] = { ids: new Set(), styles: [] });
|
|
816
|
+
if (!style.ids.has(id)) {
|
|
817
|
+
style.ids.add(id);
|
|
818
|
+
let code = css.source;
|
|
819
|
+
if (css.map) {
|
|
820
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
821
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
822
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
823
|
+
// http://stackoverflow.com/a/26603875
|
|
824
|
+
code +=
|
|
825
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
826
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
827
|
+
' */';
|
|
828
|
+
}
|
|
829
|
+
if (!style.element) {
|
|
830
|
+
style.element = document.createElement('style');
|
|
831
|
+
style.element.type = 'text/css';
|
|
832
|
+
if (css.media)
|
|
833
|
+
style.element.setAttribute('media', css.media);
|
|
834
|
+
if (HEAD$2 === undefined) {
|
|
835
|
+
HEAD$2 = document.head || document.getElementsByTagName('head')[0];
|
|
836
|
+
}
|
|
837
|
+
HEAD$2.appendChild(style.element);
|
|
838
|
+
}
|
|
839
|
+
if ('styleSheet' in style.element) {
|
|
840
|
+
style.styles.push(code);
|
|
841
|
+
style.element.styleSheet.cssText = style.styles
|
|
842
|
+
.filter(Boolean)
|
|
843
|
+
.join('\n');
|
|
844
|
+
}
|
|
845
|
+
else {
|
|
846
|
+
const index = style.ids.size - 1;
|
|
847
|
+
const textNode = document.createTextNode(code);
|
|
848
|
+
const nodes = style.element.childNodes;
|
|
849
|
+
if (nodes[index])
|
|
850
|
+
style.element.removeChild(nodes[index]);
|
|
851
|
+
if (nodes.length)
|
|
852
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
853
|
+
else
|
|
854
|
+
style.element.appendChild(textNode);
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
769
859
|
/* script */
|
|
770
860
|
const __vue_script__$2 = script$2;
|
|
771
861
|
|
|
@@ -814,15 +904,17 @@
|
|
|
814
904
|
__vue_render__$2._withStripped = true;
|
|
815
905
|
|
|
816
906
|
/* style */
|
|
817
|
-
const __vue_inject_styles__$2 =
|
|
907
|
+
const __vue_inject_styles__$2 = function (inject) {
|
|
908
|
+
if (!inject) return
|
|
909
|
+
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 });
|
|
910
|
+
|
|
911
|
+
};
|
|
818
912
|
/* scoped */
|
|
819
|
-
const __vue_scope_id__$2 =
|
|
913
|
+
const __vue_scope_id__$2 = "data-v-3bd7513c";
|
|
820
914
|
/* module identifier */
|
|
821
915
|
const __vue_module_identifier__$2 = undefined;
|
|
822
916
|
/* functional template */
|
|
823
917
|
const __vue_is_functional_template__$2 = false;
|
|
824
|
-
/* style inject */
|
|
825
|
-
|
|
826
918
|
/* style inject SSR */
|
|
827
919
|
|
|
828
920
|
/* style inject shadow dom */
|
|
@@ -837,7 +929,7 @@
|
|
|
837
929
|
__vue_is_functional_template__$2,
|
|
838
930
|
__vue_module_identifier__$2,
|
|
839
931
|
false,
|
|
840
|
-
|
|
932
|
+
createInjector$2,
|
|
841
933
|
undefined,
|
|
842
934
|
undefined
|
|
843
935
|
);
|
|
@@ -849,21 +941,39 @@
|
|
|
849
941
|
Vue.component(__vue_component__$2.name, __vue_component__$2);
|
|
850
942
|
};
|
|
851
943
|
|
|
852
|
-
function __$styleInject$1(css) {
|
|
853
|
-
if (!css) return;
|
|
854
|
-
|
|
855
|
-
if (typeof window == 'undefined') return;
|
|
856
|
-
var style = document.createElement('style');
|
|
857
|
-
style.setAttribute('media', 'screen');
|
|
858
|
-
|
|
859
|
-
style.innerHTML = css;
|
|
860
|
-
document.head.appendChild(style);
|
|
861
|
-
return css;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
__$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");
|
|
865
|
-
|
|
866
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
|
+
//
|
|
971
|
+
//
|
|
972
|
+
//
|
|
973
|
+
//
|
|
974
|
+
//
|
|
975
|
+
//
|
|
976
|
+
|
|
867
977
|
const TITILE_SIZE_MAP = {
|
|
868
978
|
small: '14px',
|
|
869
979
|
medium: '16px',
|
|
@@ -1023,6 +1133,59 @@
|
|
|
1023
1133
|
return script;
|
|
1024
1134
|
}
|
|
1025
1135
|
|
|
1136
|
+
const isOldIE$1 = typeof navigator !== 'undefined' &&
|
|
1137
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1138
|
+
function createInjector$1(context) {
|
|
1139
|
+
return (id, style) => addStyle$1(id, style);
|
|
1140
|
+
}
|
|
1141
|
+
let HEAD$1;
|
|
1142
|
+
const styles$1 = {};
|
|
1143
|
+
function addStyle$1(id, css) {
|
|
1144
|
+
const group = isOldIE$1 ? css.media || 'default' : id;
|
|
1145
|
+
const style = styles$1[group] || (styles$1[group] = { ids: new Set(), styles: [] });
|
|
1146
|
+
if (!style.ids.has(id)) {
|
|
1147
|
+
style.ids.add(id);
|
|
1148
|
+
let code = css.source;
|
|
1149
|
+
if (css.map) {
|
|
1150
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1151
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
1152
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1153
|
+
// http://stackoverflow.com/a/26603875
|
|
1154
|
+
code +=
|
|
1155
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1156
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1157
|
+
' */';
|
|
1158
|
+
}
|
|
1159
|
+
if (!style.element) {
|
|
1160
|
+
style.element = document.createElement('style');
|
|
1161
|
+
style.element.type = 'text/css';
|
|
1162
|
+
if (css.media)
|
|
1163
|
+
style.element.setAttribute('media', css.media);
|
|
1164
|
+
if (HEAD$1 === undefined) {
|
|
1165
|
+
HEAD$1 = document.head || document.getElementsByTagName('head')[0];
|
|
1166
|
+
}
|
|
1167
|
+
HEAD$1.appendChild(style.element);
|
|
1168
|
+
}
|
|
1169
|
+
if ('styleSheet' in style.element) {
|
|
1170
|
+
style.styles.push(code);
|
|
1171
|
+
style.element.styleSheet.cssText = style.styles
|
|
1172
|
+
.filter(Boolean)
|
|
1173
|
+
.join('\n');
|
|
1174
|
+
}
|
|
1175
|
+
else {
|
|
1176
|
+
const index = style.ids.size - 1;
|
|
1177
|
+
const textNode = document.createTextNode(code);
|
|
1178
|
+
const nodes = style.element.childNodes;
|
|
1179
|
+
if (nodes[index])
|
|
1180
|
+
style.element.removeChild(nodes[index]);
|
|
1181
|
+
if (nodes.length)
|
|
1182
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
1183
|
+
else
|
|
1184
|
+
style.element.appendChild(textNode);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1026
1189
|
/* script */
|
|
1027
1190
|
const __vue_script__$1 = script$1;
|
|
1028
1191
|
|
|
@@ -1097,15 +1260,17 @@
|
|
|
1097
1260
|
__vue_render__$1._withStripped = true;
|
|
1098
1261
|
|
|
1099
1262
|
/* style */
|
|
1100
|
-
const __vue_inject_styles__$1 =
|
|
1263
|
+
const __vue_inject_styles__$1 = function (inject) {
|
|
1264
|
+
if (!inject) return
|
|
1265
|
+
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 });
|
|
1266
|
+
|
|
1267
|
+
};
|
|
1101
1268
|
/* scoped */
|
|
1102
|
-
const __vue_scope_id__$1 =
|
|
1269
|
+
const __vue_scope_id__$1 = "data-v-2948bff0";
|
|
1103
1270
|
/* module identifier */
|
|
1104
1271
|
const __vue_module_identifier__$1 = undefined;
|
|
1105
1272
|
/* functional template */
|
|
1106
1273
|
const __vue_is_functional_template__$1 = false;
|
|
1107
|
-
/* style inject */
|
|
1108
|
-
|
|
1109
1274
|
/* style inject SSR */
|
|
1110
1275
|
|
|
1111
1276
|
/* style inject shadow dom */
|
|
@@ -1120,7 +1285,7 @@
|
|
|
1120
1285
|
__vue_is_functional_template__$1,
|
|
1121
1286
|
__vue_module_identifier__$1,
|
|
1122
1287
|
false,
|
|
1123
|
-
|
|
1288
|
+
createInjector$1,
|
|
1124
1289
|
undefined,
|
|
1125
1290
|
undefined
|
|
1126
1291
|
);
|
|
@@ -1133,20 +1298,6 @@
|
|
|
1133
1298
|
Vue.component(__vue_component__$1.name, __vue_component__$1);
|
|
1134
1299
|
};
|
|
1135
1300
|
|
|
1136
|
-
function __$styleInject(css) {
|
|
1137
|
-
if (!css) return;
|
|
1138
|
-
|
|
1139
|
-
if (typeof window == 'undefined') return;
|
|
1140
|
-
var style = document.createElement('style');
|
|
1141
|
-
style.setAttribute('media', 'screen');
|
|
1142
|
-
|
|
1143
|
-
style.innerHTML = css;
|
|
1144
|
-
document.head.appendChild(style);
|
|
1145
|
-
return css;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
__$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");
|
|
1149
|
-
|
|
1150
1301
|
/**
|
|
1151
1302
|
* 类型判断工具
|
|
1152
1303
|
*/
|
|
@@ -1479,6 +1630,59 @@
|
|
|
1479
1630
|
return script;
|
|
1480
1631
|
}
|
|
1481
1632
|
|
|
1633
|
+
const isOldIE = typeof navigator !== 'undefined' &&
|
|
1634
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1635
|
+
function createInjector(context) {
|
|
1636
|
+
return (id, style) => addStyle(id, style);
|
|
1637
|
+
}
|
|
1638
|
+
let HEAD;
|
|
1639
|
+
const styles = {};
|
|
1640
|
+
function addStyle(id, css) {
|
|
1641
|
+
const group = isOldIE ? css.media || 'default' : id;
|
|
1642
|
+
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
1643
|
+
if (!style.ids.has(id)) {
|
|
1644
|
+
style.ids.add(id);
|
|
1645
|
+
let code = css.source;
|
|
1646
|
+
if (css.map) {
|
|
1647
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1648
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
1649
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1650
|
+
// http://stackoverflow.com/a/26603875
|
|
1651
|
+
code +=
|
|
1652
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1653
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1654
|
+
' */';
|
|
1655
|
+
}
|
|
1656
|
+
if (!style.element) {
|
|
1657
|
+
style.element = document.createElement('style');
|
|
1658
|
+
style.element.type = 'text/css';
|
|
1659
|
+
if (css.media)
|
|
1660
|
+
style.element.setAttribute('media', css.media);
|
|
1661
|
+
if (HEAD === undefined) {
|
|
1662
|
+
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
1663
|
+
}
|
|
1664
|
+
HEAD.appendChild(style.element);
|
|
1665
|
+
}
|
|
1666
|
+
if ('styleSheet' in style.element) {
|
|
1667
|
+
style.styles.push(code);
|
|
1668
|
+
style.element.styleSheet.cssText = style.styles
|
|
1669
|
+
.filter(Boolean)
|
|
1670
|
+
.join('\n');
|
|
1671
|
+
}
|
|
1672
|
+
else {
|
|
1673
|
+
const index = style.ids.size - 1;
|
|
1674
|
+
const textNode = document.createTextNode(code);
|
|
1675
|
+
const nodes = style.element.childNodes;
|
|
1676
|
+
if (nodes[index])
|
|
1677
|
+
style.element.removeChild(nodes[index]);
|
|
1678
|
+
if (nodes.length)
|
|
1679
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
1680
|
+
else
|
|
1681
|
+
style.element.appendChild(textNode);
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1482
1686
|
/* script */
|
|
1483
1687
|
const __vue_script__ = script;
|
|
1484
1688
|
|
|
@@ -1526,15 +1730,17 @@
|
|
|
1526
1730
|
__vue_render__._withStripped = true;
|
|
1527
1731
|
|
|
1528
1732
|
/* style */
|
|
1529
|
-
const __vue_inject_styles__ =
|
|
1733
|
+
const __vue_inject_styles__ = function (inject) {
|
|
1734
|
+
if (!inject) return
|
|
1735
|
+
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 });
|
|
1736
|
+
|
|
1737
|
+
};
|
|
1530
1738
|
/* scoped */
|
|
1531
|
-
const __vue_scope_id__ =
|
|
1739
|
+
const __vue_scope_id__ = "data-v-7fe73d95";
|
|
1532
1740
|
/* module identifier */
|
|
1533
1741
|
const __vue_module_identifier__ = undefined;
|
|
1534
1742
|
/* functional template */
|
|
1535
1743
|
const __vue_is_functional_template__ = false;
|
|
1536
|
-
/* style inject */
|
|
1537
|
-
|
|
1538
1744
|
/* style inject SSR */
|
|
1539
1745
|
|
|
1540
1746
|
/* style inject shadow dom */
|
|
@@ -1549,7 +1755,7 @@
|
|
|
1549
1755
|
__vue_is_functional_template__,
|
|
1550
1756
|
__vue_module_identifier__,
|
|
1551
1757
|
false,
|
|
1552
|
-
|
|
1758
|
+
createInjector,
|
|
1553
1759
|
undefined,
|
|
1554
1760
|
undefined
|
|
1555
1761
|
);
|