@bluepic/embed 0.4.0-next.98 → 0.5.0
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 +402 -178
- package/dist/bluepic-embed.umd.js +402 -178
- package/dist/c-B4BAHWS4.cjs +1 -0
- package/dist/{c-Bz1-FJiA.js → c-C0DTNf68.js} +122 -63
- package/dist/components/AssetViewer/AssetViewer.vue.d.ts +71 -0
- package/dist/components/BxAudioPlayButton.vue.d.ts +24 -0
- package/dist/components/BxCard.vue.d.ts +35 -0
- package/dist/components/BxInput.vue.d.ts +7 -1
- package/dist/components/BxList.vue.d.ts +9 -0
- package/dist/components/BxListItem.vue.d.ts +13 -1
- package/dist/components/BxPopover.vue.d.ts +7 -0
- package/dist/components/BxPreviewLayer.vue.d.ts +18 -0
- package/dist/components/BxScrollbar.vue.d.ts +7 -0
- package/dist/components/BxSelect.vue.d.ts +16 -2
- package/dist/components/BxTable.vue.d.ts +109 -0
- package/dist/components/BxTabs.vue.d.ts +7 -0
- package/dist/components/BxWaveformThumb.vue.d.ts +27 -0
- package/dist/components/CollectionFieldPopup.vue.d.ts +4 -0
- package/dist/components/PopoverElement.vue.d.ts +10 -1
- package/dist/components/TemplateEditor/BatchCell.vue.d.ts +18 -0
- package/dist/components/TemplateEditor/BatchEditor.vue.d.ts +264 -0
- package/dist/components/TemplateEditor/BatchExportPopup.vue.d.ts +68 -0
- package/dist/components/TemplateEditor/BatchImportPopup.vue.d.ts +25 -0
- package/dist/components/TemplateEditor/BxLiveTemplate.vue.d.ts +8 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +285 -16
- package/dist/components/TemplateEditor/FieldHintsLayer.vue.d.ts +86 -0
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +77 -2
- package/dist/components/User/UserInfo.vue.d.ts +12 -1
- package/dist/components/directives/usePopup.d.ts +5 -0
- package/dist/components/fields/Collection.vue.d.ts +3 -0
- package/dist/components/fields/Image.vue.d.ts +19 -5
- package/dist/components/fields/ImageEdit.vue.d.ts +6 -1
- package/dist/components/fields/Text.vue.d.ts +1 -1
- package/dist/cpp-BfO2fOQK.cjs +1 -0
- package/dist/{cpp-CH0U-pDu.js → cpp-DxGBPWa5.js} +60 -39
- package/dist/{css-DXX4BvrO.js → css-Cx1gP-zj.js} +13 -8
- package/dist/css-DTF39MN3.cjs +1 -0
- package/dist/embed/embed.d.ts +1024 -228
- package/dist/{go-BpetKc7b.cjs → go-By8nj0Vi.cjs} +1 -1
- package/dist/{go-CkZ9_bn0.js → go-C8VcBUsu.js} +7 -2
- package/dist/{index-CWm6zOv7.js → index-C99_zLhc.js} +9 -9
- package/dist/index-D8N6IfRw.cjs +1 -0
- 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-BAHKs5qZ.js → javascript-CgRUYx2b.js} +1 -0
- package/dist/main.cjs +240 -162
- package/dist/main.d.ts +20 -0
- package/dist/main.mjs +79357 -68780
- package/dist/markdown-BmL9j9cU.cjs +1 -0
- package/dist/{markdown-ga2-2-T7.js → markdown-D19noYwn.js} +9 -10
- package/dist/markdown-it-5-ieF6Bh.js +3790 -0
- package/dist/markdown-it-CLB5Jta6.cjs +16 -0
- package/dist/postal-mime-Df-WB8Vq.js +3337 -0
- package/dist/postal-mime-_7WF5UBe.cjs +28 -0
- 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-DybQU0yX.js → scss-BWo_aR1L.js} +6 -1
- package/dist/scss-ex7iHSUb.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/theme/bridge.d.ts +14 -0
- package/dist/theme/color.d.ts +80 -0
- package/dist/theme/css.d.ts +8 -0
- package/dist/theme/index.d.ts +19 -0
- package/dist/theme/legacy.d.ts +3 -0
- package/dist/theme/resolve.d.ts +10 -0
- package/dist/theme/tokens.d.ts +129 -0
- package/dist/theme/types-contract.d.ts +13 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.mjs +1313 -0
- package/dist/{typescript-BRD67TAB.js → typescript-BHqLHF13.js} +1 -0
- package/dist/typescript-DYRnLHqF.cjs +1 -0
- package/dist/util/analytics.d.ts +16 -0
- package/dist/util/assetAuth.d.ts +35 -0
- package/dist/util/audioPreview.d.ts +8 -0
- package/dist/util/batch/csv.d.ts +58 -0
- package/dist/util/batch/export.d.ts +92 -0
- package/dist/util/batch/fields.d.ts +22 -0
- package/dist/util/batch/parseCSV.d.ts +72 -0
- package/dist/util/batch/useBatchRows.d.ts +67 -0
- package/dist/util/cloneDeep.d.ts +5 -5
- package/dist/util/cloudflareImages.d.ts +8 -1
- package/dist/util/contextCapture.d.ts +19 -0
- package/dist/util/export.d.ts +65 -18
- package/dist/util/fieldHints/chipAction.d.ts +23 -0
- package/dist/util/fieldHints/fieldFocus.d.ts +81 -0
- package/dist/util/fieldHints/geometry.d.ts +52 -0
- package/dist/util/fieldHints/index.d.ts +20 -0
- package/dist/util/fieldHints/probe.d.ts +84 -0
- package/dist/util/fieldHints/resolve.d.ts +55 -0
- package/dist/util/fieldHints/textProbe.d.ts +71 -0
- package/dist/util/fieldHints/useCanvasTextEditing.d.ts +125 -0
- package/dist/util/fieldHints/useChipHighlight.d.ts +29 -0
- package/dist/util/fieldHints/useFieldHitboxes.d.ts +5601 -0
- package/dist/util/fieldHints/useHintReveal.d.ts +10 -0
- package/dist/util/fieldTree.d.ts +20 -0
- package/dist/util/fields.d.ts +1 -1
- package/dist/util/gallery.d.ts +78 -32
- package/dist/util/popoverArrow.d.ts +33 -0
- package/dist/util/popupHeaderTools.d.ts +26 -0
- package/dist/util/scrollPassthrough.d.ts +9 -0
- package/dist/util/useTheme.d.ts +36 -1
- package/dist/util/visualViewport.d.ts +47 -0
- package/dist/xlsx-BopDBbWb.js +24176 -0
- package/dist/xlsx-qn1xoUuv.cjs +105 -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 +18 -5
- package/dist/c-C_Sx7N-F.cjs +0 -1
- package/dist/cpp-CEORmSCT.cjs +0 -1
- package/dist/css-l--Pv1Vb.cjs +0 -1
- package/dist/index-DFXQWOGQ.cjs +0 -1
- package/dist/java-BIk0G-rH.cjs +0 -1
- package/dist/javascript-NPBda6fN.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-C_iicH8I.cjs +0 -1
- package/dist/typescript-ro3bsRwC.cjs +0 -1
- package/dist/util/backgroundRemoval.d.ts +0 -51
|
@@ -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
|
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { type AssetAuth } from '../../util/assetAuth';
|
|
2
|
+
/**
|
|
3
|
+
* Brand Portal — the asset viewer.
|
|
4
|
+
*
|
|
5
|
+
* Renders inside the existing overlay API (usePopup / injectPortal), the same
|
|
6
|
+
* surface as the image cropper, rather than sending the visitor to a browser
|
|
7
|
+
* tab.
|
|
8
|
+
*
|
|
9
|
+
* Efficiency rules that are load-bearing, not polish:
|
|
10
|
+
* - page rendering is INJECTED by the host (`renderPage`) rather than importing
|
|
11
|
+
* @bluepic/raster here. Embed ships a UMD build, and raster's root entry
|
|
12
|
+
* carries CommonJS interop that Rollup cannot express in UMD (it emits an
|
|
13
|
+
* invalid `var main.commonjsGlobal`). Injection also keeps the heavy engines
|
|
14
|
+
* out of embed entirely — the host loads them only if it has documents.
|
|
15
|
+
* Without a `renderPage`, paged types degrade to the download-only panel;
|
|
16
|
+
* - one page is rendered at a time, at a DPR clamped to 2;
|
|
17
|
+
* - at most PAGE_CACHE_LIMIT rendered pages are retained, so a 400-page PDF
|
|
18
|
+
* cannot hold 400 canvases;
|
|
19
|
+
* - in-flight work is abandoned on close/page-change — an orphaned
|
|
20
|
+
* Ghostscript-WASM job otherwise keeps a phone warm long after the user left.
|
|
21
|
+
*/
|
|
22
|
+
export type ViewerAsset = {
|
|
23
|
+
id: string;
|
|
24
|
+
title: string;
|
|
25
|
+
filename: string;
|
|
26
|
+
mime: string;
|
|
27
|
+
size: number;
|
|
28
|
+
kind: 'image' | 'file';
|
|
29
|
+
previewUrl: string | null;
|
|
30
|
+
description?: string | null;
|
|
31
|
+
width?: number;
|
|
32
|
+
height?: number;
|
|
33
|
+
pageCount?: number;
|
|
34
|
+
/** Gated URL. Used both to fetch bytes for rasterization and to display media. */
|
|
35
|
+
downloadUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* A paginated, browser-renderable form: the file for a PDF, the server-made
|
|
38
|
+
* PDF derivative for Office/ODF. Its presence is what turns a .docx into
|
|
39
|
+
* something with pages instead of a download button.
|
|
40
|
+
*/
|
|
41
|
+
documentUrl?: string;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Props = {
|
|
44
|
+
asset: ViewerAsset;
|
|
45
|
+
/**
|
|
46
|
+
* Render one page of a document into the supplied canvas. Supplied by the
|
|
47
|
+
* host (bx-template passes @bluepic/raster). Absent → no paged preview.
|
|
48
|
+
*/
|
|
49
|
+
renderPage?: (bytes: ArrayBuffer, canvas: HTMLCanvasElement, opts: {
|
|
50
|
+
page: number;
|
|
51
|
+
dpi: number;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
/** Page count for a paged document, when the host can determine it. */
|
|
54
|
+
getPageCount?: (bytes: ArrayBuffer) => Promise<number>;
|
|
55
|
+
/**
|
|
56
|
+
* Proof of access for a PROTECTED campaign — the password it was unlocked
|
|
57
|
+
* with and/or the signed-in visitor's access token. Every `fetch()` here
|
|
58
|
+
* sends it as headers; the media elements, which cannot, get it as query
|
|
59
|
+
* parameters (see `util/assetAuth`). Absent for a public campaign, which
|
|
60
|
+
* leaves every request exactly as it was.
|
|
61
|
+
*/
|
|
62
|
+
assetAuth?: AssetAuth | null;
|
|
63
|
+
};
|
|
64
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
65
|
+
close: () => any;
|
|
66
|
+
download: (asset: ViewerAsset) => any;
|
|
67
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
|
+
onClose?: (() => any) | undefined;
|
|
69
|
+
onDownload?: ((asset: ViewerAsset) => any) | undefined;
|
|
70
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
71
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The round play/pause control that sits in the middle of an audio card, with
|
|
3
|
+
* its own progress ring.
|
|
4
|
+
*
|
|
5
|
+
* Lives in the embed so the studio library and the portal show the SAME control
|
|
6
|
+
* — the two surfaces render audio assets side by side in a user's mind, and a
|
|
7
|
+
* different affordance in each is how they drift apart.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
playing?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
/** 0–1. */
|
|
13
|
+
progress?: number;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
toggle: () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onToggle?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
progress: number;
|
|
21
|
+
playing: boolean;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -9,6 +9,38 @@ type __VLS_Props = {
|
|
|
9
9
|
coverWidth?: string;
|
|
10
10
|
hoverable?: boolean;
|
|
11
11
|
dividers?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Corner rounding. `none` is for cards that tile edge to edge, where a
|
|
14
|
+
* radius reads as a gap that is not there.
|
|
15
|
+
*/
|
|
16
|
+
radius?: 'none' | 'sm' | 'md' | 'lg';
|
|
17
|
+
/**
|
|
18
|
+
* Stack the content slot with a gap. Without it the content is a plain
|
|
19
|
+
* block, which is why almost every caller re-declared
|
|
20
|
+
* `display:flex; flex-direction:column; gap:…` and, from there, went on to
|
|
21
|
+
* hand-roll the whole card.
|
|
22
|
+
*/
|
|
23
|
+
contentGap?: 'none' | 'sm' | 'md' | 'lg';
|
|
24
|
+
/**
|
|
25
|
+
* Let the CONTENT scroll inside the card.
|
|
26
|
+
*
|
|
27
|
+
* The wrapper sits OUTSIDE the padding and the content carries it instead,
|
|
28
|
+
* so the scrollbar rail runs along the card's edge rather than floating in
|
|
29
|
+
* the middle of a 15px gutter — and the first line of content is not
|
|
30
|
+
* clipped against the top of the scrollport when it moves.
|
|
31
|
+
*
|
|
32
|
+
* Every caller that tried this from outside got it wrong the same way: a
|
|
33
|
+
* `max-height` on a `bx-scrollbar` is inert, because the scrollbar is
|
|
34
|
+
* `height: 100%` and the percentage resolves against an auto-height parent.
|
|
35
|
+
* Here the card gives it a definite height to fill.
|
|
36
|
+
*/
|
|
37
|
+
scrollable?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The cap the content scrolls within — any CSS length. Without one the card
|
|
40
|
+
* grows to its content and nothing scrolls, which is the right behaviour
|
|
41
|
+
* for a card that fits.
|
|
42
|
+
*/
|
|
43
|
+
maxContentHeight?: string;
|
|
12
44
|
state?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
13
45
|
};
|
|
14
46
|
type __VLS_Slots = {
|
|
@@ -27,6 +59,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
27
59
|
bordered: boolean;
|
|
28
60
|
hoverable: boolean;
|
|
29
61
|
dividers: boolean;
|
|
62
|
+
radius: "none" | "sm" | "md" | "lg";
|
|
63
|
+
contentGap: "none" | "sm" | "md" | "lg";
|
|
64
|
+
scrollable: boolean;
|
|
30
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
66
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
67
|
export default _default;
|
|
@@ -27,7 +27,13 @@ type __VLS_Props = {
|
|
|
27
27
|
noStyleLabel: Localized<string>;
|
|
28
28
|
mixedStyleLabel: Localized<string>;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Explicit CSS max-height for the (textarea/richtext) input. When omitted, a
|
|
32
|
+
* textarea auto-grows up to `maxRows` lines.
|
|
33
|
+
*/
|
|
30
34
|
maxHeight?: string;
|
|
35
|
+
/** Maximum number of visible lines a `textarea` grows to before it scrolls. */
|
|
36
|
+
maxRows?: number;
|
|
31
37
|
minHeight?: string;
|
|
32
38
|
readonly?: boolean;
|
|
33
39
|
readonlyMessage?: string;
|
|
@@ -77,7 +83,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
77
83
|
ring: boolean;
|
|
78
84
|
clearable: boolean;
|
|
79
85
|
resizeable: boolean;
|
|
80
|
-
|
|
86
|
+
maxRows: number;
|
|
81
87
|
readonly: boolean;
|
|
82
88
|
readonlyMessage: string;
|
|
83
89
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
divider?: boolean;
|
|
4
|
+
/** Outer border and rounding, so a list can stand on its own surface. */
|
|
5
|
+
bordered?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* `plain` is a run of rows. `card` gives every row its own surface with a
|
|
8
|
+
* gap between them, for lists whose items are objects rather than lines.
|
|
9
|
+
*/
|
|
10
|
+
variant?: 'plain' | 'card';
|
|
4
11
|
};
|
|
5
12
|
type __VLS_Slots = {
|
|
6
13
|
default: () => VNode[] | VNode;
|
|
7
14
|
};
|
|
8
15
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
bordered: boolean;
|
|
9
17
|
divider: boolean;
|
|
18
|
+
variant: "plain" | "card";
|
|
10
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
21
|
export default _default;
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether clicking the row does something. Rows used to get a pointer
|
|
5
|
+
* cursor and a hover background unconditionally, which is why static lists
|
|
6
|
+
* were hand-rolled as <ul>s instead: a row that looks clickable and is not
|
|
7
|
+
* is worse than no component. Defaults to `true` so no existing list
|
|
8
|
+
* changes.
|
|
9
|
+
*/
|
|
10
|
+
interactive?: boolean;
|
|
11
|
+
};
|
|
2
12
|
type __VLS_Slots = {
|
|
3
13
|
default: () => VNode[] | VNode;
|
|
4
14
|
prefix?: () => VNode[] | VNode;
|
|
5
15
|
suffix?: () => VNode[] | VNode;
|
|
6
16
|
};
|
|
7
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
interactive: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
21
|
export default _default;
|
|
10
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AssetProxyConfig } from '../util/assetProxy';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** The template's own committed preview (Cloudflare Images) — generic, shared by every viewer. */
|
|
4
|
+
basePreview?: string | null;
|
|
5
|
+
/**
|
|
6
|
+
* An individually pre-populated render (e.g. an `image.bluepic.io
|
|
7
|
+
* ?role=preview` URL). Pass this ONLY when prepopulation actually applies
|
|
8
|
+
* to what's being shown — omit it and this behaves like a plain
|
|
9
|
+
* single-image skeleton over `basePreview`.
|
|
10
|
+
*/
|
|
11
|
+
personalizedSrc?: string | null;
|
|
12
|
+
assetProxy?: AssetProxyConfig;
|
|
13
|
+
alt?: string;
|
|
14
|
+
/** Width hint for `optimizePreviewUrl` on the base layer. */
|
|
15
|
+
baseWidth?: number;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -5,6 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
scrollDelay?: number;
|
|
6
6
|
/** Delay in ms before the scrollbar fades out after mouse leaves */
|
|
7
7
|
leaveDelay?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Briefly reveal the rail the first time the content turns out to be
|
|
10
|
+
* scrollable. The rails are otherwise hover/scroll-only, which on a touch
|
|
11
|
+
* screen means a clipped list gives no cue at all that there is more.
|
|
12
|
+
*/
|
|
13
|
+
hintScrollable?: boolean;
|
|
8
14
|
};
|
|
9
15
|
declare var __VLS_1: {};
|
|
10
16
|
type __VLS_Slots = {} & {
|
|
@@ -18,6 +24,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
18
24
|
xScrollable: boolean;
|
|
19
25
|
scrollDelay: number;
|
|
20
26
|
leaveDelay: number;
|
|
27
|
+
hintScrollable: boolean;
|
|
21
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
29
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
30
|
export default _default;
|
|
@@ -14,8 +14,22 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
14
14
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
15
15
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
16
16
|
readonly "onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
17
|
-
|
|
17
|
+
readonly "onUpdate:values"?: ((values: T[]) => any) | undefined;
|
|
18
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:show" | "onUpdate:values"> & ({
|
|
18
19
|
modelValue?: T;
|
|
20
|
+
/**
|
|
21
|
+
* Multi-select: options toggle, the menu stays open, and the selection is
|
|
22
|
+
* carried by `values` (`v-model:values`) rather than `modelValue`.
|
|
23
|
+
*
|
|
24
|
+
* The selection deliberately lives in its OWN prop instead of overloading
|
|
25
|
+
* `modelValue` with `T | T[]`. Options may legitimately have array values
|
|
26
|
+
* (see StrokeDasharrayInput, where `T = number[]`), and a union there makes
|
|
27
|
+
* the generic ambiguous — it silently re-infers `T` and breaks unrelated
|
|
28
|
+
* callers. One extra prop is cheaper than that class of surprise.
|
|
29
|
+
*/
|
|
30
|
+
multiple?: boolean;
|
|
31
|
+
/** Selected values when `multiple` is set. */
|
|
32
|
+
values?: T[];
|
|
19
33
|
size?: "tiny" | "small" | "medium" | "large";
|
|
20
34
|
trigger?: "click" | "hover" | "manual";
|
|
21
35
|
options: BxSelectOption<T>[];
|
|
@@ -70,7 +84,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
70
84
|
value?: T;
|
|
71
85
|
}) => VNode[];
|
|
72
86
|
};
|
|
73
|
-
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "update:show", value: boolean) => void);
|
|
87
|
+
emit: (((evt: "update:modelValue", value: T) => void) & ((evt: "update:values", values: T[]) => void)) & ((evt: "update:show", value: boolean) => void);
|
|
74
88
|
}>) => import("vue").VNode & {
|
|
75
89
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
76
90
|
};
|