@kubex/zinc 1.0.5 → 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 +302 -16
- package/dist/vscode.html-custom-data.json +13 -2
- package/dist/web-types.json +43 -5
- package/dist/zn.d.ts +81 -40
- package/dist/zn.min.js +333 -270
- package/package.json +1 -1
- package/src/components/bulk-actions/bulk-actions.component.ts +152 -84
- package/src/components/bulk-actions/bulk-actions.scss +2 -0
- package/src/components/chart/chart.component.ts +14 -12
- package/src/components/cols/cols.component.ts +7 -3
- package/src/components/cols/cols.scss +22 -14
- package/src/components/content-block/content-block.component.ts +164 -30
- package/src/components/data-select/data-select.component.ts +51 -10
- package/src/components/data-table/data-table.component.ts +58 -38
- 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/inline-edit/inline-edit.component.ts +24 -3
- package/src/components/inline-edit/inline-edit.scss +11 -1
- package/src/components/item/item.component.ts +11 -3
- package/src/components/item/item.scss +14 -19
- package/src/components/panel/panel.component.ts +2 -0
- package/src/components/panel/panel.scss +6 -0
- package/src/components/settings-container/settings-container.scss +11 -4
- package/src/components/style/style.component.ts +7 -1
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": {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"js": {
|
|
115
115
|
"properties": [
|
|
116
116
|
{ "name": "container", "type": "HTMLDivElement" },
|
|
117
|
-
{ "name": "addRule", "type": "
|
|
117
|
+
{ "name": "addRule", "type": "ZnSelect" },
|
|
118
118
|
{ "name": "input", "type": "HTMLInputElement" },
|
|
119
119
|
{ "name": "name", "type": "string" },
|
|
120
120
|
{ "name": "value", "type": "PropertyKey" },
|
|
@@ -439,6 +439,10 @@
|
|
|
439
439
|
},
|
|
440
440
|
{ "name": "xAxis", "value": { "type": "string" } },
|
|
441
441
|
{ "name": "d-size", "value": { "type": "number", "default": "1" } },
|
|
442
|
+
{
|
|
443
|
+
"name": "stacked",
|
|
444
|
+
"value": { "type": "boolean", "default": "false" }
|
|
445
|
+
},
|
|
442
446
|
{
|
|
443
447
|
"name": "live",
|
|
444
448
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -475,6 +479,7 @@
|
|
|
475
479
|
{ "name": "categories", "type": "string | string[]" },
|
|
476
480
|
{ "name": "xAxis", "type": "string" },
|
|
477
481
|
{ "name": "datapointSize", "type": "number" },
|
|
482
|
+
{ "name": "stacked", "type": "boolean" },
|
|
478
483
|
{ "name": "live", "type": "boolean" },
|
|
479
484
|
{ "name": "dataUrl", "type": "string" },
|
|
480
485
|
{ "name": "liveInterval", "type": "number" },
|
|
@@ -1004,6 +1009,10 @@
|
|
|
1004
1009
|
"value": { "type": "boolean", "default": "false" }
|
|
1005
1010
|
},
|
|
1006
1011
|
{ "name": "pad", "value": { "type": "boolean" } },
|
|
1012
|
+
{
|
|
1013
|
+
"name": "divide",
|
|
1014
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1015
|
+
},
|
|
1007
1016
|
{ "name": "pad-x", "value": { "type": "boolean" } },
|
|
1008
1017
|
{ "name": "pad-y", "value": { "type": "boolean" } }
|
|
1009
1018
|
],
|
|
@@ -1021,6 +1030,7 @@
|
|
|
1021
1030
|
{ "name": "noGap", "type": "boolean" },
|
|
1022
1031
|
{ "name": "border", "type": "boolean" },
|
|
1023
1032
|
{ "name": "pad", "type": "boolean" },
|
|
1033
|
+
{ "name": "divide", "type": "boolean" },
|
|
1024
1034
|
{ "name": "padX", "type": "boolean" },
|
|
1025
1035
|
{ "name": "padY", "type": "boolean" }
|
|
1026
1036
|
],
|
|
@@ -1188,6 +1198,10 @@
|
|
|
1188
1198
|
{
|
|
1189
1199
|
"name": "short",
|
|
1190
1200
|
"value": { "type": "boolean", "default": "false" }
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "default-display",
|
|
1204
|
+
"value": { "type": "'text' | 'html'", "default": "'text'" }
|
|
1191
1205
|
}
|
|
1192
1206
|
],
|
|
1193
1207
|
"events": [],
|
|
@@ -1198,6 +1212,7 @@
|
|
|
1198
1212
|
{ "name": "avatar", "type": "string" },
|
|
1199
1213
|
{ "name": "outbound", "type": "boolean" },
|
|
1200
1214
|
{ "name": "short", "type": "boolean" },
|
|
1215
|
+
{ "name": "defaultDisplay", "type": "'text' | 'html'" },
|
|
1201
1216
|
{ "name": "htmlNodes", "type": "Node[]" },
|
|
1202
1217
|
{ "name": "iframe", "type": "Promise<HTMLIFrameElement>" }
|
|
1203
1218
|
],
|
|
@@ -1275,6 +1290,7 @@
|
|
|
1275
1290
|
},
|
|
1276
1291
|
{
|
|
1277
1292
|
"name": "icon-position",
|
|
1293
|
+
"description": "The position of the icon.",
|
|
1278
1294
|
"value": {
|
|
1279
1295
|
"type": "'start' | 'end' | 'none'",
|
|
1280
1296
|
"default": "'none'"
|
|
@@ -1332,6 +1348,10 @@
|
|
|
1332
1348
|
"name": "required",
|
|
1333
1349
|
"description": "The selects required attribute.",
|
|
1334
1350
|
"value": { "type": "boolean", "default": "false" }
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "icon-only",
|
|
1354
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1335
1355
|
}
|
|
1336
1356
|
],
|
|
1337
1357
|
"slots": [
|
|
@@ -1360,7 +1380,11 @@
|
|
|
1360
1380
|
"description": "The provider of the select.",
|
|
1361
1381
|
"type": "'color' | 'currency' | 'country' | 'phone'"
|
|
1362
1382
|
},
|
|
1363
|
-
{
|
|
1383
|
+
{
|
|
1384
|
+
"name": "iconPosition",
|
|
1385
|
+
"description": "The position of the icon.",
|
|
1386
|
+
"type": "'start' | 'end' | 'none'"
|
|
1387
|
+
},
|
|
1364
1388
|
{
|
|
1365
1389
|
"name": "filter",
|
|
1366
1390
|
"description": "An array of keys to use for filtering the options in the selected provider.",
|
|
@@ -1411,6 +1435,7 @@
|
|
|
1411
1435
|
"description": "The selects required attribute.",
|
|
1412
1436
|
"type": "boolean"
|
|
1413
1437
|
},
|
|
1438
|
+
{ "name": "iconOnly", "type": "boolean" },
|
|
1414
1439
|
{ "name": "validationMessage" },
|
|
1415
1440
|
{ "name": "validity", "type": "ValidityState" },
|
|
1416
1441
|
{ "name": "closeOnTab" },
|
|
@@ -1478,7 +1503,10 @@
|
|
|
1478
1503
|
"name": "empty-state-icon",
|
|
1479
1504
|
"value": { "type": "string", "default": "\"data_alert\"" }
|
|
1480
1505
|
},
|
|
1481
|
-
{
|
|
1506
|
+
{
|
|
1507
|
+
"name": "hide-checkboxes",
|
|
1508
|
+
"value": { "type": "boolean", "default": "true" }
|
|
1509
|
+
},
|
|
1482
1510
|
{ "name": "filters", "value": { "type": "[]", "default": "[]" } },
|
|
1483
1511
|
{
|
|
1484
1512
|
"name": "method",
|
|
@@ -1520,7 +1548,6 @@
|
|
|
1520
1548
|
{ "name": "method", "type": "'GET' | 'POST'" },
|
|
1521
1549
|
{ "name": "noInitialLoad", "type": "boolean" },
|
|
1522
1550
|
{ "name": "requestParams", "type": "Record<string, any>" },
|
|
1523
|
-
{ "name": "builtinRequestParams", "type": "Record<string, any>" },
|
|
1524
1551
|
{ "name": "changeEventListener" }
|
|
1525
1552
|
],
|
|
1526
1553
|
"events": [
|
|
@@ -2755,6 +2782,10 @@
|
|
|
2755
2782
|
"name": "padded",
|
|
2756
2783
|
"value": { "type": "boolean", "default": "false" }
|
|
2757
2784
|
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "blink",
|
|
2787
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2788
|
+
},
|
|
2758
2789
|
{
|
|
2759
2790
|
"name": "squared",
|
|
2760
2791
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -2776,6 +2807,7 @@
|
|
|
2776
2807
|
{ "name": "library", "type": "IconLibrary" },
|
|
2777
2808
|
{ "name": "color", "type": "IconColor" },
|
|
2778
2809
|
{ "name": "padded", "type": "boolean" },
|
|
2810
|
+
{ "name": "blink", "type": "boolean" },
|
|
2779
2811
|
{ "name": "squared", "type": "boolean" },
|
|
2780
2812
|
{ "name": "gravatarOptions", "type": "string" },
|
|
2781
2813
|
{ "name": "defaultLibrary", "type": "IconLibrary" }
|
|
@@ -2872,6 +2904,8 @@
|
|
|
2872
2904
|
{ "name": "mouseEventHandler" },
|
|
2873
2905
|
{ "name": "escKeyHandler" },
|
|
2874
2906
|
{ "name": "submitKeyHandler" },
|
|
2907
|
+
{ "name": "captureMouseDown" },
|
|
2908
|
+
{ "name": "captureKeyDown" },
|
|
2875
2909
|
{ "name": "handleEditClick" },
|
|
2876
2910
|
{ "name": "handleSubmitClick" },
|
|
2877
2911
|
{ "name": "handleCancelClick" },
|
|
@@ -3923,6 +3957,7 @@
|
|
|
3923
3957
|
{ "name": "flush", "value": { "type": "boolean" } },
|
|
3924
3958
|
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
3925
3959
|
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
3960
|
+
{ "name": "flush-footer", "value": { "type": "boolean" } },
|
|
3926
3961
|
{ "name": "transparent", "value": { "type": "boolean" } }
|
|
3927
3962
|
],
|
|
3928
3963
|
"slots": [
|
|
@@ -3941,6 +3976,7 @@
|
|
|
3941
3976
|
{ "name": "flush", "type": "boolean" },
|
|
3942
3977
|
{ "name": "flushX", "type": "boolean" },
|
|
3943
3978
|
{ "name": "flushY", "type": "boolean" },
|
|
3979
|
+
{ "name": "flushFooter", "type": "boolean" },
|
|
3944
3980
|
{ "name": "transparent", "type": "boolean" }
|
|
3945
3981
|
],
|
|
3946
3982
|
"events": []
|
|
@@ -5725,6 +5761,7 @@
|
|
|
5725
5761
|
"name": "center",
|
|
5726
5762
|
"value": { "type": "boolean", "default": "false" }
|
|
5727
5763
|
},
|
|
5764
|
+
{ "name": "font", "value": { "type": "string", "default": "''" } },
|
|
5728
5765
|
{ "name": "width", "value": { "type": "string", "default": "''" } },
|
|
5729
5766
|
{
|
|
5730
5767
|
"name": "height",
|
|
@@ -5752,6 +5789,7 @@
|
|
|
5752
5789
|
{ "name": "primary", "type": "boolean" },
|
|
5753
5790
|
{ "name": "accent", "type": "boolean" },
|
|
5754
5791
|
{ "name": "center", "type": "boolean" },
|
|
5792
|
+
{ "name": "font", "type": "string" },
|
|
5755
5793
|
{ "name": "width", "type": "string" },
|
|
5756
5794
|
{ "name": "height", "type": "string" },
|
|
5757
5795
|
{ "name": "pad", "type": "string" },
|
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
|
}
|
|
@@ -1622,6 +1624,41 @@ declare module "components/skeleton/index" {
|
|
|
1622
1624
|
}
|
|
1623
1625
|
}
|
|
1624
1626
|
}
|
|
1627
|
+
declare module "components/style/style.component" {
|
|
1628
|
+
import { type CSSResultGroup } from 'lit';
|
|
1629
|
+
import ZincElement from "internal/zinc-element";
|
|
1630
|
+
export default class ZnStyle extends ZincElement {
|
|
1631
|
+
static styles: CSSResultGroup;
|
|
1632
|
+
private readonly localize;
|
|
1633
|
+
color: string;
|
|
1634
|
+
border: boolean;
|
|
1635
|
+
error: boolean;
|
|
1636
|
+
success: boolean;
|
|
1637
|
+
info: boolean;
|
|
1638
|
+
warning: boolean;
|
|
1639
|
+
primary: boolean;
|
|
1640
|
+
accent: boolean;
|
|
1641
|
+
center: boolean;
|
|
1642
|
+
font: string;
|
|
1643
|
+
width: string;
|
|
1644
|
+
height: string;
|
|
1645
|
+
pad: string;
|
|
1646
|
+
margin: string;
|
|
1647
|
+
autoMargin: string;
|
|
1648
|
+
connectedCallback(): void;
|
|
1649
|
+
createRenderRoot(): this;
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
declare module "components/style/index" {
|
|
1653
|
+
import ZnStyle from "components/style/style.component";
|
|
1654
|
+
export * from "components/style/style.component";
|
|
1655
|
+
export default ZnStyle;
|
|
1656
|
+
global {
|
|
1657
|
+
interface HTMLElementTagNameMap {
|
|
1658
|
+
'zn-style': ZnStyle;
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1625
1662
|
declare module "components/data-select/providers/country-data-provider" {
|
|
1626
1663
|
import type { DataProviderOption, LocalDataProvider } from "components/data-select/providers/provider";
|
|
1627
1664
|
export const countryDataProvider: LocalDataProvider<DataProviderOption>;
|
|
@@ -1997,10 +2034,10 @@ declare module "components/select/index" {
|
|
|
1997
2034
|
}
|
|
1998
2035
|
declare module "components/data-select/data-select.component" {
|
|
1999
2036
|
import { type DataProviderOption, type LocalDataProvider } from "components/data-select/providers/provider";
|
|
2037
|
+
import { type CSSResultGroup, PropertyValues } from 'lit';
|
|
2000
2038
|
import { FormControlController } from "internal/form";
|
|
2001
|
-
import ZincElement from "internal/zinc-element";
|
|
2002
|
-
import type { CSSResultGroup } from 'lit';
|
|
2003
2039
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
2040
|
+
import ZincElement from "internal/zinc-element";
|
|
2004
2041
|
import type ZnSelect from "components/select/index";
|
|
2005
2042
|
/**
|
|
2006
2043
|
* @summary Short summary of the component's intended use.
|
|
@@ -2029,6 +2066,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2029
2066
|
value: string;
|
|
2030
2067
|
/** The provider of the select. */
|
|
2031
2068
|
provider: 'color' | 'currency' | 'country' | 'phone';
|
|
2069
|
+
/** The position of the icon. */
|
|
2032
2070
|
iconPosition: 'start' | 'end' | 'none';
|
|
2033
2071
|
/** An array of keys to use for filtering the options in the selected provider. */
|
|
2034
2072
|
filter: string[];
|
|
@@ -2053,11 +2091,14 @@ declare module "components/data-select/data-select.component" {
|
|
|
2053
2091
|
helpText: string;
|
|
2054
2092
|
/** The selects required attribute. */
|
|
2055
2093
|
required: boolean;
|
|
2094
|
+
iconOnly: boolean;
|
|
2056
2095
|
protected readonly formControlController: FormControlController;
|
|
2057
2096
|
get validationMessage(): string;
|
|
2058
2097
|
get validity(): ValidityState;
|
|
2098
|
+
constructor();
|
|
2059
2099
|
connectedCallback(): void;
|
|
2060
2100
|
disconnectedCallback(): void;
|
|
2101
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
2061
2102
|
checkValidity(): boolean;
|
|
2062
2103
|
getForm(): HTMLFormElement | null;
|
|
2063
2104
|
reportValidity(): boolean;
|
|
@@ -2070,6 +2111,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2070
2111
|
blur: () => void;
|
|
2071
2112
|
protected render(): import("lit").TemplateResult<1>;
|
|
2072
2113
|
private _updatePrefix;
|
|
2114
|
+
private getPlaceholder;
|
|
2073
2115
|
}
|
|
2074
2116
|
}
|
|
2075
2117
|
declare module "components/data-select/index" {
|
|
@@ -2464,6 +2506,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
2464
2506
|
import ZnMenu from "components/menu/index";
|
|
2465
2507
|
import ZnMenuItem from "components/menu-item/index";
|
|
2466
2508
|
import ZnSkeleton from "components/skeleton/index";
|
|
2509
|
+
import ZnStyle from "components/style/index";
|
|
2467
2510
|
interface Cell {
|
|
2468
2511
|
text: string;
|
|
2469
2512
|
column: string;
|
|
@@ -2559,6 +2602,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
2559
2602
|
'zn-button-group': typeof ZnButtonGroup;
|
|
2560
2603
|
'zn-confirm': typeof ZnConfirm;
|
|
2561
2604
|
'zn-skeleton': typeof ZnSkeleton;
|
|
2605
|
+
'zn-style': typeof ZnStyle;
|
|
2562
2606
|
};
|
|
2563
2607
|
dataUri: string;
|
|
2564
2608
|
data: any;
|
|
@@ -2595,7 +2639,6 @@ declare module "components/data-table/data-table.component" {
|
|
|
2595
2639
|
private _dataTask;
|
|
2596
2640
|
private rowHasActions;
|
|
2597
2641
|
requestParams: Record<string, any>;
|
|
2598
|
-
builtinRequestParams: Record<string, any>;
|
|
2599
2642
|
refresh(): void;
|
|
2600
2643
|
render(): TemplateResult<1>;
|
|
2601
2644
|
connectedCallback(): void;
|
|
@@ -2615,7 +2658,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
2615
2658
|
goToLastPage(): void;
|
|
2616
2659
|
updateRowsPerPage(event: Event): void;
|
|
2617
2660
|
selectAll(event: Event): void;
|
|
2618
|
-
selectRow(e:
|
|
2661
|
+
selectRow(e: Event): void;
|
|
2619
2662
|
clearSelectedRows(event: Event): void;
|
|
2620
2663
|
updateSort(key: string): () => void;
|
|
2621
2664
|
renderCell(data: Cell): TemplateResult;
|
|
@@ -2623,6 +2666,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
2623
2666
|
private getTableSortIcon;
|
|
2624
2667
|
private renderCellHeader;
|
|
2625
2668
|
private renderCellBody;
|
|
2669
|
+
private isRowSelected;
|
|
2626
2670
|
private getRows;
|
|
2627
2671
|
private getSelectedKeys;
|
|
2628
2672
|
private updateKeys;
|
|
@@ -2671,6 +2715,7 @@ declare module "components/cols/cols.component" {
|
|
|
2671
2715
|
noGap: boolean;
|
|
2672
2716
|
border: boolean;
|
|
2673
2717
|
pad: boolean;
|
|
2718
|
+
divide: boolean;
|
|
2674
2719
|
padX: boolean;
|
|
2675
2720
|
padY: boolean;
|
|
2676
2721
|
render(): import("lit").TemplateResult<1>;
|
|
@@ -2903,6 +2948,7 @@ declare module "components/chart/chart.component" {
|
|
|
2903
2948
|
categories: string | string[];
|
|
2904
2949
|
xAxis: string;
|
|
2905
2950
|
datapointSize: number;
|
|
2951
|
+
stacked: boolean;
|
|
2906
2952
|
live: boolean;
|
|
2907
2953
|
dataUrl: string;
|
|
2908
2954
|
liveInterval: number;
|
|
@@ -3159,6 +3205,8 @@ declare module "components/inline-edit/inline-edit.component" {
|
|
|
3159
3205
|
mouseEventHandler: (e: MouseEvent) => void;
|
|
3160
3206
|
escKeyHandler: (e: KeyboardEvent) => void;
|
|
3161
3207
|
submitKeyHandler: (e: KeyboardEvent) => void;
|
|
3208
|
+
captureMouseDown: (e: MouseEvent) => void;
|
|
3209
|
+
captureKeyDown: (e: KeyboardEvent) => void;
|
|
3162
3210
|
handleEditClick: (e: MouseEvent) => void;
|
|
3163
3211
|
handleSubmitClick: (e: MouseEvent) => void;
|
|
3164
3212
|
handleCancelClick: (e: MouseEvent) => void;
|
|
@@ -3406,6 +3454,7 @@ declare module "components/panel/panel.component" {
|
|
|
3406
3454
|
flush: boolean;
|
|
3407
3455
|
flushX: boolean;
|
|
3408
3456
|
flushY: boolean;
|
|
3457
|
+
flushFooter: boolean;
|
|
3409
3458
|
transparent: boolean;
|
|
3410
3459
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
3411
3460
|
connectedCallback(): void;
|
|
@@ -3962,6 +4011,10 @@ declare module "components/order-table/index" {
|
|
|
3962
4011
|
declare module "components/bulk-actions/bulk-actions.component" {
|
|
3963
4012
|
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
3964
4013
|
import ZincElement from "internal/zinc-element";
|
|
4014
|
+
import ZnButton from "components/button/index";
|
|
4015
|
+
import ZnInput from "components/input/index";
|
|
4016
|
+
import ZnOption from "components/option/index";
|
|
4017
|
+
import ZnSelect from "components/select/index";
|
|
3965
4018
|
export interface CreatedRule {
|
|
3966
4019
|
id: string;
|
|
3967
4020
|
name: string;
|
|
@@ -3982,7 +4035,10 @@ declare module "components/bulk-actions/bulk-actions.component" {
|
|
|
3982
4035
|
* @status experimental
|
|
3983
4036
|
* @since 1.0
|
|
3984
4037
|
*
|
|
3985
|
-
* @dependency zn-
|
|
4038
|
+
* @dependency zn-button
|
|
4039
|
+
* @dependency zn-input
|
|
4040
|
+
* @dependency zn-option
|
|
4041
|
+
* @dependency zn-select
|
|
3986
4042
|
*
|
|
3987
4043
|
* @event zn-event-name - Emitted as an example.
|
|
3988
4044
|
*
|
|
@@ -3995,8 +4051,14 @@ declare module "components/bulk-actions/bulk-actions.component" {
|
|
|
3995
4051
|
*/
|
|
3996
4052
|
export default class ZnBulkActions extends ZincElement {
|
|
3997
4053
|
static styles: CSSResultGroup;
|
|
4054
|
+
static dependencies: {
|
|
4055
|
+
'zn-button': typeof ZnButton;
|
|
4056
|
+
'zn-input': typeof ZnInput;
|
|
4057
|
+
'zn-option': typeof ZnOption;
|
|
4058
|
+
'zn-select': typeof ZnSelect;
|
|
4059
|
+
};
|
|
3998
4060
|
container: HTMLDivElement;
|
|
3999
|
-
addRule:
|
|
4061
|
+
addRule: ZnSelect;
|
|
4000
4062
|
input: HTMLInputElement;
|
|
4001
4063
|
name: string;
|
|
4002
4064
|
value: PropertyKey;
|
|
@@ -4009,7 +4071,9 @@ declare module "components/bulk-actions/bulk-actions.component" {
|
|
|
4009
4071
|
render(): import("lit").TemplateResult<1>;
|
|
4010
4072
|
private _handleChange;
|
|
4011
4073
|
private _addRule;
|
|
4074
|
+
private _createInput;
|
|
4012
4075
|
private _updateValue;
|
|
4076
|
+
private _getRulePosition;
|
|
4013
4077
|
private _changeRule;
|
|
4014
4078
|
private _removeRule;
|
|
4015
4079
|
checkValidity(): boolean;
|
|
@@ -4166,6 +4230,7 @@ declare module "components/editor/modules/toolbar/toolbar" {
|
|
|
4166
4230
|
private _openDatePicker;
|
|
4167
4231
|
private _openDialog;
|
|
4168
4232
|
private _handleOverflowUpdate;
|
|
4233
|
+
private _addImage;
|
|
4169
4234
|
}
|
|
4170
4235
|
export default Toolbar;
|
|
4171
4236
|
}
|
|
@@ -4189,6 +4254,7 @@ declare module "components/editor/modules/attachment/attachment" {
|
|
|
4189
4254
|
constructor(quill: Quill, options: AttachmentOptions);
|
|
4190
4255
|
private _selectLocalImage;
|
|
4191
4256
|
private _fileChanged;
|
|
4257
|
+
addAttachment(file: File, dataUrl?: string): void;
|
|
4192
4258
|
private _attachmentContainer;
|
|
4193
4259
|
private _createAttachmentContainer;
|
|
4194
4260
|
private _insertAttachment;
|
|
@@ -5715,6 +5781,7 @@ declare module "components/item/item.component" {
|
|
|
5715
5781
|
alignEnd: boolean;
|
|
5716
5782
|
connectedCallback(): void;
|
|
5717
5783
|
protected updated(_changedProperties: PropertyValues): void;
|
|
5784
|
+
protected _hasContent(): boolean;
|
|
5718
5785
|
render(): import("lit").TemplateResult<1>;
|
|
5719
5786
|
}
|
|
5720
5787
|
}
|
|
@@ -6142,40 +6209,6 @@ declare module "components/split-button/index" {
|
|
|
6142
6209
|
}
|
|
6143
6210
|
}
|
|
6144
6211
|
}
|
|
6145
|
-
declare module "components/style/style.component" {
|
|
6146
|
-
import { type CSSResultGroup } from 'lit';
|
|
6147
|
-
import ZincElement from "internal/zinc-element";
|
|
6148
|
-
export default class ZnStyle extends ZincElement {
|
|
6149
|
-
static styles: CSSResultGroup;
|
|
6150
|
-
private readonly localize;
|
|
6151
|
-
color: string;
|
|
6152
|
-
border: boolean;
|
|
6153
|
-
error: boolean;
|
|
6154
|
-
success: boolean;
|
|
6155
|
-
info: boolean;
|
|
6156
|
-
warning: boolean;
|
|
6157
|
-
primary: boolean;
|
|
6158
|
-
accent: boolean;
|
|
6159
|
-
center: boolean;
|
|
6160
|
-
width: string;
|
|
6161
|
-
height: string;
|
|
6162
|
-
pad: string;
|
|
6163
|
-
margin: string;
|
|
6164
|
-
autoMargin: string;
|
|
6165
|
-
connectedCallback(): void;
|
|
6166
|
-
createRenderRoot(): this;
|
|
6167
|
-
}
|
|
6168
|
-
}
|
|
6169
|
-
declare module "components/style/index" {
|
|
6170
|
-
import ZnStyle from "components/style/style.component";
|
|
6171
|
-
export * from "components/style/style.component";
|
|
6172
|
-
export default ZnStyle;
|
|
6173
|
-
global {
|
|
6174
|
-
interface HTMLElementTagNameMap {
|
|
6175
|
-
'zn-style': ZnStyle;
|
|
6176
|
-
}
|
|
6177
|
-
}
|
|
6178
|
-
}
|
|
6179
6212
|
declare module "components/content-block/content-block.component" {
|
|
6180
6213
|
import ZincElement from "internal/zinc-element";
|
|
6181
6214
|
import type { PropertyValues } from 'lit';
|
|
@@ -6196,17 +6229,25 @@ declare module "components/content-block/content-block.component" {
|
|
|
6196
6229
|
avatar: string;
|
|
6197
6230
|
outbound: boolean;
|
|
6198
6231
|
short: boolean;
|
|
6232
|
+
defaultDisplay: 'text' | 'html';
|
|
6199
6233
|
htmlNodes: Node[];
|
|
6200
6234
|
iframe: Promise<HTMLIFrameElement>;
|
|
6201
6235
|
private readonly hasSlotController;
|
|
6202
6236
|
private _textRows;
|
|
6237
|
+
private _footerObserver?;
|
|
6238
|
+
private _replaceDebounce;
|
|
6203
6239
|
connectedCallback(): void;
|
|
6240
|
+
disconnectedCallback(): void;
|
|
6204
6241
|
private _collapseContent;
|
|
6205
6242
|
private _toggleText;
|
|
6206
6243
|
private _toggleHtml;
|
|
6244
|
+
private _resizeIframe;
|
|
6207
6245
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
6208
6246
|
protected render(): import("lit").TemplateResult<1>;
|
|
6209
6247
|
protected truncateText(): string;
|
|
6248
|
+
private _handleSlotChange;
|
|
6249
|
+
private _debouncedReplace;
|
|
6250
|
+
private _replaceImagePlaceholders;
|
|
6210
6251
|
protected getTextSections(): TextRow[];
|
|
6211
6252
|
showReply(e: MouseEvent): void;
|
|
6212
6253
|
}
|