@bluepic/embed 0.4.0-next.157 → 0.4.0-next.159
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/bluepic-embed.iife.js +241 -203
- package/dist/bluepic-embed.umd.js +241 -203
- package/dist/c-B4BAHWS4.cjs +1 -0
- package/dist/{c-Bz1-FJiA.js → c-C0DTNf68.js} +122 -63
- package/dist/components/BxDatePickerPopover.vue.d.ts +1 -1
- package/dist/components/BxInput.vue.d.ts +1 -1
- package/dist/components/BxPopover.vue.d.ts +7 -0
- package/dist/components/BxTag.vue.d.ts +1 -1
- package/dist/components/PopoverElement.vue.d.ts +7 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +64 -80
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +16 -20
- package/dist/components/directives/usePopup.d.ts +5 -0
- package/dist/cpp-BfO2fOQK.cjs +1 -0
- package/dist/{cpp-Cx0NomaW.js → cpp-DxGBPWa5.js} +65 -48
- package/dist/{css-BCTOmdxR.js → css-Cx1gP-zj.js} +17 -6
- package/dist/css-DTF39MN3.cjs +1 -0
- package/dist/embed/embed.d.ts +2314 -5218
- package/dist/{go-BpetKc7b.cjs → go-By8nj0Vi.cjs} +1 -1
- package/dist/{go-CkZ9_bn0.js → go-C8VcBUsu.js} +7 -2
- package/dist/{java-BicX26Pg.js → java-BoRJOXvw.js} +48 -39
- package/dist/java-DFXAwvvK.cjs +1 -0
- package/dist/javascript-C2jY0XE6.cjs +1 -0
- package/dist/{javascript-DII1YQGr.js → javascript-CgRUYx2b.js} +4 -2
- package/dist/json-C4rahuoJ.cjs +1 -0
- package/dist/{json-C_6Prymp.js → json-DYK-YbD3.js} +15 -9
- package/dist/main.cjs +180 -142
- package/dist/main.mjs +27239 -24738
- package/dist/markdown-BmL9j9cU.cjs +1 -0
- package/dist/{markdown-ga2-2-T7.js → markdown-D19noYwn.js} +9 -10
- package/dist/{python-CymlFLB0.js → python-BBUuE3AY.js} +20 -15
- package/dist/python-Clt6L10q.cjs +1 -0
- package/dist/{rust-BocnJ3Ns.js → rust-DY-oA2gr.js} +40 -26
- package/dist/rust-_vvcEGSJ.cjs +1 -0
- package/dist/{scss-CknrYxoA.js → scss-BWo_aR1L.js} +36 -25
- package/dist/scss-ex7iHSUb.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +289 -282
- package/dist/{typescript-SNUkGeOU.js → typescript-BHqLHF13.js} +4 -2
- package/dist/typescript-DYRnLHqF.cjs +1 -0
- package/dist/unzipit.module-4zGfAuq6.cjs +1 -0
- package/dist/unzipit.module-qN5XWVVT.js +649 -0
- package/dist/util/scrollPassthrough.d.ts +9 -0
- package/dist/{xml-B7THKYqr.js → xml-Bse49fPV.js} +9 -16
- package/dist/{xml-CII3FKiI.cjs → xml-CVmug_x4.cjs} +1 -1
- package/package.json +2 -2
- package/dist/c-C_Sx7N-F.cjs +0 -1
- package/dist/cpp-DaPzgJ_t.cjs +0 -1
- package/dist/css-UgpohNaw.cjs +0 -1
- package/dist/java-BIk0G-rH.cjs +0 -1
- package/dist/javascript-C_6NC1K7.cjs +0 -1
- package/dist/json-DEcHyC5F.cjs +0 -1
- package/dist/markdown-BbPYOuo6.cjs +0 -1
- package/dist/python-B6_9AjJr.cjs +0 -1
- package/dist/rust-DKnYCg2f.cjs +0 -1
- package/dist/scss-DpqvoUEp.cjs +0 -1
- package/dist/typescript-Cjpf3bLL.cjs +0 -1
- package/dist/unzipit.module-B5yfSJfb.js +0 -556
- package/dist/unzipit.module-TGsYEkT7.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function N(t){const n=t.regex,a=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",E="("+l+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",f=n.concat(/\batomic_/,n.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),i={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:f}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.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:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},o={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},m={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},s,{scope:"string",begin:/<.*?>/},a,t.C_BLOCK_COMMENT_MODE]},u={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},t.inherit(s,{className:"string"}),a,t.C_BLOCK_COMMENT_MODE]},c=[m,u],g={className:"title",begin:n.optional(r)+t.IDENT_RE,relevance:0},d=n.optional(r)+t.IDENT_RE+"\\s*\\(",p=12,e={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"],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"],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"},_=[...c,i,a,t.C_BLOCK_COMMENT_MODE,o,s],b={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:e,contains:_.concat([{begin:/\(/,end:/\)/,keywords:e,contains:_.concat(["self"]),relevance:0}]),relevance:0},C={begin:"("+E+"[\\*&\\s]+){1,"+p+"}"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:e,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:e,relevance:0},{begin:d,returnBegin:!0,contains:[t.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:e,relevance:0,contains:[a,t.C_BLOCK_COMMENT_MODE,s,o,i,{begin:/\(/,end:/\)/,keywords:e,relevance:0,contains:["self",a,t.C_BLOCK_COMMENT_MODE,s,o,i]}]},i,a,t.C_BLOCK_COMMENT_MODE,...c]};return{name:"C",aliases:["h"],keywords:e,disableAutodetect:!0,illegal:"</",contains:[].concat(b,C,_,[...c,{begin:t.IDENT_RE+"::",keywords:e},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:u,strings:s,keywords:e}}}exports.default=N;
|
|
@@ -1,30 +1,72 @@
|
|
|
1
|
-
function
|
|
2
|
-
const
|
|
1
|
+
function S(t) {
|
|
2
|
+
const n = t.regex, a = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), l = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", E = "(" + l + "|" + n.optional(r) + "[a-zA-Z_]\\w*" + n.optional("<[^<>]+>") + ")", f = n.concat(/\batomic_/, n.either(
|
|
3
|
+
"bool",
|
|
4
|
+
"char",
|
|
5
|
+
"schar",
|
|
6
|
+
"uchar",
|
|
7
|
+
"short",
|
|
8
|
+
"ushort",
|
|
9
|
+
"int",
|
|
10
|
+
"uint",
|
|
11
|
+
"long",
|
|
12
|
+
"ulong",
|
|
13
|
+
"llong",
|
|
14
|
+
"ullong",
|
|
15
|
+
"char16_t",
|
|
16
|
+
"char32_t",
|
|
17
|
+
"wchar_t",
|
|
18
|
+
"int_least8_t",
|
|
19
|
+
"uint_least8_t",
|
|
20
|
+
"int_least16_t",
|
|
21
|
+
"uint_least16_t",
|
|
22
|
+
"int_least32_t",
|
|
23
|
+
"uint_least32_t",
|
|
24
|
+
"int_least64_t",
|
|
25
|
+
"uint_least64_t",
|
|
26
|
+
"int_fast8_t",
|
|
27
|
+
"uint_fast8_t",
|
|
28
|
+
"int_fast16_t",
|
|
29
|
+
"uint_fast16_t",
|
|
30
|
+
"int_fast32_t",
|
|
31
|
+
"uint_fast32_t",
|
|
32
|
+
"int_fast64_t",
|
|
33
|
+
"uint_fast64_t",
|
|
34
|
+
"intptr_t",
|
|
35
|
+
"uintptr_t",
|
|
36
|
+
"size_t",
|
|
37
|
+
"ptrdiff_t",
|
|
38
|
+
"intmax_t",
|
|
39
|
+
"uintmax_t"
|
|
40
|
+
), /\b/), i = {
|
|
3
41
|
className: "type",
|
|
4
42
|
variants: [
|
|
5
43
|
{ begin: "\\b[a-z\\d_]*_t\\b" },
|
|
6
|
-
{ match:
|
|
44
|
+
{ match: f }
|
|
7
45
|
]
|
|
8
|
-
},
|
|
46
|
+
}, s = {
|
|
9
47
|
className: "string",
|
|
10
48
|
variants: [
|
|
11
49
|
{
|
|
12
50
|
begin: '(u8?|U|L)?"',
|
|
13
51
|
end: '"',
|
|
14
52
|
illegal: "\\n",
|
|
15
|
-
contains: [
|
|
53
|
+
contains: [t.BACKSLASH_ESCAPE]
|
|
16
54
|
},
|
|
17
55
|
{
|
|
18
56
|
begin: "(u8?|U|L)?'(" + "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)" + "|.)",
|
|
19
57
|
end: "'",
|
|
20
58
|
illegal: "."
|
|
21
59
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
60
|
+
// https://en.cppreference.com/w/cpp/language/string_literal
|
|
61
|
+
// a d-char-sequence never contains parentheses, backslashes or whitespace;
|
|
62
|
+
// quotes are excluded as well so the closing delimiter cannot swallow the
|
|
63
|
+
// quote that actually terminates the literal
|
|
64
|
+
t.END_SAME_AS_BEGIN({
|
|
65
|
+
begin: /(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,
|
|
66
|
+
end: /\)([^()\\\s"]{0,16})"/
|
|
25
67
|
})
|
|
26
68
|
]
|
|
27
|
-
},
|
|
69
|
+
}, o = {
|
|
28
70
|
className: "number",
|
|
29
71
|
variants: [
|
|
30
72
|
{ match: /\b(0b[01']+)/ },
|
|
@@ -33,7 +75,25 @@ function C(e) {
|
|
|
33
75
|
{ match: /(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/ }
|
|
34
76
|
],
|
|
35
77
|
relevance: 0
|
|
36
|
-
},
|
|
78
|
+
}, m = {
|
|
79
|
+
scope: "meta",
|
|
80
|
+
begin: /#\s*include\b/,
|
|
81
|
+
end: /$/,
|
|
82
|
+
keywords: { keyword: "include" },
|
|
83
|
+
contains: [
|
|
84
|
+
{
|
|
85
|
+
// the `\` at the end of a line signaling continuation
|
|
86
|
+
begin: /\\\n/
|
|
87
|
+
},
|
|
88
|
+
s,
|
|
89
|
+
{
|
|
90
|
+
scope: "string",
|
|
91
|
+
begin: /<.*?>/
|
|
92
|
+
},
|
|
93
|
+
a,
|
|
94
|
+
t.C_BLOCK_COMMENT_MODE
|
|
95
|
+
]
|
|
96
|
+
}, u = {
|
|
37
97
|
className: "meta",
|
|
38
98
|
begin: /#\s*[a-z]+\b/,
|
|
39
99
|
end: /$/,
|
|
@@ -43,19 +103,18 @@ function C(e) {
|
|
|
43
103
|
begin: /\\\n/,
|
|
44
104
|
relevance: 0
|
|
45
105
|
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
begin: /<.*?>/
|
|
50
|
-
},
|
|
51
|
-
n,
|
|
52
|
-
e.C_BLOCK_COMMENT_MODE
|
|
106
|
+
t.inherit(s, { className: "string" }),
|
|
107
|
+
a,
|
|
108
|
+
t.C_BLOCK_COMMENT_MODE
|
|
53
109
|
]
|
|
54
|
-
},
|
|
110
|
+
}, c = [
|
|
111
|
+
m,
|
|
112
|
+
u
|
|
113
|
+
], p = {
|
|
55
114
|
className: "title",
|
|
56
|
-
begin:
|
|
115
|
+
begin: n.optional(r) + t.IDENT_RE,
|
|
57
116
|
relevance: 0
|
|
58
|
-
}, d =
|
|
117
|
+
}, d = n.optional(r) + t.IDENT_RE + "\\s*\\(", g = 12, e = {
|
|
59
118
|
keyword: [
|
|
60
119
|
"asm",
|
|
61
120
|
"auto",
|
|
@@ -139,14 +198,14 @@ function C(e) {
|
|
|
139
198
|
literal: "true false NULL",
|
|
140
199
|
// TODO: apply hinting work similar to what was done in cpp.js
|
|
141
200
|
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"
|
|
142
|
-
},
|
|
201
|
+
}, _ = [
|
|
202
|
+
...c,
|
|
143
203
|
i,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
], m = {
|
|
204
|
+
a,
|
|
205
|
+
t.C_BLOCK_COMMENT_MODE,
|
|
206
|
+
o,
|
|
207
|
+
s
|
|
208
|
+
], C = {
|
|
150
209
|
// This mode covers expression context where we can't expect a function
|
|
151
210
|
// definition and shouldn't highlight anything that looks like one:
|
|
152
211
|
// `return some()`, `else if()`, `(x*sum(1, 2))`
|
|
@@ -164,35 +223,35 @@ function C(e) {
|
|
|
164
223
|
end: /;/
|
|
165
224
|
}
|
|
166
225
|
],
|
|
167
|
-
keywords:
|
|
168
|
-
contains:
|
|
226
|
+
keywords: e,
|
|
227
|
+
contains: _.concat([
|
|
169
228
|
{
|
|
170
229
|
begin: /\(/,
|
|
171
230
|
end: /\)/,
|
|
172
|
-
keywords:
|
|
173
|
-
contains:
|
|
231
|
+
keywords: e,
|
|
232
|
+
contains: _.concat(["self"]),
|
|
174
233
|
relevance: 0
|
|
175
234
|
}
|
|
176
235
|
]),
|
|
177
236
|
relevance: 0
|
|
178
|
-
},
|
|
179
|
-
begin: "(" +
|
|
237
|
+
}, b = {
|
|
238
|
+
begin: "(" + E + "[\\*&\\s]+){1," + g + "}" + d,
|
|
180
239
|
returnBegin: !0,
|
|
181
240
|
end: /[{;=]/,
|
|
182
241
|
excludeEnd: !0,
|
|
183
|
-
keywords:
|
|
242
|
+
keywords: e,
|
|
184
243
|
illegal: /[^\w\s\*&:<>.]/,
|
|
185
244
|
contains: [
|
|
186
245
|
{
|
|
187
246
|
// to prevent it from being confused as the function title
|
|
188
|
-
begin:
|
|
189
|
-
keywords:
|
|
247
|
+
begin: l,
|
|
248
|
+
keywords: e,
|
|
190
249
|
relevance: 0
|
|
191
250
|
},
|
|
192
251
|
{
|
|
193
252
|
begin: d,
|
|
194
253
|
returnBegin: !0,
|
|
195
|
-
contains: [
|
|
254
|
+
contains: [t.inherit(p, { className: "title.function" })],
|
|
196
255
|
relevance: 0
|
|
197
256
|
},
|
|
198
257
|
// allow for multiple declarations, e.g.:
|
|
@@ -205,54 +264,54 @@ function C(e) {
|
|
|
205
264
|
className: "params",
|
|
206
265
|
begin: /\(/,
|
|
207
266
|
end: /\)/,
|
|
208
|
-
keywords:
|
|
267
|
+
keywords: e,
|
|
209
268
|
relevance: 0,
|
|
210
269
|
contains: [
|
|
211
|
-
n,
|
|
212
|
-
e.C_BLOCK_COMMENT_MODE,
|
|
213
270
|
a,
|
|
214
|
-
|
|
215
|
-
|
|
271
|
+
t.C_BLOCK_COMMENT_MODE,
|
|
272
|
+
s,
|
|
273
|
+
o,
|
|
274
|
+
i,
|
|
216
275
|
// Count matching parentheses.
|
|
217
276
|
{
|
|
218
277
|
begin: /\(/,
|
|
219
278
|
end: /\)/,
|
|
220
|
-
keywords:
|
|
279
|
+
keywords: e,
|
|
221
280
|
relevance: 0,
|
|
222
281
|
contains: [
|
|
223
282
|
"self",
|
|
224
|
-
n,
|
|
225
|
-
e.C_BLOCK_COMMENT_MODE,
|
|
226
283
|
a,
|
|
227
|
-
|
|
228
|
-
|
|
284
|
+
t.C_BLOCK_COMMENT_MODE,
|
|
285
|
+
s,
|
|
286
|
+
o,
|
|
287
|
+
i
|
|
229
288
|
]
|
|
230
289
|
}
|
|
231
290
|
]
|
|
232
291
|
},
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
292
|
+
i,
|
|
293
|
+
a,
|
|
294
|
+
t.C_BLOCK_COMMENT_MODE,
|
|
295
|
+
...c
|
|
237
296
|
]
|
|
238
297
|
};
|
|
239
298
|
return {
|
|
240
299
|
name: "C",
|
|
241
300
|
aliases: ["h"],
|
|
242
|
-
keywords:
|
|
301
|
+
keywords: e,
|
|
243
302
|
// Until differentiations are added between `c` and `cpp`, `c` will
|
|
244
303
|
// not be auto-detected to avoid auto-detect conflicts between C and C++
|
|
245
304
|
disableAutodetect: !0,
|
|
246
305
|
illegal: "</",
|
|
247
306
|
contains: [].concat(
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
307
|
+
C,
|
|
308
|
+
b,
|
|
309
|
+
_,
|
|
251
310
|
[
|
|
252
|
-
|
|
311
|
+
...c,
|
|
253
312
|
{
|
|
254
|
-
begin:
|
|
255
|
-
keywords:
|
|
313
|
+
begin: t.IDENT_RE + "::",
|
|
314
|
+
keywords: e
|
|
256
315
|
},
|
|
257
316
|
{
|
|
258
317
|
className: "class",
|
|
@@ -260,18 +319,18 @@ function C(e) {
|
|
|
260
319
|
end: /[{;:<>=]/,
|
|
261
320
|
contains: [
|
|
262
321
|
{ beginKeywords: "final class struct" },
|
|
263
|
-
|
|
322
|
+
t.TITLE_MODE
|
|
264
323
|
]
|
|
265
324
|
}
|
|
266
325
|
]
|
|
267
326
|
),
|
|
268
327
|
exports: {
|
|
269
|
-
preprocessor:
|
|
270
|
-
strings:
|
|
271
|
-
keywords:
|
|
328
|
+
preprocessor: u,
|
|
329
|
+
strings: s,
|
|
330
|
+
keywords: e
|
|
272
331
|
}
|
|
273
332
|
};
|
|
274
333
|
}
|
|
275
334
|
export {
|
|
276
|
-
|
|
335
|
+
S as default
|
|
277
336
|
};
|
|
@@ -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
|
-
size: "small" | "medium" | "large";
|
|
31
30
|
type: BxDatePickerType;
|
|
31
|
+
size: "small" | "medium" | "large";
|
|
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
|
-
size: "tiny" | "small" | "medium" | "large";
|
|
69
68
|
type: "text" | "password" | "number" | "email" | "tel" | "textarea";
|
|
69
|
+
size: "tiny" | "small" | "medium" | "large";
|
|
70
70
|
round: boolean;
|
|
71
71
|
disabled: boolean;
|
|
72
72
|
loading: boolean;
|
|
@@ -19,6 +19,12 @@ type __VLS_Props = {
|
|
|
19
19
|
role?: string;
|
|
20
20
|
killExistingRoleEntriesOnHoverShow?: boolean;
|
|
21
21
|
maxPopoverHeight?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Override the scroll pass-through decision. Defaults to "on whenever there
|
|
24
|
+
* is no darkened background", which is what makes a non-modal popover stop
|
|
25
|
+
* freezing the page behind it.
|
|
26
|
+
*/
|
|
27
|
+
scrollPassthrough?: boolean;
|
|
22
28
|
};
|
|
23
29
|
type __VLS_Slots = {
|
|
24
30
|
trigger: () => VNode[] | VNode;
|
|
@@ -39,6 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
39
45
|
allowedPlacements: Placement[];
|
|
40
46
|
arrow: boolean;
|
|
41
47
|
overflowVisible: boolean;
|
|
48
|
+
scrollPassthrough: boolean;
|
|
42
49
|
leaveLazyness: number;
|
|
43
50
|
closeOnClickOutside: boolean;
|
|
44
51
|
showLeazyness: number;
|
|
@@ -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
|
-
size: "tiny" | "small" | "medium" | "large";
|
|
27
26
|
type: BxTagType;
|
|
27
|
+
size: "tiny" | "small" | "medium" | "large";
|
|
28
28
|
round: boolean;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
closeable: boolean;
|
|
@@ -12,6 +12,12 @@ type __VLS_Props = {
|
|
|
12
12
|
bxPopoverId: string;
|
|
13
13
|
noPointerEvents: boolean;
|
|
14
14
|
overflowVisible: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Let wheel/touch gestures that land beside the popover scroll the app
|
|
17
|
+
* behind it. Set for popovers opened WITHOUT a scrim — with one, freezing
|
|
18
|
+
* the page is the intended modal behaviour. See useScrollPassthrough.
|
|
19
|
+
*/
|
|
20
|
+
scrollPassthrough?: boolean;
|
|
15
21
|
capturedContext?: Record<string | symbol, any>;
|
|
16
22
|
popoverMaxHeight?: string;
|
|
17
23
|
};
|
|
@@ -33,6 +39,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
33
39
|
capturedContext: Record<string | symbol, any>;
|
|
34
40
|
floatingPadding: number;
|
|
35
41
|
noPointerEvents: boolean;
|
|
42
|
+
scrollPassthrough: boolean;
|
|
36
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
44
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
38
45
|
export default _default;
|