@kubex/zinc 1.0.8 → 1.0.10
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 +229 -10
- package/dist/vscode.html-custom-data.json +15 -2
- package/dist/web-types.json +64 -5
- package/dist/zn.d.ts +40 -2
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +385 -372
- package/docs/pages/components/button.md +14 -0
- package/docs/pages/components/dropdown.md +6 -1
- package/docs/pages/components/table.md +1 -1
- package/package.json +1 -1
- package/scss/themes/_light.scss +1 -1
- package/src/components/button/button.component.ts +12 -20
- package/src/components/button/button.scss +3 -33
- package/src/components/button-menu/button-menu.component.ts +1 -0
- package/src/components/content-block/content-block.scss +54 -0
- package/src/components/data-table/data-table.component.ts +22 -3
- package/src/components/editor/editor.component.ts +110 -55
- package/src/components/editor/editor.scss +0 -1
- package/src/components/editor/modules/context-menu/context-menu-component.ts +1 -0
- package/src/components/editor/modules/context-menu/context-menu.scss +1 -1
- package/src/components/editor/modules/context-menu/context-menu.ts +58 -26
- package/src/components/editor/modules/context-menu/quick-action/quick-action.component.ts +1 -0
- package/src/components/editor/modules/toolbar/toolbar.component.ts +61 -33
- package/src/components/editor/modules/toolbar/toolbar.ts +19 -4
- package/src/components/header/header.scss +1 -0
- package/src/components/menu/menu.component.ts +2 -1
- package/src/components/menu-item/menu-item.component.ts +4 -0
- package/src/components/note/note.component.ts +2 -25
- package/src/components/note/note.scss +0 -7
- package/src/components/order-table/order-table.scss +16 -10
- package/src/components/panel/panel.component.ts +9 -3
- package/src/components/panel/panel.scss +8 -0
- package/src/components/popup/popup.component.ts +11 -21
- package/src/components/settings-container/settings-container.component.ts +22 -16
- package/src/components/settings-container/settings-container.scss +5 -4
- package/src/components/tabs/tabs.component.ts +24 -6
- package/src/components/tooltip/tooltip.component.ts +7 -7
- package/src/internal/form.ts +41 -3
|
@@ -1125,6 +1125,11 @@
|
|
|
1125
1125
|
{
|
|
1126
1126
|
"kind": "method",
|
|
1127
1127
|
"name": "teardownAutoClick"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"kind": "method",
|
|
1131
|
+
"name": "_getLoadingContainer",
|
|
1132
|
+
"privacy": "private"
|
|
1128
1133
|
}
|
|
1129
1134
|
],
|
|
1130
1135
|
"events": [
|
|
@@ -8044,6 +8049,96 @@
|
|
|
8044
8049
|
},
|
|
8045
8050
|
"attribute": "attachment-url"
|
|
8046
8051
|
},
|
|
8052
|
+
{
|
|
8053
|
+
"kind": "field",
|
|
8054
|
+
"name": "codeBlocksEnabled",
|
|
8055
|
+
"type": {
|
|
8056
|
+
"text": "boolean"
|
|
8057
|
+
},
|
|
8058
|
+
"default": "false",
|
|
8059
|
+
"attribute": "code-blocks"
|
|
8060
|
+
},
|
|
8061
|
+
{
|
|
8062
|
+
"kind": "field",
|
|
8063
|
+
"name": "dividersEnabled",
|
|
8064
|
+
"type": {
|
|
8065
|
+
"text": "boolean"
|
|
8066
|
+
},
|
|
8067
|
+
"default": "false",
|
|
8068
|
+
"attribute": "dividers"
|
|
8069
|
+
},
|
|
8070
|
+
{
|
|
8071
|
+
"kind": "field",
|
|
8072
|
+
"name": "linksEnabled",
|
|
8073
|
+
"type": {
|
|
8074
|
+
"text": "boolean"
|
|
8075
|
+
},
|
|
8076
|
+
"default": "false",
|
|
8077
|
+
"attribute": "links"
|
|
8078
|
+
},
|
|
8079
|
+
{
|
|
8080
|
+
"kind": "field",
|
|
8081
|
+
"name": "attachmentsEnabled",
|
|
8082
|
+
"type": {
|
|
8083
|
+
"text": "boolean"
|
|
8084
|
+
},
|
|
8085
|
+
"default": "false",
|
|
8086
|
+
"attribute": "attachments"
|
|
8087
|
+
},
|
|
8088
|
+
{
|
|
8089
|
+
"kind": "field",
|
|
8090
|
+
"name": "imagesEnabled",
|
|
8091
|
+
"type": {
|
|
8092
|
+
"text": "boolean"
|
|
8093
|
+
},
|
|
8094
|
+
"default": "false",
|
|
8095
|
+
"attribute": "images"
|
|
8096
|
+
},
|
|
8097
|
+
{
|
|
8098
|
+
"kind": "field",
|
|
8099
|
+
"name": "videosEnabled",
|
|
8100
|
+
"type": {
|
|
8101
|
+
"text": "boolean"
|
|
8102
|
+
},
|
|
8103
|
+
"default": "false",
|
|
8104
|
+
"attribute": "videos"
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"kind": "field",
|
|
8108
|
+
"name": "datesEnabled",
|
|
8109
|
+
"type": {
|
|
8110
|
+
"text": "boolean"
|
|
8111
|
+
},
|
|
8112
|
+
"default": "false",
|
|
8113
|
+
"attribute": "dates"
|
|
8114
|
+
},
|
|
8115
|
+
{
|
|
8116
|
+
"kind": "field",
|
|
8117
|
+
"name": "emojisEnabled",
|
|
8118
|
+
"type": {
|
|
8119
|
+
"text": "boolean"
|
|
8120
|
+
},
|
|
8121
|
+
"default": "false",
|
|
8122
|
+
"attribute": "emojis"
|
|
8123
|
+
},
|
|
8124
|
+
{
|
|
8125
|
+
"kind": "field",
|
|
8126
|
+
"name": "codeEnabled",
|
|
8127
|
+
"type": {
|
|
8128
|
+
"text": "boolean"
|
|
8129
|
+
},
|
|
8130
|
+
"default": "false",
|
|
8131
|
+
"attribute": "code"
|
|
8132
|
+
},
|
|
8133
|
+
{
|
|
8134
|
+
"kind": "field",
|
|
8135
|
+
"name": "aiEnabled",
|
|
8136
|
+
"type": {
|
|
8137
|
+
"text": "boolean"
|
|
8138
|
+
},
|
|
8139
|
+
"default": "false",
|
|
8140
|
+
"attribute": "ai"
|
|
8141
|
+
},
|
|
8047
8142
|
{
|
|
8048
8143
|
"kind": "field",
|
|
8049
8144
|
"name": "aiPath",
|
|
@@ -8231,6 +8326,86 @@
|
|
|
8231
8326
|
},
|
|
8232
8327
|
"fieldName": "uploadAttachmentUrl"
|
|
8233
8328
|
},
|
|
8329
|
+
{
|
|
8330
|
+
"name": "code-blocks",
|
|
8331
|
+
"type": {
|
|
8332
|
+
"text": "boolean"
|
|
8333
|
+
},
|
|
8334
|
+
"default": "false",
|
|
8335
|
+
"fieldName": "codeBlocksEnabled"
|
|
8336
|
+
},
|
|
8337
|
+
{
|
|
8338
|
+
"name": "dividers",
|
|
8339
|
+
"type": {
|
|
8340
|
+
"text": "boolean"
|
|
8341
|
+
},
|
|
8342
|
+
"default": "false",
|
|
8343
|
+
"fieldName": "dividersEnabled"
|
|
8344
|
+
},
|
|
8345
|
+
{
|
|
8346
|
+
"name": "links",
|
|
8347
|
+
"type": {
|
|
8348
|
+
"text": "boolean"
|
|
8349
|
+
},
|
|
8350
|
+
"default": "false",
|
|
8351
|
+
"fieldName": "linksEnabled"
|
|
8352
|
+
},
|
|
8353
|
+
{
|
|
8354
|
+
"name": "attachments",
|
|
8355
|
+
"type": {
|
|
8356
|
+
"text": "boolean"
|
|
8357
|
+
},
|
|
8358
|
+
"default": "false",
|
|
8359
|
+
"fieldName": "attachmentsEnabled"
|
|
8360
|
+
},
|
|
8361
|
+
{
|
|
8362
|
+
"name": "images",
|
|
8363
|
+
"type": {
|
|
8364
|
+
"text": "boolean"
|
|
8365
|
+
},
|
|
8366
|
+
"default": "false",
|
|
8367
|
+
"fieldName": "imagesEnabled"
|
|
8368
|
+
},
|
|
8369
|
+
{
|
|
8370
|
+
"name": "videos",
|
|
8371
|
+
"type": {
|
|
8372
|
+
"text": "boolean"
|
|
8373
|
+
},
|
|
8374
|
+
"default": "false",
|
|
8375
|
+
"fieldName": "videosEnabled"
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"name": "dates",
|
|
8379
|
+
"type": {
|
|
8380
|
+
"text": "boolean"
|
|
8381
|
+
},
|
|
8382
|
+
"default": "false",
|
|
8383
|
+
"fieldName": "datesEnabled"
|
|
8384
|
+
},
|
|
8385
|
+
{
|
|
8386
|
+
"name": "emojis",
|
|
8387
|
+
"type": {
|
|
8388
|
+
"text": "boolean"
|
|
8389
|
+
},
|
|
8390
|
+
"default": "false",
|
|
8391
|
+
"fieldName": "emojisEnabled"
|
|
8392
|
+
},
|
|
8393
|
+
{
|
|
8394
|
+
"name": "code",
|
|
8395
|
+
"type": {
|
|
8396
|
+
"text": "boolean"
|
|
8397
|
+
},
|
|
8398
|
+
"default": "false",
|
|
8399
|
+
"fieldName": "codeEnabled"
|
|
8400
|
+
},
|
|
8401
|
+
{
|
|
8402
|
+
"name": "ai",
|
|
8403
|
+
"type": {
|
|
8404
|
+
"text": "boolean"
|
|
8405
|
+
},
|
|
8406
|
+
"default": "false",
|
|
8407
|
+
"fieldName": "aiEnabled"
|
|
8408
|
+
},
|
|
8234
8409
|
{
|
|
8235
8410
|
"name": "ai-path",
|
|
8236
8411
|
"type": {
|
|
@@ -13137,6 +13312,16 @@
|
|
|
13137
13312
|
},
|
|
13138
13313
|
"attribute": "gaid"
|
|
13139
13314
|
},
|
|
13315
|
+
{
|
|
13316
|
+
"kind": "field",
|
|
13317
|
+
"name": "confirm",
|
|
13318
|
+
"type": {
|
|
13319
|
+
"text": "boolean"
|
|
13320
|
+
},
|
|
13321
|
+
"default": "false",
|
|
13322
|
+
"attribute": "confirm",
|
|
13323
|
+
"reflects": true
|
|
13324
|
+
},
|
|
13140
13325
|
{
|
|
13141
13326
|
"kind": "field",
|
|
13142
13327
|
"name": "localize",
|
|
@@ -13311,6 +13496,14 @@
|
|
|
13311
13496
|
"text": "string"
|
|
13312
13497
|
},
|
|
13313
13498
|
"fieldName": "gaid"
|
|
13499
|
+
},
|
|
13500
|
+
{
|
|
13501
|
+
"name": "confirm",
|
|
13502
|
+
"type": {
|
|
13503
|
+
"text": "boolean"
|
|
13504
|
+
},
|
|
13505
|
+
"default": "false",
|
|
13506
|
+
"fieldName": "confirm"
|
|
13314
13507
|
}
|
|
13315
13508
|
],
|
|
13316
13509
|
"superclass": {
|
|
@@ -13818,15 +14011,6 @@
|
|
|
13818
14011
|
"privacy": "private",
|
|
13819
14012
|
"default": "false"
|
|
13820
14013
|
},
|
|
13821
|
-
{
|
|
13822
|
-
"kind": "field",
|
|
13823
|
-
"name": "_isOverflowing",
|
|
13824
|
-
"type": {
|
|
13825
|
-
"text": "boolean"
|
|
13826
|
-
},
|
|
13827
|
-
"privacy": "private",
|
|
13828
|
-
"default": "false"
|
|
13829
|
-
},
|
|
13830
14014
|
{
|
|
13831
14015
|
"kind": "field",
|
|
13832
14016
|
"name": "_toggleExpand",
|
|
@@ -15673,6 +15857,14 @@
|
|
|
15673
15857
|
},
|
|
15674
15858
|
"attribute": "tabbed"
|
|
15675
15859
|
},
|
|
15860
|
+
{
|
|
15861
|
+
"kind": "field",
|
|
15862
|
+
"name": "underlineHeader",
|
|
15863
|
+
"type": {
|
|
15864
|
+
"text": "boolean"
|
|
15865
|
+
},
|
|
15866
|
+
"attribute": "header-underline"
|
|
15867
|
+
},
|
|
15676
15868
|
{
|
|
15677
15869
|
"kind": "field",
|
|
15678
15870
|
"name": "cosmic",
|
|
@@ -15720,6 +15912,14 @@
|
|
|
15720
15912
|
"text": "boolean"
|
|
15721
15913
|
},
|
|
15722
15914
|
"attribute": "transparent"
|
|
15915
|
+
},
|
|
15916
|
+
{
|
|
15917
|
+
"kind": "field",
|
|
15918
|
+
"name": "shadow",
|
|
15919
|
+
"type": {
|
|
15920
|
+
"text": "boolean"
|
|
15921
|
+
},
|
|
15922
|
+
"attribute": "shadow"
|
|
15723
15923
|
}
|
|
15724
15924
|
],
|
|
15725
15925
|
"attributes": [
|
|
@@ -15758,6 +15958,13 @@
|
|
|
15758
15958
|
},
|
|
15759
15959
|
"fieldName": "tabbed"
|
|
15760
15960
|
},
|
|
15961
|
+
{
|
|
15962
|
+
"name": "header-underline",
|
|
15963
|
+
"type": {
|
|
15964
|
+
"text": "boolean"
|
|
15965
|
+
},
|
|
15966
|
+
"fieldName": "underlineHeader"
|
|
15967
|
+
},
|
|
15761
15968
|
{
|
|
15762
15969
|
"name": "cosmic",
|
|
15763
15970
|
"type": {
|
|
@@ -15799,6 +16006,13 @@
|
|
|
15799
16006
|
"text": "boolean"
|
|
15800
16007
|
},
|
|
15801
16008
|
"fieldName": "transparent"
|
|
16009
|
+
},
|
|
16010
|
+
{
|
|
16011
|
+
"name": "shadow",
|
|
16012
|
+
"type": {
|
|
16013
|
+
"text": "boolean"
|
|
16014
|
+
},
|
|
16015
|
+
"fieldName": "shadow"
|
|
15802
16016
|
}
|
|
15803
16017
|
],
|
|
15804
16018
|
"superclass": {
|
|
@@ -20026,6 +20240,11 @@
|
|
|
20026
20240
|
}
|
|
20027
20241
|
}
|
|
20028
20242
|
]
|
|
20243
|
+
},
|
|
20244
|
+
{
|
|
20245
|
+
"kind": "method",
|
|
20246
|
+
"name": "getDropdownContent",
|
|
20247
|
+
"privacy": "private"
|
|
20029
20248
|
}
|
|
20030
20249
|
],
|
|
20031
20250
|
"events": [
|
|
@@ -25737,7 +25956,7 @@
|
|
|
25737
25956
|
"package": {
|
|
25738
25957
|
"name": "@kubex/zinc",
|
|
25739
25958
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
25740
|
-
"version": "1.0.
|
|
25959
|
+
"version": "1.0.10",
|
|
25741
25960
|
"author": "",
|
|
25742
25961
|
"license": "MIT"
|
|
25743
25962
|
}
|
|
@@ -997,6 +997,16 @@
|
|
|
997
997
|
"values": [{ "name": "ticket" }, { "name": "chat" }]
|
|
998
998
|
},
|
|
999
999
|
{ "name": "attachment-url", "values": [] },
|
|
1000
|
+
{ "name": "code-blocks", "values": [] },
|
|
1001
|
+
{ "name": "dividers", "values": [] },
|
|
1002
|
+
{ "name": "links", "values": [] },
|
|
1003
|
+
{ "name": "attachments", "values": [] },
|
|
1004
|
+
{ "name": "images", "values": [] },
|
|
1005
|
+
{ "name": "videos", "values": [] },
|
|
1006
|
+
{ "name": "dates", "values": [] },
|
|
1007
|
+
{ "name": "emojis", "values": [] },
|
|
1008
|
+
{ "name": "code", "values": [] },
|
|
1009
|
+
{ "name": "ai", "values": [] },
|
|
1000
1010
|
{ "name": "ai-path", "values": [] }
|
|
1001
1011
|
],
|
|
1002
1012
|
"references": [
|
|
@@ -1642,7 +1652,8 @@
|
|
|
1642
1652
|
"values": [{ "name": "modal" }, { "name": "slide" }]
|
|
1643
1653
|
},
|
|
1644
1654
|
{ "name": "rel", "values": [] },
|
|
1645
|
-
{ "name": "gaid", "values": [] }
|
|
1655
|
+
{ "name": "gaid", "values": [] },
|
|
1656
|
+
{ "name": "confirm", "values": [] }
|
|
1646
1657
|
],
|
|
1647
1658
|
"references": [
|
|
1648
1659
|
{
|
|
@@ -1788,12 +1799,14 @@
|
|
|
1788
1799
|
{ "name": "icon", "values": [] },
|
|
1789
1800
|
{ "name": "description", "values": [] },
|
|
1790
1801
|
{ "name": "tabbed", "values": [] },
|
|
1802
|
+
{ "name": "header-underline", "values": [] },
|
|
1791
1803
|
{ "name": "cosmic", "values": [] },
|
|
1792
1804
|
{ "name": "flush", "values": [] },
|
|
1793
1805
|
{ "name": "flush-x", "values": [] },
|
|
1794
1806
|
{ "name": "flush-y", "values": [] },
|
|
1795
1807
|
{ "name": "flush-footer", "values": [] },
|
|
1796
|
-
{ "name": "transparent", "values": [] }
|
|
1808
|
+
{ "name": "transparent", "values": [] },
|
|
1809
|
+
{ "name": "shadow", "values": [] }
|
|
1797
1810
|
],
|
|
1798
1811
|
"references": [
|
|
1799
1812
|
{
|
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.10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2181,6 +2181,46 @@
|
|
|
2181
2181
|
"value": { "type": "'ticket' | 'chat'", "default": "'chat'" }
|
|
2182
2182
|
},
|
|
2183
2183
|
{ "name": "attachment-url", "value": { "type": "string" } },
|
|
2184
|
+
{
|
|
2185
|
+
"name": "code-blocks",
|
|
2186
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"name": "dividers",
|
|
2190
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "links",
|
|
2194
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "attachments",
|
|
2198
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
"name": "images",
|
|
2202
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"name": "videos",
|
|
2206
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "dates",
|
|
2210
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"name": "emojis",
|
|
2214
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "code",
|
|
2218
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"name": "ai",
|
|
2222
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2223
|
+
},
|
|
2184
2224
|
{
|
|
2185
2225
|
"name": "ai-path",
|
|
2186
2226
|
"value": { "type": "string", "default": "''" }
|
|
@@ -2200,6 +2240,16 @@
|
|
|
2200
2240
|
{ "name": "value", "type": "string" },
|
|
2201
2241
|
{ "name": "interactionType", "type": "'ticket' | 'chat'" },
|
|
2202
2242
|
{ "name": "uploadAttachmentUrl", "type": "string" },
|
|
2243
|
+
{ "name": "codeBlocksEnabled", "type": "boolean" },
|
|
2244
|
+
{ "name": "dividersEnabled", "type": "boolean" },
|
|
2245
|
+
{ "name": "linksEnabled", "type": "boolean" },
|
|
2246
|
+
{ "name": "attachmentsEnabled", "type": "boolean" },
|
|
2247
|
+
{ "name": "imagesEnabled", "type": "boolean" },
|
|
2248
|
+
{ "name": "videosEnabled", "type": "boolean" },
|
|
2249
|
+
{ "name": "datesEnabled", "type": "boolean" },
|
|
2250
|
+
{ "name": "emojisEnabled", "type": "boolean" },
|
|
2251
|
+
{ "name": "codeEnabled", "type": "boolean" },
|
|
2252
|
+
{ "name": "aiEnabled", "type": "boolean" },
|
|
2203
2253
|
{ "name": "aiPath", "type": "string" },
|
|
2204
2254
|
{ "name": "validity", "type": "ValidityState" },
|
|
2205
2255
|
{ "name": "validationMessage", "type": "string" }
|
|
@@ -3629,7 +3679,11 @@
|
|
|
3629
3679
|
"name": "rel",
|
|
3630
3680
|
"value": { "type": "string", "default": "'noreferrer noopener'" }
|
|
3631
3681
|
},
|
|
3632
|
-
{ "name": "gaid", "value": { "type": "string" } }
|
|
3682
|
+
{ "name": "gaid", "value": { "type": "string" } },
|
|
3683
|
+
{
|
|
3684
|
+
"name": "confirm",
|
|
3685
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3686
|
+
}
|
|
3633
3687
|
],
|
|
3634
3688
|
"slots": [
|
|
3635
3689
|
{ "name": "", "description": "The default slot." },
|
|
@@ -3677,7 +3731,8 @@
|
|
|
3677
3731
|
},
|
|
3678
3732
|
{ "name": "dataTarget", "type": "'modal' | 'slide' | string" },
|
|
3679
3733
|
{ "name": "rel", "type": "string" },
|
|
3680
|
-
{ "name": "gaid", "type": "string" }
|
|
3734
|
+
{ "name": "gaid", "type": "string" },
|
|
3735
|
+
{ "name": "confirm", "type": "boolean" }
|
|
3681
3736
|
],
|
|
3682
3737
|
"events": [
|
|
3683
3738
|
{
|
|
@@ -4012,12 +4067,14 @@
|
|
|
4012
4067
|
{ "name": "icon", "value": { "type": "string" } },
|
|
4013
4068
|
{ "name": "description", "value": { "type": "string" } },
|
|
4014
4069
|
{ "name": "tabbed", "value": { "type": "boolean" } },
|
|
4070
|
+
{ "name": "header-underline", "value": { "type": "boolean" } },
|
|
4015
4071
|
{ "name": "cosmic", "value": { "type": "boolean" } },
|
|
4016
4072
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
4017
4073
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
4018
4074
|
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
4019
4075
|
{ "name": "flush-footer", "value": { "type": "boolean" } },
|
|
4020
|
-
{ "name": "transparent", "value": { "type": "boolean" } }
|
|
4076
|
+
{ "name": "transparent", "value": { "type": "boolean" } },
|
|
4077
|
+
{ "name": "shadow", "value": { "type": "boolean" } }
|
|
4021
4078
|
],
|
|
4022
4079
|
"slots": [
|
|
4023
4080
|
{ "name": "", "description": "The default slot." },
|
|
@@ -4032,12 +4089,14 @@
|
|
|
4032
4089
|
{ "name": "icon", "type": "string" },
|
|
4033
4090
|
{ "name": "description", "type": "string" },
|
|
4034
4091
|
{ "name": "tabbed", "type": "boolean" },
|
|
4092
|
+
{ "name": "underlineHeader", "type": "boolean" },
|
|
4035
4093
|
{ "name": "cosmic", "type": "boolean" },
|
|
4036
4094
|
{ "name": "flush", "type": "boolean" },
|
|
4037
4095
|
{ "name": "flushX", "type": "boolean" },
|
|
4038
4096
|
{ "name": "flushY", "type": "boolean" },
|
|
4039
4097
|
{ "name": "flushFooter", "type": "boolean" },
|
|
4040
|
-
{ "name": "transparent", "type": "boolean" }
|
|
4098
|
+
{ "name": "transparent", "type": "boolean" },
|
|
4099
|
+
{ "name": "shadow", "type": "boolean" }
|
|
4041
4100
|
],
|
|
4042
4101
|
"events": []
|
|
4043
4102
|
}
|
package/dist/zn.d.ts
CHANGED
|
@@ -575,6 +575,7 @@ declare module "components/menu-item/menu-item.component" {
|
|
|
575
575
|
dataTarget: 'modal' | 'slide' | string;
|
|
576
576
|
rel: string;
|
|
577
577
|
gaid: string;
|
|
578
|
+
confirm: boolean;
|
|
578
579
|
private readonly localize;
|
|
579
580
|
private readonly hasSlotController;
|
|
580
581
|
private submenuController;
|
|
@@ -1131,6 +1132,7 @@ declare module "components/button/button.component" {
|
|
|
1131
1132
|
updateCountdownText(): void;
|
|
1132
1133
|
teardownAutoClick(): void;
|
|
1133
1134
|
protected render(): unknown;
|
|
1135
|
+
private _getLoadingContainer;
|
|
1134
1136
|
}
|
|
1135
1137
|
}
|
|
1136
1138
|
declare module "components/button/index" {
|
|
@@ -2576,6 +2578,8 @@ declare module "components/data-table/data-table.component" {
|
|
|
2576
2578
|
default?: boolean;
|
|
2577
2579
|
sortable?: boolean;
|
|
2578
2580
|
filterable?: boolean;
|
|
2581
|
+
hideHeader?: boolean;
|
|
2582
|
+
hideColumn?: boolean;
|
|
2579
2583
|
}
|
|
2580
2584
|
/**
|
|
2581
2585
|
* @summary Short summary of the component's intended use.
|
|
@@ -2845,7 +2849,6 @@ declare module "components/note/note.component" {
|
|
|
2845
2849
|
body: string;
|
|
2846
2850
|
collapseAtLines: number;
|
|
2847
2851
|
private expanded;
|
|
2848
|
-
private _isOverflowing;
|
|
2849
2852
|
private _toggleExpand;
|
|
2850
2853
|
private _measureOverflow;
|
|
2851
2854
|
protected firstUpdated(): void;
|
|
@@ -3479,12 +3482,14 @@ declare module "components/panel/panel.component" {
|
|
|
3479
3482
|
icon: string;
|
|
3480
3483
|
description: string;
|
|
3481
3484
|
tabbed: boolean;
|
|
3485
|
+
underlineHeader: boolean;
|
|
3482
3486
|
cosmic: boolean;
|
|
3483
3487
|
flush: boolean;
|
|
3484
3488
|
flushX: boolean;
|
|
3485
3489
|
flushY: boolean;
|
|
3486
3490
|
flushFooter: boolean;
|
|
3487
3491
|
transparent: boolean;
|
|
3492
|
+
shadow: boolean;
|
|
3488
3493
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
3489
3494
|
connectedCallback(): void;
|
|
3490
3495
|
protected render(): unknown;
|
|
@@ -4166,6 +4171,7 @@ declare module "components/editor/modules/toolbar/tool/index" {
|
|
|
4166
4171
|
declare module "components/editor/modules/toolbar/toolbar.component" {
|
|
4167
4172
|
import { type CSSResultGroup, type PropertyValues } from "lit";
|
|
4168
4173
|
import ZincElement from "internal/zinc-element";
|
|
4174
|
+
import type { EditorFeatureConfig } from "components/editor/editor.component";
|
|
4169
4175
|
export default class ToolbarComponent extends ZincElement {
|
|
4170
4176
|
static styles: CSSResultGroup;
|
|
4171
4177
|
containerWidth: number;
|
|
@@ -4173,6 +4179,7 @@ declare module "components/editor/modules/toolbar/toolbar.component" {
|
|
|
4173
4179
|
private _groups;
|
|
4174
4180
|
private _overflowMenu;
|
|
4175
4181
|
private _overflowGroup;
|
|
4182
|
+
private _featureConfig;
|
|
4176
4183
|
private _resizeObserver;
|
|
4177
4184
|
private _resizeId;
|
|
4178
4185
|
private _movedContent;
|
|
@@ -4180,6 +4187,7 @@ declare module "components/editor/modules/toolbar/toolbar.component" {
|
|
|
4180
4187
|
disconnectedCallback(): void;
|
|
4181
4188
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
4182
4189
|
handleResize: () => void;
|
|
4190
|
+
configureToolbar(config: EditorFeatureConfig): void;
|
|
4183
4191
|
private getToolbarWidth;
|
|
4184
4192
|
private getOverflowGroupWidth;
|
|
4185
4193
|
private restoreMovedContent;
|
|
@@ -4251,6 +4259,7 @@ declare module "components/editor/modules/toolbar/toolbar" {
|
|
|
4251
4259
|
import "components/editor/modules/toolbar/toolbar.component";
|
|
4252
4260
|
import Quill from "quill";
|
|
4253
4261
|
import QuillToolbar from "quill/modules/toolbar";
|
|
4262
|
+
import type { EditorFeatureConfig } from "components/editor/editor.component";
|
|
4254
4263
|
import type ToolbarComponent from "components/editor/modules/toolbar/toolbar.component";
|
|
4255
4264
|
class Toolbar extends QuillToolbar {
|
|
4256
4265
|
private readonly _quill;
|
|
@@ -4260,6 +4269,7 @@ declare module "components/editor/modules/toolbar/toolbar" {
|
|
|
4260
4269
|
constructor(quill: Quill, options: {
|
|
4261
4270
|
container: ToolbarComponent;
|
|
4262
4271
|
handlers?: Record<string, (value?: any) => void>;
|
|
4272
|
+
config?: EditorFeatureConfig;
|
|
4263
4273
|
});
|
|
4264
4274
|
callFormat(key: string, value?: string | boolean | undefined): void;
|
|
4265
4275
|
trigger(key: string): void;
|
|
@@ -4321,6 +4331,7 @@ declare module "components/editor/modules/context-menu/context-menu-component" {
|
|
|
4321
4331
|
format?: string;
|
|
4322
4332
|
key?: string;
|
|
4323
4333
|
value?: string | boolean;
|
|
4334
|
+
order?: number;
|
|
4324
4335
|
}
|
|
4325
4336
|
export default class ContextMenuComponent extends ZincElement {
|
|
4326
4337
|
static styles: CSSResultGroup;
|
|
@@ -4346,6 +4357,7 @@ declare module "components/editor/modules/context-menu/quick-action/quick-action
|
|
|
4346
4357
|
content: string;
|
|
4347
4358
|
key: string;
|
|
4348
4359
|
icon: string;
|
|
4360
|
+
order?: number | null;
|
|
4349
4361
|
render(): import("lit").TemplateResult<1>;
|
|
4350
4362
|
}
|
|
4351
4363
|
}
|
|
@@ -4362,6 +4374,7 @@ declare module "components/editor/modules/context-menu/quick-action/index" {
|
|
|
4362
4374
|
declare module "components/editor/modules/context-menu/context-menu" {
|
|
4363
4375
|
import "components/editor/modules/context-menu/context-menu-component";
|
|
4364
4376
|
import Quill from "quill";
|
|
4377
|
+
import type { EditorFeatureConfig } from "components/editor/editor.component";
|
|
4365
4378
|
class ContextMenu {
|
|
4366
4379
|
private _quill;
|
|
4367
4380
|
private readonly _toolbarModule;
|
|
@@ -4369,7 +4382,10 @@ declare module "components/editor/modules/context-menu/context-menu" {
|
|
|
4369
4382
|
private _startIndex;
|
|
4370
4383
|
private _keydownHandler;
|
|
4371
4384
|
private _docClickHandler;
|
|
4372
|
-
|
|
4385
|
+
private _featureConfig;
|
|
4386
|
+
constructor(quill: Quill, options: {
|
|
4387
|
+
config: EditorFeatureConfig;
|
|
4388
|
+
});
|
|
4373
4389
|
private initComponent;
|
|
4374
4390
|
private attachEvents;
|
|
4375
4391
|
private createComponent;
|
|
@@ -4736,6 +4752,17 @@ declare module "components/editor/editor.component" {
|
|
|
4736
4752
|
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
4737
4753
|
import ZincElement from "internal/zinc-element";
|
|
4738
4754
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
4755
|
+
export interface EditorFeatureConfig {
|
|
4756
|
+
codeBlocksEnabled?: boolean;
|
|
4757
|
+
dividersEnabled?: boolean;
|
|
4758
|
+
linksEnabled?: boolean;
|
|
4759
|
+
attachmentsEnabled?: boolean;
|
|
4760
|
+
imagesEnabled?: boolean;
|
|
4761
|
+
videosEnabled?: boolean;
|
|
4762
|
+
datesEnabled?: boolean;
|
|
4763
|
+
emojisEnabled?: boolean;
|
|
4764
|
+
codeEnabled?: boolean;
|
|
4765
|
+
}
|
|
4739
4766
|
/**
|
|
4740
4767
|
* @summary Short summary of the component's intended use.
|
|
4741
4768
|
* @documentation https://zinc.style/components/editor
|
|
@@ -4764,6 +4791,16 @@ declare module "components/editor/editor.component" {
|
|
|
4764
4791
|
value: string;
|
|
4765
4792
|
interactionType: 'ticket' | 'chat';
|
|
4766
4793
|
uploadAttachmentUrl: string;
|
|
4794
|
+
codeBlocksEnabled: boolean;
|
|
4795
|
+
dividersEnabled: boolean;
|
|
4796
|
+
linksEnabled: boolean;
|
|
4797
|
+
attachmentsEnabled: boolean;
|
|
4798
|
+
imagesEnabled: boolean;
|
|
4799
|
+
videosEnabled: boolean;
|
|
4800
|
+
datesEnabled: boolean;
|
|
4801
|
+
emojisEnabled: boolean;
|
|
4802
|
+
codeEnabled: boolean;
|
|
4803
|
+
aiEnabled: boolean;
|
|
4767
4804
|
aiPath: string;
|
|
4768
4805
|
private quillElement;
|
|
4769
4806
|
private _content;
|
|
@@ -6398,6 +6435,7 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
6398
6435
|
updateFilters(): void;
|
|
6399
6436
|
updateFilter(e: ZnChangeEvent): void;
|
|
6400
6437
|
render(): import("lit").TemplateResult<1>;
|
|
6438
|
+
private getDropdownContent;
|
|
6401
6439
|
}
|
|
6402
6440
|
}
|
|
6403
6441
|
declare module "components/settings-container/index" {
|