@kubex/zinc 1.1.105 → 1.1.107
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/custom-elements.json +1849 -1553
- package/dist/vscode.html-custom-data.json +109 -52
- package/dist/web-types.json +251 -117
- package/dist/zn.d.ts +68 -0
- package/dist/zn.min.js +424 -412
- package/docs/pages/components/dialog.md +2 -0
- package/docs/pages/components/form-actions.md +71 -0
- package/docs/pages/components/slideout.md +2 -0
- package/package.json +1 -1
- package/src/components/button/button.scss +4 -0
- package/src/components/data-select/data-select.component.ts +4 -0
- package/src/components/dialog/dialog.component.ts +14 -0
- package/src/components/form-actions/form-actions.component.ts +96 -0
- package/src/components/form-actions/form-actions.scss +9 -0
- package/src/components/form-actions/form-actions.test.ts +40 -0
- package/src/components/form-actions/index.ts +12 -0
- package/src/components/linked-select/linked-select.component.ts +4 -0
- package/src/components/rating/rating.component.ts +4 -0
- package/src/components/slideout/slideout.component.ts +14 -0
- package/src/zinc.ts +1 -0
|
@@ -56,6 +56,79 @@
|
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "javascript-module",
|
|
61
|
+
"path": "components/action-bar/action-bar.js",
|
|
62
|
+
"declarations": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "class",
|
|
65
|
+
"description": "",
|
|
66
|
+
"name": "ZnActionBar",
|
|
67
|
+
"cssProperties": [
|
|
68
|
+
{
|
|
69
|
+
"description": "An example CSS custom property.",
|
|
70
|
+
"name": "--example"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"cssParts": [
|
|
74
|
+
{
|
|
75
|
+
"description": "The component's base wrapper.",
|
|
76
|
+
"name": "base"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"slots": [
|
|
80
|
+
{
|
|
81
|
+
"description": "The default slot.",
|
|
82
|
+
"name": ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"description": "An example slot.",
|
|
86
|
+
"name": "example"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"members": [
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "localize",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"readonly": true,
|
|
95
|
+
"default": "new LocalizeController(this)"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"events": [
|
|
99
|
+
{
|
|
100
|
+
"description": "Emitted as an example.",
|
|
101
|
+
"name": "zn-event-name"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"superclass": {
|
|
105
|
+
"name": "ZincElement",
|
|
106
|
+
"module": "/src/internal/zinc-element"
|
|
107
|
+
},
|
|
108
|
+
"summary": "Short summary of the component's intended use.",
|
|
109
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
110
|
+
"tagName": "zn-action-bar",
|
|
111
|
+
"customElement": true,
|
|
112
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
113
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
114
|
+
"status": "experimental",
|
|
115
|
+
"since": "1.0",
|
|
116
|
+
"dependencies": [
|
|
117
|
+
"zn-example"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"exports": [
|
|
122
|
+
{
|
|
123
|
+
"kind": "js",
|
|
124
|
+
"name": "default",
|
|
125
|
+
"declaration": {
|
|
126
|
+
"name": "ZnActionBar",
|
|
127
|
+
"module": "components/action-bar/action-bar.js"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
59
132
|
{
|
|
60
133
|
"kind": "javascript-module",
|
|
61
134
|
"path": "components/alert/alert.js",
|
|
@@ -250,79 +323,6 @@
|
|
|
250
323
|
}
|
|
251
324
|
]
|
|
252
325
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "components/action-bar/action-bar.js",
|
|
256
|
-
"declarations": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "class",
|
|
259
|
-
"description": "",
|
|
260
|
-
"name": "ZnActionBar",
|
|
261
|
-
"cssProperties": [
|
|
262
|
-
{
|
|
263
|
-
"description": "An example CSS custom property.",
|
|
264
|
-
"name": "--example"
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"cssParts": [
|
|
268
|
-
{
|
|
269
|
-
"description": "The component's base wrapper.",
|
|
270
|
-
"name": "base"
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"slots": [
|
|
274
|
-
{
|
|
275
|
-
"description": "The default slot.",
|
|
276
|
-
"name": ""
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"description": "An example slot.",
|
|
280
|
-
"name": "example"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"members": [
|
|
284
|
-
{
|
|
285
|
-
"kind": "field",
|
|
286
|
-
"name": "localize",
|
|
287
|
-
"privacy": "private",
|
|
288
|
-
"readonly": true,
|
|
289
|
-
"default": "new LocalizeController(this)"
|
|
290
|
-
}
|
|
291
|
-
],
|
|
292
|
-
"events": [
|
|
293
|
-
{
|
|
294
|
-
"description": "Emitted as an example.",
|
|
295
|
-
"name": "zn-event-name"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"superclass": {
|
|
299
|
-
"name": "ZincElement",
|
|
300
|
-
"module": "/src/internal/zinc-element"
|
|
301
|
-
},
|
|
302
|
-
"summary": "Short summary of the component's intended use.",
|
|
303
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
304
|
-
"tagName": "zn-action-bar",
|
|
305
|
-
"customElement": true,
|
|
306
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
307
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
308
|
-
"status": "experimental",
|
|
309
|
-
"since": "1.0",
|
|
310
|
-
"dependencies": [
|
|
311
|
-
"zn-example"
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"exports": [
|
|
316
|
-
{
|
|
317
|
-
"kind": "js",
|
|
318
|
-
"name": "default",
|
|
319
|
-
"declaration": {
|
|
320
|
-
"name": "ZnActionBar",
|
|
321
|
-
"module": "components/action-bar/action-bar.js"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
326
|
{
|
|
327
327
|
"kind": "javascript-module",
|
|
328
328
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -7966,6 +7966,15 @@
|
|
|
7966
7966
|
"description": "The value of the select. Used for form submission. When `multiple` is enabled, this is an array of strings.",
|
|
7967
7967
|
"attribute": "value"
|
|
7968
7968
|
},
|
|
7969
|
+
{
|
|
7970
|
+
"kind": "field",
|
|
7971
|
+
"name": "defaultValue",
|
|
7972
|
+
"type": {
|
|
7973
|
+
"text": "string | string[]"
|
|
7974
|
+
},
|
|
7975
|
+
"default": "''",
|
|
7976
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
7977
|
+
},
|
|
7969
7978
|
{
|
|
7970
7979
|
"kind": "field",
|
|
7971
7980
|
"name": "provider",
|
|
@@ -16175,6 +16184,275 @@
|
|
|
16175
16184
|
}
|
|
16176
16185
|
]
|
|
16177
16186
|
},
|
|
16187
|
+
{
|
|
16188
|
+
"kind": "javascript-module",
|
|
16189
|
+
"path": "components/form-actions/form-actions.js",
|
|
16190
|
+
"declarations": [
|
|
16191
|
+
{
|
|
16192
|
+
"kind": "class",
|
|
16193
|
+
"description": "",
|
|
16194
|
+
"name": "ZnFormActions",
|
|
16195
|
+
"cssParts": [
|
|
16196
|
+
{
|
|
16197
|
+
"description": "The cancel button.",
|
|
16198
|
+
"name": "cancel-button"
|
|
16199
|
+
},
|
|
16200
|
+
{
|
|
16201
|
+
"description": "The reset button.",
|
|
16202
|
+
"name": "reset-button"
|
|
16203
|
+
},
|
|
16204
|
+
{
|
|
16205
|
+
"description": "The submit button.",
|
|
16206
|
+
"name": "submit-button"
|
|
16207
|
+
}
|
|
16208
|
+
],
|
|
16209
|
+
"slots": [
|
|
16210
|
+
{
|
|
16211
|
+
"description": "Extra actions, placed before the buttons.",
|
|
16212
|
+
"name": ""
|
|
16213
|
+
}
|
|
16214
|
+
],
|
|
16215
|
+
"members": [
|
|
16216
|
+
{
|
|
16217
|
+
"kind": "field",
|
|
16218
|
+
"name": "dependencies",
|
|
16219
|
+
"type": {
|
|
16220
|
+
"text": "object"
|
|
16221
|
+
},
|
|
16222
|
+
"static": true,
|
|
16223
|
+
"default": "{ 'zn-button': ZnButton }"
|
|
16224
|
+
},
|
|
16225
|
+
{
|
|
16226
|
+
"kind": "field",
|
|
16227
|
+
"name": "submitText",
|
|
16228
|
+
"type": {
|
|
16229
|
+
"text": "string"
|
|
16230
|
+
},
|
|
16231
|
+
"default": "'Save'",
|
|
16232
|
+
"description": "The submit button's text.",
|
|
16233
|
+
"attribute": "submit-text"
|
|
16234
|
+
},
|
|
16235
|
+
{
|
|
16236
|
+
"kind": "field",
|
|
16237
|
+
"name": "submitIcon",
|
|
16238
|
+
"type": {
|
|
16239
|
+
"text": "string"
|
|
16240
|
+
},
|
|
16241
|
+
"default": "'check@lu'",
|
|
16242
|
+
"description": "The submit button's icon.",
|
|
16243
|
+
"attribute": "submit-icon"
|
|
16244
|
+
},
|
|
16245
|
+
{
|
|
16246
|
+
"kind": "field",
|
|
16247
|
+
"name": "withCancel",
|
|
16248
|
+
"type": {
|
|
16249
|
+
"text": "boolean"
|
|
16250
|
+
},
|
|
16251
|
+
"default": "false",
|
|
16252
|
+
"description": "Adds a cancel button. Closes the containing dialog or slideout, if any, and emits `zn-cancel`.",
|
|
16253
|
+
"attribute": "with-cancel"
|
|
16254
|
+
},
|
|
16255
|
+
{
|
|
16256
|
+
"kind": "field",
|
|
16257
|
+
"name": "cancelText",
|
|
16258
|
+
"type": {
|
|
16259
|
+
"text": "string"
|
|
16260
|
+
},
|
|
16261
|
+
"default": "'Cancel'",
|
|
16262
|
+
"description": "The cancel button's text.",
|
|
16263
|
+
"attribute": "cancel-text"
|
|
16264
|
+
},
|
|
16265
|
+
{
|
|
16266
|
+
"kind": "field",
|
|
16267
|
+
"name": "cancelIcon",
|
|
16268
|
+
"type": {
|
|
16269
|
+
"text": "string"
|
|
16270
|
+
},
|
|
16271
|
+
"default": "'x@lu'",
|
|
16272
|
+
"description": "The cancel button's icon.",
|
|
16273
|
+
"attribute": "cancel-icon"
|
|
16274
|
+
},
|
|
16275
|
+
{
|
|
16276
|
+
"kind": "field",
|
|
16277
|
+
"name": "withReset",
|
|
16278
|
+
"type": {
|
|
16279
|
+
"text": "boolean"
|
|
16280
|
+
},
|
|
16281
|
+
"default": "false",
|
|
16282
|
+
"description": "Adds a reset button that resets the form.",
|
|
16283
|
+
"attribute": "with-reset"
|
|
16284
|
+
},
|
|
16285
|
+
{
|
|
16286
|
+
"kind": "field",
|
|
16287
|
+
"name": "resetText",
|
|
16288
|
+
"type": {
|
|
16289
|
+
"text": "string"
|
|
16290
|
+
},
|
|
16291
|
+
"default": "'Reset'",
|
|
16292
|
+
"description": "The reset button's text.",
|
|
16293
|
+
"attribute": "reset-text"
|
|
16294
|
+
},
|
|
16295
|
+
{
|
|
16296
|
+
"kind": "field",
|
|
16297
|
+
"name": "resetIcon",
|
|
16298
|
+
"type": {
|
|
16299
|
+
"text": "string"
|
|
16300
|
+
},
|
|
16301
|
+
"default": "'rotate-ccw@lu'",
|
|
16302
|
+
"description": "The reset button's icon.",
|
|
16303
|
+
"attribute": "reset-icon"
|
|
16304
|
+
},
|
|
16305
|
+
{
|
|
16306
|
+
"kind": "field",
|
|
16307
|
+
"name": "form",
|
|
16308
|
+
"type": {
|
|
16309
|
+
"text": "string"
|
|
16310
|
+
},
|
|
16311
|
+
"description": "The id of the form to act on. If omitted, the closest containing form is used.",
|
|
16312
|
+
"attribute": "form"
|
|
16313
|
+
},
|
|
16314
|
+
{
|
|
16315
|
+
"kind": "method",
|
|
16316
|
+
"name": "getForm",
|
|
16317
|
+
"privacy": "private",
|
|
16318
|
+
"return": {
|
|
16319
|
+
"type": {
|
|
16320
|
+
"text": "HTMLFormElement | null"
|
|
16321
|
+
}
|
|
16322
|
+
}
|
|
16323
|
+
},
|
|
16324
|
+
{
|
|
16325
|
+
"kind": "field",
|
|
16326
|
+
"name": "handleCancel",
|
|
16327
|
+
"privacy": "private"
|
|
16328
|
+
},
|
|
16329
|
+
{
|
|
16330
|
+
"kind": "field",
|
|
16331
|
+
"name": "handleReset",
|
|
16332
|
+
"privacy": "private"
|
|
16333
|
+
},
|
|
16334
|
+
{
|
|
16335
|
+
"kind": "field",
|
|
16336
|
+
"name": "handleSubmit",
|
|
16337
|
+
"privacy": "private"
|
|
16338
|
+
}
|
|
16339
|
+
],
|
|
16340
|
+
"events": [
|
|
16341
|
+
{
|
|
16342
|
+
"description": "Emitted when the cancel button is clicked.",
|
|
16343
|
+
"name": "zn-cancel"
|
|
16344
|
+
}
|
|
16345
|
+
],
|
|
16346
|
+
"attributes": [
|
|
16347
|
+
{
|
|
16348
|
+
"name": "submit-text",
|
|
16349
|
+
"type": {
|
|
16350
|
+
"text": "string"
|
|
16351
|
+
},
|
|
16352
|
+
"default": "'Save'",
|
|
16353
|
+
"description": "The submit button's text.",
|
|
16354
|
+
"fieldName": "submitText"
|
|
16355
|
+
},
|
|
16356
|
+
{
|
|
16357
|
+
"name": "submit-icon",
|
|
16358
|
+
"type": {
|
|
16359
|
+
"text": "string"
|
|
16360
|
+
},
|
|
16361
|
+
"default": "'check@lu'",
|
|
16362
|
+
"description": "The submit button's icon.",
|
|
16363
|
+
"fieldName": "submitIcon"
|
|
16364
|
+
},
|
|
16365
|
+
{
|
|
16366
|
+
"name": "with-cancel",
|
|
16367
|
+
"type": {
|
|
16368
|
+
"text": "boolean"
|
|
16369
|
+
},
|
|
16370
|
+
"default": "false",
|
|
16371
|
+
"description": "Adds a cancel button. Closes the containing dialog or slideout, if any, and emits `zn-cancel`.",
|
|
16372
|
+
"fieldName": "withCancel"
|
|
16373
|
+
},
|
|
16374
|
+
{
|
|
16375
|
+
"name": "cancel-text",
|
|
16376
|
+
"type": {
|
|
16377
|
+
"text": "string"
|
|
16378
|
+
},
|
|
16379
|
+
"default": "'Cancel'",
|
|
16380
|
+
"description": "The cancel button's text.",
|
|
16381
|
+
"fieldName": "cancelText"
|
|
16382
|
+
},
|
|
16383
|
+
{
|
|
16384
|
+
"name": "cancel-icon",
|
|
16385
|
+
"type": {
|
|
16386
|
+
"text": "string"
|
|
16387
|
+
},
|
|
16388
|
+
"default": "'x@lu'",
|
|
16389
|
+
"description": "The cancel button's icon.",
|
|
16390
|
+
"fieldName": "cancelIcon"
|
|
16391
|
+
},
|
|
16392
|
+
{
|
|
16393
|
+
"name": "with-reset",
|
|
16394
|
+
"type": {
|
|
16395
|
+
"text": "boolean"
|
|
16396
|
+
},
|
|
16397
|
+
"default": "false",
|
|
16398
|
+
"description": "Adds a reset button that resets the form.",
|
|
16399
|
+
"fieldName": "withReset"
|
|
16400
|
+
},
|
|
16401
|
+
{
|
|
16402
|
+
"name": "reset-text",
|
|
16403
|
+
"type": {
|
|
16404
|
+
"text": "string"
|
|
16405
|
+
},
|
|
16406
|
+
"default": "'Reset'",
|
|
16407
|
+
"description": "The reset button's text.",
|
|
16408
|
+
"fieldName": "resetText"
|
|
16409
|
+
},
|
|
16410
|
+
{
|
|
16411
|
+
"name": "reset-icon",
|
|
16412
|
+
"type": {
|
|
16413
|
+
"text": "string"
|
|
16414
|
+
},
|
|
16415
|
+
"default": "'rotate-ccw@lu'",
|
|
16416
|
+
"description": "The reset button's icon.",
|
|
16417
|
+
"fieldName": "resetIcon"
|
|
16418
|
+
},
|
|
16419
|
+
{
|
|
16420
|
+
"name": "form",
|
|
16421
|
+
"type": {
|
|
16422
|
+
"text": "string"
|
|
16423
|
+
},
|
|
16424
|
+
"description": "The id of the form to act on. If omitted, the closest containing form is used.",
|
|
16425
|
+
"fieldName": "form"
|
|
16426
|
+
}
|
|
16427
|
+
],
|
|
16428
|
+
"superclass": {
|
|
16429
|
+
"name": "ZincElement",
|
|
16430
|
+
"module": "/src/internal/zinc-element"
|
|
16431
|
+
},
|
|
16432
|
+
"summary": "Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\nwith `with-cancel` and `with-reset`.",
|
|
16433
|
+
"tagNameWithoutPrefix": "form-actions",
|
|
16434
|
+
"tagName": "zn-form-actions",
|
|
16435
|
+
"customElement": true,
|
|
16436
|
+
"jsDoc": "/**\n * @summary Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\n * with `with-cancel` and `with-reset`.\n * @documentation https://zinc.style/components/form-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n *\n * @event zn-cancel - Emitted when the cancel button is clicked.\n *\n * @slot - Extra actions, placed before the buttons.\n *\n * @csspart cancel-button - The cancel button.\n * @csspart reset-button - The reset button.\n * @csspart submit-button - The submit button.\n */",
|
|
16437
|
+
"documentation": "https://zinc.style/components/form-actions",
|
|
16438
|
+
"status": "experimental",
|
|
16439
|
+
"since": "1.0",
|
|
16440
|
+
"dependencies": [
|
|
16441
|
+
"zn-button"
|
|
16442
|
+
]
|
|
16443
|
+
}
|
|
16444
|
+
],
|
|
16445
|
+
"exports": [
|
|
16446
|
+
{
|
|
16447
|
+
"kind": "js",
|
|
16448
|
+
"name": "default",
|
|
16449
|
+
"declaration": {
|
|
16450
|
+
"name": "ZnFormActions",
|
|
16451
|
+
"module": "components/form-actions/form-actions.js"
|
|
16452
|
+
}
|
|
16453
|
+
}
|
|
16454
|
+
]
|
|
16455
|
+
},
|
|
16178
16456
|
{
|
|
16179
16457
|
"kind": "javascript-module",
|
|
16180
16458
|
"path": "components/form-group/form-group.js",
|
|
@@ -21418,6 +21696,15 @@
|
|
|
21418
21696
|
},
|
|
21419
21697
|
"attribute": "value"
|
|
21420
21698
|
},
|
|
21699
|
+
{
|
|
21700
|
+
"kind": "field",
|
|
21701
|
+
"name": "defaultValue",
|
|
21702
|
+
"type": {
|
|
21703
|
+
"text": "string"
|
|
21704
|
+
},
|
|
21705
|
+
"default": "''",
|
|
21706
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
21707
|
+
},
|
|
21421
21708
|
{
|
|
21422
21709
|
"kind": "field",
|
|
21423
21710
|
"name": "checked",
|
|
@@ -33497,99 +33784,133 @@
|
|
|
33497
33784
|
},
|
|
33498
33785
|
{
|
|
33499
33786
|
"kind": "javascript-module",
|
|
33500
|
-
"path": "components/
|
|
33787
|
+
"path": "components/remarkd-editor/remarkd-editor.js",
|
|
33501
33788
|
"declarations": [
|
|
33502
33789
|
{
|
|
33503
33790
|
"kind": "class",
|
|
33504
33791
|
"description": "",
|
|
33505
|
-
"name": "
|
|
33792
|
+
"name": "ZnRemarkdEditor",
|
|
33506
33793
|
"cssProperties": [
|
|
33507
33794
|
{
|
|
33508
|
-
"description": "
|
|
33509
|
-
"name": "--
|
|
33795
|
+
"description": "The tallest the editor grows before its body scrolls. Defaults to `100dvh`.",
|
|
33796
|
+
"name": "--remarkd-editor-max-height"
|
|
33797
|
+
}
|
|
33798
|
+
],
|
|
33799
|
+
"cssParts": [
|
|
33800
|
+
{
|
|
33801
|
+
"description": "The component's base wrapper.",
|
|
33802
|
+
"name": "base"
|
|
33510
33803
|
},
|
|
33511
33804
|
{
|
|
33512
|
-
"description": "The
|
|
33513
|
-
"name": "
|
|
33805
|
+
"description": "The always-visible block-insert and inline-formatting toolbar.",
|
|
33806
|
+
"name": "toolbar"
|
|
33514
33807
|
},
|
|
33515
33808
|
{
|
|
33516
|
-
"description": "The
|
|
33517
|
-
"name": "
|
|
33518
|
-
}
|
|
33519
|
-
],
|
|
33520
|
-
"cssParts": [
|
|
33809
|
+
"description": "The button that switches between the block view and the raw source view.",
|
|
33810
|
+
"name": "raw-toggle"
|
|
33811
|
+
},
|
|
33521
33812
|
{
|
|
33522
|
-
"description": "
|
|
33523
|
-
"name": "
|
|
33813
|
+
"description": "A rendered block wrapper.",
|
|
33814
|
+
"name": "block"
|
|
33524
33815
|
},
|
|
33525
33816
|
{
|
|
33526
|
-
"description": "The
|
|
33527
|
-
"name": "
|
|
33817
|
+
"description": "The rendered remarkd output of a block.",
|
|
33818
|
+
"name": "rendered"
|
|
33528
33819
|
},
|
|
33529
33820
|
{
|
|
33530
|
-
"description": "
|
|
33531
|
-
"name": "
|
|
33821
|
+
"description": "A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.",
|
|
33822
|
+
"name": "conditional"
|
|
33532
33823
|
},
|
|
33533
33824
|
{
|
|
33534
|
-
"description": "
|
|
33535
|
-
"name": "
|
|
33536
|
-
}
|
|
33537
|
-
],
|
|
33538
|
-
"slots": [
|
|
33825
|
+
"description": "A chip rendered for a document attribute, title, or bracket line.",
|
|
33826
|
+
"name": "variable"
|
|
33827
|
+
},
|
|
33539
33828
|
{
|
|
33540
|
-
"description": "The
|
|
33541
|
-
"name": ""
|
|
33829
|
+
"description": "The textarea shown while editing a block.",
|
|
33830
|
+
"name": "input"
|
|
33542
33831
|
},
|
|
33543
33832
|
{
|
|
33544
|
-
"description": "
|
|
33545
|
-
"name": "
|
|
33833
|
+
"description": "The full-document textarea shown in raw source mode.",
|
|
33834
|
+
"name": "raw"
|
|
33546
33835
|
},
|
|
33547
33836
|
{
|
|
33548
|
-
"description": "
|
|
33549
|
-
"name": "
|
|
33837
|
+
"description": "The `zn-slash-menu` opened by typing \"/\" in an empty block.",
|
|
33838
|
+
"name": "slash-menu"
|
|
33839
|
+
},
|
|
33840
|
+
{
|
|
33841
|
+
"description": "The caption / alignment / size panel shown when an image block is clicked.",
|
|
33842
|
+
"name": "image-controls"
|
|
33843
|
+
},
|
|
33844
|
+
{
|
|
33845
|
+
"description": "The chip rendered in place of an `include::` directive.",
|
|
33846
|
+
"name": "include"
|
|
33847
|
+
},
|
|
33848
|
+
{
|
|
33849
|
+
"description": "The inline Include picker opened from the toolbar or \"/include\".",
|
|
33850
|
+
"name": "include-picker"
|
|
33550
33851
|
}
|
|
33551
33852
|
],
|
|
33552
33853
|
"members": [
|
|
33854
|
+
{
|
|
33855
|
+
"kind": "field",
|
|
33856
|
+
"name": "dependencies",
|
|
33857
|
+
"type": {
|
|
33858
|
+
"text": "object"
|
|
33859
|
+
},
|
|
33860
|
+
"static": true,
|
|
33861
|
+
"default": "{ 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-slash-menu': ZnSlashMenu }"
|
|
33862
|
+
},
|
|
33553
33863
|
{
|
|
33554
33864
|
"kind": "field",
|
|
33555
33865
|
"name": "formControlController",
|
|
33556
33866
|
"privacy": "private",
|
|
33557
33867
|
"readonly": true,
|
|
33558
|
-
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-
|
|
33868
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-input', 'zn-change'], })"
|
|
33559
33869
|
},
|
|
33560
33870
|
{
|
|
33561
33871
|
"kind": "field",
|
|
33562
|
-
"name": "
|
|
33872
|
+
"name": "slashController",
|
|
33563
33873
|
"privacy": "private",
|
|
33564
33874
|
"readonly": true,
|
|
33565
|
-
"default": "new
|
|
33875
|
+
"default": "new SlashMenuController(this, { menu: () => this.mountSlashMenu(), // The menu only belongs in a block that is nothing but the slash command — a // block prefix like \"## \" is not valid remarkd part-way through a line. items: () => this.isSlashBlock() ? SLASH_ITEMS.filter(item => item.action !== 'include' || !!this.includeUrl) : [], onSelect: item => this.handleSlashSelect(item) })"
|
|
33566
33876
|
},
|
|
33567
33877
|
{
|
|
33568
33878
|
"kind": "field",
|
|
33569
|
-
"name": "
|
|
33879
|
+
"name": "toolbarOverflow",
|
|
33880
|
+
"privacy": "private",
|
|
33881
|
+
"readonly": true,
|
|
33882
|
+
"default": "new ToolbarOverflowController(this, { groups: () => [...(this.shadowRoot?.querySelectorAll<HTMLElement>('.toolbar__group') ?? [])], container: () => this.shadowRoot?.querySelector<HTMLElement>('.remarkd-editor__toolbar'), })"
|
|
33883
|
+
},
|
|
33884
|
+
{
|
|
33885
|
+
"kind": "field",
|
|
33886
|
+
"name": "editingDraft",
|
|
33570
33887
|
"type": {
|
|
33571
|
-
"text": "
|
|
33572
|
-
}
|
|
33888
|
+
"text": "string"
|
|
33889
|
+
},
|
|
33890
|
+
"privacy": "private",
|
|
33891
|
+
"default": "''"
|
|
33573
33892
|
},
|
|
33574
33893
|
{
|
|
33575
33894
|
"kind": "field",
|
|
33576
|
-
"name": "
|
|
33895
|
+
"name": "includeRequest",
|
|
33577
33896
|
"type": {
|
|
33578
|
-
"text": "
|
|
33579
|
-
}
|
|
33897
|
+
"text": "Promise<IncludeOption[]> | null"
|
|
33898
|
+
},
|
|
33899
|
+
"privacy": "private",
|
|
33900
|
+
"default": "null"
|
|
33580
33901
|
},
|
|
33581
33902
|
{
|
|
33582
33903
|
"kind": "field",
|
|
33583
|
-
"name": "
|
|
33904
|
+
"name": "rawEntryValue",
|
|
33584
33905
|
"type": {
|
|
33585
|
-
"text": "
|
|
33906
|
+
"text": "string"
|
|
33586
33907
|
},
|
|
33587
33908
|
"privacy": "private",
|
|
33588
|
-
"default": "
|
|
33909
|
+
"default": "''"
|
|
33589
33910
|
},
|
|
33590
33911
|
{
|
|
33591
33912
|
"kind": "field",
|
|
33592
|
-
"name": "
|
|
33913
|
+
"name": "suppressValueSync",
|
|
33593
33914
|
"type": {
|
|
33594
33915
|
"text": "boolean"
|
|
33595
33916
|
},
|
|
@@ -33598,21 +33919,210 @@
|
|
|
33598
33919
|
},
|
|
33599
33920
|
{
|
|
33600
33921
|
"kind": "field",
|
|
33601
|
-
"name": "
|
|
33922
|
+
"name": "suppressBlurCommit",
|
|
33602
33923
|
"type": {
|
|
33603
|
-
"text": "
|
|
33924
|
+
"text": "boolean"
|
|
33604
33925
|
},
|
|
33605
|
-
"
|
|
33926
|
+
"privacy": "private",
|
|
33927
|
+
"default": "false"
|
|
33606
33928
|
},
|
|
33607
33929
|
{
|
|
33608
33930
|
"kind": "field",
|
|
33609
|
-
"name": "
|
|
33931
|
+
"name": "validationInput",
|
|
33932
|
+
"type": {
|
|
33933
|
+
"text": "HTMLTextAreaElement"
|
|
33934
|
+
},
|
|
33935
|
+
"privacy": "private"
|
|
33936
|
+
},
|
|
33937
|
+
{
|
|
33938
|
+
"kind": "field",
|
|
33939
|
+
"name": "slashMenuElement",
|
|
33940
|
+
"type": {
|
|
33941
|
+
"text": "ZnSlashMenu | null"
|
|
33942
|
+
},
|
|
33943
|
+
"privacy": "private"
|
|
33944
|
+
},
|
|
33945
|
+
{
|
|
33946
|
+
"kind": "field",
|
|
33947
|
+
"name": "blocks",
|
|
33948
|
+
"type": {
|
|
33949
|
+
"text": "string[]"
|
|
33950
|
+
},
|
|
33951
|
+
"privacy": "private",
|
|
33952
|
+
"default": "[]"
|
|
33953
|
+
},
|
|
33954
|
+
{
|
|
33955
|
+
"kind": "field",
|
|
33956
|
+
"name": "editingIndex",
|
|
33957
|
+
"type": {
|
|
33958
|
+
"text": "number | null"
|
|
33959
|
+
},
|
|
33960
|
+
"privacy": "private",
|
|
33961
|
+
"default": "null"
|
|
33962
|
+
},
|
|
33963
|
+
{
|
|
33964
|
+
"kind": "field",
|
|
33965
|
+
"name": "slashRecentKey",
|
|
33610
33966
|
"type": {
|
|
33611
33967
|
"text": "string"
|
|
33612
33968
|
},
|
|
33613
33969
|
"default": "''",
|
|
33614
|
-
"description": "
|
|
33615
|
-
"attribute": "
|
|
33970
|
+
"description": "Lists the blocks most recently inserted here above the rest of the slash menu, remembered in\n`localStorage` under this key. Leave unset to offer no recently used section.",
|
|
33971
|
+
"attribute": "slash-recent-key"
|
|
33972
|
+
},
|
|
33973
|
+
{
|
|
33974
|
+
"kind": "field",
|
|
33975
|
+
"name": "hasSlashMenu",
|
|
33976
|
+
"type": {
|
|
33977
|
+
"text": "boolean"
|
|
33978
|
+
},
|
|
33979
|
+
"privacy": "private",
|
|
33980
|
+
"default": "false",
|
|
33981
|
+
"description": "Renders the slash menu only once it has been needed."
|
|
33982
|
+
},
|
|
33983
|
+
{
|
|
33984
|
+
"kind": "field",
|
|
33985
|
+
"name": "imagePickerIndex",
|
|
33986
|
+
"type": {
|
|
33987
|
+
"text": "number | null"
|
|
33988
|
+
},
|
|
33989
|
+
"privacy": "private",
|
|
33990
|
+
"default": "null"
|
|
33991
|
+
},
|
|
33992
|
+
{
|
|
33993
|
+
"kind": "field",
|
|
33994
|
+
"name": "imageEdit",
|
|
33995
|
+
"type": {
|
|
33996
|
+
"text": "ImageBlockData | null"
|
|
33997
|
+
},
|
|
33998
|
+
"privacy": "private",
|
|
33999
|
+
"default": "null"
|
|
34000
|
+
},
|
|
34001
|
+
{
|
|
34002
|
+
"kind": "field",
|
|
34003
|
+
"name": "dropIndicator",
|
|
34004
|
+
"type": {
|
|
34005
|
+
"text": "number | null"
|
|
34006
|
+
},
|
|
34007
|
+
"privacy": "private",
|
|
34008
|
+
"default": "null"
|
|
34009
|
+
},
|
|
34010
|
+
{
|
|
34011
|
+
"kind": "field",
|
|
34012
|
+
"name": "dragIndex",
|
|
34013
|
+
"type": {
|
|
34014
|
+
"text": "number | null"
|
|
34015
|
+
},
|
|
34016
|
+
"privacy": "private",
|
|
34017
|
+
"default": "null"
|
|
34018
|
+
},
|
|
34019
|
+
{
|
|
34020
|
+
"kind": "field",
|
|
34021
|
+
"name": "editShell",
|
|
34022
|
+
"type": {
|
|
34023
|
+
"text": "string"
|
|
34024
|
+
},
|
|
34025
|
+
"privacy": "private",
|
|
34026
|
+
"default": "''"
|
|
34027
|
+
},
|
|
34028
|
+
{
|
|
34029
|
+
"kind": "field",
|
|
34030
|
+
"name": "rawMode",
|
|
34031
|
+
"type": {
|
|
34032
|
+
"text": "boolean"
|
|
34033
|
+
},
|
|
34034
|
+
"privacy": "private",
|
|
34035
|
+
"default": "false"
|
|
34036
|
+
},
|
|
34037
|
+
{
|
|
34038
|
+
"kind": "field",
|
|
34039
|
+
"name": "includeOptions",
|
|
34040
|
+
"type": {
|
|
34041
|
+
"text": "IncludeOption[] | null"
|
|
34042
|
+
},
|
|
34043
|
+
"privacy": "private",
|
|
34044
|
+
"default": "null"
|
|
34045
|
+
},
|
|
34046
|
+
{
|
|
34047
|
+
"kind": "field",
|
|
34048
|
+
"name": "includeLoadFailed",
|
|
34049
|
+
"type": {
|
|
34050
|
+
"text": "boolean"
|
|
34051
|
+
},
|
|
34052
|
+
"privacy": "private",
|
|
34053
|
+
"default": "false"
|
|
34054
|
+
},
|
|
34055
|
+
{
|
|
34056
|
+
"kind": "field",
|
|
34057
|
+
"name": "includePickerIndex",
|
|
34058
|
+
"type": {
|
|
34059
|
+
"text": "number | null"
|
|
34060
|
+
},
|
|
34061
|
+
"privacy": "private",
|
|
34062
|
+
"default": "null"
|
|
34063
|
+
},
|
|
34064
|
+
{
|
|
34065
|
+
"kind": "field",
|
|
34066
|
+
"name": "includeQuery",
|
|
34067
|
+
"type": {
|
|
34068
|
+
"text": "string"
|
|
34069
|
+
},
|
|
34070
|
+
"privacy": "private",
|
|
34071
|
+
"default": "''"
|
|
34072
|
+
},
|
|
34073
|
+
{
|
|
34074
|
+
"kind": "field",
|
|
34075
|
+
"name": "pendingDragHandle",
|
|
34076
|
+
"type": {
|
|
34077
|
+
"text": "HTMLElement | null"
|
|
34078
|
+
},
|
|
34079
|
+
"privacy": "private",
|
|
34080
|
+
"default": "null"
|
|
34081
|
+
},
|
|
34082
|
+
{
|
|
34083
|
+
"kind": "field",
|
|
34084
|
+
"name": "dragStartX",
|
|
34085
|
+
"type": {
|
|
34086
|
+
"text": "number"
|
|
34087
|
+
},
|
|
34088
|
+
"privacy": "private",
|
|
34089
|
+
"default": "0"
|
|
34090
|
+
},
|
|
34091
|
+
{
|
|
34092
|
+
"kind": "field",
|
|
34093
|
+
"name": "dragStartY",
|
|
34094
|
+
"type": {
|
|
34095
|
+
"text": "number"
|
|
34096
|
+
},
|
|
34097
|
+
"privacy": "private",
|
|
34098
|
+
"default": "0"
|
|
34099
|
+
},
|
|
34100
|
+
{
|
|
34101
|
+
"kind": "field",
|
|
34102
|
+
"name": "dragGhost",
|
|
34103
|
+
"type": {
|
|
34104
|
+
"text": "HTMLElement | null"
|
|
34105
|
+
},
|
|
34106
|
+
"privacy": "private",
|
|
34107
|
+
"default": "null"
|
|
34108
|
+
},
|
|
34109
|
+
{
|
|
34110
|
+
"kind": "field",
|
|
34111
|
+
"name": "dragPointerY",
|
|
34112
|
+
"type": {
|
|
34113
|
+
"text": "number"
|
|
34114
|
+
},
|
|
34115
|
+
"privacy": "private",
|
|
34116
|
+
"default": "0"
|
|
34117
|
+
},
|
|
34118
|
+
{
|
|
34119
|
+
"kind": "field",
|
|
34120
|
+
"name": "autoScrollFrame",
|
|
34121
|
+
"type": {
|
|
34122
|
+
"text": "number | null"
|
|
34123
|
+
},
|
|
34124
|
+
"privacy": "private",
|
|
34125
|
+
"default": "null"
|
|
33616
34126
|
},
|
|
33617
34127
|
{
|
|
33618
34128
|
"kind": "field",
|
|
@@ -33620,90 +34130,117 @@
|
|
|
33620
34130
|
"type": {
|
|
33621
34131
|
"text": "string"
|
|
33622
34132
|
},
|
|
34133
|
+
"default": "''",
|
|
34134
|
+
"description": "The name of the control, submitted as part of form data.",
|
|
33623
34135
|
"attribute": "name"
|
|
33624
34136
|
},
|
|
33625
34137
|
{
|
|
33626
34138
|
"kind": "field",
|
|
33627
34139
|
"name": "value",
|
|
33628
34140
|
"type": {
|
|
33629
|
-
"text": "
|
|
34141
|
+
"text": "string"
|
|
33630
34142
|
},
|
|
33631
|
-
"default": "
|
|
34143
|
+
"default": "''",
|
|
34144
|
+
"description": "The current remarkd source.",
|
|
33632
34145
|
"attribute": "value"
|
|
33633
34146
|
},
|
|
33634
34147
|
{
|
|
33635
34148
|
"kind": "field",
|
|
33636
|
-
"name": "
|
|
34149
|
+
"name": "defaultValue",
|
|
33637
34150
|
"type": {
|
|
33638
|
-
"text": "
|
|
34151
|
+
"text": "string"
|
|
33639
34152
|
},
|
|
33640
|
-
"default": "
|
|
33641
|
-
"
|
|
34153
|
+
"default": "''",
|
|
34154
|
+
"description": "The default value — used when resetting the form."
|
|
33642
34155
|
},
|
|
33643
34156
|
{
|
|
33644
34157
|
"kind": "field",
|
|
33645
|
-
"name": "
|
|
34158
|
+
"name": "placeholder",
|
|
33646
34159
|
"type": {
|
|
33647
|
-
"text": "
|
|
34160
|
+
"text": "string"
|
|
33648
34161
|
},
|
|
33649
|
-
"default": "
|
|
33650
|
-
"
|
|
34162
|
+
"default": "'Type something…'",
|
|
34163
|
+
"description": "Placeholder shown when the document is empty.",
|
|
34164
|
+
"attribute": "placeholder"
|
|
33651
34165
|
},
|
|
33652
34166
|
{
|
|
33653
34167
|
"kind": "field",
|
|
33654
|
-
"name": "
|
|
34168
|
+
"name": "attachmentUrl",
|
|
33655
34169
|
"type": {
|
|
33656
|
-
"text": "
|
|
34170
|
+
"text": "string"
|
|
33657
34171
|
},
|
|
33658
|
-
"default": "
|
|
33659
|
-
"
|
|
34172
|
+
"default": "''",
|
|
34173
|
+
"description": "Endpoint for image uploads — required for image support. Posting the file\nmetadata here must return `{uploadPath, uploadUrl}`; the file is then PUT\nto `uploadUrl` and the returned `uploadPath` is embedded as the image URL.",
|
|
34174
|
+
"attribute": "attachment-url"
|
|
33660
34175
|
},
|
|
33661
34176
|
{
|
|
33662
34177
|
"kind": "field",
|
|
33663
|
-
"name": "
|
|
34178
|
+
"name": "includeUrl",
|
|
34179
|
+
"type": {
|
|
34180
|
+
"text": "string"
|
|
34181
|
+
},
|
|
34182
|
+
"default": "''",
|
|
34183
|
+
"description": "Endpoint listing the Includes this document may embed, as\n`{\"items\":[{id,title,description,scope,keywords,languages,url}]}`. Labels the\nchips rendered for `include::` directives and feeds the include picker.",
|
|
34184
|
+
"attribute": "include-url"
|
|
34185
|
+
},
|
|
34186
|
+
{
|
|
34187
|
+
"kind": "field",
|
|
34188
|
+
"name": "allowRaw",
|
|
33664
34189
|
"type": {
|
|
33665
34190
|
"text": "boolean"
|
|
33666
34191
|
},
|
|
33667
34192
|
"default": "false",
|
|
33668
|
-
"
|
|
34193
|
+
"description": "Adds a toolbar toggle that swaps the block view for the full remarkd source.",
|
|
34194
|
+
"attribute": "allow-raw",
|
|
34195
|
+
"reflects": true
|
|
33669
34196
|
},
|
|
33670
34197
|
{
|
|
33671
34198
|
"kind": "field",
|
|
33672
|
-
"name": "
|
|
34199
|
+
"name": "required",
|
|
33673
34200
|
"type": {
|
|
33674
34201
|
"text": "boolean"
|
|
33675
34202
|
},
|
|
33676
34203
|
"default": "false",
|
|
33677
|
-
"description": "
|
|
33678
|
-
"attribute": "
|
|
34204
|
+
"description": "Makes the editor required for form submission.",
|
|
34205
|
+
"attribute": "required",
|
|
34206
|
+
"reflects": true
|
|
33679
34207
|
},
|
|
33680
34208
|
{
|
|
33681
34209
|
"kind": "field",
|
|
33682
|
-
"name": "
|
|
34210
|
+
"name": "readonly",
|
|
33683
34211
|
"type": {
|
|
33684
|
-
"text": "
|
|
34212
|
+
"text": "boolean"
|
|
33685
34213
|
},
|
|
33686
|
-
"default": "
|
|
33687
|
-
"
|
|
34214
|
+
"default": "false",
|
|
34215
|
+
"description": "Makes the editor read-only.",
|
|
34216
|
+
"attribute": "readonly",
|
|
34217
|
+
"reflects": true
|
|
33688
34218
|
},
|
|
33689
34219
|
{
|
|
33690
34220
|
"kind": "field",
|
|
33691
|
-
"name": "
|
|
34221
|
+
"name": "disabled",
|
|
33692
34222
|
"type": {
|
|
33693
|
-
"text": "
|
|
34223
|
+
"text": "boolean"
|
|
33694
34224
|
},
|
|
33695
|
-
"
|
|
34225
|
+
"default": "false",
|
|
34226
|
+
"description": "Disables the editor.",
|
|
34227
|
+
"attribute": "disabled",
|
|
34228
|
+
"reflects": true
|
|
33696
34229
|
},
|
|
33697
34230
|
{
|
|
33698
34231
|
"kind": "field",
|
|
33699
34232
|
"name": "validity",
|
|
33700
|
-
"
|
|
34233
|
+
"type": {
|
|
34234
|
+
"text": "ValidityState"
|
|
34235
|
+
},
|
|
33701
34236
|
"readonly": true
|
|
33702
34237
|
},
|
|
33703
34238
|
{
|
|
33704
34239
|
"kind": "field",
|
|
33705
34240
|
"name": "validationMessage",
|
|
33706
|
-
"
|
|
34241
|
+
"type": {
|
|
34242
|
+
"text": "string"
|
|
34243
|
+
},
|
|
33707
34244
|
"readonly": true
|
|
33708
34245
|
},
|
|
33709
34246
|
{
|
|
@@ -33713,8 +34250,7 @@
|
|
|
33713
34250
|
"type": {
|
|
33714
34251
|
"text": "boolean"
|
|
33715
34252
|
}
|
|
33716
|
-
}
|
|
33717
|
-
"description": "Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
34253
|
+
}
|
|
33718
34254
|
},
|
|
33719
34255
|
{
|
|
33720
34256
|
"kind": "method",
|
|
@@ -33723,122 +34259,139 @@
|
|
|
33723
34259
|
"type": {
|
|
33724
34260
|
"text": "HTMLFormElement | null"
|
|
33725
34261
|
}
|
|
33726
|
-
}
|
|
33727
|
-
"description": "Gets the associated form, if one exists."
|
|
34262
|
+
}
|
|
33728
34263
|
},
|
|
33729
34264
|
{
|
|
33730
34265
|
"kind": "method",
|
|
33731
34266
|
"name": "reportValidity",
|
|
33732
|
-
"
|
|
34267
|
+
"return": {
|
|
34268
|
+
"type": {
|
|
34269
|
+
"text": "boolean"
|
|
34270
|
+
}
|
|
34271
|
+
}
|
|
33733
34272
|
},
|
|
33734
34273
|
{
|
|
33735
34274
|
"kind": "method",
|
|
33736
34275
|
"name": "setCustomValidity",
|
|
33737
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
33738
|
-
},
|
|
33739
|
-
{
|
|
33740
|
-
"kind": "method",
|
|
33741
|
-
"name": "_roundToPrecision",
|
|
33742
|
-
"privacy": "private",
|
|
33743
34276
|
"return": {
|
|
33744
34277
|
"type": {
|
|
33745
|
-
"text": "
|
|
34278
|
+
"text": "void"
|
|
33746
34279
|
}
|
|
33747
34280
|
},
|
|
33748
34281
|
"parameters": [
|
|
33749
34282
|
{
|
|
33750
|
-
"name": "
|
|
33751
|
-
"type": {
|
|
33752
|
-
"text": "number"
|
|
33753
|
-
}
|
|
33754
|
-
},
|
|
33755
|
-
{
|
|
33756
|
-
"name": "precision",
|
|
34283
|
+
"name": "message",
|
|
33757
34284
|
"type": {
|
|
33758
|
-
"text": "
|
|
34285
|
+
"text": "string"
|
|
33759
34286
|
}
|
|
33760
34287
|
}
|
|
33761
34288
|
]
|
|
33762
34289
|
},
|
|
33763
34290
|
{
|
|
33764
34291
|
"kind": "method",
|
|
33765
|
-
"name": "
|
|
34292
|
+
"name": "focus",
|
|
34293
|
+
"description": "Starts editing the first block, or a new block if the document is empty."
|
|
34294
|
+
},
|
|
34295
|
+
{
|
|
34296
|
+
"kind": "method",
|
|
34297
|
+
"name": "blur",
|
|
34298
|
+
"description": "Commits any in-progress block or raw edit."
|
|
34299
|
+
},
|
|
34300
|
+
{
|
|
34301
|
+
"kind": "method",
|
|
34302
|
+
"name": "handleValueChange"
|
|
34303
|
+
},
|
|
34304
|
+
{
|
|
34305
|
+
"kind": "method",
|
|
34306
|
+
"name": "handleIncludeUrlChange"
|
|
34307
|
+
},
|
|
34308
|
+
{
|
|
34309
|
+
"kind": "method",
|
|
34310
|
+
"name": "splitBlocks",
|
|
33766
34311
|
"privacy": "private",
|
|
33767
34312
|
"return": {
|
|
33768
34313
|
"type": {
|
|
33769
|
-
"text": "
|
|
34314
|
+
"text": "string[]"
|
|
33770
34315
|
}
|
|
33771
34316
|
},
|
|
33772
34317
|
"parameters": [
|
|
33773
34318
|
{
|
|
33774
|
-
"name": "
|
|
34319
|
+
"name": "source",
|
|
33775
34320
|
"type": {
|
|
33776
|
-
"text": "
|
|
34321
|
+
"text": "string"
|
|
33777
34322
|
}
|
|
33778
34323
|
}
|
|
33779
|
-
]
|
|
34324
|
+
],
|
|
34325
|
+
"description": "Splits remarkd source into blocks on blank lines, keeping fenced /\ndelimited containers (``` ==== !!!! .... ---- ____ **** ////) as single blocks."
|
|
33780
34326
|
},
|
|
33781
34327
|
{
|
|
33782
34328
|
"kind": "method",
|
|
33783
|
-
"name": "
|
|
34329
|
+
"name": "fenceMarker",
|
|
33784
34330
|
"privacy": "private",
|
|
33785
34331
|
"return": {
|
|
33786
34332
|
"type": {
|
|
33787
|
-
"text": "string"
|
|
34333
|
+
"text": "string | null"
|
|
33788
34334
|
}
|
|
33789
34335
|
},
|
|
33790
34336
|
"parameters": [
|
|
33791
34337
|
{
|
|
33792
|
-
"name": "
|
|
34338
|
+
"name": "line",
|
|
33793
34339
|
"type": {
|
|
33794
|
-
"text": "
|
|
34340
|
+
"text": "string"
|
|
33795
34341
|
}
|
|
33796
34342
|
}
|
|
33797
34343
|
]
|
|
33798
34344
|
},
|
|
33799
34345
|
{
|
|
33800
34346
|
"kind": "method",
|
|
33801
|
-
"name": "
|
|
34347
|
+
"name": "closesFence",
|
|
33802
34348
|
"privacy": "private",
|
|
33803
34349
|
"return": {
|
|
33804
34350
|
"type": {
|
|
33805
|
-
"text": "
|
|
34351
|
+
"text": "boolean"
|
|
33806
34352
|
}
|
|
33807
34353
|
},
|
|
33808
34354
|
"parameters": [
|
|
33809
34355
|
{
|
|
33810
|
-
"name": "
|
|
34356
|
+
"name": "line",
|
|
33811
34357
|
"type": {
|
|
33812
|
-
"text": "
|
|
34358
|
+
"text": "string"
|
|
34359
|
+
}
|
|
34360
|
+
},
|
|
34361
|
+
{
|
|
34362
|
+
"name": "fence",
|
|
34363
|
+
"type": {
|
|
34364
|
+
"text": "string"
|
|
33813
34365
|
}
|
|
33814
34366
|
}
|
|
33815
34367
|
]
|
|
33816
34368
|
},
|
|
33817
34369
|
{
|
|
33818
34370
|
"kind": "method",
|
|
33819
|
-
"name": "
|
|
34371
|
+
"name": "updateBlocks",
|
|
33820
34372
|
"privacy": "private",
|
|
33821
|
-
"return": {
|
|
33822
|
-
"type": {
|
|
33823
|
-
"text": "number"
|
|
33824
|
-
}
|
|
33825
|
-
},
|
|
33826
34373
|
"parameters": [
|
|
33827
34374
|
{
|
|
33828
|
-
"name": "
|
|
34375
|
+
"name": "blocks",
|
|
33829
34376
|
"type": {
|
|
33830
|
-
"text": "
|
|
34377
|
+
"text": "string[]"
|
|
33831
34378
|
}
|
|
33832
34379
|
}
|
|
33833
34380
|
]
|
|
33834
34381
|
},
|
|
33835
34382
|
{
|
|
33836
34383
|
"kind": "method",
|
|
33837
|
-
"name": "
|
|
34384
|
+
"name": "handleRenderedClick",
|
|
33838
34385
|
"privacy": "private",
|
|
33839
34386
|
"parameters": [
|
|
33840
34387
|
{
|
|
33841
|
-
"name": "
|
|
34388
|
+
"name": "e",
|
|
34389
|
+
"type": {
|
|
34390
|
+
"text": "MouseEvent"
|
|
34391
|
+
}
|
|
34392
|
+
},
|
|
34393
|
+
{
|
|
34394
|
+
"name": "index",
|
|
33842
34395
|
"type": {
|
|
33843
34396
|
"text": "number"
|
|
33844
34397
|
}
|
|
@@ -33847,817 +34400,556 @@
|
|
|
33847
34400
|
},
|
|
33848
34401
|
{
|
|
33849
34402
|
"kind": "method",
|
|
33850
|
-
"name": "
|
|
34403
|
+
"name": "parseImageBlock",
|
|
33851
34404
|
"privacy": "private",
|
|
34405
|
+
"return": {
|
|
34406
|
+
"type": {
|
|
34407
|
+
"text": "ImageBlockData | null"
|
|
34408
|
+
}
|
|
34409
|
+
},
|
|
33852
34410
|
"parameters": [
|
|
33853
34411
|
{
|
|
33854
|
-
"name": "
|
|
34412
|
+
"name": "block",
|
|
33855
34413
|
"type": {
|
|
33856
|
-
"text": "
|
|
34414
|
+
"text": "string"
|
|
33857
34415
|
}
|
|
33858
34416
|
}
|
|
33859
|
-
]
|
|
34417
|
+
],
|
|
34418
|
+
"description": "Parses a block that is purely an image (with optional caption/align lines)."
|
|
33860
34419
|
},
|
|
33861
34420
|
{
|
|
33862
34421
|
"kind": "method",
|
|
33863
|
-
"name": "
|
|
34422
|
+
"name": "parseIncludeBlock",
|
|
33864
34423
|
"privacy": "private",
|
|
34424
|
+
"return": {
|
|
34425
|
+
"type": {
|
|
34426
|
+
"text": "IncludeBlockData | null"
|
|
34427
|
+
}
|
|
34428
|
+
},
|
|
33865
34429
|
"parameters": [
|
|
33866
34430
|
{
|
|
33867
|
-
"name": "
|
|
34431
|
+
"name": "block",
|
|
33868
34432
|
"type": {
|
|
33869
|
-
"text": "
|
|
34433
|
+
"text": "string"
|
|
33870
34434
|
}
|
|
33871
34435
|
}
|
|
33872
|
-
]
|
|
34436
|
+
],
|
|
34437
|
+
"description": "Parses a block that is nothing but an include directive."
|
|
33873
34438
|
},
|
|
33874
34439
|
{
|
|
33875
34440
|
"kind": "method",
|
|
33876
|
-
"name": "
|
|
34441
|
+
"name": "serializeImageBlock",
|
|
33877
34442
|
"privacy": "private",
|
|
34443
|
+
"return": {
|
|
34444
|
+
"type": {
|
|
34445
|
+
"text": "string"
|
|
34446
|
+
}
|
|
34447
|
+
},
|
|
33878
34448
|
"parameters": [
|
|
33879
34449
|
{
|
|
33880
|
-
"name": "
|
|
34450
|
+
"name": "data",
|
|
33881
34451
|
"type": {
|
|
33882
|
-
"text": "
|
|
34452
|
+
"text": "ImageBlockData"
|
|
33883
34453
|
}
|
|
33884
34454
|
}
|
|
33885
34455
|
]
|
|
33886
34456
|
},
|
|
33887
34457
|
{
|
|
33888
34458
|
"kind": "method",
|
|
33889
|
-
"name": "
|
|
33890
|
-
"privacy": "private"
|
|
33891
|
-
},
|
|
33892
|
-
{
|
|
33893
|
-
"kind": "method",
|
|
33894
|
-
"name": "_handleTouchStart",
|
|
34459
|
+
"name": "toggleCheckbox",
|
|
33895
34460
|
"privacy": "private",
|
|
33896
34461
|
"parameters": [
|
|
33897
34462
|
{
|
|
33898
|
-
"name": "
|
|
34463
|
+
"name": "index",
|
|
33899
34464
|
"type": {
|
|
33900
|
-
"text": "
|
|
34465
|
+
"text": "number"
|
|
34466
|
+
}
|
|
34467
|
+
},
|
|
34468
|
+
{
|
|
34469
|
+
"name": "checkbox",
|
|
34470
|
+
"type": {
|
|
34471
|
+
"text": "HTMLInputElement"
|
|
33901
34472
|
}
|
|
33902
34473
|
}
|
|
33903
34474
|
]
|
|
33904
34475
|
},
|
|
33905
34476
|
{
|
|
33906
34477
|
"kind": "method",
|
|
33907
|
-
"name": "
|
|
34478
|
+
"name": "startEdit",
|
|
33908
34479
|
"privacy": "private",
|
|
33909
34480
|
"parameters": [
|
|
33910
34481
|
{
|
|
33911
|
-
"name": "
|
|
34482
|
+
"name": "index",
|
|
33912
34483
|
"type": {
|
|
33913
|
-
"text": "
|
|
34484
|
+
"text": "number"
|
|
34485
|
+
}
|
|
34486
|
+
},
|
|
34487
|
+
{
|
|
34488
|
+
"name": "draft",
|
|
34489
|
+
"optional": true,
|
|
34490
|
+
"type": {
|
|
34491
|
+
"text": "string"
|
|
34492
|
+
}
|
|
34493
|
+
},
|
|
34494
|
+
{
|
|
34495
|
+
"name": "align",
|
|
34496
|
+
"default": "'nearest'",
|
|
34497
|
+
"type": {
|
|
34498
|
+
"text": "'nearest' | 'center'"
|
|
34499
|
+
}
|
|
34500
|
+
},
|
|
34501
|
+
{
|
|
34502
|
+
"name": "caretOffset",
|
|
34503
|
+
"optional": true,
|
|
34504
|
+
"type": {
|
|
34505
|
+
"text": "number"
|
|
33914
34506
|
}
|
|
33915
34507
|
}
|
|
33916
34508
|
]
|
|
33917
34509
|
},
|
|
33918
34510
|
{
|
|
33919
34511
|
"kind": "method",
|
|
33920
|
-
"name": "
|
|
34512
|
+
"name": "updateImageEdit",
|
|
33921
34513
|
"privacy": "private",
|
|
33922
34514
|
"parameters": [
|
|
33923
34515
|
{
|
|
33924
|
-
"name": "
|
|
34516
|
+
"name": "patch",
|
|
33925
34517
|
"type": {
|
|
33926
|
-
"text": "
|
|
34518
|
+
"text": "Partial<ImageBlockData>"
|
|
33927
34519
|
}
|
|
33928
34520
|
}
|
|
33929
34521
|
]
|
|
33930
|
-
}
|
|
33931
|
-
],
|
|
33932
|
-
"events": [
|
|
33933
|
-
{
|
|
33934
|
-
"description": "Emitted as an example.",
|
|
33935
|
-
"name": "zn-event-name"
|
|
33936
|
-
}
|
|
33937
|
-
],
|
|
33938
|
-
"attributes": [
|
|
33939
|
-
{
|
|
33940
|
-
"name": "label",
|
|
33941
|
-
"type": {
|
|
33942
|
-
"text": "string"
|
|
33943
|
-
},
|
|
33944
|
-
"fieldName": "label"
|
|
33945
34522
|
},
|
|
33946
34523
|
{
|
|
33947
|
-
"
|
|
33948
|
-
"
|
|
33949
|
-
|
|
33950
|
-
},
|
|
33951
|
-
"default": "''",
|
|
33952
|
-
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
33953
|
-
"fieldName": "helpText"
|
|
34524
|
+
"kind": "field",
|
|
34525
|
+
"name": "saveImageEdit",
|
|
34526
|
+
"privacy": "private"
|
|
33954
34527
|
},
|
|
33955
34528
|
{
|
|
33956
|
-
"
|
|
33957
|
-
"
|
|
33958
|
-
|
|
33959
|
-
},
|
|
33960
|
-
"fieldName": "name"
|
|
34529
|
+
"kind": "field",
|
|
34530
|
+
"name": "closeImageEdit",
|
|
34531
|
+
"privacy": "private"
|
|
33961
34532
|
},
|
|
33962
34533
|
{
|
|
33963
|
-
"
|
|
33964
|
-
"
|
|
33965
|
-
|
|
33966
|
-
},
|
|
33967
|
-
"default": "0",
|
|
33968
|
-
"fieldName": "value"
|
|
34534
|
+
"kind": "field",
|
|
34535
|
+
"name": "deleteImageBlock",
|
|
34536
|
+
"privacy": "private"
|
|
33969
34537
|
},
|
|
33970
34538
|
{
|
|
33971
|
-
"
|
|
33972
|
-
"
|
|
33973
|
-
|
|
33974
|
-
},
|
|
33975
|
-
"default": "5",
|
|
33976
|
-
"fieldName": "max"
|
|
34539
|
+
"kind": "field",
|
|
34540
|
+
"name": "editImageSource",
|
|
34541
|
+
"privacy": "private"
|
|
33977
34542
|
},
|
|
33978
34543
|
{
|
|
33979
|
-
"
|
|
33980
|
-
"
|
|
33981
|
-
|
|
33982
|
-
},
|
|
33983
|
-
"default": "1",
|
|
33984
|
-
"fieldName": "precision"
|
|
34544
|
+
"kind": "field",
|
|
34545
|
+
"name": "handleImageControlsKeydown",
|
|
34546
|
+
"privacy": "private"
|
|
33985
34547
|
},
|
|
33986
34548
|
{
|
|
33987
|
-
"
|
|
33988
|
-
"
|
|
33989
|
-
|
|
34549
|
+
"kind": "method",
|
|
34550
|
+
"name": "computeEditShell",
|
|
34551
|
+
"privacy": "private",
|
|
34552
|
+
"return": {
|
|
34553
|
+
"type": {
|
|
34554
|
+
"text": "string"
|
|
34555
|
+
}
|
|
33990
34556
|
},
|
|
33991
|
-
"
|
|
33992
|
-
|
|
34557
|
+
"parameters": [
|
|
34558
|
+
{
|
|
34559
|
+
"name": "draft",
|
|
34560
|
+
"type": {
|
|
34561
|
+
"text": "string"
|
|
34562
|
+
}
|
|
34563
|
+
}
|
|
34564
|
+
],
|
|
34565
|
+
"description": "The remarkd chrome the editing block should keep, derived from its first\nline — so a NOTE still looks like a note while its source is edited."
|
|
33993
34566
|
},
|
|
33994
34567
|
{
|
|
33995
|
-
"
|
|
33996
|
-
"
|
|
33997
|
-
|
|
33998
|
-
|
|
33999
|
-
|
|
34000
|
-
|
|
34568
|
+
"kind": "method",
|
|
34569
|
+
"name": "focusInput",
|
|
34570
|
+
"privacy": "private",
|
|
34571
|
+
"parameters": [
|
|
34572
|
+
{
|
|
34573
|
+
"name": "align",
|
|
34574
|
+
"default": "'nearest'",
|
|
34575
|
+
"type": {
|
|
34576
|
+
"text": "'nearest' | 'center'"
|
|
34577
|
+
}
|
|
34578
|
+
},
|
|
34579
|
+
{
|
|
34580
|
+
"name": "caretOffset",
|
|
34581
|
+
"optional": true,
|
|
34582
|
+
"type": {
|
|
34583
|
+
"text": "number"
|
|
34584
|
+
}
|
|
34585
|
+
}
|
|
34586
|
+
]
|
|
34001
34587
|
},
|
|
34002
34588
|
{
|
|
34003
|
-
"
|
|
34004
|
-
"
|
|
34005
|
-
|
|
34006
|
-
|
|
34007
|
-
|
|
34008
|
-
|
|
34009
|
-
|
|
34589
|
+
"kind": "method",
|
|
34590
|
+
"name": "reveal",
|
|
34591
|
+
"privacy": "private",
|
|
34592
|
+
"parameters": [
|
|
34593
|
+
{
|
|
34594
|
+
"name": "el",
|
|
34595
|
+
"type": {
|
|
34596
|
+
"text": "Element | null | undefined"
|
|
34597
|
+
}
|
|
34598
|
+
},
|
|
34599
|
+
{
|
|
34600
|
+
"name": "align",
|
|
34601
|
+
"default": "'nearest'",
|
|
34602
|
+
"type": {
|
|
34603
|
+
"text": "'nearest' | 'center'"
|
|
34604
|
+
}
|
|
34605
|
+
}
|
|
34606
|
+
],
|
|
34607
|
+
"description": "Scrolls the editor's own body to bring `el` into view. Never `scrollIntoView()` and\nnever `focus()` without preventScroll: both walk every scrollable ancestor, and an\n`overflow: hidden`/`auto` panel around the editor is scrollable too — that shifts a\ncontainer the user never asked to move."
|
|
34010
34608
|
},
|
|
34011
34609
|
{
|
|
34012
|
-
"
|
|
34013
|
-
"
|
|
34014
|
-
|
|
34015
|
-
|
|
34016
|
-
|
|
34017
|
-
|
|
34610
|
+
"kind": "method",
|
|
34611
|
+
"name": "revealAfterUpdate",
|
|
34612
|
+
"privacy": "private",
|
|
34613
|
+
"parameters": [
|
|
34614
|
+
{
|
|
34615
|
+
"name": "selector",
|
|
34616
|
+
"type": {
|
|
34617
|
+
"text": "string"
|
|
34618
|
+
}
|
|
34619
|
+
},
|
|
34620
|
+
{
|
|
34621
|
+
"name": "align",
|
|
34622
|
+
"default": "'nearest'",
|
|
34623
|
+
"type": {
|
|
34624
|
+
"text": "'nearest' | 'center'"
|
|
34625
|
+
}
|
|
34626
|
+
}
|
|
34627
|
+
]
|
|
34018
34628
|
},
|
|
34019
34629
|
{
|
|
34020
|
-
"
|
|
34021
|
-
"
|
|
34022
|
-
|
|
34023
|
-
|
|
34024
|
-
|
|
34025
|
-
|
|
34026
|
-
|
|
34027
|
-
|
|
34028
|
-
|
|
34029
|
-
|
|
34030
|
-
|
|
34031
|
-
|
|
34032
|
-
"tagNameWithoutPrefix": "rating",
|
|
34033
|
-
"tagName": "zn-rating",
|
|
34034
|
-
"customElement": true,
|
|
34035
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/rating\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n * @slot help-text - Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart form-control - The form control that wraps the symbols and help text.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart preview - The value shown next to the symbols when `preview` is enabled.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --preview-color - The color of the preview value.\n * @cssproperty --preview-size - The font size of the preview value.\n */",
|
|
34036
|
-
"documentation": "https://zinc.style/components/rating",
|
|
34037
|
-
"status": "experimental",
|
|
34038
|
-
"since": "1.0",
|
|
34039
|
-
"dependencies": [
|
|
34040
|
-
"zn-example"
|
|
34041
|
-
]
|
|
34042
|
-
}
|
|
34043
|
-
],
|
|
34044
|
-
"exports": [
|
|
34045
|
-
{
|
|
34046
|
-
"kind": "js",
|
|
34047
|
-
"name": "default",
|
|
34048
|
-
"declaration": {
|
|
34049
|
-
"name": "ZnRating",
|
|
34050
|
-
"module": "components/rating/rating.js"
|
|
34051
|
-
}
|
|
34052
|
-
}
|
|
34053
|
-
]
|
|
34054
|
-
},
|
|
34055
|
-
{
|
|
34056
|
-
"kind": "javascript-module",
|
|
34057
|
-
"path": "components/remarkd-editor/remarkd-editor.js",
|
|
34058
|
-
"declarations": [
|
|
34059
|
-
{
|
|
34060
|
-
"kind": "class",
|
|
34061
|
-
"description": "",
|
|
34062
|
-
"name": "ZnRemarkdEditor",
|
|
34063
|
-
"cssProperties": [
|
|
34064
|
-
{
|
|
34065
|
-
"description": "The tallest the editor grows before its body scrolls. Defaults to `100dvh`.",
|
|
34066
|
-
"name": "--remarkd-editor-max-height"
|
|
34067
|
-
}
|
|
34068
|
-
],
|
|
34069
|
-
"cssParts": [
|
|
34070
|
-
{
|
|
34071
|
-
"description": "The component's base wrapper.",
|
|
34072
|
-
"name": "base"
|
|
34630
|
+
"kind": "method",
|
|
34631
|
+
"name": "revealBlock",
|
|
34632
|
+
"privacy": "private",
|
|
34633
|
+
"parameters": [
|
|
34634
|
+
{
|
|
34635
|
+
"name": "index",
|
|
34636
|
+
"type": {
|
|
34637
|
+
"text": "number"
|
|
34638
|
+
}
|
|
34639
|
+
}
|
|
34640
|
+
],
|
|
34641
|
+
"description": "Centres a block added without opening an editor. An image has no height until it\nloads, so the first pass scrolls against a layout that is still short — the second\npass corrects it once the real dimensions are in."
|
|
34073
34642
|
},
|
|
34074
34643
|
{
|
|
34075
|
-
"
|
|
34076
|
-
"name": "
|
|
34644
|
+
"kind": "method",
|
|
34645
|
+
"name": "addBlockAt",
|
|
34646
|
+
"privacy": "private",
|
|
34647
|
+
"parameters": [
|
|
34648
|
+
{
|
|
34649
|
+
"name": "index",
|
|
34650
|
+
"type": {
|
|
34651
|
+
"text": "number"
|
|
34652
|
+
}
|
|
34653
|
+
},
|
|
34654
|
+
{
|
|
34655
|
+
"name": "content",
|
|
34656
|
+
"type": {
|
|
34657
|
+
"text": "string"
|
|
34658
|
+
}
|
|
34659
|
+
}
|
|
34660
|
+
]
|
|
34077
34661
|
},
|
|
34078
34662
|
{
|
|
34079
|
-
"
|
|
34080
|
-
"name": "
|
|
34663
|
+
"kind": "method",
|
|
34664
|
+
"name": "deleteBlock",
|
|
34665
|
+
"privacy": "private",
|
|
34666
|
+
"parameters": [
|
|
34667
|
+
{
|
|
34668
|
+
"name": "index",
|
|
34669
|
+
"type": {
|
|
34670
|
+
"text": "number"
|
|
34671
|
+
}
|
|
34672
|
+
}
|
|
34673
|
+
]
|
|
34081
34674
|
},
|
|
34082
34675
|
{
|
|
34083
|
-
"
|
|
34084
|
-
"name": "
|
|
34676
|
+
"kind": "method",
|
|
34677
|
+
"name": "insertDraftBlock",
|
|
34678
|
+
"privacy": "private",
|
|
34679
|
+
"parameters": [
|
|
34680
|
+
{
|
|
34681
|
+
"name": "index",
|
|
34682
|
+
"type": {
|
|
34683
|
+
"text": "number"
|
|
34684
|
+
}
|
|
34685
|
+
},
|
|
34686
|
+
{
|
|
34687
|
+
"name": "prefill",
|
|
34688
|
+
"default": "''"
|
|
34689
|
+
},
|
|
34690
|
+
{
|
|
34691
|
+
"name": "caretOffset",
|
|
34692
|
+
"optional": true,
|
|
34693
|
+
"type": {
|
|
34694
|
+
"text": "number"
|
|
34695
|
+
}
|
|
34696
|
+
}
|
|
34697
|
+
],
|
|
34698
|
+
"description": "Inserts a draft block — committed (or dropped, if left empty) on blur."
|
|
34085
34699
|
},
|
|
34086
34700
|
{
|
|
34087
|
-
"
|
|
34088
|
-
"name": "
|
|
34701
|
+
"kind": "field",
|
|
34702
|
+
"name": "handleEditBlur",
|
|
34703
|
+
"privacy": "private",
|
|
34704
|
+
"description": "Blur handler for the editing textarea. Re-renders that replace the\nfocused textarea (e.g. Shift+Enter committing and opening the next\nblock) fire blur mid-transition — `suppressBlurCommit` masks those."
|
|
34089
34705
|
},
|
|
34090
34706
|
{
|
|
34091
|
-
"
|
|
34092
|
-
"name": "
|
|
34707
|
+
"kind": "field",
|
|
34708
|
+
"name": "commitEdit",
|
|
34709
|
+
"privacy": "private",
|
|
34710
|
+
"description": "Commits the in-progress edit; returns the index after the committed parts."
|
|
34093
34711
|
},
|
|
34094
34712
|
{
|
|
34095
|
-
"
|
|
34096
|
-
"name": "
|
|
34713
|
+
"kind": "field",
|
|
34714
|
+
"name": "handleDraftInput",
|
|
34715
|
+
"privacy": "private"
|
|
34097
34716
|
},
|
|
34098
34717
|
{
|
|
34099
|
-
"
|
|
34100
|
-
"name": "
|
|
34718
|
+
"kind": "field",
|
|
34719
|
+
"name": "handleEditKeydown",
|
|
34720
|
+
"privacy": "private"
|
|
34101
34721
|
},
|
|
34102
34722
|
{
|
|
34103
|
-
"
|
|
34104
|
-
"name": "
|
|
34723
|
+
"kind": "method",
|
|
34724
|
+
"name": "isSlashBlock",
|
|
34725
|
+
"privacy": "private",
|
|
34726
|
+
"return": {
|
|
34727
|
+
"type": {
|
|
34728
|
+
"text": "boolean"
|
|
34729
|
+
}
|
|
34730
|
+
},
|
|
34731
|
+
"description": "Whether the block being edited is nothing but the slash command."
|
|
34105
34732
|
},
|
|
34106
34733
|
{
|
|
34107
|
-
"
|
|
34108
|
-
"name": "
|
|
34734
|
+
"kind": "method",
|
|
34735
|
+
"name": "mountSlashMenu",
|
|
34736
|
+
"privacy": "private",
|
|
34737
|
+
"return": {
|
|
34738
|
+
"type": {
|
|
34739
|
+
"text": "Promise<ZnSlashMenu | null>"
|
|
34740
|
+
}
|
|
34741
|
+
}
|
|
34109
34742
|
},
|
|
34110
34743
|
{
|
|
34111
|
-
"
|
|
34112
|
-
"name": "
|
|
34744
|
+
"kind": "method",
|
|
34745
|
+
"name": "handleSlashSelect",
|
|
34746
|
+
"privacy": "private",
|
|
34747
|
+
"return": {
|
|
34748
|
+
"type": {
|
|
34749
|
+
"text": "boolean"
|
|
34750
|
+
}
|
|
34751
|
+
},
|
|
34752
|
+
"parameters": [
|
|
34753
|
+
{
|
|
34754
|
+
"name": "item",
|
|
34755
|
+
"type": {
|
|
34756
|
+
"text": "SlashMenuItem"
|
|
34757
|
+
}
|
|
34758
|
+
}
|
|
34759
|
+
],
|
|
34760
|
+
"description": "Returns false for items the controller should not insert text for."
|
|
34113
34761
|
},
|
|
34114
34762
|
{
|
|
34115
|
-
"
|
|
34116
|
-
"name": "
|
|
34763
|
+
"kind": "field",
|
|
34764
|
+
"name": "handleEditPaste",
|
|
34765
|
+
"privacy": "private"
|
|
34117
34766
|
},
|
|
34118
|
-
{
|
|
34119
|
-
"description": "The inline Include picker opened from the toolbar or \"/include\".",
|
|
34120
|
-
"name": "include-picker"
|
|
34121
|
-
}
|
|
34122
|
-
],
|
|
34123
|
-
"members": [
|
|
34124
34767
|
{
|
|
34125
34768
|
"kind": "field",
|
|
34126
|
-
"name": "
|
|
34127
|
-
"
|
|
34128
|
-
"text": "object"
|
|
34129
|
-
},
|
|
34130
|
-
"static": true,
|
|
34131
|
-
"default": "{ 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-slash-menu': ZnSlashMenu }"
|
|
34769
|
+
"name": "handleDragOver",
|
|
34770
|
+
"privacy": "private"
|
|
34132
34771
|
},
|
|
34133
34772
|
{
|
|
34134
34773
|
"kind": "field",
|
|
34135
|
-
"name": "
|
|
34136
|
-
"privacy": "private"
|
|
34137
|
-
"readonly": true,
|
|
34138
|
-
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-input', 'zn-change'], })"
|
|
34774
|
+
"name": "handleDrop",
|
|
34775
|
+
"privacy": "private"
|
|
34139
34776
|
},
|
|
34140
34777
|
{
|
|
34141
|
-
"kind": "
|
|
34142
|
-
"name": "
|
|
34778
|
+
"kind": "method",
|
|
34779
|
+
"name": "insertionIndexFromY",
|
|
34143
34780
|
"privacy": "private",
|
|
34144
|
-
"
|
|
34145
|
-
|
|
34781
|
+
"return": {
|
|
34782
|
+
"type": {
|
|
34783
|
+
"text": "number"
|
|
34784
|
+
}
|
|
34785
|
+
},
|
|
34786
|
+
"parameters": [
|
|
34787
|
+
{
|
|
34788
|
+
"name": "y",
|
|
34789
|
+
"type": {
|
|
34790
|
+
"text": "number"
|
|
34791
|
+
}
|
|
34792
|
+
}
|
|
34793
|
+
],
|
|
34794
|
+
"description": "The insertion index a drop at `y` maps to, from the rendered block positions."
|
|
34146
34795
|
},
|
|
34147
34796
|
{
|
|
34148
34797
|
"kind": "field",
|
|
34149
|
-
"name": "
|
|
34150
|
-
"privacy": "private"
|
|
34151
|
-
"readonly": true,
|
|
34152
|
-
"default": "new ToolbarOverflowController(this, { groups: () => [...(this.shadowRoot?.querySelectorAll<HTMLElement>('.toolbar__group') ?? [])], container: () => this.shadowRoot?.querySelector<HTMLElement>('.remarkd-editor__toolbar'), })"
|
|
34798
|
+
"name": "handleHandlePointerDown",
|
|
34799
|
+
"privacy": "private"
|
|
34153
34800
|
},
|
|
34154
34801
|
{
|
|
34155
34802
|
"kind": "field",
|
|
34156
|
-
"name": "
|
|
34157
|
-
"
|
|
34158
|
-
"text": "string"
|
|
34159
|
-
},
|
|
34160
|
-
"privacy": "private",
|
|
34161
|
-
"default": "''"
|
|
34803
|
+
"name": "handleDragPointerMove",
|
|
34804
|
+
"privacy": "private"
|
|
34162
34805
|
},
|
|
34163
34806
|
{
|
|
34164
34807
|
"kind": "field",
|
|
34165
|
-
"name": "
|
|
34166
|
-
"type": {
|
|
34167
|
-
"text": "Promise<IncludeOption[]> | null"
|
|
34168
|
-
},
|
|
34808
|
+
"name": "stepAutoScroll",
|
|
34169
34809
|
"privacy": "private",
|
|
34170
|
-
"
|
|
34810
|
+
"description": "Holding the pointer near a scroll edge keeps the content moving, so a block can\nbe dragged past the visible slice of a long document. Runs per frame rather than\nper pointermove — a pointer parked at the edge stops emitting moves."
|
|
34171
34811
|
},
|
|
34172
34812
|
{
|
|
34173
|
-
"kind": "
|
|
34174
|
-
"name": "
|
|
34175
|
-
"type": {
|
|
34176
|
-
"text": "string"
|
|
34177
|
-
},
|
|
34813
|
+
"kind": "method",
|
|
34814
|
+
"name": "autoScroll",
|
|
34178
34815
|
"privacy": "private",
|
|
34179
|
-
"
|
|
34816
|
+
"return": {
|
|
34817
|
+
"type": {
|
|
34818
|
+
"text": "boolean"
|
|
34819
|
+
}
|
|
34820
|
+
},
|
|
34821
|
+
"description": "Scrolls the editor body, falling through to the page once the body is at its limit."
|
|
34180
34822
|
},
|
|
34181
34823
|
{
|
|
34182
|
-
"kind": "
|
|
34183
|
-
"name": "
|
|
34184
|
-
"type": {
|
|
34185
|
-
"text": "boolean"
|
|
34186
|
-
},
|
|
34824
|
+
"kind": "method",
|
|
34825
|
+
"name": "edgeScrollDelta",
|
|
34187
34826
|
"privacy": "private",
|
|
34188
|
-
"
|
|
34189
|
-
|
|
34190
|
-
|
|
34191
|
-
|
|
34192
|
-
"name": "suppressBlurCommit",
|
|
34193
|
-
"type": {
|
|
34194
|
-
"text": "boolean"
|
|
34827
|
+
"return": {
|
|
34828
|
+
"type": {
|
|
34829
|
+
"text": "number"
|
|
34830
|
+
}
|
|
34195
34831
|
},
|
|
34196
|
-
"
|
|
34197
|
-
|
|
34832
|
+
"parameters": [
|
|
34833
|
+
{
|
|
34834
|
+
"name": "top",
|
|
34835
|
+
"type": {
|
|
34836
|
+
"text": "number"
|
|
34837
|
+
}
|
|
34838
|
+
},
|
|
34839
|
+
{
|
|
34840
|
+
"name": "bottom",
|
|
34841
|
+
"type": {
|
|
34842
|
+
"text": "number"
|
|
34843
|
+
}
|
|
34844
|
+
}
|
|
34845
|
+
],
|
|
34846
|
+
"description": "Scroll step for this frame: nothing until the pointer is within `edge` of a boundary."
|
|
34198
34847
|
},
|
|
34199
34848
|
{
|
|
34200
34849
|
"kind": "field",
|
|
34201
|
-
"name": "
|
|
34202
|
-
"type": {
|
|
34203
|
-
"text": "HTMLTextAreaElement"
|
|
34204
|
-
},
|
|
34850
|
+
"name": "handleDragPointerUp",
|
|
34205
34851
|
"privacy": "private"
|
|
34206
34852
|
},
|
|
34207
34853
|
{
|
|
34208
34854
|
"kind": "field",
|
|
34209
|
-
"name": "
|
|
34210
|
-
"type": {
|
|
34211
|
-
"text": "ZnSlashMenu | null"
|
|
34212
|
-
},
|
|
34855
|
+
"name": "cancelDrag",
|
|
34213
34856
|
"privacy": "private"
|
|
34214
34857
|
},
|
|
34215
|
-
{
|
|
34216
|
-
"kind": "field",
|
|
34217
|
-
"name": "blocks",
|
|
34218
|
-
"type": {
|
|
34219
|
-
"text": "string[]"
|
|
34220
|
-
},
|
|
34221
|
-
"privacy": "private",
|
|
34222
|
-
"default": "[]"
|
|
34223
|
-
},
|
|
34224
|
-
{
|
|
34225
|
-
"kind": "field",
|
|
34226
|
-
"name": "editingIndex",
|
|
34227
|
-
"type": {
|
|
34228
|
-
"text": "number | null"
|
|
34229
|
-
},
|
|
34230
|
-
"privacy": "private",
|
|
34231
|
-
"default": "null"
|
|
34232
|
-
},
|
|
34233
|
-
{
|
|
34234
|
-
"kind": "field",
|
|
34235
|
-
"name": "slashRecentKey",
|
|
34236
|
-
"type": {
|
|
34237
|
-
"text": "string"
|
|
34238
|
-
},
|
|
34239
|
-
"default": "''",
|
|
34240
|
-
"description": "Lists the blocks most recently inserted here above the rest of the slash menu, remembered in\n`localStorage` under this key. Leave unset to offer no recently used section.",
|
|
34241
|
-
"attribute": "slash-recent-key"
|
|
34242
|
-
},
|
|
34243
|
-
{
|
|
34244
|
-
"kind": "field",
|
|
34245
|
-
"name": "hasSlashMenu",
|
|
34246
|
-
"type": {
|
|
34247
|
-
"text": "boolean"
|
|
34248
|
-
},
|
|
34249
|
-
"privacy": "private",
|
|
34250
|
-
"default": "false",
|
|
34251
|
-
"description": "Renders the slash menu only once it has been needed."
|
|
34252
|
-
},
|
|
34253
|
-
{
|
|
34254
|
-
"kind": "field",
|
|
34255
|
-
"name": "imagePickerIndex",
|
|
34256
|
-
"type": {
|
|
34257
|
-
"text": "number | null"
|
|
34258
|
-
},
|
|
34259
|
-
"privacy": "private",
|
|
34260
|
-
"default": "null"
|
|
34261
|
-
},
|
|
34262
|
-
{
|
|
34263
|
-
"kind": "field",
|
|
34264
|
-
"name": "imageEdit",
|
|
34265
|
-
"type": {
|
|
34266
|
-
"text": "ImageBlockData | null"
|
|
34267
|
-
},
|
|
34268
|
-
"privacy": "private",
|
|
34269
|
-
"default": "null"
|
|
34270
|
-
},
|
|
34271
|
-
{
|
|
34272
|
-
"kind": "field",
|
|
34273
|
-
"name": "dropIndicator",
|
|
34274
|
-
"type": {
|
|
34275
|
-
"text": "number | null"
|
|
34276
|
-
},
|
|
34277
|
-
"privacy": "private",
|
|
34278
|
-
"default": "null"
|
|
34279
|
-
},
|
|
34280
|
-
{
|
|
34281
|
-
"kind": "field",
|
|
34282
|
-
"name": "dragIndex",
|
|
34283
|
-
"type": {
|
|
34284
|
-
"text": "number | null"
|
|
34285
|
-
},
|
|
34286
|
-
"privacy": "private",
|
|
34287
|
-
"default": "null"
|
|
34288
|
-
},
|
|
34289
|
-
{
|
|
34290
|
-
"kind": "field",
|
|
34291
|
-
"name": "editShell",
|
|
34292
|
-
"type": {
|
|
34293
|
-
"text": "string"
|
|
34294
|
-
},
|
|
34295
|
-
"privacy": "private",
|
|
34296
|
-
"default": "''"
|
|
34297
|
-
},
|
|
34298
|
-
{
|
|
34299
|
-
"kind": "field",
|
|
34300
|
-
"name": "rawMode",
|
|
34301
|
-
"type": {
|
|
34302
|
-
"text": "boolean"
|
|
34303
|
-
},
|
|
34304
|
-
"privacy": "private",
|
|
34305
|
-
"default": "false"
|
|
34306
|
-
},
|
|
34307
|
-
{
|
|
34308
|
-
"kind": "field",
|
|
34309
|
-
"name": "includeOptions",
|
|
34310
|
-
"type": {
|
|
34311
|
-
"text": "IncludeOption[] | null"
|
|
34312
|
-
},
|
|
34313
|
-
"privacy": "private",
|
|
34314
|
-
"default": "null"
|
|
34315
|
-
},
|
|
34316
|
-
{
|
|
34317
|
-
"kind": "field",
|
|
34318
|
-
"name": "includeLoadFailed",
|
|
34319
|
-
"type": {
|
|
34320
|
-
"text": "boolean"
|
|
34321
|
-
},
|
|
34322
|
-
"privacy": "private",
|
|
34323
|
-
"default": "false"
|
|
34324
|
-
},
|
|
34325
|
-
{
|
|
34326
|
-
"kind": "field",
|
|
34327
|
-
"name": "includePickerIndex",
|
|
34328
|
-
"type": {
|
|
34329
|
-
"text": "number | null"
|
|
34330
|
-
},
|
|
34331
|
-
"privacy": "private",
|
|
34332
|
-
"default": "null"
|
|
34333
|
-
},
|
|
34334
|
-
{
|
|
34335
|
-
"kind": "field",
|
|
34336
|
-
"name": "includeQuery",
|
|
34337
|
-
"type": {
|
|
34338
|
-
"text": "string"
|
|
34339
|
-
},
|
|
34340
|
-
"privacy": "private",
|
|
34341
|
-
"default": "''"
|
|
34342
|
-
},
|
|
34343
|
-
{
|
|
34344
|
-
"kind": "field",
|
|
34345
|
-
"name": "pendingDragHandle",
|
|
34346
|
-
"type": {
|
|
34347
|
-
"text": "HTMLElement | null"
|
|
34348
|
-
},
|
|
34349
|
-
"privacy": "private",
|
|
34350
|
-
"default": "null"
|
|
34351
|
-
},
|
|
34352
|
-
{
|
|
34353
|
-
"kind": "field",
|
|
34354
|
-
"name": "dragStartX",
|
|
34355
|
-
"type": {
|
|
34356
|
-
"text": "number"
|
|
34357
|
-
},
|
|
34358
|
-
"privacy": "private",
|
|
34359
|
-
"default": "0"
|
|
34360
|
-
},
|
|
34361
|
-
{
|
|
34362
|
-
"kind": "field",
|
|
34363
|
-
"name": "dragStartY",
|
|
34364
|
-
"type": {
|
|
34365
|
-
"text": "number"
|
|
34366
|
-
},
|
|
34367
|
-
"privacy": "private",
|
|
34368
|
-
"default": "0"
|
|
34369
|
-
},
|
|
34370
|
-
{
|
|
34371
|
-
"kind": "field",
|
|
34372
|
-
"name": "dragGhost",
|
|
34373
|
-
"type": {
|
|
34374
|
-
"text": "HTMLElement | null"
|
|
34375
|
-
},
|
|
34376
|
-
"privacy": "private",
|
|
34377
|
-
"default": "null"
|
|
34378
|
-
},
|
|
34379
|
-
{
|
|
34380
|
-
"kind": "field",
|
|
34381
|
-
"name": "dragPointerY",
|
|
34382
|
-
"type": {
|
|
34383
|
-
"text": "number"
|
|
34384
|
-
},
|
|
34385
|
-
"privacy": "private",
|
|
34386
|
-
"default": "0"
|
|
34387
|
-
},
|
|
34388
|
-
{
|
|
34389
|
-
"kind": "field",
|
|
34390
|
-
"name": "autoScrollFrame",
|
|
34391
|
-
"type": {
|
|
34392
|
-
"text": "number | null"
|
|
34393
|
-
},
|
|
34394
|
-
"privacy": "private",
|
|
34395
|
-
"default": "null"
|
|
34396
|
-
},
|
|
34397
|
-
{
|
|
34398
|
-
"kind": "field",
|
|
34399
|
-
"name": "name",
|
|
34400
|
-
"type": {
|
|
34401
|
-
"text": "string"
|
|
34402
|
-
},
|
|
34403
|
-
"default": "''",
|
|
34404
|
-
"description": "The name of the control, submitted as part of form data.",
|
|
34405
|
-
"attribute": "name"
|
|
34406
|
-
},
|
|
34407
|
-
{
|
|
34408
|
-
"kind": "field",
|
|
34409
|
-
"name": "value",
|
|
34410
|
-
"type": {
|
|
34411
|
-
"text": "string"
|
|
34412
|
-
},
|
|
34413
|
-
"default": "''",
|
|
34414
|
-
"description": "The current remarkd source.",
|
|
34415
|
-
"attribute": "value"
|
|
34416
|
-
},
|
|
34417
|
-
{
|
|
34418
|
-
"kind": "field",
|
|
34419
|
-
"name": "defaultValue",
|
|
34420
|
-
"type": {
|
|
34421
|
-
"text": "string"
|
|
34422
|
-
},
|
|
34423
|
-
"default": "''",
|
|
34424
|
-
"description": "The default value — used when resetting the form."
|
|
34425
|
-
},
|
|
34426
|
-
{
|
|
34427
|
-
"kind": "field",
|
|
34428
|
-
"name": "placeholder",
|
|
34429
|
-
"type": {
|
|
34430
|
-
"text": "string"
|
|
34431
|
-
},
|
|
34432
|
-
"default": "'Type something…'",
|
|
34433
|
-
"description": "Placeholder shown when the document is empty.",
|
|
34434
|
-
"attribute": "placeholder"
|
|
34435
|
-
},
|
|
34436
|
-
{
|
|
34437
|
-
"kind": "field",
|
|
34438
|
-
"name": "attachmentUrl",
|
|
34439
|
-
"type": {
|
|
34440
|
-
"text": "string"
|
|
34441
|
-
},
|
|
34442
|
-
"default": "''",
|
|
34443
|
-
"description": "Endpoint for image uploads — required for image support. Posting the file\nmetadata here must return `{uploadPath, uploadUrl}`; the file is then PUT\nto `uploadUrl` and the returned `uploadPath` is embedded as the image URL.",
|
|
34444
|
-
"attribute": "attachment-url"
|
|
34445
|
-
},
|
|
34446
|
-
{
|
|
34447
|
-
"kind": "field",
|
|
34448
|
-
"name": "includeUrl",
|
|
34449
|
-
"type": {
|
|
34450
|
-
"text": "string"
|
|
34451
|
-
},
|
|
34452
|
-
"default": "''",
|
|
34453
|
-
"description": "Endpoint listing the Includes this document may embed, as\n`{\"items\":[{id,title,description,scope,keywords,languages,url}]}`. Labels the\nchips rendered for `include::` directives and feeds the include picker.",
|
|
34454
|
-
"attribute": "include-url"
|
|
34455
|
-
},
|
|
34456
|
-
{
|
|
34457
|
-
"kind": "field",
|
|
34458
|
-
"name": "allowRaw",
|
|
34459
|
-
"type": {
|
|
34460
|
-
"text": "boolean"
|
|
34461
|
-
},
|
|
34462
|
-
"default": "false",
|
|
34463
|
-
"description": "Adds a toolbar toggle that swaps the block view for the full remarkd source.",
|
|
34464
|
-
"attribute": "allow-raw",
|
|
34465
|
-
"reflects": true
|
|
34466
|
-
},
|
|
34467
|
-
{
|
|
34468
|
-
"kind": "field",
|
|
34469
|
-
"name": "required",
|
|
34470
|
-
"type": {
|
|
34471
|
-
"text": "boolean"
|
|
34472
|
-
},
|
|
34473
|
-
"default": "false",
|
|
34474
|
-
"description": "Makes the editor required for form submission.",
|
|
34475
|
-
"attribute": "required",
|
|
34476
|
-
"reflects": true
|
|
34477
|
-
},
|
|
34478
|
-
{
|
|
34479
|
-
"kind": "field",
|
|
34480
|
-
"name": "readonly",
|
|
34481
|
-
"type": {
|
|
34482
|
-
"text": "boolean"
|
|
34483
|
-
},
|
|
34484
|
-
"default": "false",
|
|
34485
|
-
"description": "Makes the editor read-only.",
|
|
34486
|
-
"attribute": "readonly",
|
|
34487
|
-
"reflects": true
|
|
34488
|
-
},
|
|
34489
|
-
{
|
|
34490
|
-
"kind": "field",
|
|
34491
|
-
"name": "disabled",
|
|
34492
|
-
"type": {
|
|
34493
|
-
"text": "boolean"
|
|
34494
|
-
},
|
|
34495
|
-
"default": "false",
|
|
34496
|
-
"description": "Disables the editor.",
|
|
34497
|
-
"attribute": "disabled",
|
|
34498
|
-
"reflects": true
|
|
34499
|
-
},
|
|
34500
|
-
{
|
|
34501
|
-
"kind": "field",
|
|
34502
|
-
"name": "validity",
|
|
34503
|
-
"type": {
|
|
34504
|
-
"text": "ValidityState"
|
|
34505
|
-
},
|
|
34506
|
-
"readonly": true
|
|
34507
|
-
},
|
|
34508
|
-
{
|
|
34509
|
-
"kind": "field",
|
|
34510
|
-
"name": "validationMessage",
|
|
34511
|
-
"type": {
|
|
34512
|
-
"text": "string"
|
|
34513
|
-
},
|
|
34514
|
-
"readonly": true
|
|
34515
|
-
},
|
|
34516
|
-
{
|
|
34517
|
-
"kind": "method",
|
|
34518
|
-
"name": "checkValidity",
|
|
34519
|
-
"return": {
|
|
34520
|
-
"type": {
|
|
34521
|
-
"text": "boolean"
|
|
34522
|
-
}
|
|
34523
|
-
}
|
|
34524
|
-
},
|
|
34525
|
-
{
|
|
34526
|
-
"kind": "method",
|
|
34527
|
-
"name": "getForm",
|
|
34528
|
-
"return": {
|
|
34529
|
-
"type": {
|
|
34530
|
-
"text": "HTMLFormElement | null"
|
|
34531
|
-
}
|
|
34532
|
-
}
|
|
34533
|
-
},
|
|
34534
|
-
{
|
|
34535
|
-
"kind": "method",
|
|
34536
|
-
"name": "reportValidity",
|
|
34537
|
-
"return": {
|
|
34538
|
-
"type": {
|
|
34539
|
-
"text": "boolean"
|
|
34540
|
-
}
|
|
34541
|
-
}
|
|
34542
|
-
},
|
|
34543
34858
|
{
|
|
34544
34859
|
"kind": "method",
|
|
34545
|
-
"name": "
|
|
34546
|
-
"
|
|
34547
|
-
"type": {
|
|
34548
|
-
"text": "void"
|
|
34549
|
-
}
|
|
34550
|
-
},
|
|
34860
|
+
"name": "createDragGhost",
|
|
34861
|
+
"privacy": "private",
|
|
34551
34862
|
"parameters": [
|
|
34552
34863
|
{
|
|
34553
|
-
"name": "
|
|
34864
|
+
"name": "index",
|
|
34554
34865
|
"type": {
|
|
34555
|
-
"text": "
|
|
34866
|
+
"text": "number"
|
|
34556
34867
|
}
|
|
34557
34868
|
}
|
|
34558
34869
|
]
|
|
34559
34870
|
},
|
|
34560
34871
|
{
|
|
34561
34872
|
"kind": "method",
|
|
34562
|
-
"name": "
|
|
34563
|
-
"description": "Starts editing the first block, or a new block if the document is empty."
|
|
34564
|
-
},
|
|
34565
|
-
{
|
|
34566
|
-
"kind": "method",
|
|
34567
|
-
"name": "blur",
|
|
34568
|
-
"description": "Commits any in-progress block or raw edit."
|
|
34569
|
-
},
|
|
34570
|
-
{
|
|
34571
|
-
"kind": "method",
|
|
34572
|
-
"name": "handleValueChange"
|
|
34573
|
-
},
|
|
34574
|
-
{
|
|
34575
|
-
"kind": "method",
|
|
34576
|
-
"name": "handleIncludeUrlChange"
|
|
34577
|
-
},
|
|
34578
|
-
{
|
|
34579
|
-
"kind": "method",
|
|
34580
|
-
"name": "splitBlocks",
|
|
34873
|
+
"name": "moveDragGhost",
|
|
34581
34874
|
"privacy": "private",
|
|
34582
|
-
"return": {
|
|
34583
|
-
"type": {
|
|
34584
|
-
"text": "string[]"
|
|
34585
|
-
}
|
|
34586
|
-
},
|
|
34587
34875
|
"parameters": [
|
|
34588
34876
|
{
|
|
34589
|
-
"name": "
|
|
34877
|
+
"name": "x",
|
|
34590
34878
|
"type": {
|
|
34591
|
-
"text": "
|
|
34879
|
+
"text": "number"
|
|
34880
|
+
}
|
|
34881
|
+
},
|
|
34882
|
+
{
|
|
34883
|
+
"name": "y",
|
|
34884
|
+
"type": {
|
|
34885
|
+
"text": "number"
|
|
34592
34886
|
}
|
|
34593
34887
|
}
|
|
34594
|
-
]
|
|
34595
|
-
"description": "Splits remarkd source into blocks on blank lines, keeping fenced /\ndelimited containers (``` ==== !!!! .... ---- ____ **** ////) as single blocks."
|
|
34888
|
+
]
|
|
34596
34889
|
},
|
|
34597
34890
|
{
|
|
34598
34891
|
"kind": "method",
|
|
34599
|
-
"name": "
|
|
34892
|
+
"name": "pickImage",
|
|
34600
34893
|
"privacy": "private",
|
|
34601
|
-
"return": {
|
|
34602
|
-
"type": {
|
|
34603
|
-
"text": "string | null"
|
|
34604
|
-
}
|
|
34605
|
-
},
|
|
34606
34894
|
"parameters": [
|
|
34607
34895
|
{
|
|
34608
|
-
"name": "
|
|
34896
|
+
"name": "index",
|
|
34609
34897
|
"type": {
|
|
34610
|
-
"text": "
|
|
34898
|
+
"text": "number"
|
|
34611
34899
|
}
|
|
34612
34900
|
}
|
|
34613
34901
|
]
|
|
34614
34902
|
},
|
|
34615
34903
|
{
|
|
34616
34904
|
"kind": "method",
|
|
34617
|
-
"name": "
|
|
34905
|
+
"name": "pickInclude",
|
|
34618
34906
|
"privacy": "private",
|
|
34619
|
-
"return": {
|
|
34620
|
-
"type": {
|
|
34621
|
-
"text": "boolean"
|
|
34622
|
-
}
|
|
34623
|
-
},
|
|
34624
34907
|
"parameters": [
|
|
34625
34908
|
{
|
|
34626
|
-
"name": "
|
|
34627
|
-
"type": {
|
|
34628
|
-
"text": "string"
|
|
34629
|
-
}
|
|
34630
|
-
},
|
|
34631
|
-
{
|
|
34632
|
-
"name": "fence",
|
|
34909
|
+
"name": "index",
|
|
34633
34910
|
"type": {
|
|
34634
|
-
"text": "
|
|
34911
|
+
"text": "number"
|
|
34635
34912
|
}
|
|
34636
34913
|
}
|
|
34637
34914
|
]
|
|
34638
34915
|
},
|
|
34916
|
+
{
|
|
34917
|
+
"kind": "field",
|
|
34918
|
+
"name": "closeIncludePicker",
|
|
34919
|
+
"privacy": "private"
|
|
34920
|
+
},
|
|
34639
34921
|
{
|
|
34640
34922
|
"kind": "method",
|
|
34641
|
-
"name": "
|
|
34923
|
+
"name": "insertInclude",
|
|
34642
34924
|
"privacy": "private",
|
|
34643
34925
|
"parameters": [
|
|
34644
34926
|
{
|
|
34645
|
-
"name": "
|
|
34927
|
+
"name": "item",
|
|
34646
34928
|
"type": {
|
|
34647
|
-
"text": "
|
|
34929
|
+
"text": "IncludeOption"
|
|
34648
34930
|
}
|
|
34649
34931
|
}
|
|
34650
34932
|
]
|
|
34651
34933
|
},
|
|
34934
|
+
{
|
|
34935
|
+
"kind": "field",
|
|
34936
|
+
"name": "closeImagePicker",
|
|
34937
|
+
"privacy": "private"
|
|
34938
|
+
},
|
|
34939
|
+
{
|
|
34940
|
+
"kind": "field",
|
|
34941
|
+
"name": "handleImagePicked",
|
|
34942
|
+
"privacy": "private"
|
|
34943
|
+
},
|
|
34652
34944
|
{
|
|
34653
34945
|
"kind": "method",
|
|
34654
|
-
"name": "
|
|
34946
|
+
"name": "insertImage",
|
|
34655
34947
|
"privacy": "private",
|
|
34656
34948
|
"parameters": [
|
|
34657
34949
|
{
|
|
34658
|
-
"name": "
|
|
34950
|
+
"name": "file",
|
|
34659
34951
|
"type": {
|
|
34660
|
-
"text": "
|
|
34952
|
+
"text": "File"
|
|
34661
34953
|
}
|
|
34662
34954
|
},
|
|
34663
34955
|
{
|
|
@@ -34670,778 +34962,996 @@
|
|
|
34670
34962
|
},
|
|
34671
34963
|
{
|
|
34672
34964
|
"kind": "method",
|
|
34673
|
-
"name": "
|
|
34965
|
+
"name": "uploadImage",
|
|
34674
34966
|
"privacy": "private",
|
|
34675
34967
|
"return": {
|
|
34676
34968
|
"type": {
|
|
34677
|
-
"text": "
|
|
34969
|
+
"text": "Promise<string>"
|
|
34678
34970
|
}
|
|
34679
34971
|
},
|
|
34680
34972
|
"parameters": [
|
|
34681
34973
|
{
|
|
34682
|
-
"name": "
|
|
34974
|
+
"name": "file",
|
|
34683
34975
|
"type": {
|
|
34684
|
-
"text": "
|
|
34976
|
+
"text": "File"
|
|
34685
34977
|
}
|
|
34686
34978
|
}
|
|
34687
|
-
]
|
|
34688
|
-
"description": "Parses a block that is purely an image (with optional caption/align lines)."
|
|
34979
|
+
]
|
|
34689
34980
|
},
|
|
34690
34981
|
{
|
|
34691
34982
|
"kind": "method",
|
|
34692
|
-
"name": "
|
|
34983
|
+
"name": "appPath",
|
|
34693
34984
|
"privacy": "private",
|
|
34694
34985
|
"return": {
|
|
34695
34986
|
"type": {
|
|
34696
|
-
"text": "
|
|
34987
|
+
"text": "string"
|
|
34697
34988
|
}
|
|
34698
34989
|
},
|
|
34699
34990
|
"parameters": [
|
|
34700
34991
|
{
|
|
34701
|
-
"name": "
|
|
34992
|
+
"name": "path",
|
|
34702
34993
|
"type": {
|
|
34703
34994
|
"text": "string"
|
|
34704
34995
|
}
|
|
34705
34996
|
}
|
|
34706
34997
|
],
|
|
34707
|
-
"description": "
|
|
34998
|
+
"description": "Resolves an app-relative path the way the console's pagelet handler does:\nan app fragment's URLs sit under the app base, and the console puts the app's\n`gaid` on the host element. Links rendered here live in the shadow root,\nwhere a click retargets to the host, so that handler never sees them — the\nhref has to carry the base itself."
|
|
34708
34999
|
},
|
|
34709
35000
|
{
|
|
34710
35001
|
"kind": "method",
|
|
34711
|
-
"name": "
|
|
35002
|
+
"name": "hasIncludeBlock",
|
|
34712
35003
|
"privacy": "private",
|
|
34713
35004
|
"return": {
|
|
34714
35005
|
"type": {
|
|
34715
|
-
"text": "
|
|
34716
|
-
}
|
|
34717
|
-
},
|
|
34718
|
-
"parameters": [
|
|
34719
|
-
{
|
|
34720
|
-
"name": "data",
|
|
34721
|
-
"type": {
|
|
34722
|
-
"text": "ImageBlockData"
|
|
34723
|
-
}
|
|
35006
|
+
"text": "boolean"
|
|
34724
35007
|
}
|
|
34725
|
-
|
|
35008
|
+
}
|
|
34726
35009
|
},
|
|
34727
35010
|
{
|
|
34728
35011
|
"kind": "method",
|
|
34729
|
-
"name": "
|
|
35012
|
+
"name": "loadIncludeOptions",
|
|
34730
35013
|
"privacy": "private",
|
|
34731
|
-
"
|
|
34732
|
-
{
|
|
34733
|
-
"
|
|
34734
|
-
"type": {
|
|
34735
|
-
"text": "number"
|
|
34736
|
-
}
|
|
34737
|
-
},
|
|
34738
|
-
{
|
|
34739
|
-
"name": "checkbox",
|
|
34740
|
-
"type": {
|
|
34741
|
-
"text": "HTMLInputElement"
|
|
34742
|
-
}
|
|
35014
|
+
"return": {
|
|
35015
|
+
"type": {
|
|
35016
|
+
"text": "Promise<IncludeOption[]>"
|
|
34743
35017
|
}
|
|
34744
|
-
|
|
35018
|
+
},
|
|
35019
|
+
"description": "Fetches the include list once; every later caller shares the same promise."
|
|
34745
35020
|
},
|
|
34746
35021
|
{
|
|
34747
35022
|
"kind": "method",
|
|
34748
|
-
"name": "
|
|
35023
|
+
"name": "autosize",
|
|
34749
35024
|
"privacy": "private",
|
|
34750
35025
|
"parameters": [
|
|
34751
35026
|
{
|
|
34752
|
-
"name": "
|
|
34753
|
-
"type": {
|
|
34754
|
-
"text": "number"
|
|
34755
|
-
}
|
|
34756
|
-
},
|
|
34757
|
-
{
|
|
34758
|
-
"name": "draft",
|
|
34759
|
-
"optional": true,
|
|
34760
|
-
"type": {
|
|
34761
|
-
"text": "string"
|
|
34762
|
-
}
|
|
34763
|
-
},
|
|
34764
|
-
{
|
|
34765
|
-
"name": "align",
|
|
34766
|
-
"default": "'nearest'",
|
|
34767
|
-
"type": {
|
|
34768
|
-
"text": "'nearest' | 'center'"
|
|
34769
|
-
}
|
|
34770
|
-
},
|
|
34771
|
-
{
|
|
34772
|
-
"name": "caretOffset",
|
|
34773
|
-
"optional": true,
|
|
35027
|
+
"name": "input",
|
|
34774
35028
|
"type": {
|
|
34775
|
-
"text": "
|
|
35029
|
+
"text": "HTMLTextAreaElement"
|
|
34776
35030
|
}
|
|
34777
35031
|
}
|
|
34778
35032
|
]
|
|
34779
35033
|
},
|
|
34780
35034
|
{
|
|
34781
35035
|
"kind": "method",
|
|
34782
|
-
"name": "
|
|
35036
|
+
"name": "applyInline",
|
|
34783
35037
|
"privacy": "private",
|
|
34784
35038
|
"parameters": [
|
|
34785
35039
|
{
|
|
34786
|
-
"name": "
|
|
35040
|
+
"name": "mark",
|
|
34787
35041
|
"type": {
|
|
34788
|
-
"text": "
|
|
35042
|
+
"text": "InlineMark"
|
|
34789
35043
|
}
|
|
34790
35044
|
}
|
|
34791
|
-
]
|
|
35045
|
+
],
|
|
35046
|
+
"description": "Applies an inline mark to the open block's textarea: wraps the selection, toggles the\nmark off when it is already wrapped, or inserts a selected placeholder when there is\nno selection. Goes through `editingDraft` so `zn-input` still fires."
|
|
34792
35047
|
},
|
|
34793
35048
|
{
|
|
34794
35049
|
"kind": "field",
|
|
34795
|
-
"name": "
|
|
35050
|
+
"name": "toggleRawMode",
|
|
34796
35051
|
"privacy": "private"
|
|
34797
35052
|
},
|
|
34798
35053
|
{
|
|
34799
|
-
"kind": "
|
|
34800
|
-
"name": "
|
|
35054
|
+
"kind": "method",
|
|
35055
|
+
"name": "focusRaw",
|
|
34801
35056
|
"privacy": "private"
|
|
34802
35057
|
},
|
|
34803
35058
|
{
|
|
34804
35059
|
"kind": "field",
|
|
34805
|
-
"name": "
|
|
34806
|
-
"privacy": "private"
|
|
35060
|
+
"name": "handleRawInput",
|
|
35061
|
+
"privacy": "private",
|
|
35062
|
+
"description": "Raw mode keeps the whole document in one textarea, so the textarea — not\nthe block list — is authoritative while it is open: re-splitting on every\nkeystroke would normalise blank lines out from under the cursor."
|
|
34807
35063
|
},
|
|
34808
35064
|
{
|
|
34809
35065
|
"kind": "field",
|
|
34810
|
-
"name": "
|
|
34811
|
-
"privacy": "private"
|
|
35066
|
+
"name": "commitRaw",
|
|
35067
|
+
"privacy": "private",
|
|
35068
|
+
"description": "Re-splits the raw source into blocks. Not `updateBlocks` — that only\nreports a change when the re-join differs from the value, and raw edits\nhave already written straight to the value."
|
|
34812
35069
|
},
|
|
34813
35070
|
{
|
|
34814
|
-
"kind": "
|
|
34815
|
-
"name": "
|
|
35071
|
+
"kind": "method",
|
|
35072
|
+
"name": "handleToolbarInsert",
|
|
35073
|
+
"privacy": "private",
|
|
35074
|
+
"parameters": [
|
|
35075
|
+
{
|
|
35076
|
+
"name": "action",
|
|
35077
|
+
"type": {
|
|
35078
|
+
"text": "EditorAction"
|
|
35079
|
+
}
|
|
35080
|
+
}
|
|
35081
|
+
]
|
|
35082
|
+
},
|
|
35083
|
+
{
|
|
35084
|
+
"kind": "method",
|
|
35085
|
+
"name": "renderImageControls",
|
|
34816
35086
|
"privacy": "private"
|
|
34817
35087
|
},
|
|
34818
35088
|
{
|
|
34819
35089
|
"kind": "method",
|
|
34820
|
-
"name": "
|
|
35090
|
+
"name": "renderIncludeChip",
|
|
34821
35091
|
"privacy": "private",
|
|
34822
|
-
"return": {
|
|
34823
|
-
"type": {
|
|
34824
|
-
"text": "string"
|
|
34825
|
-
}
|
|
34826
|
-
},
|
|
34827
35092
|
"parameters": [
|
|
34828
35093
|
{
|
|
34829
|
-
"name": "
|
|
35094
|
+
"name": "data",
|
|
34830
35095
|
"type": {
|
|
34831
|
-
"text": "
|
|
35096
|
+
"text": "IncludeBlockData"
|
|
34832
35097
|
}
|
|
34833
35098
|
}
|
|
34834
|
-
]
|
|
34835
|
-
"description": "The remarkd chrome the editing block should keep, derived from its first\nline — so a NOTE still looks like a note while its source is edited."
|
|
35099
|
+
]
|
|
34836
35100
|
},
|
|
34837
35101
|
{
|
|
34838
35102
|
"kind": "method",
|
|
34839
|
-
"name": "
|
|
35103
|
+
"name": "renderMetaChips",
|
|
34840
35104
|
"privacy": "private",
|
|
34841
35105
|
"parameters": [
|
|
34842
35106
|
{
|
|
34843
|
-
"name": "
|
|
34844
|
-
"default": "'nearest'",
|
|
35107
|
+
"name": "lines",
|
|
34845
35108
|
"type": {
|
|
34846
|
-
"text": "
|
|
35109
|
+
"text": "MetaLine[]"
|
|
34847
35110
|
}
|
|
34848
|
-
}
|
|
35111
|
+
}
|
|
35112
|
+
],
|
|
35113
|
+
"description": "A metadata-only block parses to nothing, so show each of its lines as a chip instead."
|
|
35114
|
+
},
|
|
35115
|
+
{
|
|
35116
|
+
"kind": "method",
|
|
35117
|
+
"name": "renderMetaChip",
|
|
35118
|
+
"privacy": "private",
|
|
35119
|
+
"parameters": [
|
|
34849
35120
|
{
|
|
34850
|
-
"name": "
|
|
34851
|
-
"optional": true,
|
|
35121
|
+
"name": "line",
|
|
34852
35122
|
"type": {
|
|
34853
|
-
"text": "
|
|
35123
|
+
"text": "MetaLine"
|
|
34854
35124
|
}
|
|
34855
35125
|
}
|
|
34856
|
-
]
|
|
35126
|
+
],
|
|
35127
|
+
"description": "One shared chip treatment for every metadata line kind — each kind just supplies an\nicon, a name, and an optional value/state, display-only in all three cases."
|
|
34857
35128
|
},
|
|
34858
35129
|
{
|
|
34859
35130
|
"kind": "method",
|
|
34860
|
-
"name": "
|
|
35131
|
+
"name": "markVariables",
|
|
34861
35132
|
"privacy": "private",
|
|
34862
35133
|
"parameters": [
|
|
34863
35134
|
{
|
|
34864
|
-
"name": "
|
|
35135
|
+
"name": "root",
|
|
34865
35136
|
"type": {
|
|
34866
|
-
"text": "Element
|
|
35137
|
+
"text": "Element"
|
|
34867
35138
|
}
|
|
34868
|
-
}
|
|
35139
|
+
}
|
|
35140
|
+
],
|
|
35141
|
+
"description": "Wraps `{name}` references so they read as variables rather than literal text. Walks text\nnodes and skips code, so a brace in a sample stays a brace, and no regex touches markup."
|
|
35142
|
+
},
|
|
35143
|
+
{
|
|
35144
|
+
"kind": "method",
|
|
35145
|
+
"name": "renderConditional",
|
|
35146
|
+
"privacy": "private",
|
|
35147
|
+
"return": {
|
|
35148
|
+
"type": {
|
|
35149
|
+
"text": "TemplateResult | null"
|
|
35150
|
+
}
|
|
35151
|
+
},
|
|
35152
|
+
"parameters": [
|
|
34869
35153
|
{
|
|
34870
|
-
"name": "
|
|
34871
|
-
"default": "'nearest'",
|
|
35154
|
+
"name": "block",
|
|
34872
35155
|
"type": {
|
|
34873
|
-
"text": "
|
|
35156
|
+
"text": "string"
|
|
34874
35157
|
}
|
|
34875
35158
|
}
|
|
34876
35159
|
],
|
|
34877
|
-
"description": "
|
|
35160
|
+
"description": "A conditional range as a labelled wrapper. The inner content is parsed without the\ndirective lines: evaluating instead would blank the block whenever the flag is not\ndefined in this same block, hiding the author's content while they edit it. It also\nkeeps both halves of an if/else idiom visible — with evaluation you could never see\nthe `ifndef` branch while the `ifdef` condition held. Nesting is handled by\n`splitConditionalParts`/`renderConditionalWrapper` below, recursively."
|
|
34878
35161
|
},
|
|
34879
35162
|
{
|
|
34880
35163
|
"kind": "method",
|
|
34881
|
-
"name": "
|
|
35164
|
+
"name": "renderBlock",
|
|
34882
35165
|
"privacy": "private",
|
|
34883
35166
|
"parameters": [
|
|
34884
35167
|
{
|
|
34885
|
-
"name": "
|
|
35168
|
+
"name": "block",
|
|
34886
35169
|
"type": {
|
|
34887
35170
|
"text": "string"
|
|
34888
35171
|
}
|
|
34889
35172
|
},
|
|
34890
35173
|
{
|
|
34891
|
-
"name": "
|
|
34892
|
-
"default": "'nearest'",
|
|
35174
|
+
"name": "index",
|
|
34893
35175
|
"type": {
|
|
34894
|
-
"text": "
|
|
35176
|
+
"text": "number"
|
|
34895
35177
|
}
|
|
34896
35178
|
}
|
|
34897
35179
|
]
|
|
34898
35180
|
},
|
|
34899
35181
|
{
|
|
34900
35182
|
"kind": "method",
|
|
34901
|
-
"name": "
|
|
35183
|
+
"name": "isActionDisabled",
|
|
34902
35184
|
"privacy": "private",
|
|
35185
|
+
"return": {
|
|
35186
|
+
"type": {
|
|
35187
|
+
"text": "boolean"
|
|
35188
|
+
}
|
|
35189
|
+
},
|
|
34903
35190
|
"parameters": [
|
|
34904
35191
|
{
|
|
34905
|
-
"name": "
|
|
35192
|
+
"name": "action",
|
|
34906
35193
|
"type": {
|
|
34907
|
-
"text": "
|
|
35194
|
+
"text": "EditorAction"
|
|
34908
35195
|
}
|
|
34909
35196
|
}
|
|
34910
35197
|
],
|
|
34911
|
-
"description": "
|
|
35198
|
+
"description": "An inline action needs an open block to apply its mark to."
|
|
34912
35199
|
},
|
|
34913
35200
|
{
|
|
34914
35201
|
"kind": "method",
|
|
34915
|
-
"name": "
|
|
35202
|
+
"name": "activateAction",
|
|
34916
35203
|
"privacy": "private",
|
|
34917
35204
|
"parameters": [
|
|
34918
35205
|
{
|
|
34919
|
-
"name": "
|
|
34920
|
-
"type": {
|
|
34921
|
-
"text": "number"
|
|
34922
|
-
}
|
|
34923
|
-
},
|
|
34924
|
-
{
|
|
34925
|
-
"name": "content",
|
|
35206
|
+
"name": "action",
|
|
34926
35207
|
"type": {
|
|
34927
|
-
"text": "
|
|
35208
|
+
"text": "EditorAction"
|
|
34928
35209
|
}
|
|
34929
35210
|
}
|
|
34930
|
-
]
|
|
35211
|
+
],
|
|
35212
|
+
"description": "Routes a toolbar/menu action to the inline or block insert path — the one place both\n`renderAction` and `renderMenuAction` call, so the bar and the overflow menu cannot\ndrift out of sync on what a given action actually does."
|
|
34931
35213
|
},
|
|
34932
35214
|
{
|
|
34933
35215
|
"kind": "method",
|
|
34934
|
-
"name": "
|
|
35216
|
+
"name": "renderAction",
|
|
34935
35217
|
"privacy": "private",
|
|
34936
35218
|
"parameters": [
|
|
34937
35219
|
{
|
|
34938
|
-
"name": "
|
|
35220
|
+
"name": "action",
|
|
34939
35221
|
"type": {
|
|
34940
|
-
"text": "
|
|
35222
|
+
"text": "EditorAction"
|
|
34941
35223
|
}
|
|
34942
35224
|
}
|
|
34943
|
-
]
|
|
35225
|
+
],
|
|
35226
|
+
"description": "A single toolbar action button, shared by the toolbar bar and the overflow menu."
|
|
34944
35227
|
},
|
|
34945
35228
|
{
|
|
34946
35229
|
"kind": "method",
|
|
34947
|
-
"name": "
|
|
35230
|
+
"name": "renderMenuAction",
|
|
34948
35231
|
"privacy": "private",
|
|
34949
35232
|
"parameters": [
|
|
34950
35233
|
{
|
|
34951
|
-
"name": "
|
|
34952
|
-
"type": {
|
|
34953
|
-
"text": "number"
|
|
34954
|
-
}
|
|
34955
|
-
},
|
|
34956
|
-
{
|
|
34957
|
-
"name": "prefill",
|
|
34958
|
-
"default": "''"
|
|
34959
|
-
},
|
|
34960
|
-
{
|
|
34961
|
-
"name": "caretOffset",
|
|
34962
|
-
"optional": true,
|
|
35234
|
+
"name": "action",
|
|
34963
35235
|
"type": {
|
|
34964
|
-
"text": "
|
|
35236
|
+
"text": "EditorAction"
|
|
34965
35237
|
}
|
|
34966
35238
|
}
|
|
34967
35239
|
],
|
|
34968
|
-
"description": "
|
|
35240
|
+
"description": "The same action, rendered as a menu item for the overflow menu."
|
|
34969
35241
|
},
|
|
34970
35242
|
{
|
|
34971
|
-
"kind": "
|
|
34972
|
-
"name": "
|
|
34973
|
-
"privacy": "private"
|
|
34974
|
-
"description": "Blur handler for the editing textarea. Re-renders that replace the\nfocused textarea (e.g. Shift+Enter committing and opening the next\nblock) fire blur mid-transition — `suppressBlurCommit` masks those."
|
|
35243
|
+
"kind": "method",
|
|
35244
|
+
"name": "renderRaw",
|
|
35245
|
+
"privacy": "private"
|
|
34975
35246
|
},
|
|
34976
35247
|
{
|
|
34977
|
-
"kind": "
|
|
34978
|
-
"name": "
|
|
35248
|
+
"kind": "method",
|
|
35249
|
+
"name": "renderBody",
|
|
34979
35250
|
"privacy": "private",
|
|
34980
|
-
"description": "
|
|
35251
|
+
"description": "The block views, with the inline image picker spliced in when active."
|
|
34981
35252
|
},
|
|
34982
35253
|
{
|
|
34983
|
-
"kind": "
|
|
34984
|
-
"name": "
|
|
35254
|
+
"kind": "method",
|
|
35255
|
+
"name": "renderIncludePicker",
|
|
34985
35256
|
"privacy": "private"
|
|
34986
35257
|
},
|
|
34987
35258
|
{
|
|
34988
|
-
"kind": "
|
|
34989
|
-
"name": "
|
|
35259
|
+
"kind": "method",
|
|
35260
|
+
"name": "renderImagePicker",
|
|
34990
35261
|
"privacy": "private"
|
|
35262
|
+
}
|
|
35263
|
+
],
|
|
35264
|
+
"events": [
|
|
35265
|
+
{
|
|
35266
|
+
"description": "Emitted on each keystroke while editing a block.",
|
|
35267
|
+
"name": "zn-input"
|
|
34991
35268
|
},
|
|
34992
35269
|
{
|
|
34993
|
-
"
|
|
34994
|
-
"name": "
|
|
34995
|
-
|
|
34996
|
-
|
|
34997
|
-
|
|
34998
|
-
|
|
34999
|
-
|
|
35270
|
+
"description": "Emitted when a block edit is committed and the value changes.",
|
|
35271
|
+
"name": "zn-change"
|
|
35272
|
+
}
|
|
35273
|
+
],
|
|
35274
|
+
"attributes": [
|
|
35275
|
+
{
|
|
35276
|
+
"name": "slash-recent-key",
|
|
35277
|
+
"type": {
|
|
35278
|
+
"text": "string"
|
|
35000
35279
|
},
|
|
35001
|
-
"
|
|
35280
|
+
"default": "''",
|
|
35281
|
+
"description": "Lists the blocks most recently inserted here above the rest of the slash menu, remembered in\n`localStorage` under this key. Leave unset to offer no recently used section.",
|
|
35282
|
+
"fieldName": "slashRecentKey"
|
|
35002
35283
|
},
|
|
35003
35284
|
{
|
|
35004
|
-
"
|
|
35005
|
-
"
|
|
35006
|
-
|
|
35007
|
-
|
|
35008
|
-
|
|
35009
|
-
|
|
35010
|
-
|
|
35011
|
-
}
|
|
35285
|
+
"name": "name",
|
|
35286
|
+
"type": {
|
|
35287
|
+
"text": "string"
|
|
35288
|
+
},
|
|
35289
|
+
"default": "''",
|
|
35290
|
+
"description": "The name of the control, submitted as part of form data.",
|
|
35291
|
+
"fieldName": "name"
|
|
35012
35292
|
},
|
|
35013
35293
|
{
|
|
35014
|
-
"
|
|
35015
|
-
"
|
|
35016
|
-
|
|
35017
|
-
"return": {
|
|
35018
|
-
"type": {
|
|
35019
|
-
"text": "boolean"
|
|
35020
|
-
}
|
|
35294
|
+
"name": "value",
|
|
35295
|
+
"type": {
|
|
35296
|
+
"text": "string"
|
|
35021
35297
|
},
|
|
35022
|
-
"
|
|
35023
|
-
|
|
35024
|
-
|
|
35025
|
-
"type": {
|
|
35026
|
-
"text": "SlashMenuItem"
|
|
35027
|
-
}
|
|
35028
|
-
}
|
|
35029
|
-
],
|
|
35030
|
-
"description": "Returns false for items the controller should not insert text for."
|
|
35298
|
+
"default": "''",
|
|
35299
|
+
"description": "The current remarkd source.",
|
|
35300
|
+
"fieldName": "value"
|
|
35031
35301
|
},
|
|
35032
35302
|
{
|
|
35033
|
-
"
|
|
35034
|
-
"
|
|
35035
|
-
|
|
35303
|
+
"name": "placeholder",
|
|
35304
|
+
"type": {
|
|
35305
|
+
"text": "string"
|
|
35306
|
+
},
|
|
35307
|
+
"default": "'Type something…'",
|
|
35308
|
+
"description": "Placeholder shown when the document is empty.",
|
|
35309
|
+
"fieldName": "placeholder"
|
|
35036
35310
|
},
|
|
35037
35311
|
{
|
|
35038
|
-
"
|
|
35039
|
-
"
|
|
35040
|
-
|
|
35312
|
+
"name": "attachment-url",
|
|
35313
|
+
"type": {
|
|
35314
|
+
"text": "string"
|
|
35315
|
+
},
|
|
35316
|
+
"default": "''",
|
|
35317
|
+
"description": "Endpoint for image uploads — required for image support. Posting the file\nmetadata here must return `{uploadPath, uploadUrl}`; the file is then PUT\nto `uploadUrl` and the returned `uploadPath` is embedded as the image URL.",
|
|
35318
|
+
"fieldName": "attachmentUrl"
|
|
35041
35319
|
},
|
|
35042
35320
|
{
|
|
35043
|
-
"
|
|
35044
|
-
"
|
|
35045
|
-
|
|
35321
|
+
"name": "include-url",
|
|
35322
|
+
"type": {
|
|
35323
|
+
"text": "string"
|
|
35324
|
+
},
|
|
35325
|
+
"default": "''",
|
|
35326
|
+
"description": "Endpoint listing the Includes this document may embed, as\n`{\"items\":[{id,title,description,scope,keywords,languages,url}]}`. Labels the\nchips rendered for `include::` directives and feeds the include picker.",
|
|
35327
|
+
"fieldName": "includeUrl"
|
|
35046
35328
|
},
|
|
35047
35329
|
{
|
|
35048
|
-
"
|
|
35049
|
-
"
|
|
35050
|
-
|
|
35051
|
-
"return": {
|
|
35052
|
-
"type": {
|
|
35053
|
-
"text": "number"
|
|
35054
|
-
}
|
|
35330
|
+
"name": "allow-raw",
|
|
35331
|
+
"type": {
|
|
35332
|
+
"text": "boolean"
|
|
35055
35333
|
},
|
|
35056
|
-
"
|
|
35057
|
-
|
|
35058
|
-
|
|
35059
|
-
|
|
35060
|
-
|
|
35061
|
-
|
|
35062
|
-
|
|
35063
|
-
|
|
35064
|
-
|
|
35334
|
+
"default": "false",
|
|
35335
|
+
"description": "Adds a toolbar toggle that swaps the block view for the full remarkd source.",
|
|
35336
|
+
"fieldName": "allowRaw"
|
|
35337
|
+
},
|
|
35338
|
+
{
|
|
35339
|
+
"name": "required",
|
|
35340
|
+
"type": {
|
|
35341
|
+
"text": "boolean"
|
|
35342
|
+
},
|
|
35343
|
+
"default": "false",
|
|
35344
|
+
"description": "Makes the editor required for form submission.",
|
|
35345
|
+
"fieldName": "required"
|
|
35346
|
+
},
|
|
35347
|
+
{
|
|
35348
|
+
"name": "readonly",
|
|
35349
|
+
"type": {
|
|
35350
|
+
"text": "boolean"
|
|
35351
|
+
},
|
|
35352
|
+
"default": "false",
|
|
35353
|
+
"description": "Makes the editor read-only.",
|
|
35354
|
+
"fieldName": "readonly"
|
|
35355
|
+
},
|
|
35356
|
+
{
|
|
35357
|
+
"name": "disabled",
|
|
35358
|
+
"type": {
|
|
35359
|
+
"text": "boolean"
|
|
35360
|
+
},
|
|
35361
|
+
"default": "false",
|
|
35362
|
+
"description": "Disables the editor.",
|
|
35363
|
+
"fieldName": "disabled"
|
|
35364
|
+
}
|
|
35365
|
+
],
|
|
35366
|
+
"superclass": {
|
|
35367
|
+
"name": "ZincElement",
|
|
35368
|
+
"module": "/src/internal/zinc-element"
|
|
35369
|
+
},
|
|
35370
|
+
"summary": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.",
|
|
35371
|
+
"tagNameWithoutPrefix": "remarkd-editor",
|
|
35372
|
+
"tagName": "zn-remarkd-editor",
|
|
35373
|
+
"customElement": true,
|
|
35374
|
+
"jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-dropdown\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert and inline-formatting toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart conditional - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n * @csspart variable - A chip rendered for a document attribute, title, or bracket line.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
|
|
35375
|
+
"documentation": "https://zinc.style/components/remarkd-editor",
|
|
35376
|
+
"status": "experimental",
|
|
35377
|
+
"since": "1.0",
|
|
35378
|
+
"dependencies": [
|
|
35379
|
+
"zn-button",
|
|
35380
|
+
"zn-button-group",
|
|
35381
|
+
"zn-dropdown",
|
|
35382
|
+
"zn-icon",
|
|
35383
|
+
"zn-file",
|
|
35384
|
+
"zn-menu",
|
|
35385
|
+
"zn-menu-item",
|
|
35386
|
+
"zn-slash-menu"
|
|
35387
|
+
]
|
|
35388
|
+
}
|
|
35389
|
+
],
|
|
35390
|
+
"exports": [
|
|
35391
|
+
{
|
|
35392
|
+
"kind": "js",
|
|
35393
|
+
"name": "default",
|
|
35394
|
+
"declaration": {
|
|
35395
|
+
"name": "ZnRemarkdEditor",
|
|
35396
|
+
"module": "components/remarkd-editor/remarkd-editor.js"
|
|
35397
|
+
}
|
|
35398
|
+
}
|
|
35399
|
+
]
|
|
35400
|
+
},
|
|
35401
|
+
{
|
|
35402
|
+
"kind": "javascript-module",
|
|
35403
|
+
"path": "components/reveal/reveal.js",
|
|
35404
|
+
"declarations": [
|
|
35405
|
+
{
|
|
35406
|
+
"kind": "class",
|
|
35407
|
+
"description": "",
|
|
35408
|
+
"name": "ZnReveal",
|
|
35409
|
+
"cssProperties": [
|
|
35410
|
+
{
|
|
35411
|
+
"description": "An example CSS custom property.",
|
|
35412
|
+
"name": "--example"
|
|
35413
|
+
}
|
|
35414
|
+
],
|
|
35415
|
+
"cssParts": [
|
|
35416
|
+
{
|
|
35417
|
+
"description": "The component's base wrapper.",
|
|
35418
|
+
"name": "base"
|
|
35419
|
+
}
|
|
35420
|
+
],
|
|
35421
|
+
"slots": [
|
|
35422
|
+
{
|
|
35423
|
+
"description": "The default slot.",
|
|
35424
|
+
"name": ""
|
|
35065
35425
|
},
|
|
35426
|
+
{
|
|
35427
|
+
"description": "An example slot.",
|
|
35428
|
+
"name": "example"
|
|
35429
|
+
}
|
|
35430
|
+
],
|
|
35431
|
+
"members": [
|
|
35066
35432
|
{
|
|
35067
35433
|
"kind": "field",
|
|
35068
|
-
"name": "
|
|
35069
|
-
"
|
|
35434
|
+
"name": "duration",
|
|
35435
|
+
"type": {
|
|
35436
|
+
"text": "number"
|
|
35437
|
+
},
|
|
35438
|
+
"default": "2000",
|
|
35439
|
+
"attribute": "duration"
|
|
35070
35440
|
},
|
|
35071
35441
|
{
|
|
35072
35442
|
"kind": "field",
|
|
35073
|
-
"name": "
|
|
35074
|
-
"
|
|
35443
|
+
"name": "initial",
|
|
35444
|
+
"type": {
|
|
35445
|
+
"text": "string"
|
|
35446
|
+
},
|
|
35447
|
+
"default": "''",
|
|
35448
|
+
"attribute": "initial"
|
|
35075
35449
|
},
|
|
35076
35450
|
{
|
|
35077
35451
|
"kind": "field",
|
|
35078
|
-
"name": "
|
|
35079
|
-
"
|
|
35080
|
-
|
|
35452
|
+
"name": "revealed",
|
|
35453
|
+
"type": {
|
|
35454
|
+
"text": "string"
|
|
35455
|
+
},
|
|
35456
|
+
"default": "''",
|
|
35457
|
+
"attribute": "revealed"
|
|
35081
35458
|
},
|
|
35082
35459
|
{
|
|
35083
|
-
"kind": "
|
|
35084
|
-
"name": "
|
|
35085
|
-
"
|
|
35086
|
-
|
|
35087
|
-
"type": {
|
|
35088
|
-
"text": "boolean"
|
|
35089
|
-
}
|
|
35460
|
+
"kind": "field",
|
|
35461
|
+
"name": "hideDelay",
|
|
35462
|
+
"type": {
|
|
35463
|
+
"text": "number"
|
|
35090
35464
|
},
|
|
35091
|
-
"
|
|
35465
|
+
"default": "150",
|
|
35466
|
+
"attribute": "hide-delay"
|
|
35092
35467
|
},
|
|
35093
35468
|
{
|
|
35094
|
-
"kind": "
|
|
35095
|
-
"name": "
|
|
35096
|
-
"
|
|
35097
|
-
|
|
35098
|
-
"type": {
|
|
35099
|
-
"text": "number"
|
|
35100
|
-
}
|
|
35469
|
+
"kind": "field",
|
|
35470
|
+
"name": "noToggle",
|
|
35471
|
+
"type": {
|
|
35472
|
+
"text": "boolean"
|
|
35101
35473
|
},
|
|
35102
|
-
"
|
|
35103
|
-
|
|
35104
|
-
|
|
35105
|
-
"type": {
|
|
35106
|
-
"text": "number"
|
|
35107
|
-
}
|
|
35108
|
-
},
|
|
35109
|
-
{
|
|
35110
|
-
"name": "bottom",
|
|
35111
|
-
"type": {
|
|
35112
|
-
"text": "number"
|
|
35113
|
-
}
|
|
35114
|
-
}
|
|
35115
|
-
],
|
|
35116
|
-
"description": "Scroll step for this frame: nothing until the pointer is within `edge` of a boundary."
|
|
35474
|
+
"default": "false",
|
|
35475
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
35476
|
+
"attribute": "no-toggle"
|
|
35117
35477
|
},
|
|
35118
35478
|
{
|
|
35119
35479
|
"kind": "field",
|
|
35120
|
-
"name": "
|
|
35121
|
-
"
|
|
35480
|
+
"name": "_isRevealed",
|
|
35481
|
+
"type": {
|
|
35482
|
+
"text": "boolean"
|
|
35483
|
+
},
|
|
35484
|
+
"privacy": "private",
|
|
35485
|
+
"default": "false"
|
|
35122
35486
|
},
|
|
35123
35487
|
{
|
|
35124
35488
|
"kind": "field",
|
|
35125
|
-
"name": "
|
|
35489
|
+
"name": "_isToggled",
|
|
35490
|
+
"type": {
|
|
35491
|
+
"text": "boolean"
|
|
35492
|
+
},
|
|
35493
|
+
"privacy": "private",
|
|
35494
|
+
"default": "false"
|
|
35495
|
+
},
|
|
35496
|
+
{
|
|
35497
|
+
"kind": "field",
|
|
35498
|
+
"name": "_hideTimer",
|
|
35499
|
+
"type": {
|
|
35500
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
35501
|
+
},
|
|
35126
35502
|
"privacy": "private"
|
|
35127
35503
|
},
|
|
35128
35504
|
{
|
|
35129
35505
|
"kind": "method",
|
|
35130
|
-
"name": "
|
|
35131
|
-
"privacy": "private"
|
|
35132
|
-
"parameters": [
|
|
35133
|
-
{
|
|
35134
|
-
"name": "index",
|
|
35135
|
-
"type": {
|
|
35136
|
-
"text": "number"
|
|
35137
|
-
}
|
|
35138
|
-
}
|
|
35139
|
-
]
|
|
35506
|
+
"name": "_clearHideTimer",
|
|
35507
|
+
"privacy": "private"
|
|
35140
35508
|
},
|
|
35141
35509
|
{
|
|
35142
35510
|
"kind": "method",
|
|
35143
|
-
"name": "
|
|
35144
|
-
"privacy": "
|
|
35145
|
-
"parameters": [
|
|
35146
|
-
{
|
|
35147
|
-
"name": "x",
|
|
35148
|
-
"type": {
|
|
35149
|
-
"text": "number"
|
|
35150
|
-
}
|
|
35151
|
-
},
|
|
35152
|
-
{
|
|
35153
|
-
"name": "y",
|
|
35154
|
-
"type": {
|
|
35155
|
-
"text": "number"
|
|
35156
|
-
}
|
|
35157
|
-
}
|
|
35158
|
-
]
|
|
35511
|
+
"name": "handleToggleReveal",
|
|
35512
|
+
"privacy": "protected"
|
|
35159
35513
|
},
|
|
35160
35514
|
{
|
|
35161
35515
|
"kind": "method",
|
|
35162
|
-
"name": "
|
|
35163
|
-
"privacy": "
|
|
35164
|
-
"parameters": [
|
|
35165
|
-
{
|
|
35166
|
-
"name": "index",
|
|
35167
|
-
"type": {
|
|
35168
|
-
"text": "number"
|
|
35169
|
-
}
|
|
35170
|
-
}
|
|
35171
|
-
]
|
|
35516
|
+
"name": "handleMouseEnter",
|
|
35517
|
+
"privacy": "protected"
|
|
35172
35518
|
},
|
|
35173
35519
|
{
|
|
35174
35520
|
"kind": "method",
|
|
35175
|
-
"name": "
|
|
35176
|
-
"privacy": "
|
|
35177
|
-
|
|
35178
|
-
|
|
35179
|
-
|
|
35180
|
-
|
|
35181
|
-
|
|
35182
|
-
|
|
35183
|
-
|
|
35184
|
-
|
|
35521
|
+
"name": "handleMouseLeave",
|
|
35522
|
+
"privacy": "protected"
|
|
35523
|
+
}
|
|
35524
|
+
],
|
|
35525
|
+
"events": [
|
|
35526
|
+
{
|
|
35527
|
+
"description": "Emitted as an example.",
|
|
35528
|
+
"name": "zn-event-name"
|
|
35529
|
+
}
|
|
35530
|
+
],
|
|
35531
|
+
"attributes": [
|
|
35532
|
+
{
|
|
35533
|
+
"name": "duration",
|
|
35534
|
+
"type": {
|
|
35535
|
+
"text": "number"
|
|
35536
|
+
},
|
|
35537
|
+
"default": "2000",
|
|
35538
|
+
"fieldName": "duration"
|
|
35539
|
+
},
|
|
35540
|
+
{
|
|
35541
|
+
"name": "initial",
|
|
35542
|
+
"type": {
|
|
35543
|
+
"text": "string"
|
|
35544
|
+
},
|
|
35545
|
+
"default": "''",
|
|
35546
|
+
"fieldName": "initial"
|
|
35547
|
+
},
|
|
35548
|
+
{
|
|
35549
|
+
"name": "revealed",
|
|
35550
|
+
"type": {
|
|
35551
|
+
"text": "string"
|
|
35552
|
+
},
|
|
35553
|
+
"default": "''",
|
|
35554
|
+
"fieldName": "revealed"
|
|
35555
|
+
},
|
|
35556
|
+
{
|
|
35557
|
+
"name": "hide-delay",
|
|
35558
|
+
"type": {
|
|
35559
|
+
"text": "number"
|
|
35560
|
+
},
|
|
35561
|
+
"default": "150",
|
|
35562
|
+
"fieldName": "hideDelay"
|
|
35563
|
+
},
|
|
35564
|
+
{
|
|
35565
|
+
"name": "no-toggle",
|
|
35566
|
+
"type": {
|
|
35567
|
+
"text": "boolean"
|
|
35568
|
+
},
|
|
35569
|
+
"default": "false",
|
|
35570
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
35571
|
+
"fieldName": "noToggle"
|
|
35572
|
+
}
|
|
35573
|
+
],
|
|
35574
|
+
"superclass": {
|
|
35575
|
+
"name": "ZincElement",
|
|
35576
|
+
"module": "/src/internal/zinc-element"
|
|
35577
|
+
},
|
|
35578
|
+
"summary": "Short summary of the component's intended use.",
|
|
35579
|
+
"tagNameWithoutPrefix": "reveal",
|
|
35580
|
+
"tagName": "zn-reveal",
|
|
35581
|
+
"customElement": true,
|
|
35582
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/reveal\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @usage\n * ```html\n * <zn-reveal duration=\"3000\"\n * initial=\"******@hotmail.com\"\n * revealed=\"john.doe@hotmail.com\" toggle>\n * </zn-reveal>\n * ```\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
35583
|
+
"documentation": "https://zinc.style/components/reveal",
|
|
35584
|
+
"status": "experimental",
|
|
35585
|
+
"since": "1.0",
|
|
35586
|
+
"dependencies": [
|
|
35587
|
+
"zn-example"
|
|
35588
|
+
]
|
|
35589
|
+
}
|
|
35590
|
+
],
|
|
35591
|
+
"exports": [
|
|
35592
|
+
{
|
|
35593
|
+
"kind": "js",
|
|
35594
|
+
"name": "default",
|
|
35595
|
+
"declaration": {
|
|
35596
|
+
"name": "ZnReveal",
|
|
35597
|
+
"module": "components/reveal/reveal.js"
|
|
35598
|
+
}
|
|
35599
|
+
}
|
|
35600
|
+
]
|
|
35601
|
+
},
|
|
35602
|
+
{
|
|
35603
|
+
"kind": "javascript-module",
|
|
35604
|
+
"path": "components/rating/rating.js",
|
|
35605
|
+
"declarations": [
|
|
35606
|
+
{
|
|
35607
|
+
"kind": "class",
|
|
35608
|
+
"description": "",
|
|
35609
|
+
"name": "ZnRating",
|
|
35610
|
+
"cssProperties": [
|
|
35611
|
+
{
|
|
35612
|
+
"description": "An example CSS custom property.",
|
|
35613
|
+
"name": "--example"
|
|
35614
|
+
},
|
|
35615
|
+
{
|
|
35616
|
+
"description": "The color of the preview value.",
|
|
35617
|
+
"name": "--preview-color"
|
|
35618
|
+
},
|
|
35619
|
+
{
|
|
35620
|
+
"description": "The font size of the preview value.",
|
|
35621
|
+
"name": "--preview-size"
|
|
35622
|
+
}
|
|
35623
|
+
],
|
|
35624
|
+
"cssParts": [
|
|
35625
|
+
{
|
|
35626
|
+
"description": "The form control that wraps the symbols and help text.",
|
|
35627
|
+
"name": "form-control"
|
|
35628
|
+
},
|
|
35629
|
+
{
|
|
35630
|
+
"description": "The help text's wrapper.",
|
|
35631
|
+
"name": "form-control-help-text"
|
|
35632
|
+
},
|
|
35633
|
+
{
|
|
35634
|
+
"description": "The component's base wrapper.",
|
|
35635
|
+
"name": "base"
|
|
35185
35636
|
},
|
|
35637
|
+
{
|
|
35638
|
+
"description": "The value shown next to the symbols when `preview` is enabled.",
|
|
35639
|
+
"name": "preview"
|
|
35640
|
+
}
|
|
35641
|
+
],
|
|
35642
|
+
"slots": [
|
|
35643
|
+
{
|
|
35644
|
+
"description": "The default slot.",
|
|
35645
|
+
"name": ""
|
|
35646
|
+
},
|
|
35647
|
+
{
|
|
35648
|
+
"description": "An example slot.",
|
|
35649
|
+
"name": "example"
|
|
35650
|
+
},
|
|
35651
|
+
{
|
|
35652
|
+
"description": "Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.",
|
|
35653
|
+
"name": "help-text"
|
|
35654
|
+
}
|
|
35655
|
+
],
|
|
35656
|
+
"members": [
|
|
35186
35657
|
{
|
|
35187
35658
|
"kind": "field",
|
|
35188
|
-
"name": "
|
|
35189
|
-
"privacy": "private"
|
|
35659
|
+
"name": "formControlController",
|
|
35660
|
+
"privacy": "private",
|
|
35661
|
+
"readonly": true,
|
|
35662
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-blur', 'zn-input'] })"
|
|
35190
35663
|
},
|
|
35191
35664
|
{
|
|
35192
|
-
"kind": "
|
|
35193
|
-
"name": "
|
|
35665
|
+
"kind": "field",
|
|
35666
|
+
"name": "hasSlotController",
|
|
35194
35667
|
"privacy": "private",
|
|
35195
|
-
"
|
|
35196
|
-
|
|
35197
|
-
"name": "item",
|
|
35198
|
-
"type": {
|
|
35199
|
-
"text": "IncludeOption"
|
|
35200
|
-
}
|
|
35201
|
-
}
|
|
35202
|
-
]
|
|
35668
|
+
"readonly": true,
|
|
35669
|
+
"default": "new HasSlotController(this, 'help-text')"
|
|
35203
35670
|
},
|
|
35204
35671
|
{
|
|
35205
35672
|
"kind": "field",
|
|
35206
|
-
"name": "
|
|
35207
|
-
"
|
|
35673
|
+
"name": "rating",
|
|
35674
|
+
"type": {
|
|
35675
|
+
"text": "HTMLElement"
|
|
35676
|
+
}
|
|
35208
35677
|
},
|
|
35209
35678
|
{
|
|
35210
35679
|
"kind": "field",
|
|
35211
|
-
"name": "
|
|
35212
|
-
"
|
|
35680
|
+
"name": "symbols",
|
|
35681
|
+
"type": {
|
|
35682
|
+
"text": "HTMLElement"
|
|
35683
|
+
}
|
|
35213
35684
|
},
|
|
35214
35685
|
{
|
|
35215
|
-
"kind": "
|
|
35216
|
-
"name": "
|
|
35686
|
+
"kind": "field",
|
|
35687
|
+
"name": "hoverValue",
|
|
35688
|
+
"type": {
|
|
35689
|
+
"text": "number"
|
|
35690
|
+
},
|
|
35217
35691
|
"privacy": "private",
|
|
35218
|
-
"
|
|
35219
|
-
{
|
|
35220
|
-
"name": "file",
|
|
35221
|
-
"type": {
|
|
35222
|
-
"text": "File"
|
|
35223
|
-
}
|
|
35224
|
-
},
|
|
35225
|
-
{
|
|
35226
|
-
"name": "index",
|
|
35227
|
-
"type": {
|
|
35228
|
-
"text": "number"
|
|
35229
|
-
}
|
|
35230
|
-
}
|
|
35231
|
-
]
|
|
35692
|
+
"default": "0"
|
|
35232
35693
|
},
|
|
35233
35694
|
{
|
|
35234
|
-
"kind": "
|
|
35235
|
-
"name": "
|
|
35695
|
+
"kind": "field",
|
|
35696
|
+
"name": "isHovering",
|
|
35697
|
+
"type": {
|
|
35698
|
+
"text": "boolean"
|
|
35699
|
+
},
|
|
35236
35700
|
"privacy": "private",
|
|
35237
|
-
"
|
|
35238
|
-
|
|
35239
|
-
|
|
35240
|
-
|
|
35701
|
+
"default": "false"
|
|
35702
|
+
},
|
|
35703
|
+
{
|
|
35704
|
+
"kind": "field",
|
|
35705
|
+
"name": "label",
|
|
35706
|
+
"type": {
|
|
35707
|
+
"text": "string"
|
|
35241
35708
|
},
|
|
35242
|
-
"
|
|
35243
|
-
{
|
|
35244
|
-
"name": "file",
|
|
35245
|
-
"type": {
|
|
35246
|
-
"text": "File"
|
|
35247
|
-
}
|
|
35248
|
-
}
|
|
35249
|
-
]
|
|
35709
|
+
"attribute": "label"
|
|
35250
35710
|
},
|
|
35251
35711
|
{
|
|
35252
|
-
"kind": "
|
|
35253
|
-
"name": "
|
|
35254
|
-
"
|
|
35255
|
-
|
|
35256
|
-
"type": {
|
|
35257
|
-
"text": "string"
|
|
35258
|
-
}
|
|
35712
|
+
"kind": "field",
|
|
35713
|
+
"name": "helpText",
|
|
35714
|
+
"type": {
|
|
35715
|
+
"text": "string"
|
|
35259
35716
|
},
|
|
35260
|
-
"
|
|
35261
|
-
|
|
35262
|
-
|
|
35263
|
-
"type": {
|
|
35264
|
-
"text": "string"
|
|
35265
|
-
}
|
|
35266
|
-
}
|
|
35267
|
-
],
|
|
35268
|
-
"description": "Resolves an app-relative path the way the console's pagelet handler does:\nan app fragment's URLs sit under the app base, and the console puts the app's\n`gaid` on the host element. Links rendered here live in the shadow root,\nwhere a click retargets to the host, so that handler never sees them — the\nhref has to carry the base itself."
|
|
35717
|
+
"default": "''",
|
|
35718
|
+
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
35719
|
+
"attribute": "help-text"
|
|
35269
35720
|
},
|
|
35270
35721
|
{
|
|
35271
|
-
"kind": "
|
|
35272
|
-
"name": "
|
|
35273
|
-
"
|
|
35274
|
-
|
|
35275
|
-
|
|
35276
|
-
|
|
35277
|
-
}
|
|
35278
|
-
}
|
|
35722
|
+
"kind": "field",
|
|
35723
|
+
"name": "name",
|
|
35724
|
+
"type": {
|
|
35725
|
+
"text": "string"
|
|
35726
|
+
},
|
|
35727
|
+
"attribute": "name"
|
|
35279
35728
|
},
|
|
35280
35729
|
{
|
|
35281
|
-
"kind": "
|
|
35282
|
-
"name": "
|
|
35283
|
-
"
|
|
35284
|
-
|
|
35285
|
-
"type": {
|
|
35286
|
-
"text": "Promise<IncludeOption[]>"
|
|
35287
|
-
}
|
|
35730
|
+
"kind": "field",
|
|
35731
|
+
"name": "value",
|
|
35732
|
+
"type": {
|
|
35733
|
+
"text": "number"
|
|
35288
35734
|
},
|
|
35289
|
-
"
|
|
35735
|
+
"default": "0",
|
|
35736
|
+
"attribute": "value"
|
|
35290
35737
|
},
|
|
35291
35738
|
{
|
|
35292
|
-
"kind": "
|
|
35293
|
-
"name": "
|
|
35294
|
-
"
|
|
35295
|
-
|
|
35296
|
-
|
|
35297
|
-
|
|
35298
|
-
|
|
35299
|
-
"text": "HTMLTextAreaElement"
|
|
35300
|
-
}
|
|
35301
|
-
}
|
|
35302
|
-
]
|
|
35739
|
+
"kind": "field",
|
|
35740
|
+
"name": "defaultValue",
|
|
35741
|
+
"type": {
|
|
35742
|
+
"text": "number"
|
|
35743
|
+
},
|
|
35744
|
+
"default": "0",
|
|
35745
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
35303
35746
|
},
|
|
35304
35747
|
{
|
|
35305
|
-
"kind": "
|
|
35306
|
-
"name": "
|
|
35307
|
-
"
|
|
35308
|
-
|
|
35309
|
-
|
|
35310
|
-
|
|
35311
|
-
|
|
35312
|
-
|
|
35313
|
-
|
|
35314
|
-
|
|
35315
|
-
|
|
35316
|
-
"
|
|
35748
|
+
"kind": "field",
|
|
35749
|
+
"name": "max",
|
|
35750
|
+
"type": {
|
|
35751
|
+
"text": "number"
|
|
35752
|
+
},
|
|
35753
|
+
"default": "5",
|
|
35754
|
+
"attribute": "max"
|
|
35755
|
+
},
|
|
35756
|
+
{
|
|
35757
|
+
"kind": "field",
|
|
35758
|
+
"name": "precision",
|
|
35759
|
+
"type": {
|
|
35760
|
+
"text": "number"
|
|
35761
|
+
},
|
|
35762
|
+
"default": "1",
|
|
35763
|
+
"attribute": "precision"
|
|
35764
|
+
},
|
|
35765
|
+
{
|
|
35766
|
+
"kind": "field",
|
|
35767
|
+
"name": "readonly",
|
|
35768
|
+
"type": {
|
|
35769
|
+
"text": "boolean"
|
|
35770
|
+
},
|
|
35771
|
+
"default": "false",
|
|
35772
|
+
"attribute": "readonly"
|
|
35773
|
+
},
|
|
35774
|
+
{
|
|
35775
|
+
"kind": "field",
|
|
35776
|
+
"name": "disabled",
|
|
35777
|
+
"type": {
|
|
35778
|
+
"text": "boolean"
|
|
35779
|
+
},
|
|
35780
|
+
"default": "false",
|
|
35781
|
+
"attribute": "disabled"
|
|
35782
|
+
},
|
|
35783
|
+
{
|
|
35784
|
+
"kind": "field",
|
|
35785
|
+
"name": "preview",
|
|
35786
|
+
"type": {
|
|
35787
|
+
"text": "boolean"
|
|
35788
|
+
},
|
|
35789
|
+
"default": "false",
|
|
35790
|
+
"description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
|
|
35791
|
+
"attribute": "preview"
|
|
35317
35792
|
},
|
|
35318
35793
|
{
|
|
35319
35794
|
"kind": "field",
|
|
35320
|
-
"name": "
|
|
35321
|
-
"
|
|
35795
|
+
"name": "size",
|
|
35796
|
+
"type": {
|
|
35797
|
+
"text": "'small' | 'medium' | 'large'"
|
|
35798
|
+
},
|
|
35799
|
+
"default": "'medium'",
|
|
35800
|
+
"attribute": "size"
|
|
35322
35801
|
},
|
|
35323
35802
|
{
|
|
35324
|
-
"kind": "
|
|
35325
|
-
"name": "
|
|
35326
|
-
"
|
|
35803
|
+
"kind": "field",
|
|
35804
|
+
"name": "getSymbol",
|
|
35805
|
+
"type": {
|
|
35806
|
+
"text": "(value: number) => string"
|
|
35807
|
+
},
|
|
35808
|
+
"attribute": "getSymbol"
|
|
35327
35809
|
},
|
|
35328
35810
|
{
|
|
35329
35811
|
"kind": "field",
|
|
35330
|
-
"name": "
|
|
35331
|
-
"
|
|
35332
|
-
"
|
|
35812
|
+
"name": "validity",
|
|
35813
|
+
"description": "Gets the validity state object",
|
|
35814
|
+
"readonly": true
|
|
35333
35815
|
},
|
|
35334
35816
|
{
|
|
35335
35817
|
"kind": "field",
|
|
35336
|
-
"name": "
|
|
35337
|
-
"
|
|
35338
|
-
"
|
|
35818
|
+
"name": "validationMessage",
|
|
35819
|
+
"description": "Gets the validation message",
|
|
35820
|
+
"readonly": true
|
|
35339
35821
|
},
|
|
35340
35822
|
{
|
|
35341
35823
|
"kind": "method",
|
|
35342
|
-
"name": "
|
|
35343
|
-
"
|
|
35344
|
-
|
|
35345
|
-
|
|
35346
|
-
"name": "action",
|
|
35347
|
-
"type": {
|
|
35348
|
-
"text": "EditorAction"
|
|
35349
|
-
}
|
|
35824
|
+
"name": "checkValidity",
|
|
35825
|
+
"return": {
|
|
35826
|
+
"type": {
|
|
35827
|
+
"text": "boolean"
|
|
35350
35828
|
}
|
|
35351
|
-
|
|
35829
|
+
},
|
|
35830
|
+
"description": "Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
35352
35831
|
},
|
|
35353
35832
|
{
|
|
35354
35833
|
"kind": "method",
|
|
35355
|
-
"name": "
|
|
35356
|
-
"
|
|
35834
|
+
"name": "getForm",
|
|
35835
|
+
"return": {
|
|
35836
|
+
"type": {
|
|
35837
|
+
"text": "HTMLFormElement | null"
|
|
35838
|
+
}
|
|
35839
|
+
},
|
|
35840
|
+
"description": "Gets the associated form, if one exists."
|
|
35357
35841
|
},
|
|
35358
35842
|
{
|
|
35359
35843
|
"kind": "method",
|
|
35360
|
-
"name": "
|
|
35844
|
+
"name": "reportValidity",
|
|
35845
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
35846
|
+
},
|
|
35847
|
+
{
|
|
35848
|
+
"kind": "method",
|
|
35849
|
+
"name": "setCustomValidity",
|
|
35850
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
35851
|
+
},
|
|
35852
|
+
{
|
|
35853
|
+
"kind": "method",
|
|
35854
|
+
"name": "_roundToPrecision",
|
|
35361
35855
|
"privacy": "private",
|
|
35856
|
+
"return": {
|
|
35857
|
+
"type": {
|
|
35858
|
+
"text": "number"
|
|
35859
|
+
}
|
|
35860
|
+
},
|
|
35362
35861
|
"parameters": [
|
|
35363
35862
|
{
|
|
35364
|
-
"name": "
|
|
35863
|
+
"name": "value",
|
|
35365
35864
|
"type": {
|
|
35366
|
-
"text": "
|
|
35865
|
+
"text": "number"
|
|
35866
|
+
}
|
|
35867
|
+
},
|
|
35868
|
+
{
|
|
35869
|
+
"name": "precision",
|
|
35870
|
+
"type": {
|
|
35871
|
+
"text": "number"
|
|
35367
35872
|
}
|
|
35368
35873
|
}
|
|
35369
35874
|
]
|
|
35370
35875
|
},
|
|
35371
35876
|
{
|
|
35372
35877
|
"kind": "method",
|
|
35373
|
-
"name": "
|
|
35878
|
+
"name": "_getValueFromXCoordinate",
|
|
35374
35879
|
"privacy": "private",
|
|
35880
|
+
"return": {
|
|
35881
|
+
"type": {
|
|
35882
|
+
"text": "number"
|
|
35883
|
+
}
|
|
35884
|
+
},
|
|
35375
35885
|
"parameters": [
|
|
35376
35886
|
{
|
|
35377
|
-
"name": "
|
|
35887
|
+
"name": "coordinate",
|
|
35378
35888
|
"type": {
|
|
35379
|
-
"text": "
|
|
35889
|
+
"text": "number"
|
|
35380
35890
|
}
|
|
35381
35891
|
}
|
|
35382
|
-
]
|
|
35383
|
-
"description": "A metadata-only block parses to nothing, so show each of its lines as a chip instead."
|
|
35892
|
+
]
|
|
35384
35893
|
},
|
|
35385
35894
|
{
|
|
35386
35895
|
"kind": "method",
|
|
35387
|
-
"name": "
|
|
35896
|
+
"name": "_formatValue",
|
|
35388
35897
|
"privacy": "private",
|
|
35898
|
+
"return": {
|
|
35899
|
+
"type": {
|
|
35900
|
+
"text": "string"
|
|
35901
|
+
}
|
|
35902
|
+
},
|
|
35389
35903
|
"parameters": [
|
|
35390
35904
|
{
|
|
35391
|
-
"name": "
|
|
35905
|
+
"name": "value",
|
|
35392
35906
|
"type": {
|
|
35393
|
-
"text": "
|
|
35907
|
+
"text": "number"
|
|
35394
35908
|
}
|
|
35395
35909
|
}
|
|
35396
|
-
]
|
|
35397
|
-
"description": "One shared chip treatment for every metadata line kind — each kind just supplies an\nicon, a name, and an optional value/state, display-only in all three cases."
|
|
35910
|
+
]
|
|
35398
35911
|
},
|
|
35399
35912
|
{
|
|
35400
35913
|
"kind": "method",
|
|
35401
|
-
"name": "
|
|
35914
|
+
"name": "_getValueFromMousePosition",
|
|
35402
35915
|
"privacy": "private",
|
|
35916
|
+
"return": {
|
|
35917
|
+
"type": {
|
|
35918
|
+
"text": "number"
|
|
35919
|
+
}
|
|
35920
|
+
},
|
|
35403
35921
|
"parameters": [
|
|
35404
35922
|
{
|
|
35405
|
-
"name": "
|
|
35923
|
+
"name": "event",
|
|
35406
35924
|
"type": {
|
|
35407
|
-
"text": "
|
|
35925
|
+
"text": "MouseEvent"
|
|
35408
35926
|
}
|
|
35409
35927
|
}
|
|
35410
|
-
]
|
|
35411
|
-
"description": "Wraps `{name}` references so they read as variables rather than literal text. Walks text\nnodes and skips code, so a brace in a sample stays a brace, and no regex touches markup."
|
|
35928
|
+
]
|
|
35412
35929
|
},
|
|
35413
35930
|
{
|
|
35414
35931
|
"kind": "method",
|
|
35415
|
-
"name": "
|
|
35932
|
+
"name": "_getValueFromTouchPosition",
|
|
35416
35933
|
"privacy": "private",
|
|
35417
35934
|
"return": {
|
|
35418
35935
|
"type": {
|
|
35419
|
-
"text": "
|
|
35936
|
+
"text": "number"
|
|
35420
35937
|
}
|
|
35421
35938
|
},
|
|
35422
35939
|
"parameters": [
|
|
35423
35940
|
{
|
|
35424
|
-
"name": "
|
|
35941
|
+
"name": "event",
|
|
35425
35942
|
"type": {
|
|
35426
|
-
"text": "
|
|
35943
|
+
"text": "TouchEvent"
|
|
35427
35944
|
}
|
|
35428
35945
|
}
|
|
35429
|
-
]
|
|
35430
|
-
"description": "A conditional range as a labelled wrapper. The inner content is parsed without the\ndirective lines: evaluating instead would blank the block whenever the flag is not\ndefined in this same block, hiding the author's content while they edit it. It also\nkeeps both halves of an if/else idiom visible — with evaluation you could never see\nthe `ifndef` branch while the `ifdef` condition held. Nesting is handled by\n`splitConditionalParts`/`renderConditionalWrapper` below, recursively."
|
|
35946
|
+
]
|
|
35431
35947
|
},
|
|
35432
35948
|
{
|
|
35433
35949
|
"kind": "method",
|
|
35434
|
-
"name": "
|
|
35950
|
+
"name": "_setValue",
|
|
35435
35951
|
"privacy": "private",
|
|
35436
35952
|
"parameters": [
|
|
35437
35953
|
{
|
|
35438
|
-
"name": "
|
|
35439
|
-
"type": {
|
|
35440
|
-
"text": "string"
|
|
35441
|
-
}
|
|
35442
|
-
},
|
|
35443
|
-
{
|
|
35444
|
-
"name": "index",
|
|
35954
|
+
"name": "value",
|
|
35445
35955
|
"type": {
|
|
35446
35956
|
"text": "number"
|
|
35447
35957
|
}
|
|
@@ -35450,169 +35960,141 @@
|
|
|
35450
35960
|
},
|
|
35451
35961
|
{
|
|
35452
35962
|
"kind": "method",
|
|
35453
|
-
"name": "
|
|
35963
|
+
"name": "_handleClick",
|
|
35454
35964
|
"privacy": "private",
|
|
35455
|
-
"return": {
|
|
35456
|
-
"type": {
|
|
35457
|
-
"text": "boolean"
|
|
35458
|
-
}
|
|
35459
|
-
},
|
|
35460
35965
|
"parameters": [
|
|
35461
35966
|
{
|
|
35462
|
-
"name": "
|
|
35967
|
+
"name": "event",
|
|
35463
35968
|
"type": {
|
|
35464
|
-
"text": "
|
|
35969
|
+
"text": "MouseEvent"
|
|
35465
35970
|
}
|
|
35466
35971
|
}
|
|
35467
|
-
]
|
|
35468
|
-
"description": "An inline action needs an open block to apply its mark to."
|
|
35972
|
+
]
|
|
35469
35973
|
},
|
|
35470
35974
|
{
|
|
35471
35975
|
"kind": "method",
|
|
35472
|
-
"name": "
|
|
35976
|
+
"name": "_handleMouseEnter",
|
|
35473
35977
|
"privacy": "private",
|
|
35474
35978
|
"parameters": [
|
|
35475
35979
|
{
|
|
35476
|
-
"name": "
|
|
35980
|
+
"name": "event",
|
|
35477
35981
|
"type": {
|
|
35478
|
-
"text": "
|
|
35982
|
+
"text": "MouseEvent"
|
|
35479
35983
|
}
|
|
35480
35984
|
}
|
|
35481
|
-
]
|
|
35482
|
-
"description": "Routes a toolbar/menu action to the inline or block insert path — the one place both\n`renderAction` and `renderMenuAction` call, so the bar and the overflow menu cannot\ndrift out of sync on what a given action actually does."
|
|
35985
|
+
]
|
|
35483
35986
|
},
|
|
35484
35987
|
{
|
|
35485
35988
|
"kind": "method",
|
|
35486
|
-
"name": "
|
|
35989
|
+
"name": "_handleMouseMove",
|
|
35487
35990
|
"privacy": "private",
|
|
35488
35991
|
"parameters": [
|
|
35489
35992
|
{
|
|
35490
|
-
"name": "
|
|
35993
|
+
"name": "event",
|
|
35491
35994
|
"type": {
|
|
35492
|
-
"text": "
|
|
35995
|
+
"text": "MouseEvent"
|
|
35493
35996
|
}
|
|
35494
35997
|
}
|
|
35495
|
-
]
|
|
35496
|
-
"description": "A single toolbar action button, shared by the toolbar bar and the overflow menu."
|
|
35998
|
+
]
|
|
35497
35999
|
},
|
|
35498
36000
|
{
|
|
35499
36001
|
"kind": "method",
|
|
35500
|
-
"name": "
|
|
36002
|
+
"name": "_handleMouseLeave",
|
|
36003
|
+
"privacy": "private"
|
|
36004
|
+
},
|
|
36005
|
+
{
|
|
36006
|
+
"kind": "method",
|
|
36007
|
+
"name": "_handleTouchStart",
|
|
35501
36008
|
"privacy": "private",
|
|
35502
36009
|
"parameters": [
|
|
35503
36010
|
{
|
|
35504
|
-
"name": "
|
|
36011
|
+
"name": "event",
|
|
35505
36012
|
"type": {
|
|
35506
|
-
"text": "
|
|
36013
|
+
"text": "TouchEvent"
|
|
35507
36014
|
}
|
|
35508
36015
|
}
|
|
35509
|
-
]
|
|
35510
|
-
"description": "The same action, rendered as a menu item for the overflow menu."
|
|
35511
|
-
},
|
|
35512
|
-
{
|
|
35513
|
-
"kind": "method",
|
|
35514
|
-
"name": "renderRaw",
|
|
35515
|
-
"privacy": "private"
|
|
36016
|
+
]
|
|
35516
36017
|
},
|
|
35517
36018
|
{
|
|
35518
36019
|
"kind": "method",
|
|
35519
|
-
"name": "
|
|
36020
|
+
"name": "_handleTouchMove",
|
|
35520
36021
|
"privacy": "private",
|
|
35521
|
-
"
|
|
35522
|
-
|
|
35523
|
-
|
|
35524
|
-
|
|
35525
|
-
|
|
35526
|
-
|
|
36022
|
+
"parameters": [
|
|
36023
|
+
{
|
|
36024
|
+
"name": "event",
|
|
36025
|
+
"type": {
|
|
36026
|
+
"text": "TouchEvent"
|
|
36027
|
+
}
|
|
36028
|
+
}
|
|
36029
|
+
]
|
|
35527
36030
|
},
|
|
35528
36031
|
{
|
|
35529
36032
|
"kind": "method",
|
|
35530
|
-
"name": "
|
|
35531
|
-
"privacy": "private"
|
|
36033
|
+
"name": "_handleTouchEnd",
|
|
36034
|
+
"privacy": "private",
|
|
36035
|
+
"parameters": [
|
|
36036
|
+
{
|
|
36037
|
+
"name": "event",
|
|
36038
|
+
"type": {
|
|
36039
|
+
"text": "TouchEvent"
|
|
36040
|
+
}
|
|
36041
|
+
}
|
|
36042
|
+
]
|
|
35532
36043
|
}
|
|
35533
36044
|
],
|
|
35534
36045
|
"events": [
|
|
35535
36046
|
{
|
|
35536
|
-
"description": "Emitted
|
|
35537
|
-
"name": "zn-
|
|
35538
|
-
},
|
|
35539
|
-
{
|
|
35540
|
-
"description": "Emitted when a block edit is committed and the value changes.",
|
|
35541
|
-
"name": "zn-change"
|
|
36047
|
+
"description": "Emitted as an example.",
|
|
36048
|
+
"name": "zn-event-name"
|
|
35542
36049
|
}
|
|
35543
36050
|
],
|
|
35544
36051
|
"attributes": [
|
|
35545
36052
|
{
|
|
35546
|
-
"name": "
|
|
35547
|
-
"type": {
|
|
35548
|
-
"text": "string"
|
|
35549
|
-
},
|
|
35550
|
-
"default": "''",
|
|
35551
|
-
"description": "Lists the blocks most recently inserted here above the rest of the slash menu, remembered in\n`localStorage` under this key. Leave unset to offer no recently used section.",
|
|
35552
|
-
"fieldName": "slashRecentKey"
|
|
35553
|
-
},
|
|
35554
|
-
{
|
|
35555
|
-
"name": "name",
|
|
36053
|
+
"name": "label",
|
|
35556
36054
|
"type": {
|
|
35557
36055
|
"text": "string"
|
|
35558
36056
|
},
|
|
35559
|
-
"
|
|
35560
|
-
"description": "The name of the control, submitted as part of form data.",
|
|
35561
|
-
"fieldName": "name"
|
|
36057
|
+
"fieldName": "label"
|
|
35562
36058
|
},
|
|
35563
36059
|
{
|
|
35564
|
-
"name": "
|
|
36060
|
+
"name": "help-text",
|
|
35565
36061
|
"type": {
|
|
35566
36062
|
"text": "string"
|
|
35567
36063
|
},
|
|
35568
36064
|
"default": "''",
|
|
35569
|
-
"description": "The
|
|
35570
|
-
"fieldName": "
|
|
35571
|
-
},
|
|
35572
|
-
{
|
|
35573
|
-
"name": "placeholder",
|
|
35574
|
-
"type": {
|
|
35575
|
-
"text": "string"
|
|
35576
|
-
},
|
|
35577
|
-
"default": "'Type something…'",
|
|
35578
|
-
"description": "Placeholder shown when the document is empty.",
|
|
35579
|
-
"fieldName": "placeholder"
|
|
36065
|
+
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
36066
|
+
"fieldName": "helpText"
|
|
35580
36067
|
},
|
|
35581
36068
|
{
|
|
35582
|
-
"name": "
|
|
36069
|
+
"name": "name",
|
|
35583
36070
|
"type": {
|
|
35584
36071
|
"text": "string"
|
|
35585
36072
|
},
|
|
35586
|
-
"
|
|
35587
|
-
"description": "Endpoint for image uploads — required for image support. Posting the file\nmetadata here must return `{uploadPath, uploadUrl}`; the file is then PUT\nto `uploadUrl` and the returned `uploadPath` is embedded as the image URL.",
|
|
35588
|
-
"fieldName": "attachmentUrl"
|
|
36073
|
+
"fieldName": "name"
|
|
35589
36074
|
},
|
|
35590
36075
|
{
|
|
35591
|
-
"name": "
|
|
36076
|
+
"name": "value",
|
|
35592
36077
|
"type": {
|
|
35593
|
-
"text": "
|
|
36078
|
+
"text": "number"
|
|
35594
36079
|
},
|
|
35595
|
-
"default": "
|
|
35596
|
-
"
|
|
35597
|
-
"fieldName": "includeUrl"
|
|
36080
|
+
"default": "0",
|
|
36081
|
+
"fieldName": "value"
|
|
35598
36082
|
},
|
|
35599
36083
|
{
|
|
35600
|
-
"name": "
|
|
36084
|
+
"name": "max",
|
|
35601
36085
|
"type": {
|
|
35602
|
-
"text": "
|
|
36086
|
+
"text": "number"
|
|
35603
36087
|
},
|
|
35604
|
-
"default": "
|
|
35605
|
-
"
|
|
35606
|
-
"fieldName": "allowRaw"
|
|
36088
|
+
"default": "5",
|
|
36089
|
+
"fieldName": "max"
|
|
35607
36090
|
},
|
|
35608
36091
|
{
|
|
35609
|
-
"name": "
|
|
36092
|
+
"name": "precision",
|
|
35610
36093
|
"type": {
|
|
35611
|
-
"text": "
|
|
36094
|
+
"text": "number"
|
|
35612
36095
|
},
|
|
35613
|
-
"default": "
|
|
35614
|
-
"
|
|
35615
|
-
"fieldName": "required"
|
|
36096
|
+
"default": "1",
|
|
36097
|
+
"fieldName": "precision"
|
|
35616
36098
|
},
|
|
35617
36099
|
{
|
|
35618
36100
|
"name": "readonly",
|
|
@@ -35620,7 +36102,6 @@
|
|
|
35620
36102
|
"text": "boolean"
|
|
35621
36103
|
},
|
|
35622
36104
|
"default": "false",
|
|
35623
|
-
"description": "Makes the editor read-only.",
|
|
35624
36105
|
"fieldName": "readonly"
|
|
35625
36106
|
},
|
|
35626
36107
|
{
|
|
@@ -35629,216 +36110,31 @@
|
|
|
35629
36110
|
"text": "boolean"
|
|
35630
36111
|
},
|
|
35631
36112
|
"default": "false",
|
|
35632
|
-
"description": "Disables the editor.",
|
|
35633
36113
|
"fieldName": "disabled"
|
|
35634
|
-
}
|
|
35635
|
-
],
|
|
35636
|
-
"superclass": {
|
|
35637
|
-
"name": "ZincElement",
|
|
35638
|
-
"module": "/src/internal/zinc-element"
|
|
35639
|
-
},
|
|
35640
|
-
"summary": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.",
|
|
35641
|
-
"tagNameWithoutPrefix": "remarkd-editor",
|
|
35642
|
-
"tagName": "zn-remarkd-editor",
|
|
35643
|
-
"customElement": true,
|
|
35644
|
-
"jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-dropdown\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert and inline-formatting toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart conditional - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n * @csspart variable - A chip rendered for a document attribute, title, or bracket line.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
|
|
35645
|
-
"documentation": "https://zinc.style/components/remarkd-editor",
|
|
35646
|
-
"status": "experimental",
|
|
35647
|
-
"since": "1.0",
|
|
35648
|
-
"dependencies": [
|
|
35649
|
-
"zn-button",
|
|
35650
|
-
"zn-button-group",
|
|
35651
|
-
"zn-dropdown",
|
|
35652
|
-
"zn-icon",
|
|
35653
|
-
"zn-file",
|
|
35654
|
-
"zn-menu",
|
|
35655
|
-
"zn-menu-item",
|
|
35656
|
-
"zn-slash-menu"
|
|
35657
|
-
]
|
|
35658
|
-
}
|
|
35659
|
-
],
|
|
35660
|
-
"exports": [
|
|
35661
|
-
{
|
|
35662
|
-
"kind": "js",
|
|
35663
|
-
"name": "default",
|
|
35664
|
-
"declaration": {
|
|
35665
|
-
"name": "ZnRemarkdEditor",
|
|
35666
|
-
"module": "components/remarkd-editor/remarkd-editor.js"
|
|
35667
|
-
}
|
|
35668
|
-
}
|
|
35669
|
-
]
|
|
35670
|
-
},
|
|
35671
|
-
{
|
|
35672
|
-
"kind": "javascript-module",
|
|
35673
|
-
"path": "components/reveal/reveal.js",
|
|
35674
|
-
"declarations": [
|
|
35675
|
-
{
|
|
35676
|
-
"kind": "class",
|
|
35677
|
-
"description": "",
|
|
35678
|
-
"name": "ZnReveal",
|
|
35679
|
-
"cssProperties": [
|
|
35680
|
-
{
|
|
35681
|
-
"description": "An example CSS custom property.",
|
|
35682
|
-
"name": "--example"
|
|
35683
|
-
}
|
|
35684
|
-
],
|
|
35685
|
-
"cssParts": [
|
|
35686
|
-
{
|
|
35687
|
-
"description": "The component's base wrapper.",
|
|
35688
|
-
"name": "base"
|
|
35689
|
-
}
|
|
35690
|
-
],
|
|
35691
|
-
"slots": [
|
|
35692
|
-
{
|
|
35693
|
-
"description": "The default slot.",
|
|
35694
|
-
"name": ""
|
|
35695
|
-
},
|
|
35696
|
-
{
|
|
35697
|
-
"description": "An example slot.",
|
|
35698
|
-
"name": "example"
|
|
35699
|
-
}
|
|
35700
|
-
],
|
|
35701
|
-
"members": [
|
|
35702
|
-
{
|
|
35703
|
-
"kind": "field",
|
|
35704
|
-
"name": "duration",
|
|
35705
|
-
"type": {
|
|
35706
|
-
"text": "number"
|
|
35707
|
-
},
|
|
35708
|
-
"default": "2000",
|
|
35709
|
-
"attribute": "duration"
|
|
35710
|
-
},
|
|
35711
|
-
{
|
|
35712
|
-
"kind": "field",
|
|
35713
|
-
"name": "initial",
|
|
35714
|
-
"type": {
|
|
35715
|
-
"text": "string"
|
|
35716
|
-
},
|
|
35717
|
-
"default": "''",
|
|
35718
|
-
"attribute": "initial"
|
|
35719
|
-
},
|
|
35720
|
-
{
|
|
35721
|
-
"kind": "field",
|
|
35722
|
-
"name": "revealed",
|
|
35723
|
-
"type": {
|
|
35724
|
-
"text": "string"
|
|
35725
|
-
},
|
|
35726
|
-
"default": "''",
|
|
35727
|
-
"attribute": "revealed"
|
|
35728
|
-
},
|
|
35729
|
-
{
|
|
35730
|
-
"kind": "field",
|
|
35731
|
-
"name": "hideDelay",
|
|
35732
|
-
"type": {
|
|
35733
|
-
"text": "number"
|
|
35734
|
-
},
|
|
35735
|
-
"default": "150",
|
|
35736
|
-
"attribute": "hide-delay"
|
|
35737
36114
|
},
|
|
35738
36115
|
{
|
|
35739
|
-
"
|
|
35740
|
-
"name": "noToggle",
|
|
36116
|
+
"name": "preview",
|
|
35741
36117
|
"type": {
|
|
35742
36118
|
"text": "boolean"
|
|
35743
36119
|
},
|
|
35744
36120
|
"default": "false",
|
|
35745
|
-
"description": "
|
|
35746
|
-
"
|
|
35747
|
-
},
|
|
35748
|
-
{
|
|
35749
|
-
"kind": "field",
|
|
35750
|
-
"name": "_isRevealed",
|
|
35751
|
-
"type": {
|
|
35752
|
-
"text": "boolean"
|
|
35753
|
-
},
|
|
35754
|
-
"privacy": "private",
|
|
35755
|
-
"default": "false"
|
|
35756
|
-
},
|
|
35757
|
-
{
|
|
35758
|
-
"kind": "field",
|
|
35759
|
-
"name": "_isToggled",
|
|
35760
|
-
"type": {
|
|
35761
|
-
"text": "boolean"
|
|
35762
|
-
},
|
|
35763
|
-
"privacy": "private",
|
|
35764
|
-
"default": "false"
|
|
35765
|
-
},
|
|
35766
|
-
{
|
|
35767
|
-
"kind": "field",
|
|
35768
|
-
"name": "_hideTimer",
|
|
35769
|
-
"type": {
|
|
35770
|
-
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
35771
|
-
},
|
|
35772
|
-
"privacy": "private"
|
|
35773
|
-
},
|
|
35774
|
-
{
|
|
35775
|
-
"kind": "method",
|
|
35776
|
-
"name": "_clearHideTimer",
|
|
35777
|
-
"privacy": "private"
|
|
35778
|
-
},
|
|
35779
|
-
{
|
|
35780
|
-
"kind": "method",
|
|
35781
|
-
"name": "handleToggleReveal",
|
|
35782
|
-
"privacy": "protected"
|
|
35783
|
-
},
|
|
35784
|
-
{
|
|
35785
|
-
"kind": "method",
|
|
35786
|
-
"name": "handleMouseEnter",
|
|
35787
|
-
"privacy": "protected"
|
|
35788
|
-
},
|
|
35789
|
-
{
|
|
35790
|
-
"kind": "method",
|
|
35791
|
-
"name": "handleMouseLeave",
|
|
35792
|
-
"privacy": "protected"
|
|
35793
|
-
}
|
|
35794
|
-
],
|
|
35795
|
-
"events": [
|
|
35796
|
-
{
|
|
35797
|
-
"description": "Emitted as an example.",
|
|
35798
|
-
"name": "zn-event-name"
|
|
35799
|
-
}
|
|
35800
|
-
],
|
|
35801
|
-
"attributes": [
|
|
35802
|
-
{
|
|
35803
|
-
"name": "duration",
|
|
35804
|
-
"type": {
|
|
35805
|
-
"text": "number"
|
|
35806
|
-
},
|
|
35807
|
-
"default": "2000",
|
|
35808
|
-
"fieldName": "duration"
|
|
35809
|
-
},
|
|
35810
|
-
{
|
|
35811
|
-
"name": "initial",
|
|
35812
|
-
"type": {
|
|
35813
|
-
"text": "string"
|
|
35814
|
-
},
|
|
35815
|
-
"default": "''",
|
|
35816
|
-
"fieldName": "initial"
|
|
35817
|
-
},
|
|
35818
|
-
{
|
|
35819
|
-
"name": "revealed",
|
|
35820
|
-
"type": {
|
|
35821
|
-
"text": "string"
|
|
35822
|
-
},
|
|
35823
|
-
"default": "''",
|
|
35824
|
-
"fieldName": "revealed"
|
|
36121
|
+
"description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
|
|
36122
|
+
"fieldName": "preview"
|
|
35825
36123
|
},
|
|
35826
36124
|
{
|
|
35827
|
-
"name": "
|
|
36125
|
+
"name": "size",
|
|
35828
36126
|
"type": {
|
|
35829
|
-
"text": "
|
|
36127
|
+
"text": "'small' | 'medium' | 'large'"
|
|
35830
36128
|
},
|
|
35831
|
-
"default": "
|
|
35832
|
-
"fieldName": "
|
|
36129
|
+
"default": "'medium'",
|
|
36130
|
+
"fieldName": "size"
|
|
35833
36131
|
},
|
|
35834
36132
|
{
|
|
35835
|
-
"name": "
|
|
36133
|
+
"name": "getSymbol",
|
|
35836
36134
|
"type": {
|
|
35837
|
-
"text": "
|
|
36135
|
+
"text": "(value: number) => string"
|
|
35838
36136
|
},
|
|
35839
|
-
"
|
|
35840
|
-
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
35841
|
-
"fieldName": "noToggle"
|
|
36137
|
+
"fieldName": "getSymbol"
|
|
35842
36138
|
}
|
|
35843
36139
|
],
|
|
35844
36140
|
"superclass": {
|
|
@@ -35846,11 +36142,11 @@
|
|
|
35846
36142
|
"module": "/src/internal/zinc-element"
|
|
35847
36143
|
},
|
|
35848
36144
|
"summary": "Short summary of the component's intended use.",
|
|
35849
|
-
"tagNameWithoutPrefix": "
|
|
35850
|
-
"tagName": "zn-
|
|
36145
|
+
"tagNameWithoutPrefix": "rating",
|
|
36146
|
+
"tagName": "zn-rating",
|
|
35851
36147
|
"customElement": true,
|
|
35852
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/
|
|
35853
|
-
"documentation": "https://zinc.style/components/
|
|
36148
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/rating\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n * @slot help-text - Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart form-control - The form control that wraps the symbols and help text.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart preview - The value shown next to the symbols when `preview` is enabled.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --preview-color - The color of the preview value.\n * @cssproperty --preview-size - The font size of the preview value.\n */",
|
|
36149
|
+
"documentation": "https://zinc.style/components/rating",
|
|
35854
36150
|
"status": "experimental",
|
|
35855
36151
|
"since": "1.0",
|
|
35856
36152
|
"dependencies": [
|
|
@@ -35863,8 +36159,8 @@
|
|
|
35863
36159
|
"kind": "js",
|
|
35864
36160
|
"name": "default",
|
|
35865
36161
|
"declaration": {
|
|
35866
|
-
"name": "
|
|
35867
|
-
"module": "components/
|
|
36162
|
+
"name": "ZnRating",
|
|
36163
|
+
"module": "components/rating/rating.js"
|
|
35868
36164
|
}
|
|
35869
36165
|
}
|
|
35870
36166
|
]
|
|
@@ -50593,7 +50889,7 @@
|
|
|
50593
50889
|
"package": {
|
|
50594
50890
|
"name": "@kubex/zinc",
|
|
50595
50891
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
50596
|
-
"version": "1.1.
|
|
50892
|
+
"version": "1.1.107",
|
|
50597
50893
|
"author": "",
|
|
50598
50894
|
"license": "MIT"
|
|
50599
50895
|
}
|