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