@kubex/zinc 1.0.6 → 1.0.7
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 +149 -27
- package/dist/vscode.html-custom-data.json +5 -1
- package/dist/web-types.json +23 -4
- package/dist/zn.d.ts +20 -5
- package/dist/zn.min.js +143 -159
- package/package.json +1 -1
- package/src/components/content-block/content-block.component.ts +169 -101
- package/src/components/data-select/data-select.component.ts +51 -10
- package/src/components/data-table/data-table.component.ts +21 -26
- package/src/components/data-table/data-table.scss +74 -7
- package/src/components/data-table-filter/data-table-filter.component.ts +1 -1
- package/src/components/editor/modules/attachment/attachment.ts +53 -41
- package/src/components/editor/modules/toolbar/toolbar.ts +42 -0
- package/src/components/empty-state/empty-state.component.ts +16 -8
- package/src/components/icon/icon.component.ts +2 -0
- package/src/components/icon/icon.scss +13 -0
- package/src/components/item/item.component.ts +11 -3
- package/src/components/item/item.scss +7 -4
- package/src/components/panel/panel.component.ts +2 -0
- package/src/components/panel/panel.scss +6 -0
|
@@ -4144,12 +4144,21 @@
|
|
|
4144
4144
|
},
|
|
4145
4145
|
{
|
|
4146
4146
|
"kind": "field",
|
|
4147
|
-
"name": "
|
|
4147
|
+
"name": "_footerObserver",
|
|
4148
4148
|
"type": {
|
|
4149
4149
|
"text": "MutationObserver | undefined"
|
|
4150
4150
|
},
|
|
4151
4151
|
"privacy": "private"
|
|
4152
4152
|
},
|
|
4153
|
+
{
|
|
4154
|
+
"kind": "field",
|
|
4155
|
+
"name": "_replaceDebounce",
|
|
4156
|
+
"type": {
|
|
4157
|
+
"text": "number"
|
|
4158
|
+
},
|
|
4159
|
+
"privacy": "private",
|
|
4160
|
+
"default": "0"
|
|
4161
|
+
},
|
|
4153
4162
|
{
|
|
4154
4163
|
"kind": "method",
|
|
4155
4164
|
"name": "_collapseContent",
|
|
@@ -4175,37 +4184,56 @@
|
|
|
4175
4184
|
},
|
|
4176
4185
|
{
|
|
4177
4186
|
"kind": "method",
|
|
4178
|
-
"name": "
|
|
4179
|
-
"privacy": "
|
|
4187
|
+
"name": "_resizeIframe",
|
|
4188
|
+
"privacy": "private",
|
|
4189
|
+
"parameters": [
|
|
4190
|
+
{
|
|
4191
|
+
"name": "iframe",
|
|
4192
|
+
"optional": true,
|
|
4193
|
+
"type": {
|
|
4194
|
+
"text": "HTMLIFrameElement"
|
|
4195
|
+
}
|
|
4196
|
+
}
|
|
4197
|
+
]
|
|
4180
4198
|
},
|
|
4181
4199
|
{
|
|
4182
4200
|
"kind": "method",
|
|
4183
|
-
"name": "
|
|
4184
|
-
"privacy": "protected"
|
|
4185
|
-
"return": {
|
|
4186
|
-
"type": {
|
|
4187
|
-
"text": "TextRow[]"
|
|
4188
|
-
}
|
|
4189
|
-
}
|
|
4201
|
+
"name": "truncateText",
|
|
4202
|
+
"privacy": "protected"
|
|
4190
4203
|
},
|
|
4191
4204
|
{
|
|
4192
4205
|
"kind": "method",
|
|
4193
|
-
"name": "
|
|
4206
|
+
"name": "_handleSlotChange",
|
|
4194
4207
|
"privacy": "private",
|
|
4195
|
-
"return": {
|
|
4196
|
-
"type": {
|
|
4197
|
-
"text": "string"
|
|
4198
|
-
}
|
|
4199
|
-
},
|
|
4200
4208
|
"parameters": [
|
|
4201
4209
|
{
|
|
4202
|
-
"name": "
|
|
4210
|
+
"name": "e",
|
|
4203
4211
|
"type": {
|
|
4204
|
-
"text": "
|
|
4212
|
+
"text": "Event"
|
|
4205
4213
|
}
|
|
4206
4214
|
}
|
|
4207
4215
|
]
|
|
4208
4216
|
},
|
|
4217
|
+
{
|
|
4218
|
+
"kind": "method",
|
|
4219
|
+
"name": "_debouncedReplace",
|
|
4220
|
+
"privacy": "private"
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
"kind": "method",
|
|
4224
|
+
"name": "_replaceImagePlaceholders",
|
|
4225
|
+
"privacy": "private"
|
|
4226
|
+
},
|
|
4227
|
+
{
|
|
4228
|
+
"kind": "method",
|
|
4229
|
+
"name": "getTextSections",
|
|
4230
|
+
"privacy": "protected",
|
|
4231
|
+
"return": {
|
|
4232
|
+
"type": {
|
|
4233
|
+
"text": "TextRow[]"
|
|
4234
|
+
}
|
|
4235
|
+
}
|
|
4236
|
+
},
|
|
4209
4237
|
{
|
|
4210
4238
|
"kind": "method",
|
|
4211
4239
|
"name": "showReply",
|
|
@@ -4573,6 +4601,7 @@
|
|
|
4573
4601
|
"text": "'start' | 'end' | 'none'"
|
|
4574
4602
|
},
|
|
4575
4603
|
"default": "'none'",
|
|
4604
|
+
"description": "The position of the icon.",
|
|
4576
4605
|
"attribute": "icon-position"
|
|
4577
4606
|
},
|
|
4578
4607
|
{
|
|
@@ -4676,6 +4705,16 @@
|
|
|
4676
4705
|
"attribute": "required",
|
|
4677
4706
|
"reflects": true
|
|
4678
4707
|
},
|
|
4708
|
+
{
|
|
4709
|
+
"kind": "field",
|
|
4710
|
+
"name": "iconOnly",
|
|
4711
|
+
"type": {
|
|
4712
|
+
"text": "boolean"
|
|
4713
|
+
},
|
|
4714
|
+
"default": "false",
|
|
4715
|
+
"attribute": "icon-only",
|
|
4716
|
+
"reflects": true
|
|
4717
|
+
},
|
|
4679
4718
|
{
|
|
4680
4719
|
"kind": "field",
|
|
4681
4720
|
"name": "formControlController",
|
|
@@ -4781,6 +4820,19 @@
|
|
|
4781
4820
|
"kind": "method",
|
|
4782
4821
|
"name": "_updatePrefix",
|
|
4783
4822
|
"privacy": "private"
|
|
4823
|
+
},
|
|
4824
|
+
{
|
|
4825
|
+
"kind": "method",
|
|
4826
|
+
"name": "getPlaceholder",
|
|
4827
|
+
"privacy": "private",
|
|
4828
|
+
"parameters": [
|
|
4829
|
+
{
|
|
4830
|
+
"name": "localProvider",
|
|
4831
|
+
"type": {
|
|
4832
|
+
"text": "LocalDataProvider<any>"
|
|
4833
|
+
}
|
|
4834
|
+
}
|
|
4835
|
+
]
|
|
4784
4836
|
}
|
|
4785
4837
|
],
|
|
4786
4838
|
"events": [
|
|
@@ -4820,6 +4872,7 @@
|
|
|
4820
4872
|
"text": "'start' | 'end' | 'none'"
|
|
4821
4873
|
},
|
|
4822
4874
|
"default": "'none'",
|
|
4875
|
+
"description": "The position of the icon.",
|
|
4823
4876
|
"fieldName": "iconPosition"
|
|
4824
4877
|
},
|
|
4825
4878
|
{
|
|
@@ -4909,6 +4962,14 @@
|
|
|
4909
4962
|
"default": "false",
|
|
4910
4963
|
"description": "The selects required attribute.",
|
|
4911
4964
|
"fieldName": "required"
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
"name": "icon-only",
|
|
4968
|
+
"type": {
|
|
4969
|
+
"text": "boolean"
|
|
4970
|
+
},
|
|
4971
|
+
"default": "false",
|
|
4972
|
+
"fieldName": "iconOnly"
|
|
4912
4973
|
}
|
|
4913
4974
|
],
|
|
4914
4975
|
"superclass": {
|
|
@@ -5132,6 +5193,7 @@
|
|
|
5132
5193
|
"type": {
|
|
5133
5194
|
"text": "boolean"
|
|
5134
5195
|
},
|
|
5196
|
+
"default": "true",
|
|
5135
5197
|
"attribute": "hide-checkboxes"
|
|
5136
5198
|
},
|
|
5137
5199
|
{
|
|
@@ -5277,14 +5339,6 @@
|
|
|
5277
5339
|
},
|
|
5278
5340
|
"default": "{}"
|
|
5279
5341
|
},
|
|
5280
|
-
{
|
|
5281
|
-
"kind": "field",
|
|
5282
|
-
"name": "builtinRequestParams",
|
|
5283
|
-
"type": {
|
|
5284
|
-
"text": "Record<string, any>"
|
|
5285
|
-
},
|
|
5286
|
-
"default": "{}"
|
|
5287
|
-
},
|
|
5288
5342
|
{
|
|
5289
5343
|
"kind": "method",
|
|
5290
5344
|
"name": "refresh"
|
|
@@ -5487,6 +5541,24 @@
|
|
|
5487
5541
|
}
|
|
5488
5542
|
]
|
|
5489
5543
|
},
|
|
5544
|
+
{
|
|
5545
|
+
"kind": "method",
|
|
5546
|
+
"name": "isRowSelected",
|
|
5547
|
+
"privacy": "private",
|
|
5548
|
+
"return": {
|
|
5549
|
+
"type": {
|
|
5550
|
+
"text": "boolean"
|
|
5551
|
+
}
|
|
5552
|
+
},
|
|
5553
|
+
"parameters": [
|
|
5554
|
+
{
|
|
5555
|
+
"name": "row",
|
|
5556
|
+
"type": {
|
|
5557
|
+
"text": "Row"
|
|
5558
|
+
}
|
|
5559
|
+
}
|
|
5560
|
+
]
|
|
5561
|
+
},
|
|
5490
5562
|
{
|
|
5491
5563
|
"kind": "method",
|
|
5492
5564
|
"name": "getRows",
|
|
@@ -5727,6 +5799,7 @@
|
|
|
5727
5799
|
"type": {
|
|
5728
5800
|
"text": "boolean"
|
|
5729
5801
|
},
|
|
5802
|
+
"default": "true",
|
|
5730
5803
|
"fieldName": "hideCheckboxes"
|
|
5731
5804
|
},
|
|
5732
5805
|
{
|
|
@@ -8058,6 +8131,13 @@
|
|
|
8058
8131
|
},
|
|
8059
8132
|
"default": "false",
|
|
8060
8133
|
"attribute": "padded"
|
|
8134
|
+
},
|
|
8135
|
+
{
|
|
8136
|
+
"kind": "field",
|
|
8137
|
+
"name": "hasSlotController",
|
|
8138
|
+
"privacy": "private",
|
|
8139
|
+
"readonly": true,
|
|
8140
|
+
"default": "new HasSlotController(this, '[default]', 'caption', 'description')"
|
|
8061
8141
|
}
|
|
8062
8142
|
],
|
|
8063
8143
|
"events": [
|
|
@@ -10176,6 +10256,15 @@
|
|
|
10176
10256
|
"default": "false",
|
|
10177
10257
|
"attribute": "padded"
|
|
10178
10258
|
},
|
|
10259
|
+
{
|
|
10260
|
+
"kind": "field",
|
|
10261
|
+
"name": "blink",
|
|
10262
|
+
"type": {
|
|
10263
|
+
"text": "boolean"
|
|
10264
|
+
},
|
|
10265
|
+
"default": "false",
|
|
10266
|
+
"attribute": "blink"
|
|
10267
|
+
},
|
|
10179
10268
|
{
|
|
10180
10269
|
"kind": "field",
|
|
10181
10270
|
"name": "squared",
|
|
@@ -10308,6 +10397,14 @@
|
|
|
10308
10397
|
"default": "false",
|
|
10309
10398
|
"fieldName": "padded"
|
|
10310
10399
|
},
|
|
10400
|
+
{
|
|
10401
|
+
"name": "blink",
|
|
10402
|
+
"type": {
|
|
10403
|
+
"text": "boolean"
|
|
10404
|
+
},
|
|
10405
|
+
"default": "false",
|
|
10406
|
+
"fieldName": "blink"
|
|
10407
|
+
},
|
|
10311
10408
|
{
|
|
10312
10409
|
"name": "squared",
|
|
10313
10410
|
"type": {
|
|
@@ -12066,6 +12163,16 @@
|
|
|
12066
12163
|
"text": "boolean"
|
|
12067
12164
|
},
|
|
12068
12165
|
"attribute": "align-end"
|
|
12166
|
+
},
|
|
12167
|
+
{
|
|
12168
|
+
"kind": "method",
|
|
12169
|
+
"name": "_hasContent",
|
|
12170
|
+
"privacy": "protected",
|
|
12171
|
+
"return": {
|
|
12172
|
+
"type": {
|
|
12173
|
+
"text": "boolean"
|
|
12174
|
+
}
|
|
12175
|
+
}
|
|
12069
12176
|
}
|
|
12070
12177
|
],
|
|
12071
12178
|
"attributes": [
|
|
@@ -15314,6 +15421,14 @@
|
|
|
15314
15421
|
},
|
|
15315
15422
|
"attribute": "flush-y"
|
|
15316
15423
|
},
|
|
15424
|
+
{
|
|
15425
|
+
"kind": "field",
|
|
15426
|
+
"name": "flushFooter",
|
|
15427
|
+
"type": {
|
|
15428
|
+
"text": "boolean"
|
|
15429
|
+
},
|
|
15430
|
+
"attribute": "flush-footer"
|
|
15431
|
+
},
|
|
15317
15432
|
{
|
|
15318
15433
|
"kind": "field",
|
|
15319
15434
|
"name": "transparent",
|
|
@@ -15380,6 +15495,13 @@
|
|
|
15380
15495
|
},
|
|
15381
15496
|
"fieldName": "flushY"
|
|
15382
15497
|
},
|
|
15498
|
+
{
|
|
15499
|
+
"name": "flush-footer",
|
|
15500
|
+
"type": {
|
|
15501
|
+
"text": "boolean"
|
|
15502
|
+
},
|
|
15503
|
+
"fieldName": "flushFooter"
|
|
15504
|
+
},
|
|
15383
15505
|
{
|
|
15384
15506
|
"name": "transparent",
|
|
15385
15507
|
"type": {
|
|
@@ -25307,7 +25429,7 @@
|
|
|
25307
25429
|
"package": {
|
|
25308
25430
|
"name": "@kubex/zinc",
|
|
25309
25431
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
25310
|
-
"version": "1.0.
|
|
25432
|
+
"version": "1.0.7",
|
|
25311
25433
|
"author": "",
|
|
25312
25434
|
"license": "MIT"
|
|
25313
25435
|
}
|
|
@@ -610,6 +610,7 @@
|
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
612
|
"name": "icon-position",
|
|
613
|
+
"description": "The position of the icon.",
|
|
613
614
|
"values": [{ "name": "start" }, { "name": "end" }, { "name": "none" }]
|
|
614
615
|
},
|
|
615
616
|
{
|
|
@@ -665,7 +666,8 @@
|
|
|
665
666
|
"name": "required",
|
|
666
667
|
"description": "The selects required attribute.",
|
|
667
668
|
"values": []
|
|
668
|
-
}
|
|
669
|
+
},
|
|
670
|
+
{ "name": "icon-only", "values": [] }
|
|
669
671
|
],
|
|
670
672
|
"references": [
|
|
671
673
|
{
|
|
@@ -1242,6 +1244,7 @@
|
|
|
1242
1244
|
{ "name": "library", "values": [{ "name": "IconLibrary" }] },
|
|
1243
1245
|
{ "name": "color", "values": [{ "name": "IconColor" }] },
|
|
1244
1246
|
{ "name": "padded", "values": [] },
|
|
1247
|
+
{ "name": "blink", "values": [] },
|
|
1245
1248
|
{ "name": "squared", "values": [] }
|
|
1246
1249
|
],
|
|
1247
1250
|
"references": [
|
|
@@ -1769,6 +1772,7 @@
|
|
|
1769
1772
|
{ "name": "flush", "values": [] },
|
|
1770
1773
|
{ "name": "flush-x", "values": [] },
|
|
1771
1774
|
{ "name": "flush-y", "values": [] },
|
|
1775
|
+
{ "name": "flush-footer", "values": [] },
|
|
1772
1776
|
{ "name": "transparent", "values": [] }
|
|
1773
1777
|
],
|
|
1774
1778
|
"references": [
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1290,6 +1290,7 @@
|
|
|
1290
1290
|
},
|
|
1291
1291
|
{
|
|
1292
1292
|
"name": "icon-position",
|
|
1293
|
+
"description": "The position of the icon.",
|
|
1293
1294
|
"value": {
|
|
1294
1295
|
"type": "'start' | 'end' | 'none'",
|
|
1295
1296
|
"default": "'none'"
|
|
@@ -1347,6 +1348,10 @@
|
|
|
1347
1348
|
"name": "required",
|
|
1348
1349
|
"description": "The selects required attribute.",
|
|
1349
1350
|
"value": { "type": "boolean", "default": "false" }
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "icon-only",
|
|
1354
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1350
1355
|
}
|
|
1351
1356
|
],
|
|
1352
1357
|
"slots": [
|
|
@@ -1375,7 +1380,11 @@
|
|
|
1375
1380
|
"description": "The provider of the select.",
|
|
1376
1381
|
"type": "'color' | 'currency' | 'country' | 'phone'"
|
|
1377
1382
|
},
|
|
1378
|
-
{
|
|
1383
|
+
{
|
|
1384
|
+
"name": "iconPosition",
|
|
1385
|
+
"description": "The position of the icon.",
|
|
1386
|
+
"type": "'start' | 'end' | 'none'"
|
|
1387
|
+
},
|
|
1379
1388
|
{
|
|
1380
1389
|
"name": "filter",
|
|
1381
1390
|
"description": "An array of keys to use for filtering the options in the selected provider.",
|
|
@@ -1426,6 +1435,7 @@
|
|
|
1426
1435
|
"description": "The selects required attribute.",
|
|
1427
1436
|
"type": "boolean"
|
|
1428
1437
|
},
|
|
1438
|
+
{ "name": "iconOnly", "type": "boolean" },
|
|
1429
1439
|
{ "name": "validationMessage" },
|
|
1430
1440
|
{ "name": "validity", "type": "ValidityState" },
|
|
1431
1441
|
{ "name": "closeOnTab" },
|
|
@@ -1493,7 +1503,10 @@
|
|
|
1493
1503
|
"name": "empty-state-icon",
|
|
1494
1504
|
"value": { "type": "string", "default": "\"data_alert\"" }
|
|
1495
1505
|
},
|
|
1496
|
-
{
|
|
1506
|
+
{
|
|
1507
|
+
"name": "hide-checkboxes",
|
|
1508
|
+
"value": { "type": "boolean", "default": "true" }
|
|
1509
|
+
},
|
|
1497
1510
|
{ "name": "filters", "value": { "type": "[]", "default": "[]" } },
|
|
1498
1511
|
{
|
|
1499
1512
|
"name": "method",
|
|
@@ -1535,7 +1548,6 @@
|
|
|
1535
1548
|
{ "name": "method", "type": "'GET' | 'POST'" },
|
|
1536
1549
|
{ "name": "noInitialLoad", "type": "boolean" },
|
|
1537
1550
|
{ "name": "requestParams", "type": "Record<string, any>" },
|
|
1538
|
-
{ "name": "builtinRequestParams", "type": "Record<string, any>" },
|
|
1539
1551
|
{ "name": "changeEventListener" }
|
|
1540
1552
|
],
|
|
1541
1553
|
"events": [
|
|
@@ -2770,6 +2782,10 @@
|
|
|
2770
2782
|
"name": "padded",
|
|
2771
2783
|
"value": { "type": "boolean", "default": "false" }
|
|
2772
2784
|
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "blink",
|
|
2787
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2788
|
+
},
|
|
2773
2789
|
{
|
|
2774
2790
|
"name": "squared",
|
|
2775
2791
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -2791,6 +2807,7 @@
|
|
|
2791
2807
|
{ "name": "library", "type": "IconLibrary" },
|
|
2792
2808
|
{ "name": "color", "type": "IconColor" },
|
|
2793
2809
|
{ "name": "padded", "type": "boolean" },
|
|
2810
|
+
{ "name": "blink", "type": "boolean" },
|
|
2794
2811
|
{ "name": "squared", "type": "boolean" },
|
|
2795
2812
|
{ "name": "gravatarOptions", "type": "string" },
|
|
2796
2813
|
{ "name": "defaultLibrary", "type": "IconLibrary" }
|
|
@@ -3940,6 +3957,7 @@
|
|
|
3940
3957
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
3941
3958
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
3942
3959
|
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
3960
|
+
{ "name": "flush-footer", "value": { "type": "boolean" } },
|
|
3943
3961
|
{ "name": "transparent", "value": { "type": "boolean" } }
|
|
3944
3962
|
],
|
|
3945
3963
|
"slots": [
|
|
@@ -3958,6 +3976,7 @@
|
|
|
3958
3976
|
{ "name": "flush", "type": "boolean" },
|
|
3959
3977
|
{ "name": "flushX", "type": "boolean" },
|
|
3960
3978
|
{ "name": "flushY", "type": "boolean" },
|
|
3979
|
+
{ "name": "flushFooter", "type": "boolean" },
|
|
3961
3980
|
{ "name": "transparent", "type": "boolean" }
|
|
3962
3981
|
],
|
|
3963
3982
|
"events": []
|
package/dist/zn.d.ts
CHANGED
|
@@ -504,6 +504,7 @@ declare module "components/icon/icon.component" {
|
|
|
504
504
|
library: IconLibrary;
|
|
505
505
|
color: IconColor;
|
|
506
506
|
padded: boolean;
|
|
507
|
+
blink: boolean;
|
|
507
508
|
squared: boolean;
|
|
508
509
|
gravatarOptions: string;
|
|
509
510
|
defaultLibrary: IconLibrary;
|
|
@@ -1518,6 +1519,7 @@ declare module "components/empty-state/empty-state.component" {
|
|
|
1518
1519
|
description: string;
|
|
1519
1520
|
type: 'error' | 'info' | 'primary' | '';
|
|
1520
1521
|
padded: boolean;
|
|
1522
|
+
private readonly hasSlotController;
|
|
1521
1523
|
render(): import("lit").TemplateResult<1>;
|
|
1522
1524
|
}
|
|
1523
1525
|
}
|
|
@@ -2032,10 +2034,10 @@ declare module "components/select/index" {
|
|
|
2032
2034
|
}
|
|
2033
2035
|
declare module "components/data-select/data-select.component" {
|
|
2034
2036
|
import { type DataProviderOption, type LocalDataProvider } from "components/data-select/providers/provider";
|
|
2037
|
+
import { type CSSResultGroup, PropertyValues } from 'lit';
|
|
2035
2038
|
import { FormControlController } from "internal/form";
|
|
2036
|
-
import ZincElement from "internal/zinc-element";
|
|
2037
|
-
import type { CSSResultGroup } from 'lit';
|
|
2038
2039
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
2040
|
+
import ZincElement from "internal/zinc-element";
|
|
2039
2041
|
import type ZnSelect from "components/select/index";
|
|
2040
2042
|
/**
|
|
2041
2043
|
* @summary Short summary of the component's intended use.
|
|
@@ -2064,6 +2066,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2064
2066
|
value: string;
|
|
2065
2067
|
/** The provider of the select. */
|
|
2066
2068
|
provider: 'color' | 'currency' | 'country' | 'phone';
|
|
2069
|
+
/** The position of the icon. */
|
|
2067
2070
|
iconPosition: 'start' | 'end' | 'none';
|
|
2068
2071
|
/** An array of keys to use for filtering the options in the selected provider. */
|
|
2069
2072
|
filter: string[];
|
|
@@ -2088,11 +2091,14 @@ declare module "components/data-select/data-select.component" {
|
|
|
2088
2091
|
helpText: string;
|
|
2089
2092
|
/** The selects required attribute. */
|
|
2090
2093
|
required: boolean;
|
|
2094
|
+
iconOnly: boolean;
|
|
2091
2095
|
protected readonly formControlController: FormControlController;
|
|
2092
2096
|
get validationMessage(): string;
|
|
2093
2097
|
get validity(): ValidityState;
|
|
2098
|
+
constructor();
|
|
2094
2099
|
connectedCallback(): void;
|
|
2095
2100
|
disconnectedCallback(): void;
|
|
2101
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
2096
2102
|
checkValidity(): boolean;
|
|
2097
2103
|
getForm(): HTMLFormElement | null;
|
|
2098
2104
|
reportValidity(): boolean;
|
|
@@ -2105,6 +2111,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2105
2111
|
blur: () => void;
|
|
2106
2112
|
protected render(): import("lit").TemplateResult<1>;
|
|
2107
2113
|
private _updatePrefix;
|
|
2114
|
+
private getPlaceholder;
|
|
2108
2115
|
}
|
|
2109
2116
|
}
|
|
2110
2117
|
declare module "components/data-select/index" {
|
|
@@ -2632,7 +2639,6 @@ declare module "components/data-table/data-table.component" {
|
|
|
2632
2639
|
private _dataTask;
|
|
2633
2640
|
private rowHasActions;
|
|
2634
2641
|
requestParams: Record<string, any>;
|
|
2635
|
-
builtinRequestParams: Record<string, any>;
|
|
2636
2642
|
refresh(): void;
|
|
2637
2643
|
render(): TemplateResult<1>;
|
|
2638
2644
|
connectedCallback(): void;
|
|
@@ -2660,6 +2666,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
2660
2666
|
private getTableSortIcon;
|
|
2661
2667
|
private renderCellHeader;
|
|
2662
2668
|
private renderCellBody;
|
|
2669
|
+
private isRowSelected;
|
|
2663
2670
|
private getRows;
|
|
2664
2671
|
private getSelectedKeys;
|
|
2665
2672
|
private updateKeys;
|
|
@@ -3447,6 +3454,7 @@ declare module "components/panel/panel.component" {
|
|
|
3447
3454
|
flush: boolean;
|
|
3448
3455
|
flushX: boolean;
|
|
3449
3456
|
flushY: boolean;
|
|
3457
|
+
flushFooter: boolean;
|
|
3450
3458
|
transparent: boolean;
|
|
3451
3459
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
3452
3460
|
connectedCallback(): void;
|
|
@@ -4222,6 +4230,7 @@ declare module "components/editor/modules/toolbar/toolbar" {
|
|
|
4222
4230
|
private _openDatePicker;
|
|
4223
4231
|
private _openDialog;
|
|
4224
4232
|
private _handleOverflowUpdate;
|
|
4233
|
+
private _addImage;
|
|
4225
4234
|
}
|
|
4226
4235
|
export default Toolbar;
|
|
4227
4236
|
}
|
|
@@ -4245,6 +4254,7 @@ declare module "components/editor/modules/attachment/attachment" {
|
|
|
4245
4254
|
constructor(quill: Quill, options: AttachmentOptions);
|
|
4246
4255
|
private _selectLocalImage;
|
|
4247
4256
|
private _fileChanged;
|
|
4257
|
+
addAttachment(file: File, dataUrl?: string): void;
|
|
4248
4258
|
private _attachmentContainer;
|
|
4249
4259
|
private _createAttachmentContainer;
|
|
4250
4260
|
private _insertAttachment;
|
|
@@ -5771,6 +5781,7 @@ declare module "components/item/item.component" {
|
|
|
5771
5781
|
alignEnd: boolean;
|
|
5772
5782
|
connectedCallback(): void;
|
|
5773
5783
|
protected updated(_changedProperties: PropertyValues): void;
|
|
5784
|
+
protected _hasContent(): boolean;
|
|
5774
5785
|
render(): import("lit").TemplateResult<1>;
|
|
5775
5786
|
}
|
|
5776
5787
|
}
|
|
@@ -6223,17 +6234,21 @@ declare module "components/content-block/content-block.component" {
|
|
|
6223
6234
|
iframe: Promise<HTMLIFrameElement>;
|
|
6224
6235
|
private readonly hasSlotController;
|
|
6225
6236
|
private _textRows;
|
|
6226
|
-
private
|
|
6237
|
+
private _footerObserver?;
|
|
6238
|
+
private _replaceDebounce;
|
|
6227
6239
|
connectedCallback(): void;
|
|
6228
6240
|
disconnectedCallback(): void;
|
|
6229
6241
|
private _collapseContent;
|
|
6230
6242
|
private _toggleText;
|
|
6231
6243
|
private _toggleHtml;
|
|
6244
|
+
private _resizeIframe;
|
|
6232
6245
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
6233
6246
|
protected render(): import("lit").TemplateResult<1>;
|
|
6234
6247
|
protected truncateText(): string;
|
|
6248
|
+
private _handleSlotChange;
|
|
6249
|
+
private _debouncedReplace;
|
|
6250
|
+
private _replaceImagePlaceholders;
|
|
6235
6251
|
protected getTextSections(): TextRow[];
|
|
6236
|
-
private transformLineForImages;
|
|
6237
6252
|
showReply(e: MouseEvent): void;
|
|
6238
6253
|
}
|
|
6239
6254
|
}
|