@design.estate/dees-catalog 3.66.0 → 3.67.0
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_bundle/bundle.js +93 -7
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.js +14 -2
- package/dist_ts_web/elements/00group-dataview/dees-table/styles.js +3 -1
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.d.ts +1 -0
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.js +43 -2
- package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.d.ts +1 -0
- package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.js +43 -2
- package/dist_watch/bundle.js +91 -5
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-dataview/dees-table/dees-table.ts +11 -1
- package/ts_web/elements/00group-dataview/dees-table/styles.ts +5 -0
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.ts +36 -0
- package/ts_web/elements/00group-input/dees-input-text/dees-input-text.ts +36 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -143197,7 +143197,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143197
143197
|
// ts_web/elements/00group-input/dees-input-text/dees-input-text.ts
|
|
143198
143198
|
init_dist_ts30();
|
|
143199
143199
|
init_theme();
|
|
143200
|
-
var _validationFunction_dec, _validationText_dec, _validationState_dec, _showPasswordBool_dec, _isPasswordBool_dec, _value_dec4, _a21, _DeesInputText_decorators, _init19, _value4, _isPasswordBool, _showPasswordBool, _validationState, _validationText, _validationFunction;
|
|
143200
|
+
var _vintegrated_dec, _validationFunction_dec, _validationText_dec, _validationState_dec, _showPasswordBool_dec, _isPasswordBool_dec, _value_dec4, _a21, _DeesInputText_decorators, _init19, _value4, _isPasswordBool, _showPasswordBool, _validationState, _validationText, _validationFunction, _vintegrated;
|
|
143201
143201
|
_DeesInputText_decorators = [customElement("dees-input-text")];
|
|
143202
143202
|
var _DeesInputText = class _DeesInputText extends (_a21 = DeesInputBase, _value_dec4 = [n5({
|
|
143203
143203
|
type: String,
|
|
@@ -143213,7 +143213,10 @@ var _DeesInputText = class _DeesInputText extends (_a21 = DeesInputBase, _value_
|
|
|
143213
143213
|
reflect: true
|
|
143214
143214
|
})], _validationText_dec = [n5({
|
|
143215
143215
|
reflect: true
|
|
143216
|
-
})], _validationFunction_dec = [n5({})],
|
|
143216
|
+
})], _validationFunction_dec = [n5({})], _vintegrated_dec = [n5({
|
|
143217
|
+
type: Boolean,
|
|
143218
|
+
reflect: true
|
|
143219
|
+
})], _a21) {
|
|
143217
143220
|
constructor() {
|
|
143218
143221
|
super(...arguments);
|
|
143219
143222
|
__privateAdd(this, _value4, __runInitializers(_init19, 8, this, "")), __runInitializers(_init19, 11, this);
|
|
@@ -143222,6 +143225,7 @@ var _DeesInputText = class _DeesInputText extends (_a21 = DeesInputBase, _value_
|
|
|
143222
143225
|
__privateAdd(this, _validationState, __runInitializers(_init19, 20, this)), __runInitializers(_init19, 23, this);
|
|
143223
143226
|
__privateAdd(this, _validationText, __runInitializers(_init19, 24, this, "")), __runInitializers(_init19, 27, this);
|
|
143224
143227
|
__privateAdd(this, _validationFunction, __runInitializers(_init19, 28, this)), __runInitializers(_init19, 31, this);
|
|
143228
|
+
__privateAdd(this, _vintegrated, __runInitializers(_init19, 32, this, false)), __runInitializers(_init19, 35, this);
|
|
143225
143229
|
}
|
|
143226
143230
|
render() {
|
|
143227
143231
|
return b2`
|
|
@@ -143302,12 +143306,14 @@ _showPasswordBool = new WeakMap();
|
|
|
143302
143306
|
_validationState = new WeakMap();
|
|
143303
143307
|
_validationText = new WeakMap();
|
|
143304
143308
|
_validationFunction = new WeakMap();
|
|
143309
|
+
_vintegrated = new WeakMap();
|
|
143305
143310
|
__decorateElement(_init19, 4, "value", _value_dec4, _DeesInputText, _value4);
|
|
143306
143311
|
__decorateElement(_init19, 4, "isPasswordBool", _isPasswordBool_dec, _DeesInputText, _isPasswordBool);
|
|
143307
143312
|
__decorateElement(_init19, 4, "showPasswordBool", _showPasswordBool_dec, _DeesInputText, _showPasswordBool);
|
|
143308
143313
|
__decorateElement(_init19, 4, "validationState", _validationState_dec, _DeesInputText, _validationState);
|
|
143309
143314
|
__decorateElement(_init19, 4, "validationText", _validationText_dec, _DeesInputText, _validationText);
|
|
143310
143315
|
__decorateElement(_init19, 4, "validationFunction", _validationFunction_dec, _DeesInputText, _validationFunction);
|
|
143316
|
+
__decorateElement(_init19, 4, "vintegrated", _vintegrated_dec, _DeesInputText, _vintegrated);
|
|
143311
143317
|
_DeesInputText = __decorateElement(_init19, 0, "DeesInputText", _DeesInputText_decorators, _DeesInputText);
|
|
143312
143318
|
__name(_DeesInputText, "DeesInputText");
|
|
143313
143319
|
__publicField(_DeesInputText, "demo", demoFunc13);
|
|
@@ -143449,6 +143455,36 @@ __publicField(_DeesInputText, "styles", [
|
|
|
143449
143455
|
border-color: ${cssManager.bdTheme("hsl(142.1 76.2% 36.3%)", "hsl(142.1 70.6% 45.3%)")};
|
|
143450
143456
|
box-shadow: 0 0 0 2px ${cssManager.bdTheme("hsl(142.1 76.2% 36.3% / 0.05)", "hsl(142.1 70.6% 45.3% / 0.05)")};
|
|
143451
143457
|
}
|
|
143458
|
+
|
|
143459
|
+
/* Visually integrated mode: shed chrome to blend into a host component
|
|
143460
|
+
(e.g. a dees-table cell in edit mode). */
|
|
143461
|
+
:host([vintegrated]) dees-label,
|
|
143462
|
+
:host([vintegrated]) .validationContainer {
|
|
143463
|
+
display: none;
|
|
143464
|
+
}
|
|
143465
|
+
:host([vintegrated]) .maincontainer {
|
|
143466
|
+
height: 40px;
|
|
143467
|
+
}
|
|
143468
|
+
:host([vintegrated]) input {
|
|
143469
|
+
height: 40px;
|
|
143470
|
+
line-height: 24px;
|
|
143471
|
+
padding: 0 16px;
|
|
143472
|
+
font-size: 13px;
|
|
143473
|
+
border: none;
|
|
143474
|
+
border-radius: 0;
|
|
143475
|
+
background: transparent;
|
|
143476
|
+
box-shadow: none;
|
|
143477
|
+
transition: none;
|
|
143478
|
+
}
|
|
143479
|
+
:host([vintegrated]) input:hover:not(:disabled):not(:focus),
|
|
143480
|
+
:host([vintegrated]) input:focus {
|
|
143481
|
+
border: none;
|
|
143482
|
+
box-shadow: none;
|
|
143483
|
+
background: transparent;
|
|
143484
|
+
}
|
|
143485
|
+
:host([vintegrated]) .showPassword {
|
|
143486
|
+
display: none;
|
|
143487
|
+
}
|
|
143452
143488
|
`
|
|
143453
143489
|
]);
|
|
143454
143490
|
__runInitializers(_init19, 1, _DeesInputText);
|
|
@@ -145824,17 +145860,21 @@ var DeesInputDropdownPopup = _DeesInputDropdownPopup;
|
|
|
145824
145860
|
// ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.ts
|
|
145825
145861
|
init_dist_ts30();
|
|
145826
145862
|
init_theme();
|
|
145827
|
-
var _isOpened_dec2, _enableSearch_dec2, _selectedOption_dec2, _options_dec4, _a27, _DeesInputDropdown_decorators, _init25, _options4, _selectedOption2, _enableSearch2, _isOpened2;
|
|
145863
|
+
var _isOpened_dec2, _vintegrated_dec2, _enableSearch_dec2, _selectedOption_dec2, _options_dec4, _a27, _DeesInputDropdown_decorators, _init25, _options4, _selectedOption2, _enableSearch2, _vintegrated2, _isOpened2;
|
|
145828
145864
|
_DeesInputDropdown_decorators = [customElement("dees-input-dropdown")];
|
|
145829
145865
|
var _DeesInputDropdown = class _DeesInputDropdown extends (_a27 = DeesInputBase, _options_dec4 = [n5()], _selectedOption_dec2 = [n5()], _enableSearch_dec2 = [n5({
|
|
145830
145866
|
type: Boolean
|
|
145867
|
+
})], _vintegrated_dec2 = [n5({
|
|
145868
|
+
type: Boolean,
|
|
145869
|
+
reflect: true
|
|
145831
145870
|
})], _isOpened_dec2 = [r5()], _a27) {
|
|
145832
145871
|
constructor() {
|
|
145833
145872
|
super(...arguments);
|
|
145834
145873
|
__privateAdd(this, _options4, __runInitializers(_init25, 8, this, [])), __runInitializers(_init25, 11, this);
|
|
145835
145874
|
__privateAdd(this, _selectedOption2, __runInitializers(_init25, 12, this, null)), __runInitializers(_init25, 15, this);
|
|
145836
145875
|
__privateAdd(this, _enableSearch2, __runInitializers(_init25, 16, this, true)), __runInitializers(_init25, 19, this);
|
|
145837
|
-
__privateAdd(this,
|
|
145876
|
+
__privateAdd(this, _vintegrated2, __runInitializers(_init25, 20, this, false)), __runInitializers(_init25, 23, this);
|
|
145877
|
+
__privateAdd(this, _isOpened2, __runInitializers(_init25, 24, this, false)), __runInitializers(_init25, 27, this);
|
|
145838
145878
|
__publicField(this, "popupInstance", null);
|
|
145839
145879
|
__publicField(this, "handleOptionSelected", /* @__PURE__ */ __name((event) => {
|
|
145840
145880
|
const detail = event.detail;
|
|
@@ -145976,10 +146016,12 @@ _init25 = __decoratorStart(_a27);
|
|
|
145976
146016
|
_options4 = new WeakMap();
|
|
145977
146017
|
_selectedOption2 = new WeakMap();
|
|
145978
146018
|
_enableSearch2 = new WeakMap();
|
|
146019
|
+
_vintegrated2 = new WeakMap();
|
|
145979
146020
|
_isOpened2 = new WeakMap();
|
|
145980
146021
|
__decorateElement(_init25, 4, "options", _options_dec4, _DeesInputDropdown, _options4);
|
|
145981
146022
|
__decorateElement(_init25, 4, "selectedOption", _selectedOption_dec2, _DeesInputDropdown, _selectedOption2);
|
|
145982
146023
|
__decorateElement(_init25, 4, "enableSearch", _enableSearch_dec2, _DeesInputDropdown, _enableSearch2);
|
|
146024
|
+
__decorateElement(_init25, 4, "vintegrated", _vintegrated_dec2, _DeesInputDropdown, _vintegrated2);
|
|
145983
146025
|
__decorateElement(_init25, 4, "isOpened", _isOpened_dec2, _DeesInputDropdown, _isOpened2);
|
|
145984
146026
|
_DeesInputDropdown = __decorateElement(_init25, 0, "DeesInputDropdown", _DeesInputDropdown_decorators, _DeesInputDropdown);
|
|
145985
146027
|
__name(_DeesInputDropdown, "DeesInputDropdown");
|
|
@@ -146060,6 +146102,36 @@ __publicField(_DeesInputDropdown, "styles", [
|
|
|
146060
146102
|
.selectedBox.open::after {
|
|
146061
146103
|
transform: translateY(-50%) rotate(180deg);
|
|
146062
146104
|
}
|
|
146105
|
+
|
|
146106
|
+
/* Visually integrated mode: shed chrome to blend into a host component
|
|
146107
|
+
(e.g. a dees-table cell in edit mode). */
|
|
146108
|
+
:host([vintegrated]) dees-label {
|
|
146109
|
+
display: none;
|
|
146110
|
+
}
|
|
146111
|
+
:host([vintegrated]) .maincontainer {
|
|
146112
|
+
height: 40px;
|
|
146113
|
+
}
|
|
146114
|
+
:host([vintegrated]) .selectedBox {
|
|
146115
|
+
height: 40px;
|
|
146116
|
+
line-height: 40px;
|
|
146117
|
+
padding: 0 32px 0 16px;
|
|
146118
|
+
font-size: 13px;
|
|
146119
|
+
border: none;
|
|
146120
|
+
border-radius: 0;
|
|
146121
|
+
background: transparent;
|
|
146122
|
+
box-shadow: none;
|
|
146123
|
+
transition: none;
|
|
146124
|
+
}
|
|
146125
|
+
:host([vintegrated]) .selectedBox:hover:not(.disabled),
|
|
146126
|
+
:host([vintegrated]) .selectedBox:focus-visible {
|
|
146127
|
+
border: none;
|
|
146128
|
+
box-shadow: none;
|
|
146129
|
+
background: transparent;
|
|
146130
|
+
}
|
|
146131
|
+
:host([vintegrated]) .selectedBox::after {
|
|
146132
|
+
right: 12px;
|
|
146133
|
+
opacity: 0.6;
|
|
146134
|
+
}
|
|
146063
146135
|
`
|
|
146064
146136
|
]);
|
|
146065
146137
|
__runInitializers(_init25, 1, _DeesInputDropdown);
|
|
@@ -164217,6 +164289,11 @@ var tableStyles = [
|
|
|
164217
164289
|
}
|
|
164218
164290
|
td.editingCell {
|
|
164219
164291
|
padding: 0;
|
|
164292
|
+
outline: 2px solid ${cssManager.bdTheme(
|
|
164293
|
+
"hsl(222.2 47.4% 51.2% / 0.6)",
|
|
164294
|
+
"hsl(217.2 91.2% 59.8% / 0.6)"
|
|
164295
|
+
)};
|
|
164296
|
+
outline-offset: -2px;
|
|
164220
164297
|
}
|
|
164221
164298
|
td.editingCell .innerCellContainer {
|
|
164222
164299
|
padding: 0;
|
|
@@ -166130,6 +166207,9 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
166130
166207
|
".editingCell dees-input-text, .editingCell dees-input-checkbox, .editingCell dees-input-dropdown, .editingCell dees-input-datepicker, .editingCell dees-input-tags"
|
|
166131
166208
|
);
|
|
166132
166209
|
el?.focus?.();
|
|
166210
|
+
if (el?.tagName === "DEES-INPUT-DROPDOWN") {
|
|
166211
|
+
el.updateComplete?.then(() => el.toggleSelectionBox?.());
|
|
166212
|
+
}
|
|
166133
166213
|
});
|
|
166134
166214
|
}
|
|
166135
166215
|
/** Closes the editor without committing. */
|
|
@@ -166191,8 +166271,13 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
166191
166271
|
></dees-input-checkbox>`;
|
|
166192
166272
|
case "dropdown": {
|
|
166193
166273
|
const options2 = col.editorOptions?.options ?? [];
|
|
166194
|
-
const selected = options2.find((o13) =>
|
|
166274
|
+
const selected = options2.find((o13) => {
|
|
166275
|
+
if (o13 == null) return false;
|
|
166276
|
+
if (typeof o13 === "string") return o13 === raw2;
|
|
166277
|
+
return o13.key === raw2 || o13.option === raw2;
|
|
166278
|
+
}) ?? null;
|
|
166195
166279
|
return b2`<dees-input-dropdown
|
|
166280
|
+
.vintegrated=${true}
|
|
166196
166281
|
.options=${options2}
|
|
166197
166282
|
.selectedOption=${selected}
|
|
166198
166283
|
@selectedOption=${(e11) => {
|
|
@@ -166219,6 +166304,7 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
166219
166304
|
case "text":
|
|
166220
166305
|
default:
|
|
166221
166306
|
return b2`<dees-input-text
|
|
166307
|
+
.vintegrated=${true}
|
|
166222
166308
|
.value=${value2 == null ? "" : String(value2)}
|
|
166223
166309
|
@focusout=${(e11) => onTextCommit(e11.target)}
|
|
166224
166310
|
@keydown=${(e11) => this.__handleEditorKey(e11, item, col)}
|
|
@@ -200209,7 +200295,7 @@ init_group_runtime();
|
|
|
200209
200295
|
// ts_web/00_commitinfo_data.ts
|
|
200210
200296
|
var commitinfo = {
|
|
200211
200297
|
name: "@design.estate/dees-catalog",
|
|
200212
|
-
version: "3.
|
|
200298
|
+
version: "3.67.0",
|
|
200213
200299
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
200214
200300
|
};
|
|
200215
200301
|
export {
|
|
@@ -202182,4 +202268,4 @@ ibantools/jsnext/ibantools.js:
|
|
|
202182
202268
|
* @preferred
|
|
202183
202269
|
*)
|
|
202184
202270
|
*/
|
|
202185
|
-
//# sourceMappingURL=bundle-
|
|
202271
|
+
//# sourceMappingURL=bundle-1775595907478.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '3.
|
|
6
|
+
version: '3.67.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsNkJBQTZCO0lBQ25DLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSxzSkFBc0o7Q0FDcEssQ0FBQSJ9
|