@public-ui/hydrate 2.2.19-e9c0b593384d660ec86496ebc4ea0d46381cd328.0 → 2.2.19-rc.1
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/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15301,7 +15301,7 @@ class KolSelect {
|
|
|
15301
15301
|
await ((_a = this.selectWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());
|
|
15302
15302
|
}
|
|
15303
15303
|
render() {
|
|
15304
|
-
return (hAsync(Host, { key: '
|
|
15304
|
+
return (hAsync(Host, { key: '9cc63f5b7e127bf93174926609b541fa48a13d13', class: "kol-select" }, hAsync(KolSelectWcTag, { key: 'a3fe9555d9398ef493be9820c035abe07e86a4dc', ref: this.catchRef, _accessKey: this._accessKey, _alert: this._alert, _disabled: this._disabled, _error: this._error, _hideError: this._hideError, _hideLabel: this._hideLabel, _hint: this._hint, _icons: this._icons, _id: this._id, _label: this._label, _msg: this._msg, _multiple: this._multiple, _name: this._name, _on: this._on, _options: this._options, _required: this._required, _rows: this._rows, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _touched: this._touched, _value: this._value }, hAsync("slot", { key: '343f2420fb7d7df5aa315c609653d370a369290b', name: "expert", slot: "expert" }))));
|
|
15305
15305
|
}
|
|
15306
15306
|
static get style() { return {
|
|
15307
15307
|
default: KolSelectDefaultStyle0
|
|
@@ -15403,7 +15403,7 @@ class SelectController extends InputIconController {
|
|
|
15403
15403
|
validateRows(this.component, value);
|
|
15404
15404
|
}
|
|
15405
15405
|
validateValue(value) {
|
|
15406
|
-
watchJsonArrayString(this.component, '_value', (item) => typeof item
|
|
15406
|
+
watchJsonArrayString(this.component, '_value', (item) => typeof item !== 'undefined', value, undefined, {
|
|
15407
15407
|
hooks: {
|
|
15408
15408
|
afterPatch: this.afterPatchOptions,
|
|
15409
15409
|
beforePatch: this.beforePatchOptions,
|
|
@@ -15449,16 +15449,16 @@ class KolSelectWc {
|
|
|
15449
15449
|
render() {
|
|
15450
15450
|
const { ariaDescribedBy } = getRenderStates(this.state);
|
|
15451
15451
|
const hasExpertSlot = showExpertSlot(this.state._label);
|
|
15452
|
-
return (hAsync(Host, { key: '
|
|
15452
|
+
return (hAsync(Host, { key: 'e288741d37fc2ca2e5c564a407131d8b5ecf2adc', class: { 'kol-select-wc': true, 'has-value': this.state._hasValue } }, hAsync(KolInputTag, { key: 'd3147a036af9eb978a60ee11d9d7cda8dc381014', class: {
|
|
15453
15453
|
'hide-label': !!this.state._hideLabel,
|
|
15454
15454
|
select: true,
|
|
15455
|
-
}, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _msg: this.state._msg, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, hAsync("span", { key: '
|
|
15455
|
+
}, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _msg: this.state._msg, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, hAsync("span", { key: 'fb57e39e787ef8a7ee9bab245e577110c021a5fe', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', hAsync("kbd", { class: "badge-text-hint", "aria-hidden": "true" }, buildBadgeTextString(this.state._accessKey, this.state._shortKey)))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'df6a0065a951a902b6853920f1d58e32fa64cf5c', slot: "input" }, hAsync("form", { key: '50d669aecf8b82849fcb8a1ba91ae2188388dc39', onSubmit: (event) => {
|
|
15456
15456
|
event.preventDefault();
|
|
15457
15457
|
propagateSubmitEventToForm({
|
|
15458
15458
|
form: this.host,
|
|
15459
15459
|
ref: this.selectRef,
|
|
15460
15460
|
});
|
|
15461
|
-
} }, hAsync("input", { key: '
|
|
15461
|
+
} }, hAsync("input", { key: 'ffabe700b7e7b0cf0b8f28fc44155ef47d3e2b56', type: "submit", hidden: true }), hAsync("select", Object.assign({ key: '24a253ce002d6ad9095c718a85dfdf56c84da58a', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-keyshortcuts": this.state._shortKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows }, this.controller.onFacade, { onInput: this.onInput.bind(this), onChange: this.onChange.bind(this), onFocus: (event) => {
|
|
15462
15462
|
this.controller.onFacade.onFocus(event);
|
|
15463
15463
|
this.inputHasFocus = true;
|
|
15464
15464
|
}, onBlur: (event) => {
|
package/dist/index.mjs
CHANGED
|
@@ -15297,7 +15297,7 @@ class KolSelect {
|
|
|
15297
15297
|
await ((_a = this.selectWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());
|
|
15298
15298
|
}
|
|
15299
15299
|
render() {
|
|
15300
|
-
return (hAsync(Host, { key: '
|
|
15300
|
+
return (hAsync(Host, { key: '9cc63f5b7e127bf93174926609b541fa48a13d13', class: "kol-select" }, hAsync(KolSelectWcTag, { key: 'a3fe9555d9398ef493be9820c035abe07e86a4dc', ref: this.catchRef, _accessKey: this._accessKey, _alert: this._alert, _disabled: this._disabled, _error: this._error, _hideError: this._hideError, _hideLabel: this._hideLabel, _hint: this._hint, _icons: this._icons, _id: this._id, _label: this._label, _msg: this._msg, _multiple: this._multiple, _name: this._name, _on: this._on, _options: this._options, _required: this._required, _rows: this._rows, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _touched: this._touched, _value: this._value }, hAsync("slot", { key: '343f2420fb7d7df5aa315c609653d370a369290b', name: "expert", slot: "expert" }))));
|
|
15301
15301
|
}
|
|
15302
15302
|
static get style() { return {
|
|
15303
15303
|
default: KolSelectDefaultStyle0
|
|
@@ -15399,7 +15399,7 @@ class SelectController extends InputIconController {
|
|
|
15399
15399
|
validateRows(this.component, value);
|
|
15400
15400
|
}
|
|
15401
15401
|
validateValue(value) {
|
|
15402
|
-
watchJsonArrayString(this.component, '_value', (item) => typeof item
|
|
15402
|
+
watchJsonArrayString(this.component, '_value', (item) => typeof item !== 'undefined', value, undefined, {
|
|
15403
15403
|
hooks: {
|
|
15404
15404
|
afterPatch: this.afterPatchOptions,
|
|
15405
15405
|
beforePatch: this.beforePatchOptions,
|
|
@@ -15445,16 +15445,16 @@ class KolSelectWc {
|
|
|
15445
15445
|
render() {
|
|
15446
15446
|
const { ariaDescribedBy } = getRenderStates(this.state);
|
|
15447
15447
|
const hasExpertSlot = showExpertSlot(this.state._label);
|
|
15448
|
-
return (hAsync(Host, { key: '
|
|
15448
|
+
return (hAsync(Host, { key: 'e288741d37fc2ca2e5c564a407131d8b5ecf2adc', class: { 'kol-select-wc': true, 'has-value': this.state._hasValue } }, hAsync(KolInputTag, { key: 'd3147a036af9eb978a60ee11d9d7cda8dc381014', class: {
|
|
15449
15449
|
'hide-label': !!this.state._hideLabel,
|
|
15450
15450
|
select: true,
|
|
15451
|
-
}, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _msg: this.state._msg, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, hAsync("span", { key: '
|
|
15451
|
+
}, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _msg: this.state._msg, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, hAsync("span", { key: 'fb57e39e787ef8a7ee9bab245e577110c021a5fe', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', hAsync("kbd", { class: "badge-text-hint", "aria-hidden": "true" }, buildBadgeTextString(this.state._accessKey, this.state._shortKey)))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'df6a0065a951a902b6853920f1d58e32fa64cf5c', slot: "input" }, hAsync("form", { key: '50d669aecf8b82849fcb8a1ba91ae2188388dc39', onSubmit: (event) => {
|
|
15452
15452
|
event.preventDefault();
|
|
15453
15453
|
propagateSubmitEventToForm({
|
|
15454
15454
|
form: this.host,
|
|
15455
15455
|
ref: this.selectRef,
|
|
15456
15456
|
});
|
|
15457
|
-
} }, hAsync("input", { key: '
|
|
15457
|
+
} }, hAsync("input", { key: 'ffabe700b7e7b0cf0b8f28fc44155ef47d3e2b56', type: "submit", hidden: true }), hAsync("select", Object.assign({ key: '24a253ce002d6ad9095c718a85dfdf56c84da58a', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-keyshortcuts": this.state._shortKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows }, this.controller.onFacade, { onInput: this.onInput.bind(this), onChange: this.onChange.bind(this), onFocus: (event) => {
|
|
15458
15458
|
this.controller.onFacade.onFocus(event);
|
|
15459
15459
|
this.inputHasFocus = true;
|
|
15460
15460
|
}, onBlur: (event) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/hydrate",
|
|
3
|
-
"version": "2.2.19-
|
|
3
|
+
"version": "2.2.19-rc.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
],
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"rimraf": "6.1.2",
|
|
49
|
-
"@public-ui/components": "2.2.19-
|
|
49
|
+
"@public-ui/components": "2.2.19-rc.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@public-ui/components": "2.2.19-
|
|
52
|
+
"@public-ui/components": "2.2.19-rc.1"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"type": "commonjs",
|