@kubex/zinc 1.0.100 → 1.0.102
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 +21 -4
- package/dist/vscode.html-custom-data.json +9 -0
- package/dist/web-types.json +12 -1
- package/dist/zn.d.ts +11 -4
- package/dist/zn.min.js +625 -603
- package/package.json +1 -1
- package/src/components/data-select/providers/currency-data-provider.ts +1 -0
- package/src/components/translation-group/translation-group.component.ts +1 -0
- package/src/components/translations/translations.component.ts +61 -41
- package/src/components/translations/translations.scss +23 -24
|
@@ -31401,7 +31401,7 @@
|
|
|
31401
31401
|
"text": "object"
|
|
31402
31402
|
},
|
|
31403
31403
|
"static": true,
|
|
31404
|
-
"default": "{ 'zn-
|
|
31404
|
+
"default": "{ 'zn-button': ZnButton, 'zn-button-group': ZnButtonGroup, 'zn-dropdown': ZnDropdown, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-menu': ZnMenu }"
|
|
31405
31405
|
},
|
|
31406
31406
|
{
|
|
31407
31407
|
"kind": "field",
|
|
@@ -31418,7 +31418,7 @@
|
|
|
31418
31418
|
"name": "hasSlotController",
|
|
31419
31419
|
"privacy": "private",
|
|
31420
31420
|
"readonly": true,
|
|
31421
|
-
"default": "new HasSlotController(this, 'label')"
|
|
31421
|
+
"default": "new HasSlotController(this, 'label', 'expand')"
|
|
31422
31422
|
},
|
|
31423
31423
|
{
|
|
31424
31424
|
"kind": "field",
|
|
@@ -31477,6 +31477,15 @@
|
|
|
31477
31477
|
"attribute": "flush",
|
|
31478
31478
|
"reflects": true
|
|
31479
31479
|
},
|
|
31480
|
+
{
|
|
31481
|
+
"kind": "field",
|
|
31482
|
+
"name": "inputType",
|
|
31483
|
+
"type": {
|
|
31484
|
+
"text": "'select' | 'text' | 'number' | 'textarea'"
|
|
31485
|
+
},
|
|
31486
|
+
"default": "'text'",
|
|
31487
|
+
"attribute": "input-type"
|
|
31488
|
+
},
|
|
31480
31489
|
{
|
|
31481
31490
|
"kind": "field",
|
|
31482
31491
|
"name": "grouped",
|
|
@@ -31601,7 +31610,7 @@
|
|
|
31601
31610
|
},
|
|
31602
31611
|
{
|
|
31603
31612
|
"kind": "field",
|
|
31604
|
-
"name": "
|
|
31613
|
+
"name": "switchLanguage",
|
|
31605
31614
|
"privacy": "private"
|
|
31606
31615
|
},
|
|
31607
31616
|
{
|
|
@@ -31692,6 +31701,14 @@
|
|
|
31692
31701
|
"default": "false",
|
|
31693
31702
|
"fieldName": "flush"
|
|
31694
31703
|
},
|
|
31704
|
+
{
|
|
31705
|
+
"name": "input-type",
|
|
31706
|
+
"type": {
|
|
31707
|
+
"text": "'select' | 'text' | 'number' | 'textarea'"
|
|
31708
|
+
},
|
|
31709
|
+
"default": "'text'",
|
|
31710
|
+
"fieldName": "inputType"
|
|
31711
|
+
},
|
|
31695
31712
|
{
|
|
31696
31713
|
"name": "grouped",
|
|
31697
31714
|
"type": {
|
|
@@ -31994,7 +32011,7 @@
|
|
|
31994
32011
|
"package": {
|
|
31995
32012
|
"name": "@kubex/zinc",
|
|
31996
32013
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
31997
|
-
"version": "1.0.
|
|
32014
|
+
"version": "1.0.102",
|
|
31998
32015
|
"author": "",
|
|
31999
32016
|
"license": "MIT"
|
|
32000
32017
|
}
|
|
@@ -3524,6 +3524,15 @@
|
|
|
3524
3524
|
{ "name": "disabled", "values": [] },
|
|
3525
3525
|
{ "name": "required", "values": [] },
|
|
3526
3526
|
{ "name": "flush", "values": [] },
|
|
3527
|
+
{
|
|
3528
|
+
"name": "input-type",
|
|
3529
|
+
"values": [
|
|
3530
|
+
{ "name": "select" },
|
|
3531
|
+
{ "name": "text" },
|
|
3532
|
+
{ "name": "number" },
|
|
3533
|
+
{ "name": "textarea" }
|
|
3534
|
+
]
|
|
3535
|
+
},
|
|
3527
3536
|
{
|
|
3528
3537
|
"name": "grouped",
|
|
3529
3538
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
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.102",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -8218,6 +8218,13 @@
|
|
|
8218
8218
|
"name": "flush",
|
|
8219
8219
|
"value": { "type": "boolean", "default": "false" }
|
|
8220
8220
|
},
|
|
8221
|
+
{
|
|
8222
|
+
"name": "input-type",
|
|
8223
|
+
"value": {
|
|
8224
|
+
"type": "'select' | 'text' | 'number' | 'textarea'",
|
|
8225
|
+
"default": "'text'"
|
|
8226
|
+
}
|
|
8227
|
+
},
|
|
8221
8228
|
{
|
|
8222
8229
|
"name": "grouped",
|
|
8223
8230
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
|
@@ -8244,6 +8251,10 @@
|
|
|
8244
8251
|
{ "name": "disabled", "type": "boolean" },
|
|
8245
8252
|
{ "name": "required", "type": "boolean" },
|
|
8246
8253
|
{ "name": "flush", "type": "boolean" },
|
|
8254
|
+
{
|
|
8255
|
+
"name": "inputType",
|
|
8256
|
+
"type": "'select' | 'text' | 'number' | 'textarea'"
|
|
8257
|
+
},
|
|
8247
8258
|
{
|
|
8248
8259
|
"name": "grouped",
|
|
8249
8260
|
"description": "When true, hides the individual language navbar and defers language control to a parent zn-translation-group.",
|
package/dist/zn.d.ts
CHANGED
|
@@ -7246,17 +7246,23 @@ declare module "components/audio-select/index" {
|
|
|
7246
7246
|
}
|
|
7247
7247
|
declare module "components/translations/translations.component" {
|
|
7248
7248
|
import ZincElement from "internal/zinc-element";
|
|
7249
|
+
import ZnButton from "components/button/index";
|
|
7250
|
+
import ZnButtonGroup from "components/button-group/index";
|
|
7251
|
+
import ZnDropdown from "components/dropdown/index";
|
|
7249
7252
|
import ZnInlineEdit from "components/inline-edit/index";
|
|
7250
7253
|
import ZnInput from "components/input/index";
|
|
7251
|
-
import
|
|
7254
|
+
import ZnMenu from "components/menu/index";
|
|
7252
7255
|
import type { PropertyValues } from 'lit';
|
|
7253
7256
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
7254
7257
|
export default class ZnTranslations extends ZincElement implements ZincFormControl {
|
|
7255
7258
|
static styles: import("lit").CSSResult;
|
|
7256
7259
|
static dependencies: {
|
|
7257
|
-
'zn-
|
|
7258
|
-
'zn-
|
|
7260
|
+
'zn-button': typeof ZnButton;
|
|
7261
|
+
'zn-button-group': typeof ZnButtonGroup;
|
|
7262
|
+
'zn-dropdown': typeof ZnDropdown;
|
|
7259
7263
|
'zn-inline-edit': typeof ZnInlineEdit;
|
|
7264
|
+
'zn-input': typeof ZnInput;
|
|
7265
|
+
'zn-menu': typeof ZnMenu;
|
|
7260
7266
|
};
|
|
7261
7267
|
private readonly formControlController;
|
|
7262
7268
|
private readonly hasSlotController;
|
|
@@ -7266,6 +7272,7 @@ declare module "components/translations/translations.component" {
|
|
|
7266
7272
|
disabled: boolean;
|
|
7267
7273
|
required: boolean;
|
|
7268
7274
|
flush: boolean;
|
|
7275
|
+
inputType: 'select' | 'text' | 'number' | 'textarea';
|
|
7269
7276
|
/** When true, hides the individual language navbar and defers language control to a parent zn-translation-group. */
|
|
7270
7277
|
grouped: boolean;
|
|
7271
7278
|
languages: Record<string, string>;
|
|
@@ -7288,7 +7295,7 @@ declare module "components/translations/translations.component" {
|
|
|
7288
7295
|
protected firstUpdated(): void;
|
|
7289
7296
|
willUpdate(changedProperties: PropertyValues): void;
|
|
7290
7297
|
private handleLanguageAdd;
|
|
7291
|
-
private
|
|
7298
|
+
private switchLanguage;
|
|
7292
7299
|
private handleValueUpdate;
|
|
7293
7300
|
private updateValue;
|
|
7294
7301
|
private handleKeyDown;
|