@kubex/zinc 1.1.85 → 1.1.86
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 +448 -438
- package/dist/vscode.html-custom-data.json +27 -27
- package/dist/web-types.json +63 -63
- package/dist/zn.d.ts +7 -1
- package/dist/zn.min.js +1 -1
- package/package.json +1 -1
- package/src/components/preview-frame/preview-frame.component.ts +25 -25
- package/src/components/preview-frame/preview-frame.test.ts +48 -0
|
@@ -47,6 +47,79 @@
|
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "javascript-module",
|
|
52
|
+
"path": "components/action-bar/action-bar.js",
|
|
53
|
+
"declarations": [
|
|
54
|
+
{
|
|
55
|
+
"kind": "class",
|
|
56
|
+
"description": "",
|
|
57
|
+
"name": "ZnActionBar",
|
|
58
|
+
"cssProperties": [
|
|
59
|
+
{
|
|
60
|
+
"description": "An example CSS custom property.",
|
|
61
|
+
"name": "--example"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"cssParts": [
|
|
65
|
+
{
|
|
66
|
+
"description": "The component's base wrapper.",
|
|
67
|
+
"name": "base"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"slots": [
|
|
71
|
+
{
|
|
72
|
+
"description": "The default slot.",
|
|
73
|
+
"name": ""
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"description": "An example slot.",
|
|
77
|
+
"name": "example"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"members": [
|
|
81
|
+
{
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"name": "localize",
|
|
84
|
+
"privacy": "private",
|
|
85
|
+
"readonly": true,
|
|
86
|
+
"default": "new LocalizeController(this)"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"events": [
|
|
90
|
+
{
|
|
91
|
+
"description": "Emitted as an example.",
|
|
92
|
+
"name": "zn-event-name"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"superclass": {
|
|
96
|
+
"name": "ZincElement",
|
|
97
|
+
"module": "/src/internal/zinc-element"
|
|
98
|
+
},
|
|
99
|
+
"summary": "Short summary of the component's intended use.",
|
|
100
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
101
|
+
"tagName": "zn-action-bar",
|
|
102
|
+
"customElement": true,
|
|
103
|
+
"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 */",
|
|
104
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
105
|
+
"status": "experimental",
|
|
106
|
+
"since": "1.0",
|
|
107
|
+
"dependencies": [
|
|
108
|
+
"zn-example"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"exports": [
|
|
113
|
+
{
|
|
114
|
+
"kind": "js",
|
|
115
|
+
"name": "default",
|
|
116
|
+
"declaration": {
|
|
117
|
+
"name": "ZnActionBar",
|
|
118
|
+
"module": "components/action-bar/action-bar.js"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
50
123
|
{
|
|
51
124
|
"kind": "javascript-module",
|
|
52
125
|
"path": "components/alert/alert.js",
|
|
@@ -241,79 +314,6 @@
|
|
|
241
314
|
}
|
|
242
315
|
]
|
|
243
316
|
},
|
|
244
|
-
{
|
|
245
|
-
"kind": "javascript-module",
|
|
246
|
-
"path": "components/action-bar/action-bar.js",
|
|
247
|
-
"declarations": [
|
|
248
|
-
{
|
|
249
|
-
"kind": "class",
|
|
250
|
-
"description": "",
|
|
251
|
-
"name": "ZnActionBar",
|
|
252
|
-
"cssProperties": [
|
|
253
|
-
{
|
|
254
|
-
"description": "An example CSS custom property.",
|
|
255
|
-
"name": "--example"
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
"cssParts": [
|
|
259
|
-
{
|
|
260
|
-
"description": "The component's base wrapper.",
|
|
261
|
-
"name": "base"
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"slots": [
|
|
265
|
-
{
|
|
266
|
-
"description": "The default slot.",
|
|
267
|
-
"name": ""
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"description": "An example slot.",
|
|
271
|
-
"name": "example"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"members": [
|
|
275
|
-
{
|
|
276
|
-
"kind": "field",
|
|
277
|
-
"name": "localize",
|
|
278
|
-
"privacy": "private",
|
|
279
|
-
"readonly": true,
|
|
280
|
-
"default": "new LocalizeController(this)"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"events": [
|
|
284
|
-
{
|
|
285
|
-
"description": "Emitted as an example.",
|
|
286
|
-
"name": "zn-event-name"
|
|
287
|
-
}
|
|
288
|
-
],
|
|
289
|
-
"superclass": {
|
|
290
|
-
"name": "ZincElement",
|
|
291
|
-
"module": "/src/internal/zinc-element"
|
|
292
|
-
},
|
|
293
|
-
"summary": "Short summary of the component's intended use.",
|
|
294
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
295
|
-
"tagName": "zn-action-bar",
|
|
296
|
-
"customElement": true,
|
|
297
|
-
"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 */",
|
|
298
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
299
|
-
"status": "experimental",
|
|
300
|
-
"since": "1.0",
|
|
301
|
-
"dependencies": [
|
|
302
|
-
"zn-example"
|
|
303
|
-
]
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"exports": [
|
|
307
|
-
{
|
|
308
|
-
"kind": "js",
|
|
309
|
-
"name": "default",
|
|
310
|
-
"declaration": {
|
|
311
|
-
"name": "ZnActionBar",
|
|
312
|
-
"module": "components/action-bar/action-bar.js"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
317
|
{
|
|
318
318
|
"kind": "javascript-module",
|
|
319
319
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -833,363 +833,6 @@
|
|
|
833
833
|
}
|
|
834
834
|
]
|
|
835
835
|
},
|
|
836
|
-
{
|
|
837
|
-
"kind": "javascript-module",
|
|
838
|
-
"path": "components/bulk-actions/bulk-actions.js",
|
|
839
|
-
"declarations": [
|
|
840
|
-
{
|
|
841
|
-
"kind": "class",
|
|
842
|
-
"description": "",
|
|
843
|
-
"name": "ZnBulkActions",
|
|
844
|
-
"cssProperties": [
|
|
845
|
-
{
|
|
846
|
-
"description": "An example CSS custom property.",
|
|
847
|
-
"name": "--example"
|
|
848
|
-
}
|
|
849
|
-
],
|
|
850
|
-
"cssParts": [
|
|
851
|
-
{
|
|
852
|
-
"description": "The component's base wrapper.",
|
|
853
|
-
"name": "base"
|
|
854
|
-
}
|
|
855
|
-
],
|
|
856
|
-
"slots": [
|
|
857
|
-
{
|
|
858
|
-
"description": "The default slot.",
|
|
859
|
-
"name": ""
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"description": "An example slot.",
|
|
863
|
-
"name": "example"
|
|
864
|
-
}
|
|
865
|
-
],
|
|
866
|
-
"members": [
|
|
867
|
-
{
|
|
868
|
-
"kind": "field",
|
|
869
|
-
"name": "dependencies",
|
|
870
|
-
"type": {
|
|
871
|
-
"text": "object"
|
|
872
|
-
},
|
|
873
|
-
"static": true,
|
|
874
|
-
"default": "{ 'zn-button': ZnButton, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, }"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"kind": "field",
|
|
878
|
-
"name": "container",
|
|
879
|
-
"type": {
|
|
880
|
-
"text": "HTMLDivElement"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "field",
|
|
885
|
-
"name": "addRule",
|
|
886
|
-
"type": {
|
|
887
|
-
"text": "ZnSelect"
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"kind": "field",
|
|
892
|
-
"name": "input",
|
|
893
|
-
"type": {
|
|
894
|
-
"text": "HTMLInputElement"
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"kind": "field",
|
|
899
|
-
"name": "name",
|
|
900
|
-
"type": {
|
|
901
|
-
"text": "string"
|
|
902
|
-
},
|
|
903
|
-
"attribute": "name"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"kind": "field",
|
|
907
|
-
"name": "value",
|
|
908
|
-
"type": {
|
|
909
|
-
"text": "PropertyKey"
|
|
910
|
-
},
|
|
911
|
-
"attribute": "value"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"kind": "field",
|
|
915
|
-
"name": "actions",
|
|
916
|
-
"type": {
|
|
917
|
-
"text": "BulkActionData"
|
|
918
|
-
},
|
|
919
|
-
"default": "[]",
|
|
920
|
-
"attribute": "actions"
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"kind": "field",
|
|
924
|
-
"name": "_selectedRules",
|
|
925
|
-
"type": {
|
|
926
|
-
"text": "Map<string, CreatedRule>"
|
|
927
|
-
},
|
|
928
|
-
"privacy": "private",
|
|
929
|
-
"default": "new Map<string, CreatedRule>()"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"kind": "field",
|
|
933
|
-
"name": "_formController",
|
|
934
|
-
"type": {
|
|
935
|
-
"text": "FormControlController"
|
|
936
|
-
},
|
|
937
|
-
"privacy": "private",
|
|
938
|
-
"default": "new FormControlController(this, {})"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"kind": "field",
|
|
942
|
-
"name": "validationMessage",
|
|
943
|
-
"type": {
|
|
944
|
-
"text": "string"
|
|
945
|
-
},
|
|
946
|
-
"readonly": true
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"kind": "field",
|
|
950
|
-
"name": "validity",
|
|
951
|
-
"type": {
|
|
952
|
-
"text": "ValidityState"
|
|
953
|
-
},
|
|
954
|
-
"readonly": true
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"kind": "method",
|
|
958
|
-
"name": "_handleChange",
|
|
959
|
-
"privacy": "private"
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"kind": "method",
|
|
963
|
-
"name": "_addRule",
|
|
964
|
-
"privacy": "private",
|
|
965
|
-
"parameters": [
|
|
966
|
-
{
|
|
967
|
-
"name": "event",
|
|
968
|
-
"type": {
|
|
969
|
-
"text": "Event | null"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"name": "value",
|
|
974
|
-
"default": "\"\"",
|
|
975
|
-
"type": {
|
|
976
|
-
"text": "string"
|
|
977
|
-
}
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"name": "pos",
|
|
981
|
-
"optional": true,
|
|
982
|
-
"type": {
|
|
983
|
-
"text": "number"
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
]
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"kind": "method",
|
|
990
|
-
"name": "_createInput",
|
|
991
|
-
"privacy": "private",
|
|
992
|
-
"return": {
|
|
993
|
-
"type": {
|
|
994
|
-
"text": "ZnSelect | ZnInput | null"
|
|
995
|
-
}
|
|
996
|
-
},
|
|
997
|
-
"parameters": [
|
|
998
|
-
{
|
|
999
|
-
"name": "uniqueId",
|
|
1000
|
-
"type": {
|
|
1001
|
-
"text": "string"
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"name": "filter",
|
|
1006
|
-
"type": {
|
|
1007
|
-
"text": "BulkActionItem"
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
]
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "method",
|
|
1014
|
-
"name": "_updateValue",
|
|
1015
|
-
"privacy": "private",
|
|
1016
|
-
"parameters": [
|
|
1017
|
-
{
|
|
1018
|
-
"name": "id",
|
|
1019
|
-
"type": {
|
|
1020
|
-
"text": "string"
|
|
1021
|
-
}
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"name": "event",
|
|
1025
|
-
"type": {
|
|
1026
|
-
"text": "Event | { target: ZnSelect | ZnInput | HTMLDivElement }"
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
]
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"kind": "method",
|
|
1033
|
-
"name": "_getRulePosition",
|
|
1034
|
-
"privacy": "private",
|
|
1035
|
-
"return": {
|
|
1036
|
-
"type": {
|
|
1037
|
-
"text": "number"
|
|
1038
|
-
}
|
|
1039
|
-
},
|
|
1040
|
-
"parameters": [
|
|
1041
|
-
{
|
|
1042
|
-
"name": "id",
|
|
1043
|
-
"type": {
|
|
1044
|
-
"text": "string"
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
]
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
"kind": "method",
|
|
1051
|
-
"name": "_changeRule",
|
|
1052
|
-
"privacy": "private",
|
|
1053
|
-
"parameters": [
|
|
1054
|
-
{
|
|
1055
|
-
"name": "id",
|
|
1056
|
-
"type": {
|
|
1057
|
-
"text": "string"
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "event",
|
|
1062
|
-
"type": {
|
|
1063
|
-
"text": "ZnChangeEvent"
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
]
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"kind": "method",
|
|
1070
|
-
"name": "_removeRule",
|
|
1071
|
-
"privacy": "private",
|
|
1072
|
-
"parameters": [
|
|
1073
|
-
{
|
|
1074
|
-
"name": "id",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "string"
|
|
1077
|
-
}
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"name": "event",
|
|
1081
|
-
"type": {
|
|
1082
|
-
"text": "Event"
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
]
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
"kind": "method",
|
|
1089
|
-
"name": "checkValidity",
|
|
1090
|
-
"return": {
|
|
1091
|
-
"type": {
|
|
1092
|
-
"text": "boolean"
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"kind": "method",
|
|
1098
|
-
"name": "getForm",
|
|
1099
|
-
"return": {
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": "HTMLFormElement | null"
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
"kind": "method",
|
|
1107
|
-
"name": "reportValidity",
|
|
1108
|
-
"return": {
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "boolean"
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
"kind": "method",
|
|
1116
|
-
"name": "setCustomValidity",
|
|
1117
|
-
"return": {
|
|
1118
|
-
"type": {
|
|
1119
|
-
"text": "void"
|
|
1120
|
-
}
|
|
1121
|
-
},
|
|
1122
|
-
"parameters": [
|
|
1123
|
-
{
|
|
1124
|
-
"name": "message",
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "string"
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
]
|
|
1130
|
-
}
|
|
1131
|
-
],
|
|
1132
|
-
"events": [
|
|
1133
|
-
{
|
|
1134
|
-
"description": "Emitted as an example.",
|
|
1135
|
-
"name": "zn-event-name"
|
|
1136
|
-
}
|
|
1137
|
-
],
|
|
1138
|
-
"attributes": [
|
|
1139
|
-
{
|
|
1140
|
-
"name": "name",
|
|
1141
|
-
"type": {
|
|
1142
|
-
"text": "string"
|
|
1143
|
-
},
|
|
1144
|
-
"fieldName": "name"
|
|
1145
|
-
},
|
|
1146
|
-
{
|
|
1147
|
-
"name": "value",
|
|
1148
|
-
"type": {
|
|
1149
|
-
"text": "PropertyKey"
|
|
1150
|
-
},
|
|
1151
|
-
"fieldName": "value"
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"name": "actions",
|
|
1155
|
-
"type": {
|
|
1156
|
-
"text": "BulkActionData"
|
|
1157
|
-
},
|
|
1158
|
-
"default": "[]",
|
|
1159
|
-
"fieldName": "actions"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"superclass": {
|
|
1163
|
-
"name": "ZincElement",
|
|
1164
|
-
"module": "/src/internal/zinc-element"
|
|
1165
|
-
},
|
|
1166
|
-
"summary": "Short summary of the component's intended use.",
|
|
1167
|
-
"tagNameWithoutPrefix": "bulk-actions",
|
|
1168
|
-
"tagName": "zn-bulk-actions",
|
|
1169
|
-
"customElement": true,
|
|
1170
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/bulk-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\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 */",
|
|
1171
|
-
"documentation": "https://zinc.style/components/bulk-actions",
|
|
1172
|
-
"status": "experimental",
|
|
1173
|
-
"since": "1.0",
|
|
1174
|
-
"dependencies": [
|
|
1175
|
-
"zn-button",
|
|
1176
|
-
"zn-input",
|
|
1177
|
-
"zn-option",
|
|
1178
|
-
"zn-select"
|
|
1179
|
-
]
|
|
1180
|
-
}
|
|
1181
|
-
],
|
|
1182
|
-
"exports": [
|
|
1183
|
-
{
|
|
1184
|
-
"kind": "js",
|
|
1185
|
-
"name": "default",
|
|
1186
|
-
"declaration": {
|
|
1187
|
-
"name": "ZnBulkActions",
|
|
1188
|
-
"module": "components/bulk-actions/bulk-actions.js"
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
]
|
|
1192
|
-
},
|
|
1193
836
|
{
|
|
1194
837
|
"kind": "javascript-module",
|
|
1195
838
|
"path": "components/button/button.js",
|
|
@@ -2128,6 +1771,363 @@
|
|
|
2128
1771
|
}
|
|
2129
1772
|
]
|
|
2130
1773
|
},
|
|
1774
|
+
{
|
|
1775
|
+
"kind": "javascript-module",
|
|
1776
|
+
"path": "components/bulk-actions/bulk-actions.js",
|
|
1777
|
+
"declarations": [
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "class",
|
|
1780
|
+
"description": "",
|
|
1781
|
+
"name": "ZnBulkActions",
|
|
1782
|
+
"cssProperties": [
|
|
1783
|
+
{
|
|
1784
|
+
"description": "An example CSS custom property.",
|
|
1785
|
+
"name": "--example"
|
|
1786
|
+
}
|
|
1787
|
+
],
|
|
1788
|
+
"cssParts": [
|
|
1789
|
+
{
|
|
1790
|
+
"description": "The component's base wrapper.",
|
|
1791
|
+
"name": "base"
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
"slots": [
|
|
1795
|
+
{
|
|
1796
|
+
"description": "The default slot.",
|
|
1797
|
+
"name": ""
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"description": "An example slot.",
|
|
1801
|
+
"name": "example"
|
|
1802
|
+
}
|
|
1803
|
+
],
|
|
1804
|
+
"members": [
|
|
1805
|
+
{
|
|
1806
|
+
"kind": "field",
|
|
1807
|
+
"name": "dependencies",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "object"
|
|
1810
|
+
},
|
|
1811
|
+
"static": true,
|
|
1812
|
+
"default": "{ 'zn-button': ZnButton, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, }"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "field",
|
|
1816
|
+
"name": "container",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "HTMLDivElement"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "field",
|
|
1823
|
+
"name": "addRule",
|
|
1824
|
+
"type": {
|
|
1825
|
+
"text": "ZnSelect"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"kind": "field",
|
|
1830
|
+
"name": "input",
|
|
1831
|
+
"type": {
|
|
1832
|
+
"text": "HTMLInputElement"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "field",
|
|
1837
|
+
"name": "name",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "string"
|
|
1840
|
+
},
|
|
1841
|
+
"attribute": "name"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "field",
|
|
1845
|
+
"name": "value",
|
|
1846
|
+
"type": {
|
|
1847
|
+
"text": "PropertyKey"
|
|
1848
|
+
},
|
|
1849
|
+
"attribute": "value"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "field",
|
|
1853
|
+
"name": "actions",
|
|
1854
|
+
"type": {
|
|
1855
|
+
"text": "BulkActionData"
|
|
1856
|
+
},
|
|
1857
|
+
"default": "[]",
|
|
1858
|
+
"attribute": "actions"
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "field",
|
|
1862
|
+
"name": "_selectedRules",
|
|
1863
|
+
"type": {
|
|
1864
|
+
"text": "Map<string, CreatedRule>"
|
|
1865
|
+
},
|
|
1866
|
+
"privacy": "private",
|
|
1867
|
+
"default": "new Map<string, CreatedRule>()"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "field",
|
|
1871
|
+
"name": "_formController",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "FormControlController"
|
|
1874
|
+
},
|
|
1875
|
+
"privacy": "private",
|
|
1876
|
+
"default": "new FormControlController(this, {})"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"kind": "field",
|
|
1880
|
+
"name": "validationMessage",
|
|
1881
|
+
"type": {
|
|
1882
|
+
"text": "string"
|
|
1883
|
+
},
|
|
1884
|
+
"readonly": true
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"kind": "field",
|
|
1888
|
+
"name": "validity",
|
|
1889
|
+
"type": {
|
|
1890
|
+
"text": "ValidityState"
|
|
1891
|
+
},
|
|
1892
|
+
"readonly": true
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"kind": "method",
|
|
1896
|
+
"name": "_handleChange",
|
|
1897
|
+
"privacy": "private"
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"kind": "method",
|
|
1901
|
+
"name": "_addRule",
|
|
1902
|
+
"privacy": "private",
|
|
1903
|
+
"parameters": [
|
|
1904
|
+
{
|
|
1905
|
+
"name": "event",
|
|
1906
|
+
"type": {
|
|
1907
|
+
"text": "Event | null"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"name": "value",
|
|
1912
|
+
"default": "\"\"",
|
|
1913
|
+
"type": {
|
|
1914
|
+
"text": "string"
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"name": "pos",
|
|
1919
|
+
"optional": true,
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "number"
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"kind": "method",
|
|
1928
|
+
"name": "_createInput",
|
|
1929
|
+
"privacy": "private",
|
|
1930
|
+
"return": {
|
|
1931
|
+
"type": {
|
|
1932
|
+
"text": "ZnSelect | ZnInput | null"
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
"parameters": [
|
|
1936
|
+
{
|
|
1937
|
+
"name": "uniqueId",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "string"
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "filter",
|
|
1944
|
+
"type": {
|
|
1945
|
+
"text": "BulkActionItem"
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "method",
|
|
1952
|
+
"name": "_updateValue",
|
|
1953
|
+
"privacy": "private",
|
|
1954
|
+
"parameters": [
|
|
1955
|
+
{
|
|
1956
|
+
"name": "id",
|
|
1957
|
+
"type": {
|
|
1958
|
+
"text": "string"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "event",
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "Event | { target: ZnSelect | ZnInput | HTMLDivElement }"
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
]
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "method",
|
|
1971
|
+
"name": "_getRulePosition",
|
|
1972
|
+
"privacy": "private",
|
|
1973
|
+
"return": {
|
|
1974
|
+
"type": {
|
|
1975
|
+
"text": "number"
|
|
1976
|
+
}
|
|
1977
|
+
},
|
|
1978
|
+
"parameters": [
|
|
1979
|
+
{
|
|
1980
|
+
"name": "id",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "string"
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
]
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"kind": "method",
|
|
1989
|
+
"name": "_changeRule",
|
|
1990
|
+
"privacy": "private",
|
|
1991
|
+
"parameters": [
|
|
1992
|
+
{
|
|
1993
|
+
"name": "id",
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "string"
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"name": "event",
|
|
2000
|
+
"type": {
|
|
2001
|
+
"text": "ZnChangeEvent"
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
]
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "method",
|
|
2008
|
+
"name": "_removeRule",
|
|
2009
|
+
"privacy": "private",
|
|
2010
|
+
"parameters": [
|
|
2011
|
+
{
|
|
2012
|
+
"name": "id",
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "string"
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "event",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "Event"
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
]
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "method",
|
|
2027
|
+
"name": "checkValidity",
|
|
2028
|
+
"return": {
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "boolean"
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"kind": "method",
|
|
2036
|
+
"name": "getForm",
|
|
2037
|
+
"return": {
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "HTMLFormElement | null"
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"kind": "method",
|
|
2045
|
+
"name": "reportValidity",
|
|
2046
|
+
"return": {
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "boolean"
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"kind": "method",
|
|
2054
|
+
"name": "setCustomValidity",
|
|
2055
|
+
"return": {
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "void"
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2060
|
+
"parameters": [
|
|
2061
|
+
{
|
|
2062
|
+
"name": "message",
|
|
2063
|
+
"type": {
|
|
2064
|
+
"text": "string"
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
]
|
|
2068
|
+
}
|
|
2069
|
+
],
|
|
2070
|
+
"events": [
|
|
2071
|
+
{
|
|
2072
|
+
"description": "Emitted as an example.",
|
|
2073
|
+
"name": "zn-event-name"
|
|
2074
|
+
}
|
|
2075
|
+
],
|
|
2076
|
+
"attributes": [
|
|
2077
|
+
{
|
|
2078
|
+
"name": "name",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "string"
|
|
2081
|
+
},
|
|
2082
|
+
"fieldName": "name"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "value",
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "PropertyKey"
|
|
2088
|
+
},
|
|
2089
|
+
"fieldName": "value"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"name": "actions",
|
|
2093
|
+
"type": {
|
|
2094
|
+
"text": "BulkActionData"
|
|
2095
|
+
},
|
|
2096
|
+
"default": "[]",
|
|
2097
|
+
"fieldName": "actions"
|
|
2098
|
+
}
|
|
2099
|
+
],
|
|
2100
|
+
"superclass": {
|
|
2101
|
+
"name": "ZincElement",
|
|
2102
|
+
"module": "/src/internal/zinc-element"
|
|
2103
|
+
},
|
|
2104
|
+
"summary": "Short summary of the component's intended use.",
|
|
2105
|
+
"tagNameWithoutPrefix": "bulk-actions",
|
|
2106
|
+
"tagName": "zn-bulk-actions",
|
|
2107
|
+
"customElement": true,
|
|
2108
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/bulk-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\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 */",
|
|
2109
|
+
"documentation": "https://zinc.style/components/bulk-actions",
|
|
2110
|
+
"status": "experimental",
|
|
2111
|
+
"since": "1.0",
|
|
2112
|
+
"dependencies": [
|
|
2113
|
+
"zn-button",
|
|
2114
|
+
"zn-input",
|
|
2115
|
+
"zn-option",
|
|
2116
|
+
"zn-select"
|
|
2117
|
+
]
|
|
2118
|
+
}
|
|
2119
|
+
],
|
|
2120
|
+
"exports": [
|
|
2121
|
+
{
|
|
2122
|
+
"kind": "js",
|
|
2123
|
+
"name": "default",
|
|
2124
|
+
"declaration": {
|
|
2125
|
+
"name": "ZnBulkActions",
|
|
2126
|
+
"module": "components/bulk-actions/bulk-actions.js"
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
2131
|
{
|
|
2132
2132
|
"kind": "javascript-module",
|
|
2133
2133
|
"path": "components/button-group/button-group.js",
|
|
@@ -29331,7 +29331,7 @@
|
|
|
29331
29331
|
"text": "string"
|
|
29332
29332
|
},
|
|
29333
29333
|
"default": "'form'",
|
|
29334
|
-
"description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nSet empty to disable.",
|
|
29334
|
+
"description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nMatched by delegation on the shell's bubbled `complete` event rather than\nby attaching to the forms themselves, so a save anywhere on the page\nrefreshes the preview — including forms in a different DOM root, e.g. a\npage-level form saved while the preview sits inside a tab panel's shadow\nroot (a page's Template select lives on one tab, its preview on another).\nSet empty to disable.",
|
|
29335
29335
|
"attribute": "refresh-on"
|
|
29336
29336
|
},
|
|
29337
29337
|
{
|
|
@@ -29467,17 +29467,27 @@
|
|
|
29467
29467
|
},
|
|
29468
29468
|
{
|
|
29469
29469
|
"kind": "field",
|
|
29470
|
-
"name": "
|
|
29470
|
+
"name": "_debounceTimers",
|
|
29471
29471
|
"privacy": "private",
|
|
29472
29472
|
"readonly": true,
|
|
29473
|
-
"default": "new
|
|
29473
|
+
"default": "new Map<HTMLFormElement, number>()"
|
|
29474
29474
|
},
|
|
29475
29475
|
{
|
|
29476
29476
|
"kind": "field",
|
|
29477
|
-
"name": "
|
|
29477
|
+
"name": "_shellSaveRoots",
|
|
29478
|
+
"type": {
|
|
29479
|
+
"text": "EventTarget[]"
|
|
29480
|
+
},
|
|
29478
29481
|
"privacy": "private",
|
|
29479
|
-
"
|
|
29480
|
-
|
|
29482
|
+
"default": "[]"
|
|
29483
|
+
},
|
|
29484
|
+
{
|
|
29485
|
+
"kind": "field",
|
|
29486
|
+
"name": "_lastShellSave",
|
|
29487
|
+
"type": {
|
|
29488
|
+
"text": "Event | undefined"
|
|
29489
|
+
},
|
|
29490
|
+
"privacy": "private"
|
|
29481
29491
|
},
|
|
29482
29492
|
{
|
|
29483
29493
|
"kind": "field",
|
|
@@ -29656,7 +29666,7 @@
|
|
|
29656
29666
|
"text": "string"
|
|
29657
29667
|
},
|
|
29658
29668
|
"default": "'form'",
|
|
29659
|
-
"description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nSet empty to disable.",
|
|
29669
|
+
"description": "Selector for forms whose saves are left to the shell but should still\nrefresh the preview. These are never intercepted: the shell submits them\n(so its own response handling — alerts, refreshes — runs as normal) and the\npreview re-fetches its config once the shell reports the save complete.\nMatched by delegation on the shell's bubbled `complete` event rather than\nby attaching to the forms themselves, so a save anywhere on the page\nrefreshes the preview — including forms in a different DOM root, e.g. a\npage-level form saved while the preview sits inside a tab panel's shadow\nroot (a page's Template select lives on one tab, its preview on another).\nSet empty to disable.",
|
|
29660
29670
|
"fieldName": "refreshOn"
|
|
29661
29671
|
},
|
|
29662
29672
|
{
|
|
@@ -45851,7 +45861,7 @@
|
|
|
45851
45861
|
"package": {
|
|
45852
45862
|
"name": "@kubex/zinc",
|
|
45853
45863
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
45854
|
-
"version": "1.1.
|
|
45864
|
+
"version": "1.1.86",
|
|
45855
45865
|
"author": "",
|
|
45856
45866
|
"license": "MIT"
|
|
45857
45867
|
}
|