@bluepic/embed 0.5.1 → 0.5.4
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/bash-DI5WKoY1.cjs +1 -0
- package/dist/bash-SfqkqXwO.js +169 -0
- package/dist/bluepic-embed.iife.js +240 -271
- package/dist/bluepic-embed.umd.js +240 -271
- package/dist/c-Bwju34J8.js +176 -0
- package/dist/c-CxjdkDqU.cjs +1 -0
- package/dist/client-zip-Dl4jBUKQ.cjs +1 -0
- package/dist/client-zip-DscsL7SZ.js +254 -0
- package/dist/components/BxDatePickerPopover.vue.d.ts +1 -1
- package/dist/components/BxInput.vue.d.ts +1 -1
- package/dist/components/BxTag.vue.d.ts +1 -1
- package/dist/components/TemplateEditor/BatchEditor.vue.d.ts +14 -10
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +80 -64
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +20 -16
- package/dist/cpp-BNKWamrP.js +225 -0
- package/dist/cpp-BlYqzAb6.cjs +1 -0
- package/dist/css-C6p-exw3.cjs +1 -0
- package/dist/css-yWyfM7J9.js +140 -0
- package/dist/decompress-3ZSaG6Ii.cjs +15 -0
- package/dist/decompress-C88dmWOf.js +643 -0
- package/dist/embed/embed.d.ts +4416 -1454
- package/dist/go-DnIuztGs.js +140 -0
- package/dist/go-RBRkffhh.cjs +1 -0
- package/dist/java-CYbswnVa.js +169 -0
- package/dist/java-DiqBJCuC.cjs +1 -0
- package/dist/javascript-DaG6fU1i.js +436 -0
- package/dist/javascript-hWWC5YVO.cjs +1 -0
- package/dist/json-CW2SpMXu.cjs +1 -0
- package/dist/json-Cu6rbgWf.js +36 -0
- package/dist/main.cjs +118 -146
- package/dist/main.mjs +73680 -85828
- package/dist/markdown-BaDHGYjR.cjs +1 -0
- package/dist/markdown-D3Gs6FWn.js +181 -0
- package/dist/markdown-it-BOugFJd0.cjs +13 -0
- package/dist/markdown-it-bsR6HXzL.js +2875 -0
- package/dist/postal-mime-BnhFNwEJ.cjs +28 -0
- package/dist/postal-mime-Bsdi2kUR.js +3210 -0
- package/dist/python-D1ZXre9G.js +238 -0
- package/dist/python-DawLCmeM.cjs +1 -0
- package/dist/rolldown-runtime-CEFd7nDs.js +30 -0
- package/dist/rolldown-runtime-CPUxUITh.cjs +1 -0
- package/dist/rust-B47KpJg8.cjs +1 -0
- package/dist/rust-DV3X-6zd.js +169 -0
- package/dist/scss-BwEwJffF.cjs +1 -0
- package/dist/scss-DVPIh7kT.js +150 -0
- package/dist/sql-BsfEDS1M.cjs +1 -0
- package/dist/sql-CmVzGP4w.js +118 -0
- package/dist/style.css +2 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +1394 -1273
- package/dist/typescript-CjqyVRRm.cjs +1 -0
- package/dist/typescript-DbET6Hbh.js +521 -0
- package/dist/unzipit.module-CWI6YKpy.js +697 -0
- package/dist/unzipit.module-DLgVBmhU.cjs +1 -0
- package/dist/util/gallery.d.ts +21 -37
- package/dist/xlsx-Bm1OL5B8.js +16261 -0
- package/dist/xlsx-C9EeNB50.cjs +38 -0
- package/dist/xml-Bh8MwSUt.cjs +1 -0
- package/dist/xml-Bxh-tO8n.js +166 -0
- package/dist/yaml-CIP4hiwy.cjs +1 -0
- package/dist/yaml-DT7UV549.js +144 -0
- package/package.json +9 -5
- package/dist/bash-BHkfQ7MG.cjs +0 -1
- package/dist/bash-CPB87Egg.js +0 -377
- package/dist/c-B4BAHWS4.cjs +0 -1
- package/dist/c-C0DTNf68.js +0 -336
- package/dist/cpp-BfO2fOQK.cjs +0 -1
- package/dist/cpp-DxGBPWa5.js +0 -538
- package/dist/css-Cx1gP-zj.js +0 -934
- package/dist/css-DTF39MN3.cjs +0 -1
- package/dist/decompress-BGiydwyp.cjs +0 -15
- package/dist/decompress-D5RzmD-2.js +0 -566
- package/dist/go-By8nj0Vi.cjs +0 -1
- package/dist/go-C8VcBUsu.js +0 -156
- package/dist/index-C99_zLhc.js +0 -175
- package/dist/index-D8N6IfRw.cjs +0 -1
- package/dist/java-BoRJOXvw.js +0 -249
- package/dist/java-DFXAwvvK.cjs +0 -1
- package/dist/javascript-C2jY0XE6.cjs +0 -1
- package/dist/javascript-CgRUYx2b.js +0 -660
- package/dist/json-C4rahuoJ.cjs +0 -1
- package/dist/json-DYK-YbD3.js +0 -44
- package/dist/markdown-BmL9j9cU.cjs +0 -1
- package/dist/markdown-D19noYwn.js +0 -215
- package/dist/markdown-it-5-ieF6Bh.js +0 -3790
- package/dist/markdown-it-CLB5Jta6.cjs +0 -16
- package/dist/postal-mime-Df-WB8Vq.js +0 -3337
- package/dist/postal-mime-_7WF5UBe.cjs +0 -28
- package/dist/python-BBUuE3AY.js +0 -404
- package/dist/python-Clt6L10q.cjs +0 -1
- package/dist/rust-DY-oA2gr.js +0 -319
- package/dist/rust-_vvcEGSJ.cjs +0 -1
- package/dist/scss-BWo_aR1L.js +0 -919
- package/dist/scss-ex7iHSUb.cjs +0 -1
- package/dist/sql-BSlOauVK.cjs +0 -1
- package/dist/sql-IeKX8fQ8.js +0 -615
- package/dist/typescript-BHqLHF13.js +0 -755
- package/dist/typescript-DYRnLHqF.cjs +0 -1
- package/dist/unzipit.module-4zGfAuq6.cjs +0 -1
- package/dist/unzipit.module-qN5XWVVT.js +0 -649
- package/dist/xlsx-BopDBbWb.js +0 -24176
- package/dist/xlsx-qn1xoUuv.cjs +0 -105
- package/dist/xml-Bse49fPV.js +0 -212
- package/dist/xml-CVmug_x4.cjs +0 -1
- package/dist/yaml-BslECvWp.js +0 -183
- package/dist/yaml-C6zsmLZx.cjs +0 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
//#region node_modules/highlight.js/es/languages/c.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
|
|
4
|
+
className: "type",
|
|
5
|
+
variants: [{ begin: "\\b[a-z\\d_]*_t\\b" }, { match: /\batomic_[a-z]{3,6}\b/ }]
|
|
6
|
+
}, o = {
|
|
7
|
+
className: "string",
|
|
8
|
+
variants: [
|
|
9
|
+
{
|
|
10
|
+
begin: "(u8?|U|L)?\"",
|
|
11
|
+
end: "\"",
|
|
12
|
+
illegal: "\\n",
|
|
13
|
+
contains: [e.BACKSLASH_ESCAPE]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
begin: "(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
|
|
17
|
+
end: "'",
|
|
18
|
+
illegal: "."
|
|
19
|
+
},
|
|
20
|
+
e.END_SAME_AS_BEGIN({
|
|
21
|
+
begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
|
|
22
|
+
end: /\)([^()\\ ]{0,16})"/
|
|
23
|
+
})
|
|
24
|
+
]
|
|
25
|
+
}, s = {
|
|
26
|
+
className: "number",
|
|
27
|
+
variants: [
|
|
28
|
+
{ match: /\b(0b[01']+)/ },
|
|
29
|
+
{ match: /(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/ },
|
|
30
|
+
{ match: /(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/ },
|
|
31
|
+
{ match: /(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/ }
|
|
32
|
+
],
|
|
33
|
+
relevance: 0
|
|
34
|
+
}, c = {
|
|
35
|
+
className: "meta",
|
|
36
|
+
begin: /#\s*[a-z]+\b/,
|
|
37
|
+
end: /$/,
|
|
38
|
+
keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include" },
|
|
39
|
+
contains: [
|
|
40
|
+
{
|
|
41
|
+
begin: /\\\n/,
|
|
42
|
+
relevance: 0
|
|
43
|
+
},
|
|
44
|
+
e.inherit(o, { className: "string" }),
|
|
45
|
+
{
|
|
46
|
+
className: "string",
|
|
47
|
+
begin: /<.*?>/
|
|
48
|
+
},
|
|
49
|
+
n,
|
|
50
|
+
e.C_BLOCK_COMMENT_MODE
|
|
51
|
+
]
|
|
52
|
+
}, l = {
|
|
53
|
+
className: "title",
|
|
54
|
+
begin: t.optional(r) + e.IDENT_RE,
|
|
55
|
+
relevance: 0
|
|
56
|
+
}, u = t.optional(r) + e.IDENT_RE + "\\s*\\(", d = {
|
|
57
|
+
keyword: /* @__PURE__ */ "asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma".split("."),
|
|
58
|
+
type: /* @__PURE__ */ "float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary".split("."),
|
|
59
|
+
literal: "true false NULL",
|
|
60
|
+
built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
|
|
61
|
+
}, f = [
|
|
62
|
+
c,
|
|
63
|
+
a,
|
|
64
|
+
n,
|
|
65
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
66
|
+
s,
|
|
67
|
+
o
|
|
68
|
+
], p = {
|
|
69
|
+
variants: [
|
|
70
|
+
{
|
|
71
|
+
begin: /=/,
|
|
72
|
+
end: /;/
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
begin: /\(/,
|
|
76
|
+
end: /\)/
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
beginKeywords: "new throw return else",
|
|
80
|
+
end: /;/
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
keywords: d,
|
|
84
|
+
contains: f.concat([{
|
|
85
|
+
begin: /\(/,
|
|
86
|
+
end: /\)/,
|
|
87
|
+
keywords: d,
|
|
88
|
+
contains: f.concat(["self"]),
|
|
89
|
+
relevance: 0
|
|
90
|
+
}]),
|
|
91
|
+
relevance: 0
|
|
92
|
+
}, m = {
|
|
93
|
+
begin: "(" + i + "[\\*&\\s]+)+" + u,
|
|
94
|
+
returnBegin: !0,
|
|
95
|
+
end: /[{;=]/,
|
|
96
|
+
excludeEnd: !0,
|
|
97
|
+
keywords: d,
|
|
98
|
+
illegal: /[^\w\s\*&:<>.]/,
|
|
99
|
+
contains: [
|
|
100
|
+
{
|
|
101
|
+
begin: "decltype\\(auto\\)",
|
|
102
|
+
keywords: d,
|
|
103
|
+
relevance: 0
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
begin: u,
|
|
107
|
+
returnBegin: !0,
|
|
108
|
+
contains: [e.inherit(l, { className: "title.function" })],
|
|
109
|
+
relevance: 0
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
relevance: 0,
|
|
113
|
+
match: /,/
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
className: "params",
|
|
117
|
+
begin: /\(/,
|
|
118
|
+
end: /\)/,
|
|
119
|
+
keywords: d,
|
|
120
|
+
relevance: 0,
|
|
121
|
+
contains: [
|
|
122
|
+
n,
|
|
123
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
124
|
+
o,
|
|
125
|
+
s,
|
|
126
|
+
a,
|
|
127
|
+
{
|
|
128
|
+
begin: /\(/,
|
|
129
|
+
end: /\)/,
|
|
130
|
+
keywords: d,
|
|
131
|
+
relevance: 0,
|
|
132
|
+
contains: [
|
|
133
|
+
"self",
|
|
134
|
+
n,
|
|
135
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
136
|
+
o,
|
|
137
|
+
s,
|
|
138
|
+
a
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
a,
|
|
144
|
+
n,
|
|
145
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
146
|
+
c
|
|
147
|
+
]
|
|
148
|
+
};
|
|
149
|
+
return {
|
|
150
|
+
name: "C",
|
|
151
|
+
aliases: ["h"],
|
|
152
|
+
keywords: d,
|
|
153
|
+
disableAutodetect: !0,
|
|
154
|
+
illegal: "</",
|
|
155
|
+
contains: [].concat(p, m, f, [
|
|
156
|
+
c,
|
|
157
|
+
{
|
|
158
|
+
begin: e.IDENT_RE + "::",
|
|
159
|
+
keywords: d
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
className: "class",
|
|
163
|
+
beginKeywords: "enum class struct union",
|
|
164
|
+
end: /[{;:<>=]/,
|
|
165
|
+
contains: [{ beginKeywords: "final class struct" }, e.TITLE_MODE]
|
|
166
|
+
}
|
|
167
|
+
]),
|
|
168
|
+
exports: {
|
|
169
|
+
preprocessor: c,
|
|
170
|
+
strings: o,
|
|
171
|
+
keywords: d
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
export { e as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./rolldown-runtime-CPUxUITh.cjs");function e(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},f=[c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:d,contains:f.concat([{begin:/\(/,end:/\)/,keywords:d,contains:f.concat([`self`]),relevance:0}]),relevance:0},m={begin:`(`+i+`[\\*&\\s]+)+`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:d,relevance:0},{begin:u,returnBegin:!0,contains:[e.inherit(l,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:`C`,aliases:[`h`],keywords:d,disableAutodetect:!0,illegal:`</`,contains:[].concat(p,m,f,[c,{begin:e.IDENT_RE+`::`,keywords:d},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:o,keywords:d}}}exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./rolldown-runtime-CPUxUITh.cjs"),`stream`in Blob.prototype||Object.defineProperty(Blob.prototype,"stream",{value(){return new Response(this).body}}),`setBigUint64`in DataView.prototype||Object.defineProperty(DataView.prototype,"setBigUint64",{value(e,t,n){let r=Number(4294967295n&t),i=Number(t>>32n);this.setUint32(e+(n?0:4),r,n),this.setUint32(e+(n?4:0),i,n)}});var e=e=>new DataView(new ArrayBuffer(e)),t=e=>new Uint8Array(e.buffer||e),n=e=>new TextEncoder().encode(String(e)),r=e=>Math.min(4294967295,Number(e)),i=e=>Math.min(65535,Number(e));function a(e,r,i){r===void 0||r instanceof Date||(r=new Date(r));let a=e!==void 0;if(i||=a?436:509,e instanceof File)return{isFile:a,t:r||new Date(e.lastModified),bytes:e.stream(),mode:i};if(e instanceof Response)return{isFile:a,t:r||new Date(e.headers.get(`Last-Modified`)||Date.now()),bytes:e.body,mode:i};if(r===void 0)r=new Date;else if(isNaN(r))throw Error(`Invalid modification date.`);if(!a)return{isFile:a,t:r,mode:i};if(typeof e==`string`)return{isFile:a,t:r,bytes:n(e),mode:i};if(e instanceof Blob)return{isFile:a,t:r,bytes:e.stream(),mode:i};if(e instanceof Uint8Array||e instanceof ReadableStream)return{isFile:a,t:r,bytes:e,mode:i};if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))return{isFile:a,t:r,bytes:t(e),mode:i};if(Symbol.asyncIterator in e)return{isFile:a,t:r,bytes:o(e[Symbol.asyncIterator]()),mode:i};throw TypeError(`Unsupported input format.`)}function o(e,t=e){return new ReadableStream({async pull(t){let n=0;for(;t.desiredSize>n;){let r=await e.next();if(!r.value){t.close();break}{let e=s(r.value);t.enqueue(e),n+=e.byteLength}}},cancel(e){t.throw?.(e)}})}function s(e){return typeof e==`string`?n(e):e instanceof Uint8Array?e:t(e)}function c(e,r,i){let[a,o]=function(e){return e?e instanceof Uint8Array?[e,1]:ArrayBuffer.isView(e)||e instanceof ArrayBuffer?[t(e),1]:[n(e),0]:[void 0,0]}(r);if(e instanceof File)return{i:u(a||n(e.name)),o:BigInt(e.size),u:o};if(e instanceof Response){let t=e.headers.get(`content-disposition`),r=t&&t.match(/;\s*filename\*?\s*=\s*(?:UTF-\d+''|)["']?([^;"'\r\n]*)["']?(?:;|$)/i),s=r&&r[1]||e.url&&new URL(e.url).pathname.split(`/`).findLast(Boolean),c=s&&decodeURIComponent(s),l=i||+e.headers.get(`content-length`);return{i:u(a||n(c)),o:BigInt(l),u:o}}return a=u(a,e!==void 0||i!==void 0),typeof e==`string`?{i:a,o:BigInt(n(e).length),u:o}:e instanceof Blob?{i:a,o:BigInt(e.size),u:o}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{i:a,o:BigInt(e.byteLength),u:o}:{i:a,o:l(e,i),u:o}}function l(e,t){return t>-1?BigInt(t):e?void 0:0n}function u(e,t=1){if(!e||e.every((e=>e===47)))throw Error(`The file must have a name.`);if(t)for(;e[e.length-1]===47;)e=e.subarray(0,-1);else e[e.length-1]!==47&&(e=new Uint8Array([...e,47]));return e}var d=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=t>>>1^(1&t&&3988292384);d[e]=t}function f(e,t=0){t=~t;for(var n=0,r=e.length;n<r;n++)t=t>>>8^d[255&t^e[n]];return~t>>>0}function p(e,t,n=0){let r=e.getSeconds()>>1|e.getMinutes()<<5|e.getHours()<<11,i=e.getDate()|e.getMonth()+1<<5|e.getFullYear()-1980<<9;t.setUint16(n,r,1),t.setUint16(n+2,i,1)}function m({i:e,u:t},n){return 8*(!t||(n??function(e){try{h.decode(e)}catch{return 0}return 1}(e)))}var h=new TextDecoder(`utf8`,{fatal:1});function g(n,r=0){let i=e(30);return i.setUint32(0,1347093252),i.setUint32(4,754976768|r),p(n.t,i,10),i.setUint16(26,n.i.length,1),t(i)}async function*_(e){let{bytes:t}=e;if(`then`in t&&(t=await t),t instanceof Uint8Array)yield t,e.l=f(t,0),e.o=BigInt(t.length);else{e.o=0n;let n=t.getReader();for(;;){let{value:t,done:r}=await n.read();if(r)break;e.l=f(t,e.l),e.o+=BigInt(t.length),yield t}}}function v(n,i){let a=e(16+(i?8:0));return a.setUint32(0,1347094280),a.setUint32(4,n.isFile?n.l:0,1),i?(a.setBigUint64(8,n.o,1),a.setBigUint64(16,n.o,1)):(a.setUint32(8,r(n.o),1),a.setUint32(12,r(n.o),1)),t(a)}function y(n,i,a=0,o=0){let s=e(46);return s.setUint32(0,1347092738),s.setUint32(4,755182848),s.setUint16(8,2048|a),p(n.t,s,12),s.setUint32(16,n.isFile?n.l:0,1),s.setUint32(20,r(n.o),1),s.setUint32(24,r(n.o),1),s.setUint16(28,n.i.length,1),s.setUint16(30,o,1),s.setUint16(40,n.mode|(n.isFile?32768:16384),1),s.setUint32(42,r(i),1),t(s)}function b(n,r,i){let a=e(i);return a.setUint16(0,1,1),a.setUint16(2,i-4,1),16&i&&(a.setBigUint64(4,n.o,1),a.setBigUint64(12,n.o,1)),a.setBigUint64(i-8,r,1),t(a)}function x(e){return e instanceof File||e instanceof Response?[[e],[e]]:[[e.input,e.name,e.size],[e.input,e.lastModified,e.mode]]}var S=e=>function(e){let t=BigInt(22),n=0n,r=0;for(let i of e){if(!i.i)throw Error(`Every file must have a non-empty name.`);if(i.o===void 0)throw Error(`Missing size for file "${new TextDecoder().decode(i.i)}".`);let e=i.o>=4294967295n,a=n>=4294967295n;n+=BigInt(46+i.i.length+(e&&8))+i.o,t+=BigInt(i.i.length+46+(12*a|28*e)),r||=e}return(r||n>=4294967295n)&&(t+=BigInt(76)),t+n}(function*(e){for(let t of e)yield c(...x(t)[0])}(e));function C(e,t={}){let n={"Content-Type":`application/zip`,"Content-Disposition":`attachment`};return(typeof t.length==`bigint`||Number.isInteger(t.length))&&t.length>0&&(n[`Content-Length`]=String(t.length)),t.metadata&&(n[`Content-Length`]=String(S(t.metadata))),new Response(w(e,t),{headers:n})}function w(n,s={}){let l=function(e){let t=e[Symbol.iterator in e?Symbol.iterator:Symbol.asyncIterator]();return{async next(){let e=await t.next();if(e.done)return e;let[n,r]=x(e.value);return{done:0,value:Object.assign(a(...r),c(...n))}},throw:t.throw?.bind(t),[Symbol.asyncIterator](){return this}}}(n);return o(async function*(n,a){let o=[],s=0n,c=0n,l=0;for await(let e of n){let t=m(e,a.buffersAreUTF8);yield g(e,t),yield new Uint8Array(e.i),e.isFile&&(yield*_(e));let n=e.o>=4294967295n,r=12*(s>=4294967295n)|28*n;yield v(e,n),o.push(y(e,s,t,r)),o.push(e.i),r&&o.push(b(e,s,r)),n&&(s+=8n),c++,s+=BigInt(46+e.i.length)+e.o,l||=n}let u=0n;for(let e of o)yield e,u+=BigInt(e.length);if(l||s>=4294967295n){let n=e(76);n.setUint32(0,1347094022),n.setBigUint64(4,BigInt(44),1),n.setUint32(12,755182848),n.setBigUint64(24,c,1),n.setBigUint64(32,c,1),n.setBigUint64(40,u,1),n.setBigUint64(48,s,1),n.setUint32(56,1347094023),n.setBigUint64(64,s+u,1),n.setUint32(72,1,1),yield t(n)}let d=e(22);d.setUint32(0,1347093766),d.setUint16(8,i(c),1),d.setUint16(10,i(c),1),d.setUint32(12,r(u),1),d.setUint32(16,r(s),1),yield t(d)}(l,s),l)}exports.downloadZip=C;
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
//#region node_modules/client-zip/index.js
|
|
2
|
+
"stream" in Blob.prototype || Object.defineProperty(Blob.prototype, "stream", { value() {
|
|
3
|
+
return new Response(this).body;
|
|
4
|
+
} }), "setBigUint64" in DataView.prototype || Object.defineProperty(DataView.prototype, "setBigUint64", { value(e, t, n) {
|
|
5
|
+
let r = Number(4294967295n & t), i = Number(t >> 32n);
|
|
6
|
+
this.setUint32(e + (n ? 0 : 4), r, n), this.setUint32(e + (n ? 4 : 0), i, n);
|
|
7
|
+
} });
|
|
8
|
+
var e = (e) => new DataView(new ArrayBuffer(e)), t = (e) => new Uint8Array(e.buffer || e), n = (e) => new TextEncoder().encode(String(e)), r = (e) => Math.min(4294967295, Number(e)), i = (e) => Math.min(65535, Number(e));
|
|
9
|
+
function a(e, r, i) {
|
|
10
|
+
r === void 0 || r instanceof Date || (r = new Date(r));
|
|
11
|
+
let a = e !== void 0;
|
|
12
|
+
if (i ||= a ? 436 : 509, e instanceof File) return {
|
|
13
|
+
isFile: a,
|
|
14
|
+
t: r || new Date(e.lastModified),
|
|
15
|
+
bytes: e.stream(),
|
|
16
|
+
mode: i
|
|
17
|
+
};
|
|
18
|
+
if (e instanceof Response) return {
|
|
19
|
+
isFile: a,
|
|
20
|
+
t: r || new Date(e.headers.get("Last-Modified") || Date.now()),
|
|
21
|
+
bytes: e.body,
|
|
22
|
+
mode: i
|
|
23
|
+
};
|
|
24
|
+
if (r === void 0) r = /* @__PURE__ */ new Date();
|
|
25
|
+
else if (isNaN(r)) throw Error("Invalid modification date.");
|
|
26
|
+
if (!a) return {
|
|
27
|
+
isFile: a,
|
|
28
|
+
t: r,
|
|
29
|
+
mode: i
|
|
30
|
+
};
|
|
31
|
+
if (typeof e == "string") return {
|
|
32
|
+
isFile: a,
|
|
33
|
+
t: r,
|
|
34
|
+
bytes: n(e),
|
|
35
|
+
mode: i
|
|
36
|
+
};
|
|
37
|
+
if (e instanceof Blob) return {
|
|
38
|
+
isFile: a,
|
|
39
|
+
t: r,
|
|
40
|
+
bytes: e.stream(),
|
|
41
|
+
mode: i
|
|
42
|
+
};
|
|
43
|
+
if (e instanceof Uint8Array || e instanceof ReadableStream) return {
|
|
44
|
+
isFile: a,
|
|
45
|
+
t: r,
|
|
46
|
+
bytes: e,
|
|
47
|
+
mode: i
|
|
48
|
+
};
|
|
49
|
+
if (e instanceof ArrayBuffer || ArrayBuffer.isView(e)) return {
|
|
50
|
+
isFile: a,
|
|
51
|
+
t: r,
|
|
52
|
+
bytes: t(e),
|
|
53
|
+
mode: i
|
|
54
|
+
};
|
|
55
|
+
if (Symbol.asyncIterator in e) return {
|
|
56
|
+
isFile: a,
|
|
57
|
+
t: r,
|
|
58
|
+
bytes: o(e[Symbol.asyncIterator]()),
|
|
59
|
+
mode: i
|
|
60
|
+
};
|
|
61
|
+
throw TypeError("Unsupported input format.");
|
|
62
|
+
}
|
|
63
|
+
function o(e, t = e) {
|
|
64
|
+
return new ReadableStream({
|
|
65
|
+
async pull(t) {
|
|
66
|
+
let n = 0;
|
|
67
|
+
for (; t.desiredSize > n;) {
|
|
68
|
+
let r = await e.next();
|
|
69
|
+
if (!r.value) {
|
|
70
|
+
t.close();
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
{
|
|
74
|
+
let e = s(r.value);
|
|
75
|
+
t.enqueue(e), n += e.byteLength;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
cancel(e) {
|
|
80
|
+
t.throw?.(e);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function s(e) {
|
|
85
|
+
return typeof e == "string" ? n(e) : e instanceof Uint8Array ? e : t(e);
|
|
86
|
+
}
|
|
87
|
+
function c(e, r, i) {
|
|
88
|
+
let [a, o] = function(e) {
|
|
89
|
+
return e ? e instanceof Uint8Array ? [e, 1] : ArrayBuffer.isView(e) || e instanceof ArrayBuffer ? [t(e), 1] : [n(e), 0] : [void 0, 0];
|
|
90
|
+
}(r);
|
|
91
|
+
if (e instanceof File) return {
|
|
92
|
+
i: u(a || n(e.name)),
|
|
93
|
+
o: BigInt(e.size),
|
|
94
|
+
u: o
|
|
95
|
+
};
|
|
96
|
+
if (e instanceof Response) {
|
|
97
|
+
let t = e.headers.get("content-disposition"), r = t && t.match(/;\s*filename\*?\s*=\s*(?:UTF-\d+''|)["']?([^;"'\r\n]*)["']?(?:;|$)/i), s = r && r[1] || e.url && new URL(e.url).pathname.split("/").findLast(Boolean), c = s && decodeURIComponent(s), l = i || +e.headers.get("content-length");
|
|
98
|
+
return {
|
|
99
|
+
i: u(a || n(c)),
|
|
100
|
+
o: BigInt(l),
|
|
101
|
+
u: o
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
return a = u(a, e !== void 0 || i !== void 0), typeof e == "string" ? {
|
|
105
|
+
i: a,
|
|
106
|
+
o: BigInt(n(e).length),
|
|
107
|
+
u: o
|
|
108
|
+
} : e instanceof Blob ? {
|
|
109
|
+
i: a,
|
|
110
|
+
o: BigInt(e.size),
|
|
111
|
+
u: o
|
|
112
|
+
} : e instanceof ArrayBuffer || ArrayBuffer.isView(e) ? {
|
|
113
|
+
i: a,
|
|
114
|
+
o: BigInt(e.byteLength),
|
|
115
|
+
u: o
|
|
116
|
+
} : {
|
|
117
|
+
i: a,
|
|
118
|
+
o: l(e, i),
|
|
119
|
+
u: o
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function l(e, t) {
|
|
123
|
+
return t > -1 ? BigInt(t) : e ? void 0 : 0n;
|
|
124
|
+
}
|
|
125
|
+
function u(e, t = 1) {
|
|
126
|
+
if (!e || e.every(((e) => e === 47))) throw Error("The file must have a name.");
|
|
127
|
+
if (t) for (; e[e.length - 1] === 47;) e = e.subarray(0, -1);
|
|
128
|
+
else e[e.length - 1] !== 47 && (e = new Uint8Array([...e, 47]));
|
|
129
|
+
return e;
|
|
130
|
+
}
|
|
131
|
+
var d = /* @__PURE__ */ new Uint32Array(256);
|
|
132
|
+
for (let e = 0; e < 256; ++e) {
|
|
133
|
+
let t = e;
|
|
134
|
+
for (let e = 0; e < 8; ++e) t = t >>> 1 ^ (1 & t && 3988292384);
|
|
135
|
+
d[e] = t;
|
|
136
|
+
}
|
|
137
|
+
function f(e, t = 0) {
|
|
138
|
+
t = ~t;
|
|
139
|
+
for (var n = 0, r = e.length; n < r; n++) t = t >>> 8 ^ d[255 & t ^ e[n]];
|
|
140
|
+
return ~t >>> 0;
|
|
141
|
+
}
|
|
142
|
+
function p(e, t, n = 0) {
|
|
143
|
+
let r = e.getSeconds() >> 1 | e.getMinutes() << 5 | e.getHours() << 11, i = e.getDate() | e.getMonth() + 1 << 5 | e.getFullYear() - 1980 << 9;
|
|
144
|
+
t.setUint16(n, r, 1), t.setUint16(n + 2, i, 1);
|
|
145
|
+
}
|
|
146
|
+
function m({ i: e, u: t }, n) {
|
|
147
|
+
return 8 * (!t || (n ?? function(e) {
|
|
148
|
+
try {
|
|
149
|
+
h.decode(e);
|
|
150
|
+
} catch {
|
|
151
|
+
return 0;
|
|
152
|
+
}
|
|
153
|
+
return 1;
|
|
154
|
+
}(e)));
|
|
155
|
+
}
|
|
156
|
+
var h = new TextDecoder("utf8", { fatal: 1 });
|
|
157
|
+
function g(n, r = 0) {
|
|
158
|
+
let i = e(30);
|
|
159
|
+
return i.setUint32(0, 1347093252), i.setUint32(4, 754976768 | r), p(n.t, i, 10), i.setUint16(26, n.i.length, 1), t(i);
|
|
160
|
+
}
|
|
161
|
+
async function* _(e) {
|
|
162
|
+
let { bytes: t } = e;
|
|
163
|
+
if ("then" in t && (t = await t), t instanceof Uint8Array) yield t, e.l = f(t, 0), e.o = BigInt(t.length);
|
|
164
|
+
else {
|
|
165
|
+
e.o = 0n;
|
|
166
|
+
let n = t.getReader();
|
|
167
|
+
for (;;) {
|
|
168
|
+
let { value: t, done: r } = await n.read();
|
|
169
|
+
if (r) break;
|
|
170
|
+
e.l = f(t, e.l), e.o += BigInt(t.length), yield t;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
function v(n, i) {
|
|
175
|
+
let a = e(16 + (i ? 8 : 0));
|
|
176
|
+
return a.setUint32(0, 1347094280), a.setUint32(4, n.isFile ? n.l : 0, 1), i ? (a.setBigUint64(8, n.o, 1), a.setBigUint64(16, n.o, 1)) : (a.setUint32(8, r(n.o), 1), a.setUint32(12, r(n.o), 1)), t(a);
|
|
177
|
+
}
|
|
178
|
+
function y(n, i, a = 0, o = 0) {
|
|
179
|
+
let s = e(46);
|
|
180
|
+
return s.setUint32(0, 1347092738), s.setUint32(4, 755182848), s.setUint16(8, 2048 | a), p(n.t, s, 12), s.setUint32(16, n.isFile ? n.l : 0, 1), s.setUint32(20, r(n.o), 1), s.setUint32(24, r(n.o), 1), s.setUint16(28, n.i.length, 1), s.setUint16(30, o, 1), s.setUint16(40, n.mode | (n.isFile ? 32768 : 16384), 1), s.setUint32(42, r(i), 1), t(s);
|
|
181
|
+
}
|
|
182
|
+
function b(n, r, i) {
|
|
183
|
+
let a = e(i);
|
|
184
|
+
return a.setUint16(0, 1, 1), a.setUint16(2, i - 4, 1), 16 & i && (a.setBigUint64(4, n.o, 1), a.setBigUint64(12, n.o, 1)), a.setBigUint64(i - 8, r, 1), t(a);
|
|
185
|
+
}
|
|
186
|
+
function x(e) {
|
|
187
|
+
return e instanceof File || e instanceof Response ? [[e], [e]] : [[
|
|
188
|
+
e.input,
|
|
189
|
+
e.name,
|
|
190
|
+
e.size
|
|
191
|
+
], [
|
|
192
|
+
e.input,
|
|
193
|
+
e.lastModified,
|
|
194
|
+
e.mode
|
|
195
|
+
]];
|
|
196
|
+
}
|
|
197
|
+
var S = (e) => function(e) {
|
|
198
|
+
let t = BigInt(22), n = 0n, r = 0;
|
|
199
|
+
for (let i of e) {
|
|
200
|
+
if (!i.i) throw Error("Every file must have a non-empty name.");
|
|
201
|
+
if (i.o === void 0) throw Error(`Missing size for file "${new TextDecoder().decode(i.i)}".`);
|
|
202
|
+
let e = i.o >= 4294967295n, a = n >= 4294967295n;
|
|
203
|
+
n += BigInt(46 + i.i.length + (e && 8)) + i.o, t += BigInt(i.i.length + 46 + (12 * a | 28 * e)), r ||= e;
|
|
204
|
+
}
|
|
205
|
+
return (r || n >= 4294967295n) && (t += BigInt(76)), t + n;
|
|
206
|
+
}(function* (e) {
|
|
207
|
+
for (let t of e) yield c(...x(t)[0]);
|
|
208
|
+
}(e));
|
|
209
|
+
function C(e, t = {}) {
|
|
210
|
+
let n = {
|
|
211
|
+
"Content-Type": "application/zip",
|
|
212
|
+
"Content-Disposition": "attachment"
|
|
213
|
+
};
|
|
214
|
+
return (typeof t.length == "bigint" || Number.isInteger(t.length)) && t.length > 0 && (n["Content-Length"] = String(t.length)), t.metadata && (n["Content-Length"] = String(S(t.metadata))), new Response(w(e, t), { headers: n });
|
|
215
|
+
}
|
|
216
|
+
function w(n, s = {}) {
|
|
217
|
+
let l = function(e) {
|
|
218
|
+
let t = e[Symbol.iterator in e ? Symbol.iterator : Symbol.asyncIterator]();
|
|
219
|
+
return {
|
|
220
|
+
async next() {
|
|
221
|
+
let e = await t.next();
|
|
222
|
+
if (e.done) return e;
|
|
223
|
+
let [n, r] = x(e.value);
|
|
224
|
+
return {
|
|
225
|
+
done: 0,
|
|
226
|
+
value: Object.assign(a(...r), c(...n))
|
|
227
|
+
};
|
|
228
|
+
},
|
|
229
|
+
throw: t.throw?.bind(t),
|
|
230
|
+
[Symbol.asyncIterator]() {
|
|
231
|
+
return this;
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
}(n);
|
|
235
|
+
return o(async function* (n, a) {
|
|
236
|
+
let o = [], s = 0n, c = 0n, l = 0;
|
|
237
|
+
for await (let e of n) {
|
|
238
|
+
let t = m(e, a.buffersAreUTF8);
|
|
239
|
+
yield g(e, t), yield new Uint8Array(e.i), e.isFile && (yield* _(e));
|
|
240
|
+
let n = e.o >= 4294967295n, r = 12 * (s >= 4294967295n) | 28 * n;
|
|
241
|
+
yield v(e, n), o.push(y(e, s, t, r)), o.push(e.i), r && o.push(b(e, s, r)), n && (s += 8n), c++, s += BigInt(46 + e.i.length) + e.o, l ||= n;
|
|
242
|
+
}
|
|
243
|
+
let u = 0n;
|
|
244
|
+
for (let e of o) yield e, u += BigInt(e.length);
|
|
245
|
+
if (l || s >= 4294967295n) {
|
|
246
|
+
let n = e(76);
|
|
247
|
+
n.setUint32(0, 1347094022), n.setBigUint64(4, BigInt(44), 1), n.setUint32(12, 755182848), n.setBigUint64(24, c, 1), n.setBigUint64(32, c, 1), n.setBigUint64(40, u, 1), n.setBigUint64(48, s, 1), n.setUint32(56, 1347094023), n.setBigUint64(64, s + u, 1), n.setUint32(72, 1, 1), yield t(n);
|
|
248
|
+
}
|
|
249
|
+
let d = e(22);
|
|
250
|
+
d.setUint32(0, 1347093766), d.setUint16(8, i(c), 1), d.setUint16(10, i(c), 1), d.setUint32(12, r(u), 1), d.setUint32(16, r(s), 1), yield t(d);
|
|
251
|
+
}(l, s), l);
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
export { C as downloadZip };
|
|
@@ -27,8 +27,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
28
|
"onUpdate:value"?: ((value: number | [number, number] | null) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
type: BxDatePickerType;
|
|
31
30
|
size: "small" | "medium" | "large";
|
|
31
|
+
type: BxDatePickerType;
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
placeholder: string;
|
|
34
34
|
clearable: boolean;
|
|
@@ -65,8 +65,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
65
65
|
"onUpdate:modelValue"?: ((value: string | number | boolean | Template.Fields.RichTextFeature[]) => any) | undefined;
|
|
66
66
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
|
-
type: "text" | "password" | "number" | "email" | "tel" | "textarea";
|
|
69
68
|
size: "tiny" | "small" | "medium" | "large";
|
|
69
|
+
type: "text" | "password" | "number" | "email" | "tel" | "textarea";
|
|
70
70
|
round: boolean;
|
|
71
71
|
disabled: boolean;
|
|
72
72
|
loading: boolean;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import("vue").DefineComponent<BxTagProps, {}, {},
|
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<BxTagProps> & Readonly<{
|
|
24
24
|
onClose?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
type: BxTagType;
|
|
27
26
|
size: "tiny" | "small" | "medium" | "large";
|
|
27
|
+
type: BxTagType;
|
|
28
28
|
round: boolean;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
closeable: boolean;
|
|
@@ -33,7 +33,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
33
33
|
right?: number;
|
|
34
34
|
} | undefined;
|
|
35
35
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
36
|
-
$attrs:
|
|
36
|
+
$attrs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
37
39
|
$refs: {
|
|
38
40
|
[x: string]: unknown;
|
|
39
41
|
};
|
|
@@ -124,10 +126,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
124
126
|
left?: number;
|
|
125
127
|
right?: number;
|
|
126
128
|
};
|
|
127
|
-
}> & Readonly<{}>, "wrapperRef" | ("fill" | "bordered" | "hoverable" | "radius" | "maxHeight" | "variant" | "columns" | "dense" | "stickyHeader" | "stickyColumns") | "scrollEl"> & {
|
|
128
|
-
wrapperRef: HTMLDivElement | undefined
|
|
129
|
-
scrollEl: HTMLElement | undefined
|
|
130
|
-
} & {} & import("vue").ComponentCustomProperties & {} & {
|
|
129
|
+
}> & Readonly<{}>, "wrapperRef" | ("fill" | "bordered" | "hoverable" | "radius" | "maxHeight" | "variant" | "columns" | "dense" | "stickyHeader" | "stickyColumns") | "scrollEl"> & import("vue").ShallowUnwrapRef<{
|
|
130
|
+
wrapperRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
131
|
+
scrollEl: import("vue").ComputedRef<HTMLElement | undefined>;
|
|
132
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
131
133
|
$slots: {
|
|
132
134
|
default?: () => import("vue").VNode[] | import("vue").VNode;
|
|
133
135
|
'header-cell'?: (scope: {
|
|
@@ -153,7 +155,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
153
155
|
right?: number;
|
|
154
156
|
} | undefined;
|
|
155
157
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
156
|
-
$attrs:
|
|
158
|
+
$attrs: {
|
|
159
|
+
[x: string]: unknown;
|
|
160
|
+
};
|
|
157
161
|
$refs: {
|
|
158
162
|
[x: string]: unknown;
|
|
159
163
|
};
|
|
@@ -244,10 +248,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
244
248
|
left?: number;
|
|
245
249
|
right?: number;
|
|
246
250
|
};
|
|
247
|
-
}> & Readonly<{}>, "wrapperRef" | ("fill" | "bordered" | "hoverable" | "radius" | "maxHeight" | "variant" | "columns" | "dense" | "stickyHeader" | "stickyColumns") | "scrollEl"> & {
|
|
248
|
-
wrapperRef: HTMLDivElement | undefined
|
|
249
|
-
scrollEl: HTMLElement | undefined
|
|
250
|
-
} & {} & import("vue").ComponentCustomProperties & {} & {
|
|
251
|
+
}> & Readonly<{}>, "wrapperRef" | ("fill" | "bordered" | "hoverable" | "radius" | "maxHeight" | "variant" | "columns" | "dense" | "stickyHeader" | "stickyColumns") | "scrollEl"> & import("vue").ShallowUnwrapRef<{
|
|
252
|
+
wrapperRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
253
|
+
scrollEl: import("vue").ComputedRef<HTMLElement | undefined>;
|
|
254
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
251
255
|
$slots: {
|
|
252
256
|
default?: () => import("vue").VNode[] | import("vue").VNode;
|
|
253
257
|
'header-cell'?: (scope: {
|