@design.estate/dees-catalog 3.75.0 → 3.76.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_bundle/bundle.js +544 -530
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.js +7 -7
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.demo.js +5 -5
- package/dist_ts_web/elements/00group-input/dees-input-base/dees-input-base.d.ts +6 -0
- package/dist_ts_web/elements/00group-input/dees-input-base/dees-input-base.js +26 -3
- package/dist_ts_web/elements/00group-input/dees-input-checkbox/dees-input-checkbox.demo.js +96 -94
- package/dist_ts_web/elements/00group-input/dees-input-checkbox/dees-input-checkbox.js +2 -8
- package/dist_ts_web/elements/00group-input/dees-input-code/dees-input-code.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-datepicker/template.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.demo.js +28 -25
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-fileupload/component.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-fileupload/demo.js +40 -39
- package/dist_ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.js +26 -23
- package/dist_ts_web/elements/00group-input/dees-input-iban/dees-input-iban.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-list/dees-input-list.demo.js +22 -20
- package/dist_ts_web/elements/00group-input/dees-input-list/dees-input-list.js +2 -11
- package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.demo.js +68 -65
- package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.js +24 -21
- package/dist_ts_web/elements/00group-input/dees-input-phone/dees-input-phone.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.js +11 -10
- package/dist_ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.js +54 -48
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.js +2 -10
- package/dist_ts_web/elements/00group-input/dees-input-richtext/styles.js +1 -8
- package/dist_ts_web/elements/00group-input/dees-input-richtext/template.js +2 -2
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.js +21 -19
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +2 -12
- package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.js +41 -38
- package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-toggle/dees-input-toggle.demo.js +35 -33
- package/dist_ts_web/elements/00group-input/dees-input-toggle/dees-input-toggle.js +2 -8
- package/dist_ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.demo.js +28 -27
- package/dist_ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.js +3 -2
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/dees-input-wysiwyg.js +4 -3
- package/dist_ts_web/elements/00group-input/profilepicture/dees-input-profilepicture.js +3 -2
- package/dist_ts_web/elements/00group-layout/dees-label/dees-label.d.ts +1 -1
- package/dist_ts_web/elements/00group-layout/dees-label/dees-label.demo.js +12 -12
- package/dist_ts_web/elements/00group-layout/dees-label/dees-label.js +12 -12
- package/dist_watch/bundle.js +125 -133
- 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 +6 -6
- package/ts_web/elements/00group-form/dees-form/dees-form.demo.ts +4 -4
- package/ts_web/elements/00group-input/dees-input-base/dees-input-base.ts +20 -0
- package/ts_web/elements/00group-input/dees-input-checkbox/dees-input-checkbox.demo.ts +95 -93
- package/ts_web/elements/00group-input/dees-input-checkbox/dees-input-checkbox.ts +1 -7
- package/ts_web/elements/00group-input/dees-input-code/dees-input-code.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-datepicker/template.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.demo.ts +41 -38
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-fileupload/component.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-fileupload/demo.ts +39 -38
- package/ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.ts +25 -22
- package/ts_web/elements/00group-input/dees-input-iban/dees-input-iban.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-list/dees-input-list.demo.ts +21 -19
- package/ts_web/elements/00group-input/dees-input-list/dees-input-list.ts +1 -10
- package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.demo.ts +67 -64
- package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.ts +23 -20
- package/ts_web/elements/00group-input/dees-input-phone/dees-input-phone.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.ts +10 -9
- package/ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.ts +53 -47
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.ts +1 -9
- package/ts_web/elements/00group-input/dees-input-richtext/styles.ts +0 -7
- package/ts_web/elements/00group-input/dees-input-richtext/template.ts +1 -1
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.ts +20 -18
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts +1 -11
- package/ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.ts +40 -37
- package/ts_web/elements/00group-input/dees-input-text/dees-input-text.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-toggle/dees-input-toggle.demo.ts +34 -32
- package/ts_web/elements/00group-input/dees-input-toggle/dees-input-toggle.ts +1 -7
- package/ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.demo.ts +27 -26
- package/ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-wysiwyg/dees-input-wysiwyg.ts +3 -2
- package/ts_web/elements/00group-input/profilepicture/dees-input-profilepicture.ts +2 -1
- package/ts_web/elements/00group-layout/dees-label/dees-label.demo.ts +11 -11
- package/ts_web/elements/00group-layout/dees-label/dees-label.ts +3 -3
package/dist_bundle/bundle.js
CHANGED
|
@@ -138477,8 +138477,8 @@ html\`
|
|
|
138477
138477
|
// ts_web/elements/00group-input/dees-input-base/dees-input-base.ts
|
|
138478
138478
|
init_dist_ts30();
|
|
138479
138479
|
init_dist_ts29();
|
|
138480
|
-
var _description_dec, _disabled_dec, _required_dec, _label_dec, _key_dec, _labelPosition_dec, _layoutMode_dec, _a12, _init10, _layoutMode, _labelPosition, _key, _label, _required, _disabled, _description;
|
|
138481
|
-
var _DeesInputBase = class _DeesInputBase extends (_a12 = DeesElement, _layoutMode_dec = [n5({ type: String })], _labelPosition_dec = [n5({ type: String })], _key_dec = [n5({ type: String })], _label_dec = [n5({ type: String })], _required_dec = [n5({ type: Boolean })], _disabled_dec = [n5({ type: Boolean })], _description_dec = [n5({ type: String })], _a12) {
|
|
138480
|
+
var _description_dec, _infoText_dec, _disabled_dec, _required_dec, _label_dec, _key_dec, _labelPosition_dec, _layoutMode_dec, _a12, _init10, _layoutMode, _labelPosition, _key, _label, _required, _disabled, _infoText, _description;
|
|
138481
|
+
var _DeesInputBase = class _DeesInputBase extends (_a12 = DeesElement, _layoutMode_dec = [n5({ type: String })], _labelPosition_dec = [n5({ type: String })], _key_dec = [n5({ type: String })], _label_dec = [n5({ type: String })], _required_dec = [n5({ type: Boolean })], _disabled_dec = [n5({ type: Boolean })], _infoText_dec = [n5({ type: String })], _description_dec = [n5({ type: String })], _a12) {
|
|
138482
138482
|
constructor() {
|
|
138483
138483
|
super(...arguments);
|
|
138484
138484
|
__privateAdd(this, _layoutMode, __runInitializers(_init10, 8, this, "auto")), __runInitializers(_init10, 11, this);
|
|
@@ -138487,7 +138487,8 @@ var _DeesInputBase = class _DeesInputBase extends (_a12 = DeesElement, _layoutMo
|
|
|
138487
138487
|
__privateAdd(this, _label, __runInitializers(_init10, 20, this)), __runInitializers(_init10, 23, this);
|
|
138488
138488
|
__privateAdd(this, _required, __runInitializers(_init10, 24, this, false)), __runInitializers(_init10, 27, this);
|
|
138489
138489
|
__privateAdd(this, _disabled, __runInitializers(_init10, 28, this, false)), __runInitializers(_init10, 31, this);
|
|
138490
|
-
__privateAdd(this,
|
|
138490
|
+
__privateAdd(this, _infoText, __runInitializers(_init10, 32, this)), __runInitializers(_init10, 35, this);
|
|
138491
|
+
__privateAdd(this, _description, __runInitializers(_init10, 36, this)), __runInitializers(_init10, 39, this);
|
|
138491
138492
|
/**
|
|
138492
138493
|
* Subject for value changes that all inputs should implement
|
|
138493
138494
|
*/
|
|
@@ -138538,6 +138539,14 @@ var _DeesInputBase = class _DeesInputBase extends (_a12 = DeesElement, _layoutMo
|
|
|
138538
138539
|
:host([label-position="none"]) dees-label {
|
|
138539
138540
|
display: none;
|
|
138540
138541
|
}
|
|
138542
|
+
|
|
138543
|
+
/* Description text below input */
|
|
138544
|
+
.descriptionText {
|
|
138545
|
+
margin-top: 4px;
|
|
138546
|
+
font-size: 12px;
|
|
138547
|
+
line-height: 1.4;
|
|
138548
|
+
color: ${cssManager.bdTheme("hsl(0 0% 45.1%)", "hsl(0 0% 63.9%)")};
|
|
138549
|
+
}
|
|
138541
138550
|
`
|
|
138542
138551
|
];
|
|
138543
138552
|
}
|
|
@@ -138588,6 +138597,13 @@ var _DeesInputBase = class _DeesInputBase extends (_a12 = DeesElement, _layoutMo
|
|
|
138588
138597
|
async unfreeze() {
|
|
138589
138598
|
this.disabled = false;
|
|
138590
138599
|
}
|
|
138600
|
+
/**
|
|
138601
|
+
* Renders the description text below the input.
|
|
138602
|
+
* Call ${this.renderDescription()} at the end of your render template.
|
|
138603
|
+
*/
|
|
138604
|
+
renderDescription() {
|
|
138605
|
+
return this.description ? b2`<div class="descriptionText">${this.description}</div>` : "";
|
|
138606
|
+
}
|
|
138591
138607
|
};
|
|
138592
138608
|
_init10 = __decoratorStart(_a12);
|
|
138593
138609
|
_layoutMode = new WeakMap();
|
|
@@ -138596,6 +138612,7 @@ _key = new WeakMap();
|
|
|
138596
138612
|
_label = new WeakMap();
|
|
138597
138613
|
_required = new WeakMap();
|
|
138598
138614
|
_disabled = new WeakMap();
|
|
138615
|
+
_infoText = new WeakMap();
|
|
138599
138616
|
_description = new WeakMap();
|
|
138600
138617
|
__decorateElement(_init10, 4, "layoutMode", _layoutMode_dec, _DeesInputBase, _layoutMode);
|
|
138601
138618
|
__decorateElement(_init10, 4, "labelPosition", _labelPosition_dec, _DeesInputBase, _labelPosition);
|
|
@@ -138603,6 +138620,7 @@ __decorateElement(_init10, 4, "key", _key_dec, _DeesInputBase, _key);
|
|
|
138603
138620
|
__decorateElement(_init10, 4, "label", _label_dec, _DeesInputBase, _label);
|
|
138604
138621
|
__decorateElement(_init10, 4, "required", _required_dec, _DeesInputBase, _required);
|
|
138605
138622
|
__decorateElement(_init10, 4, "disabled", _disabled_dec, _DeesInputBase, _disabled);
|
|
138623
|
+
__decorateElement(_init10, 4, "infoText", _infoText_dec, _DeesInputBase, _infoText);
|
|
138606
138624
|
__decorateElement(_init10, 4, "description", _description_dec, _DeesInputBase, _description);
|
|
138607
138625
|
__decoratorMetadata(_init10, _DeesInputBase);
|
|
138608
138626
|
__name(_DeesInputBase, "DeesInputBase");
|
|
@@ -138712,90 +138730,92 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138712
138730
|
|
|
138713
138731
|
<div class="demo-container">
|
|
138714
138732
|
<dees-panel .title=${"Basic Checkboxes"} .subtitle=${"Simple checkbox examples with various labels"}>
|
|
138715
|
-
<
|
|
138716
|
-
<dees-input-checkbox
|
|
138717
|
-
.label=${"I agree to the Terms and Conditions"}
|
|
138733
|
+
<dees-form>
|
|
138734
|
+
<dees-input-checkbox
|
|
138735
|
+
.label=${"I agree to the Terms and Conditions"}
|
|
138718
138736
|
.value=${true}
|
|
138719
138737
|
.key=${"terms"}
|
|
138720
138738
|
></dees-input-checkbox>
|
|
138721
|
-
|
|
138722
|
-
<dees-input-checkbox
|
|
138723
|
-
.label=${"Subscribe to newsletter"}
|
|
138739
|
+
|
|
138740
|
+
<dees-input-checkbox
|
|
138741
|
+
.label=${"Subscribe to newsletter"}
|
|
138724
138742
|
.value=${false}
|
|
138725
138743
|
.key=${"newsletter"}
|
|
138726
138744
|
></dees-input-checkbox>
|
|
138727
|
-
|
|
138728
|
-
<dees-input-checkbox
|
|
138729
|
-
.label=${"Enable notifications"}
|
|
138745
|
+
|
|
138746
|
+
<dees-input-checkbox
|
|
138747
|
+
.label=${"Enable notifications"}
|
|
138730
138748
|
.value=${false}
|
|
138731
138749
|
.description=${"Receive email updates about your account"}
|
|
138732
138750
|
.key=${"notifications"}
|
|
138733
138751
|
></dees-input-checkbox>
|
|
138734
|
-
</
|
|
138752
|
+
</dees-form>
|
|
138735
138753
|
</dees-panel>
|
|
138736
138754
|
|
|
138737
138755
|
<dees-panel .title=${"Checkbox States"} .subtitle=${"Different checkbox states and configurations"}>
|
|
138738
|
-
<
|
|
138739
|
-
<dees-input-checkbox
|
|
138740
|
-
.label=${"Default state"}
|
|
138756
|
+
<dees-form>
|
|
138757
|
+
<dees-input-checkbox
|
|
138758
|
+
.label=${"Default state"}
|
|
138741
138759
|
.value=${false}
|
|
138742
138760
|
></dees-input-checkbox>
|
|
138743
|
-
|
|
138744
|
-
<dees-input-checkbox
|
|
138745
|
-
.label=${"Checked state"}
|
|
138761
|
+
|
|
138762
|
+
<dees-input-checkbox
|
|
138763
|
+
.label=${"Checked state"}
|
|
138746
138764
|
.value=${true}
|
|
138747
138765
|
></dees-input-checkbox>
|
|
138748
|
-
|
|
138749
|
-
<dees-input-checkbox
|
|
138750
|
-
.label=${"Disabled unchecked"}
|
|
138766
|
+
|
|
138767
|
+
<dees-input-checkbox
|
|
138768
|
+
.label=${"Disabled unchecked"}
|
|
138751
138769
|
.value=${false}
|
|
138752
138770
|
.disabled=${true}
|
|
138753
138771
|
></dees-input-checkbox>
|
|
138754
|
-
|
|
138755
|
-
<dees-input-checkbox
|
|
138756
|
-
.label=${"Disabled checked"}
|
|
138772
|
+
|
|
138773
|
+
<dees-input-checkbox
|
|
138774
|
+
.label=${"Disabled checked"}
|
|
138757
138775
|
.value=${true}
|
|
138758
138776
|
.disabled=${true}
|
|
138759
138777
|
></dees-input-checkbox>
|
|
138760
|
-
|
|
138761
|
-
<dees-input-checkbox
|
|
138762
|
-
.label=${"Required checkbox"}
|
|
138778
|
+
|
|
138779
|
+
<dees-input-checkbox
|
|
138780
|
+
.label=${"Required checkbox"}
|
|
138763
138781
|
.required=${true}
|
|
138764
138782
|
.key=${"required"}
|
|
138765
138783
|
></dees-input-checkbox>
|
|
138766
|
-
</
|
|
138784
|
+
</dees-form>
|
|
138767
138785
|
</dees-panel>
|
|
138768
138786
|
|
|
138769
138787
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Checkboxes arranged horizontally for compact forms"}>
|
|
138770
|
-
<
|
|
138771
|
-
<
|
|
138772
|
-
|
|
138773
|
-
|
|
138774
|
-
|
|
138775
|
-
|
|
138776
|
-
|
|
138777
|
-
|
|
138778
|
-
|
|
138779
|
-
|
|
138780
|
-
|
|
138781
|
-
|
|
138782
|
-
|
|
138783
|
-
|
|
138784
|
-
|
|
138785
|
-
|
|
138786
|
-
|
|
138787
|
-
|
|
138788
|
-
|
|
138789
|
-
|
|
138790
|
-
|
|
138791
|
-
|
|
138792
|
-
|
|
138793
|
-
|
|
138794
|
-
|
|
138795
|
-
|
|
138796
|
-
|
|
138797
|
-
|
|
138798
|
-
|
|
138788
|
+
<dees-form>
|
|
138789
|
+
<div class="horizontal-checkboxes">
|
|
138790
|
+
<dees-input-checkbox
|
|
138791
|
+
.label=${"Option A"}
|
|
138792
|
+
.value=${false}
|
|
138793
|
+
.layoutMode=${"horizontal"}
|
|
138794
|
+
.key=${"optionA"}
|
|
138795
|
+
></dees-input-checkbox>
|
|
138796
|
+
|
|
138797
|
+
<dees-input-checkbox
|
|
138798
|
+
.label=${"Option B"}
|
|
138799
|
+
.value=${true}
|
|
138800
|
+
.layoutMode=${"horizontal"}
|
|
138801
|
+
.key=${"optionB"}
|
|
138802
|
+
></dees-input-checkbox>
|
|
138803
|
+
|
|
138804
|
+
<dees-input-checkbox
|
|
138805
|
+
.label=${"Option C"}
|
|
138806
|
+
.value=${false}
|
|
138807
|
+
.layoutMode=${"horizontal"}
|
|
138808
|
+
.key=${"optionC"}
|
|
138809
|
+
></dees-input-checkbox>
|
|
138810
|
+
|
|
138811
|
+
<dees-input-checkbox
|
|
138812
|
+
.label=${"Option D"}
|
|
138813
|
+
.value=${true}
|
|
138814
|
+
.layoutMode=${"horizontal"}
|
|
138815
|
+
.key=${"optionD"}
|
|
138816
|
+
></dees-input-checkbox>
|
|
138817
|
+
</div>
|
|
138818
|
+
</dees-form>
|
|
138799
138819
|
</dees-panel>
|
|
138800
138820
|
|
|
138801
138821
|
<dees-panel .title=${"Feature Selection Example"} .subtitle=${"Common use case for feature toggles with batch operations"}>
|
|
@@ -138805,76 +138825,76 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138805
138825
|
</div>
|
|
138806
138826
|
|
|
138807
138827
|
<div class="feature-list">
|
|
138808
|
-
<
|
|
138809
|
-
<dees-input-checkbox
|
|
138810
|
-
.label=${"Dark Mode Support"}
|
|
138828
|
+
<dees-form>
|
|
138829
|
+
<dees-input-checkbox
|
|
138830
|
+
.label=${"Dark Mode Support"}
|
|
138811
138831
|
.value=${true}
|
|
138812
138832
|
.key=${"feature1"}
|
|
138813
138833
|
></dees-input-checkbox>
|
|
138814
|
-
|
|
138815
|
-
<dees-input-checkbox
|
|
138816
|
-
.label=${"Email Notifications"}
|
|
138834
|
+
|
|
138835
|
+
<dees-input-checkbox
|
|
138836
|
+
.label=${"Email Notifications"}
|
|
138817
138837
|
.value=${true}
|
|
138818
138838
|
.key=${"feature2"}
|
|
138819
138839
|
></dees-input-checkbox>
|
|
138820
|
-
|
|
138821
|
-
<dees-input-checkbox
|
|
138822
|
-
.label=${"Two-Factor Authentication"}
|
|
138840
|
+
|
|
138841
|
+
<dees-input-checkbox
|
|
138842
|
+
.label=${"Two-Factor Authentication"}
|
|
138823
138843
|
.value=${false}
|
|
138824
138844
|
.key=${"feature3"}
|
|
138825
138845
|
></dees-input-checkbox>
|
|
138826
|
-
|
|
138827
|
-
<dees-input-checkbox
|
|
138828
|
-
.label=${"API Access"}
|
|
138846
|
+
|
|
138847
|
+
<dees-input-checkbox
|
|
138848
|
+
.label=${"API Access"}
|
|
138829
138849
|
.value=${true}
|
|
138830
138850
|
.key=${"feature4"}
|
|
138831
138851
|
></dees-input-checkbox>
|
|
138832
|
-
|
|
138833
|
-
<dees-input-checkbox
|
|
138834
|
-
.label=${"Advanced Analytics"}
|
|
138852
|
+
|
|
138853
|
+
<dees-input-checkbox
|
|
138854
|
+
.label=${"Advanced Analytics"}
|
|
138835
138855
|
.value=${false}
|
|
138836
138856
|
.key=${"feature5"}
|
|
138837
138857
|
></dees-input-checkbox>
|
|
138838
|
-
</
|
|
138858
|
+
</dees-form>
|
|
138839
138859
|
</div>
|
|
138840
138860
|
</dees-panel>
|
|
138841
138861
|
|
|
138842
138862
|
<dees-panel .title=${"Privacy Settings Example"} .subtitle=${"Checkboxes in a typical form context"}>
|
|
138843
138863
|
<div class="form-section">
|
|
138844
138864
|
<h4 class="section-title">Privacy Preferences</h4>
|
|
138845
|
-
|
|
138846
|
-
<
|
|
138847
|
-
<dees-input-checkbox
|
|
138848
|
-
.label=${"Share analytics data"}
|
|
138865
|
+
|
|
138866
|
+
<dees-form>
|
|
138867
|
+
<dees-input-checkbox
|
|
138868
|
+
.label=${"Share analytics data"}
|
|
138849
138869
|
.value=${true}
|
|
138850
138870
|
.description=${"Help us improve by sharing anonymous usage data"}
|
|
138851
138871
|
></dees-input-checkbox>
|
|
138852
|
-
|
|
138853
|
-
<dees-input-checkbox
|
|
138854
|
-
.label=${"Personalized recommendations"}
|
|
138872
|
+
|
|
138873
|
+
<dees-input-checkbox
|
|
138874
|
+
.label=${"Personalized recommendations"}
|
|
138855
138875
|
.value=${true}
|
|
138856
138876
|
.description=${"Get suggestions based on your activity"}
|
|
138857
138877
|
></dees-input-checkbox>
|
|
138858
|
-
|
|
138859
|
-
<dees-input-checkbox
|
|
138860
|
-
.label=${"Marketing communications"}
|
|
138878
|
+
|
|
138879
|
+
<dees-input-checkbox
|
|
138880
|
+
.label=${"Marketing communications"}
|
|
138861
138881
|
.value=${false}
|
|
138862
138882
|
.description=${"Receive promotional emails and special offers"}
|
|
138863
138883
|
></dees-input-checkbox>
|
|
138864
|
-
|
|
138865
|
-
<dees-input-checkbox
|
|
138866
|
-
.label=${"Third-party integrations"}
|
|
138884
|
+
|
|
138885
|
+
<dees-input-checkbox
|
|
138886
|
+
.label=${"Third-party integrations"}
|
|
138867
138887
|
.value=${false}
|
|
138868
138888
|
.description=${"Allow approved partners to access your data"}
|
|
138869
138889
|
></dees-input-checkbox>
|
|
138870
|
-
</
|
|
138890
|
+
</dees-form>
|
|
138871
138891
|
</div>
|
|
138872
138892
|
</dees-panel>
|
|
138873
138893
|
|
|
138874
138894
|
<dees-panel .title=${"Interactive Example"} .subtitle=${"Click checkboxes to see value changes"}>
|
|
138875
|
-
<
|
|
138876
|
-
<dees-input-checkbox
|
|
138877
|
-
.label=${"Feature toggle"}
|
|
138895
|
+
<dees-form>
|
|
138896
|
+
<dees-input-checkbox
|
|
138897
|
+
.label=${"Feature toggle"}
|
|
138878
138898
|
.value=${false}
|
|
138879
138899
|
@changeSubject=${(event) => {
|
|
138880
138900
|
const output = document.querySelector("#checkbox-output");
|
|
@@ -138884,9 +138904,9 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138884
138904
|
}
|
|
138885
138905
|
}}
|
|
138886
138906
|
></dees-input-checkbox>
|
|
138887
|
-
|
|
138888
|
-
<dees-input-checkbox
|
|
138889
|
-
.label=${"Debug mode"}
|
|
138907
|
+
|
|
138908
|
+
<dees-input-checkbox
|
|
138909
|
+
.label=${"Debug mode"}
|
|
138890
138910
|
.value=${false}
|
|
138891
138911
|
@changeSubject=${(event) => {
|
|
138892
138912
|
const output = document.querySelector("#debug-output");
|
|
@@ -138896,8 +138916,8 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138896
138916
|
}
|
|
138897
138917
|
}}
|
|
138898
138918
|
></dees-input-checkbox>
|
|
138899
|
-
</
|
|
138900
|
-
|
|
138919
|
+
</dees-form>
|
|
138920
|
+
|
|
138901
138921
|
<div class="interactive-section">
|
|
138902
138922
|
<div id="checkbox-output" class="output-text">Feature is disabled</div>
|
|
138903
138923
|
<div id="debug-output" class="output-text" style="margin-top: 8px;">Debug mode: OFF</div>
|
|
@@ -138946,7 +138966,7 @@ var _DeesInputCheckbox = class _DeesInputCheckbox extends (_a13 = DeesInputBase,
|
|
|
138946
138966
|
</div>
|
|
138947
138967
|
<div class="label-container">
|
|
138948
138968
|
${this.label ? b2`<div class="checkbox-label">${this.label}</div>` : ""}
|
|
138949
|
-
${this.
|
|
138969
|
+
${this.renderDescription()}
|
|
138950
138970
|
</div>
|
|
138951
138971
|
</div>
|
|
138952
138972
|
</div>
|
|
@@ -139102,12 +139122,6 @@ __publicField(_DeesInputCheckbox, "styles", [
|
|
|
139102
139122
|
color: ${cssManager.bdTheme("hsl(0 0% 15%)", "hsl(0 0% 90%)")};
|
|
139103
139123
|
}
|
|
139104
139124
|
|
|
139105
|
-
/* Description */
|
|
139106
|
-
.description-text {
|
|
139107
|
-
font-size: 12px;
|
|
139108
|
-
color: ${cssManager.bdTheme("hsl(0 0% 45.1%)", "hsl(0 0% 63.9%)")};
|
|
139109
|
-
line-height: 1.5;
|
|
139110
|
-
}
|
|
139111
139125
|
`
|
|
139112
139126
|
]);
|
|
139113
139127
|
__runInitializers(_init11, 1, _DeesInputCheckbox);
|
|
@@ -140208,31 +140222,31 @@ var demoFunc11 = /* @__PURE__ */ __name(() => b2`
|
|
|
140208
140222
|
</div>
|
|
140209
140223
|
|
|
140210
140224
|
<div class="demo-section">
|
|
140211
|
-
<h3>
|
|
140212
|
-
<p>When <code>
|
|
140225
|
+
<h3>Info Text (Info Icon)</h3>
|
|
140226
|
+
<p>When <code>infoText</code> is set, an info icon appears next to the label. Hover over it to see the tooltip.</p>
|
|
140213
140227
|
<div class="label-grid">
|
|
140214
140228
|
<div class="label-row">
|
|
140215
|
-
<span class="annotation">
|
|
140216
|
-
<dees-label .label=${"API Key"} .
|
|
140229
|
+
<span class="annotation">infoText="..."</span>
|
|
140230
|
+
<dees-label .label=${"API Key"} .infoText=${"Your API key can be found in the developer settings dashboard."}></dees-label>
|
|
140217
140231
|
</div>
|
|
140218
140232
|
<div class="label-row">
|
|
140219
|
-
<span class="annotation">short
|
|
140220
|
-
<dees-label .label=${"Region"} .
|
|
140233
|
+
<span class="annotation">short infoText</span>
|
|
140234
|
+
<dees-label .label=${"Region"} .infoText=${"Select your nearest datacenter."}></dees-label>
|
|
140221
140235
|
</div>
|
|
140222
140236
|
</div>
|
|
140223
140237
|
</div>
|
|
140224
140238
|
|
|
140225
140239
|
<div class="demo-section">
|
|
140226
|
-
<h3>Required +
|
|
140240
|
+
<h3>Required + Info Text</h3>
|
|
140227
140241
|
<p>Both indicators can be combined. The asterisk appears first, then the info icon.</p>
|
|
140228
140242
|
<div class="label-grid">
|
|
140229
140243
|
<div class="label-row">
|
|
140230
|
-
<span class="annotation">required +
|
|
140231
|
-
<dees-label .label=${"Password"} .required=${true} .
|
|
140244
|
+
<span class="annotation">required + infoText</span>
|
|
140245
|
+
<dees-label .label=${"Password"} .required=${true} .infoText=${"Must be at least 8 characters with one uppercase letter and one number."}></dees-label>
|
|
140232
140246
|
</div>
|
|
140233
140247
|
<div class="label-row">
|
|
140234
|
-
<span class="annotation">required +
|
|
140235
|
-
<dees-label .label=${"Email Address"} .required=${true} .
|
|
140248
|
+
<span class="annotation">required + infoText</span>
|
|
140249
|
+
<dees-label .label=${"Email Address"} .required=${true} .infoText=${"We will send a verification link to this address."}></dees-label>
|
|
140236
140250
|
</div>
|
|
140237
140251
|
</div>
|
|
140238
140252
|
</div>
|
|
@@ -140253,12 +140267,12 @@ var demoFunc11 = /* @__PURE__ */ __name(() => b2`
|
|
|
140253
140267
|
// ts_web/elements/00group-layout/dees-label/dees-label.ts
|
|
140254
140268
|
init_dist_ts30();
|
|
140255
140269
|
init_theme();
|
|
140256
|
-
var _required_dec2,
|
|
140270
|
+
var _required_dec2, _infoText_dec2, _label_dec2, _a16, _DeesLabel_decorators, _init14, _label2, _infoText2, _required2;
|
|
140257
140271
|
_DeesLabel_decorators = [customElement("dees-label")];
|
|
140258
140272
|
var _DeesLabel = class _DeesLabel extends (_a16 = DeesElement, _label_dec2 = [n5({
|
|
140259
140273
|
type: String,
|
|
140260
140274
|
reflect: true
|
|
140261
|
-
})],
|
|
140275
|
+
})], _infoText_dec2 = [n5({
|
|
140262
140276
|
type: String,
|
|
140263
140277
|
reflect: true
|
|
140264
140278
|
})], _required_dec2 = [n5({
|
|
@@ -140268,7 +140282,7 @@ var _DeesLabel = class _DeesLabel extends (_a16 = DeesElement, _label_dec2 = [n5
|
|
|
140268
140282
|
constructor() {
|
|
140269
140283
|
super(...arguments);
|
|
140270
140284
|
__privateAdd(this, _label2, __runInitializers(_init14, 8, this, "")), __runInitializers(_init14, 11, this);
|
|
140271
|
-
__privateAdd(this,
|
|
140285
|
+
__privateAdd(this, _infoText2, __runInitializers(_init14, 12, this)), __runInitializers(_init14, 15, this);
|
|
140272
140286
|
__privateAdd(this, _required2, __runInitializers(_init14, 16, this, false)), __runInitializers(_init14, 19, this);
|
|
140273
140287
|
}
|
|
140274
140288
|
render() {
|
|
@@ -140277,11 +140291,11 @@ var _DeesLabel = class _DeesLabel extends (_a16 = DeesElement, _label_dec2 = [n5
|
|
|
140277
140291
|
<div class="label">
|
|
140278
140292
|
${this.label}
|
|
140279
140293
|
${this.required ? b2`<span class="required">*</span>` : ""}
|
|
140280
|
-
${this.
|
|
140294
|
+
${this.infoText ? b2`
|
|
140281
140295
|
<div class="description-icon">
|
|
140282
140296
|
<dees-icon .icon=${"lucide:info"}></dees-icon>
|
|
140283
140297
|
</div>
|
|
140284
|
-
<dees-speechbubble .text=${this.
|
|
140298
|
+
<dees-speechbubble .text=${this.infoText}></dees-speechbubble>
|
|
140285
140299
|
` : b2``}
|
|
140286
140300
|
</div>
|
|
140287
140301
|
` : b2``}
|
|
@@ -140290,10 +140304,10 @@ var _DeesLabel = class _DeesLabel extends (_a16 = DeesElement, _label_dec2 = [n5
|
|
|
140290
140304
|
};
|
|
140291
140305
|
_init14 = __decoratorStart(_a16);
|
|
140292
140306
|
_label2 = new WeakMap();
|
|
140293
|
-
|
|
140307
|
+
_infoText2 = new WeakMap();
|
|
140294
140308
|
_required2 = new WeakMap();
|
|
140295
140309
|
__decorateElement(_init14, 4, "label", _label_dec2, _DeesLabel, _label2);
|
|
140296
|
-
__decorateElement(_init14, 4, "
|
|
140310
|
+
__decorateElement(_init14, 4, "infoText", _infoText_dec2, _DeesLabel, _infoText2);
|
|
140297
140311
|
__decorateElement(_init14, 4, "required", _required_dec2, _DeesLabel, _required2);
|
|
140298
140312
|
_DeesLabel = __decorateElement(_init14, 0, "DeesLabel", _DeesLabel_decorators, _DeesLabel);
|
|
140299
140313
|
__name(_DeesLabel, "DeesLabel");
|
|
@@ -140646,7 +140660,7 @@ var _DeesInputCode = class _DeesInputCode extends (_a18 = DeesInputBase, _value_
|
|
|
140646
140660
|
}
|
|
140647
140661
|
</style>
|
|
140648
140662
|
<div class="input-wrapper">
|
|
140649
|
-
<dees-label .label=${this.label} .
|
|
140663
|
+
<dees-label .label=${this.label} .infoText=${this.infoText} .required=${this.required}></dees-label>
|
|
140650
140664
|
<dees-tile>
|
|
140651
140665
|
<div slot="header" class="toolbar">
|
|
140652
140666
|
<div class="toolbar-left">
|
|
@@ -140724,6 +140738,7 @@ var _DeesInputCode = class _DeesInputCode extends (_a18 = DeesInputBase, _value_
|
|
|
140724
140738
|
</div>
|
|
140725
140739
|
</div>
|
|
140726
140740
|
</dees-tile>
|
|
140741
|
+
${this.renderDescription()}
|
|
140727
140742
|
</div>
|
|
140728
140743
|
`;
|
|
140729
140744
|
}
|
|
@@ -141899,7 +141914,7 @@ init_dist_ts30();
|
|
|
141899
141914
|
var renderDatepicker = /* @__PURE__ */ __name((component) => {
|
|
141900
141915
|
return b2`
|
|
141901
141916
|
<div class="input-wrapper">
|
|
141902
|
-
<dees-label .label=${component.label} .
|
|
141917
|
+
<dees-label .label=${component.label} .infoText=${component.infoText} .required=${component.required}></dees-label>
|
|
141903
141918
|
<div class="input-container">
|
|
141904
141919
|
<input
|
|
141905
141920
|
type="text"
|
|
@@ -141922,6 +141937,7 @@ var renderDatepicker = /* @__PURE__ */ __name((component) => {
|
|
|
141922
141937
|
<dees-icon class="calendar-icon" icon="lucide:calendar" iconSize="16"></dees-icon>
|
|
141923
141938
|
</div>
|
|
141924
141939
|
</div>
|
|
141940
|
+
${component.renderDescription()}
|
|
141925
141941
|
</div>
|
|
141926
141942
|
`;
|
|
141927
141943
|
}, "renderDatepicker");
|
|
@@ -143102,17 +143118,18 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143102
143118
|
}
|
|
143103
143119
|
}}>
|
|
143104
143120
|
<dees-panel .title=${"Basic Text Inputs"} .subtitle=${"Standard text inputs with labels and descriptions"}>
|
|
143105
|
-
<
|
|
143121
|
+
<dees-form>
|
|
143106
143122
|
<dees-input-text
|
|
143107
143123
|
.label=${"Username"}
|
|
143108
143124
|
.value=${"johndoe"}
|
|
143109
143125
|
.key=${"username"}
|
|
143126
|
+
.description=${"Your username will be visible to other users"}
|
|
143110
143127
|
></dees-input-text>
|
|
143111
143128
|
|
|
143112
143129
|
<dees-input-text
|
|
143113
143130
|
.label=${"Email Address"}
|
|
143114
143131
|
.value=${"john@example.com"}
|
|
143115
|
-
.
|
|
143132
|
+
.infoText=${"We will never share your email with anyone"}
|
|
143116
143133
|
.key=${"email"}
|
|
143117
143134
|
></dees-input-text>
|
|
143118
143135
|
|
|
@@ -143122,7 +143139,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143122
143139
|
.value=${"secret123"}
|
|
143123
143140
|
.key=${"password"}
|
|
143124
143141
|
></dees-input-text>
|
|
143125
|
-
</
|
|
143142
|
+
</dees-form>
|
|
143126
143143
|
</dees-panel>
|
|
143127
143144
|
</dees-demowrapper>
|
|
143128
143145
|
|
|
@@ -143145,28 +143162,30 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143145
143162
|
}
|
|
143146
143163
|
}}>
|
|
143147
143164
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Multiple inputs arranged horizontally for compact forms"}>
|
|
143148
|
-
<
|
|
143149
|
-
<
|
|
143150
|
-
|
|
143151
|
-
|
|
143152
|
-
|
|
143153
|
-
|
|
143154
|
-
|
|
143155
|
-
|
|
143156
|
-
|
|
143157
|
-
|
|
143158
|
-
|
|
143159
|
-
|
|
143160
|
-
|
|
143161
|
-
|
|
143162
|
-
|
|
143163
|
-
|
|
143164
|
-
|
|
143165
|
-
|
|
143166
|
-
|
|
143167
|
-
|
|
143168
|
-
|
|
143169
|
-
|
|
143165
|
+
<dees-form>
|
|
143166
|
+
<div class="horizontal-group">
|
|
143167
|
+
<dees-input-text
|
|
143168
|
+
.label=${"First Name"}
|
|
143169
|
+
.value=${"John"}
|
|
143170
|
+
.layoutMode=${"horizontal"}
|
|
143171
|
+
.key=${"firstName"}
|
|
143172
|
+
></dees-input-text>
|
|
143173
|
+
|
|
143174
|
+
<dees-input-text
|
|
143175
|
+
.label=${"Last Name"}
|
|
143176
|
+
.value=${"Doe"}
|
|
143177
|
+
.layoutMode=${"horizontal"}
|
|
143178
|
+
.key=${"lastName"}
|
|
143179
|
+
></dees-input-text>
|
|
143180
|
+
|
|
143181
|
+
<dees-input-text
|
|
143182
|
+
.label=${"Age"}
|
|
143183
|
+
.value=${"28"}
|
|
143184
|
+
.layoutMode=${"horizontal"}
|
|
143185
|
+
.key=${"age"}
|
|
143186
|
+
></dees-input-text>
|
|
143187
|
+
</div>
|
|
143188
|
+
</dees-form>
|
|
143170
143189
|
</dees-panel>
|
|
143171
143190
|
</dees-demowrapper>
|
|
143172
143191
|
|
|
@@ -143182,7 +143201,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143182
143201
|
}
|
|
143183
143202
|
}}>
|
|
143184
143203
|
<dees-panel .title=${"Label Positions"} .subtitle=${"Different label positioning options for various layouts"}>
|
|
143185
|
-
<
|
|
143204
|
+
<dees-form>
|
|
143186
143205
|
<dees-input-text
|
|
143187
143206
|
.label=${"Label on Top (Default)"}
|
|
143188
143207
|
.value=${"Standard layout"}
|
|
@@ -143196,25 +143215,25 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143196
143215
|
></dees-input-text>
|
|
143197
143216
|
|
|
143198
143217
|
<div class="grid-layout">
|
|
143199
|
-
<dees-input-text
|
|
143200
|
-
.label=${"City"}
|
|
143201
|
-
.value=${"New York"}
|
|
143218
|
+
<dees-input-text
|
|
143219
|
+
.label=${"City"}
|
|
143220
|
+
.value=${"New York"}
|
|
143202
143221
|
.labelPosition=${"left"}
|
|
143203
143222
|
></dees-input-text>
|
|
143204
|
-
|
|
143223
|
+
|
|
143205
143224
|
<dees-input-text
|
|
143206
143225
|
.label=${"ZIP Code"}
|
|
143207
143226
|
.value=${"10001"}
|
|
143208
143227
|
.labelPosition=${"left"}
|
|
143209
143228
|
></dees-input-text>
|
|
143210
143229
|
</div>
|
|
143211
|
-
</
|
|
143230
|
+
</dees-form>
|
|
143212
143231
|
</dees-panel>
|
|
143213
143232
|
</dees-demowrapper>
|
|
143214
143233
|
|
|
143215
143234
|
<dees-demowrapper>
|
|
143216
143235
|
<dees-panel .title=${"Validation & States"} .subtitle=${"Different validation states and input configurations"}>
|
|
143217
|
-
<
|
|
143236
|
+
<dees-form>
|
|
143218
143237
|
<dees-input-text
|
|
143219
143238
|
.label=${"Required Field"}
|
|
143220
143239
|
.required=${true}
|
|
@@ -143238,7 +143257,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143238
143257
|
return { valid: false, message: "Please enter a valid email address" };
|
|
143239
143258
|
}}
|
|
143240
143259
|
></dees-input-text>
|
|
143241
|
-
</
|
|
143260
|
+
</dees-form>
|
|
143242
143261
|
</dees-panel>
|
|
143243
143262
|
</dees-demowrapper>
|
|
143244
143263
|
|
|
@@ -143262,21 +143281,21 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143262
143281
|
});
|
|
143263
143282
|
}}>
|
|
143264
143283
|
<dees-panel .title=${"Advanced Features"} .subtitle=${"Password visibility toggle and other advanced features"}>
|
|
143265
|
-
<
|
|
143284
|
+
<dees-form>
|
|
143266
143285
|
<dees-input-text
|
|
143267
143286
|
.label=${"Password with Toggle"}
|
|
143268
143287
|
.isPasswordBool=${true}
|
|
143269
143288
|
.value=${"mySecurePassword123"}
|
|
143270
|
-
.
|
|
143289
|
+
.infoText=${"Click the eye icon to show/hide password"}
|
|
143271
143290
|
></dees-input-text>
|
|
143272
143291
|
|
|
143273
143292
|
<dees-input-text
|
|
143274
143293
|
.label=${"API Key"}
|
|
143275
143294
|
.isPasswordBool=${true}
|
|
143276
143295
|
.value=${"sk-1234567890abcdef"}
|
|
143277
|
-
.
|
|
143296
|
+
.infoText=${"Keep this key secure and never share it"}
|
|
143278
143297
|
></dees-input-text>
|
|
143279
|
-
</
|
|
143298
|
+
</dees-form>
|
|
143280
143299
|
</dees-panel>
|
|
143281
143300
|
</dees-demowrapper>
|
|
143282
143301
|
|
|
@@ -143362,7 +143381,7 @@ var _DeesInputText = class _DeesInputText extends (_a21 = DeesInputBase, _value_
|
|
|
143362
143381
|
`}
|
|
143363
143382
|
</style>
|
|
143364
143383
|
<div class="input-wrapper">
|
|
143365
|
-
<dees-label .label=${this.label} .
|
|
143384
|
+
<dees-label .label=${this.label} .infoText=${this.infoText} .required=${this.required}></dees-label>
|
|
143366
143385
|
<div class="maincontainer">
|
|
143367
143386
|
<input
|
|
143368
143387
|
type="${this.isPasswordBool && !this.showPasswordBool ? "password" : "text"}"
|
|
@@ -143384,6 +143403,7 @@ var _DeesInputText = class _DeesInputText extends (_a21 = DeesInputBase, _value_
|
|
|
143384
143403
|
${this.validationText}
|
|
143385
143404
|
</div>
|
|
143386
143405
|
` : b2`<div class="validationContainer"></div>`}
|
|
143406
|
+
${this.renderDescription()}
|
|
143387
143407
|
</div>
|
|
143388
143408
|
</div>
|
|
143389
143409
|
`;
|
|
@@ -144417,19 +144437,20 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144417
144437
|
|
|
144418
144438
|
<div class="demo-container">
|
|
144419
144439
|
<dees-panel .title=${"Basic Quantity Selector"} .subtitle=${"Simple quantity input with increment/decrement buttons"}>
|
|
144420
|
-
<
|
|
144440
|
+
<dees-form>
|
|
144421
144441
|
<dees-input-quantityselector
|
|
144422
144442
|
.label=${"Quantity"}
|
|
144423
|
-
.
|
|
144443
|
+
.infoText=${"Select the desired quantity"}
|
|
144444
|
+
.description=${"Minimum order quantity is 1 item"}
|
|
144424
144445
|
.value=${1}
|
|
144425
144446
|
></dees-input-quantityselector>
|
|
144426
144447
|
|
|
144427
144448
|
<dees-input-quantityselector
|
|
144428
144449
|
.label=${"Items in Cart"}
|
|
144429
|
-
.
|
|
144450
|
+
.infoText=${"Adjust the quantity of items"}
|
|
144430
144451
|
.value=${3}
|
|
144431
144452
|
></dees-input-quantityselector>
|
|
144432
|
-
</
|
|
144453
|
+
</dees-form>
|
|
144433
144454
|
</dees-panel>
|
|
144434
144455
|
|
|
144435
144456
|
<dees-panel .title=${"Shopping Cart"} .subtitle=${"Modern e-commerce product cards with interactive quantity selectors"} .runAfterRender=${async (elementArg) => {
|
|
@@ -144521,21 +144542,21 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144521
144542
|
</dees-panel>
|
|
144522
144543
|
|
|
144523
144544
|
<dees-panel .title=${"Required & Disabled States"} .subtitle=${"Different states for validation and restrictions"}>
|
|
144524
|
-
<
|
|
144545
|
+
<dees-form>
|
|
144525
144546
|
<dees-input-quantityselector
|
|
144526
144547
|
.label=${"Number of Licenses"}
|
|
144527
|
-
.
|
|
144548
|
+
.infoText=${"Select how many licenses you need"}
|
|
144528
144549
|
.required=${true}
|
|
144529
144550
|
.value=${1}
|
|
144530
144551
|
></dees-input-quantityselector>
|
|
144531
144552
|
|
|
144532
144553
|
<dees-input-quantityselector
|
|
144533
144554
|
.label=${"Fixed Quantity"}
|
|
144534
|
-
.
|
|
144555
|
+
.infoText=${"This quantity cannot be changed"}
|
|
144535
144556
|
.disabled=${true}
|
|
144536
144557
|
.value=${5}
|
|
144537
144558
|
></dees-input-quantityselector>
|
|
144538
|
-
</
|
|
144559
|
+
</dees-form>
|
|
144539
144560
|
</dees-panel>
|
|
144540
144561
|
|
|
144541
144562
|
<dees-panel .title=${"Order Form"} .subtitle=${"Complete order form with quantity selection"}>
|
|
@@ -144548,7 +144569,7 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144548
144569
|
></dees-input-dropdown>
|
|
144549
144570
|
<dees-input-quantityselector
|
|
144550
144571
|
.label=${"Quantity"}
|
|
144551
|
-
.
|
|
144572
|
+
.infoText=${"Number of licenses"}
|
|
144552
144573
|
.value=${1}
|
|
144553
144574
|
></dees-input-quantityselector>
|
|
144554
144575
|
<dees-input-text
|
|
@@ -144577,7 +144598,7 @@ var _DeesInputQuantitySelector = class _DeesInputQuantitySelector extends (_a23
|
|
|
144577
144598
|
render() {
|
|
144578
144599
|
return b2`
|
|
144579
144600
|
<div class="input-wrapper">
|
|
144580
|
-
${this.label ? b2`<dees-label .label=${this.label} .
|
|
144601
|
+
${this.label ? b2`<dees-label .label=${this.label} .infoText=${this.infoText} .required=${this.required}></dees-label>` : ""}
|
|
144581
144602
|
<div
|
|
144582
144603
|
class="quantity-container ${this.disabled ? "disabled" : ""}"
|
|
144583
144604
|
data-min="${this.value <= 0}"
|
|
@@ -144614,6 +144635,7 @@ var _DeesInputQuantitySelector = class _DeesInputQuantitySelector extends (_a23
|
|
|
144614
144635
|
aria-label="Increase quantity"
|
|
144615
144636
|
>+</div>
|
|
144616
144637
|
</div>
|
|
144638
|
+
${this.renderDescription()}
|
|
144617
144639
|
</div>
|
|
144618
144640
|
`;
|
|
144619
144641
|
}
|
|
@@ -144795,25 +144817,27 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144795
144817
|
|
|
144796
144818
|
<div class="demo-container">
|
|
144797
144819
|
<dees-panel .title=${"1. Basic Radio Groups"} .subtitle=${"Simple string options for common use cases"}>
|
|
144798
|
-
<
|
|
144799
|
-
<
|
|
144800
|
-
|
|
144801
|
-
|
|
144802
|
-
|
|
144803
|
-
|
|
144804
|
-
|
|
144805
|
-
|
|
144806
|
-
|
|
144807
|
-
|
|
144808
|
-
|
|
144809
|
-
|
|
144810
|
-
|
|
144811
|
-
|
|
144812
|
-
|
|
144820
|
+
<dees-form>
|
|
144821
|
+
<div class="demo-grid">
|
|
144822
|
+
<dees-input-radiogroup
|
|
144823
|
+
.label=${"Subscription Plan"}
|
|
144824
|
+
.options=${["Basic - $9/month", "Pro - $29/month", "Enterprise - $99/month"]}
|
|
144825
|
+
.selectedOption=${"Pro - $29/month"}
|
|
144826
|
+
.description=${"Choose your subscription tier"}
|
|
144827
|
+
></dees-input-radiogroup>
|
|
144828
|
+
|
|
144829
|
+
<dees-input-radiogroup
|
|
144830
|
+
.label=${"Priority Level"}
|
|
144831
|
+
.options=${["High", "Medium", "Low"]}
|
|
144832
|
+
.selectedOption=${"Medium"}
|
|
144833
|
+
.required=${true}
|
|
144834
|
+
></dees-input-radiogroup>
|
|
144835
|
+
</div>
|
|
144836
|
+
</dees-form>
|
|
144813
144837
|
</dees-panel>
|
|
144814
144838
|
|
|
144815
144839
|
<dees-panel .title=${"2. Horizontal Layout"} .subtitle=${"Radio groups with horizontal arrangement"}>
|
|
144816
|
-
<
|
|
144840
|
+
<dees-form>
|
|
144817
144841
|
<dees-input-radiogroup
|
|
144818
144842
|
.label=${"Do you agree with the terms?"}
|
|
144819
144843
|
.options=${["Yes", "No", "Maybe"]}
|
|
@@ -144828,7 +144852,7 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144828
144852
|
.selectedOption=${"Intermediate"}
|
|
144829
144853
|
.description=${"Select your experience level with web development"}
|
|
144830
144854
|
></dees-input-radiogroup>
|
|
144831
|
-
</
|
|
144855
|
+
</dees-form>
|
|
144832
144856
|
</dees-panel>
|
|
144833
144857
|
|
|
144834
144858
|
<dees-panel .title=${"3. Advanced Options"} .subtitle=${"Using object format with keys and payloads"}>
|
|
@@ -144853,41 +144877,45 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144853
144877
|
</dees-panel>
|
|
144854
144878
|
|
|
144855
144879
|
<dees-panel .title=${"4. Survey Example"} .subtitle=${"Multiple radio groups for surveys and forms"}>
|
|
144856
|
-
<
|
|
144857
|
-
<
|
|
144858
|
-
|
|
144859
|
-
|
|
144860
|
-
|
|
144861
|
-
|
|
144862
|
-
|
|
144863
|
-
|
|
144864
|
-
|
|
144865
|
-
|
|
144866
|
-
|
|
144867
|
-
|
|
144868
|
-
|
|
144880
|
+
<dees-form>
|
|
144881
|
+
<div class="demo-grid">
|
|
144882
|
+
<dees-input-radiogroup
|
|
144883
|
+
.label=${"How satisfied are you?"}
|
|
144884
|
+
.options=${["Very Satisfied", "Satisfied", "Neutral", "Dissatisfied", "Very Dissatisfied"]}
|
|
144885
|
+
.selectedOption=${"Satisfied"}
|
|
144886
|
+
></dees-input-radiogroup>
|
|
144887
|
+
|
|
144888
|
+
<dees-input-radiogroup
|
|
144889
|
+
.label=${"Would you recommend us?"}
|
|
144890
|
+
.options=${["Definitely", "Probably", "Not Sure", "Probably Not", "Definitely Not"]}
|
|
144891
|
+
.selectedOption=${"Probably"}
|
|
144892
|
+
></dees-input-radiogroup>
|
|
144893
|
+
</div>
|
|
144894
|
+
</dees-form>
|
|
144869
144895
|
</dees-panel>
|
|
144870
144896
|
|
|
144871
144897
|
<dees-panel .title=${"5. States & Validation"} .subtitle=${"Different states and validation examples"}>
|
|
144872
|
-
<
|
|
144873
|
-
<
|
|
144874
|
-
|
|
144875
|
-
|
|
144876
|
-
|
|
144877
|
-
|
|
144878
|
-
|
|
144879
|
-
|
|
144880
|
-
|
|
144881
|
-
|
|
144882
|
-
|
|
144883
|
-
|
|
144884
|
-
|
|
144885
|
-
|
|
144886
|
-
|
|
144898
|
+
<dees-form>
|
|
144899
|
+
<div class="demo-grid">
|
|
144900
|
+
<dees-input-radiogroup
|
|
144901
|
+
.label=${"Required Selection"}
|
|
144902
|
+
.options=${["Option A", "Option B", "Option C"]}
|
|
144903
|
+
.required=${true}
|
|
144904
|
+
.description=${"This field is required"}
|
|
144905
|
+
></dees-input-radiogroup>
|
|
144906
|
+
|
|
144907
|
+
<dees-input-radiogroup
|
|
144908
|
+
.label=${"Disabled State"}
|
|
144909
|
+
.options=${["Disabled Option 1", "Disabled Option 2", "Disabled Option 3"]}
|
|
144910
|
+
.selectedOption=${"Disabled Option 2"}
|
|
144911
|
+
.disabled=${true}
|
|
144912
|
+
></dees-input-radiogroup>
|
|
144913
|
+
</div>
|
|
144914
|
+
</dees-form>
|
|
144887
144915
|
</dees-panel>
|
|
144888
144916
|
|
|
144889
144917
|
<dees-panel .title=${"6. Settings Example"} .subtitle=${"Common patterns in application settings"}>
|
|
144890
|
-
<
|
|
144918
|
+
<dees-form>
|
|
144891
144919
|
<dees-input-radiogroup
|
|
144892
144920
|
.label=${"Theme Preference"}
|
|
144893
144921
|
.options=${[
|
|
@@ -144912,7 +144940,7 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144912
144940
|
.selectedOption=${"English"}
|
|
144913
144941
|
.direction=${"horizontal"}
|
|
144914
144942
|
></dees-input-radiogroup>
|
|
144915
|
-
</
|
|
144943
|
+
</dees-form>
|
|
144916
144944
|
</dees-panel>
|
|
144917
144945
|
|
|
144918
144946
|
<dees-panel .title=${"7. Form Integration"} .subtitle=${"Works seamlessly with dees-form"}>
|
|
@@ -145016,7 +145044,7 @@ var _DeesInputRadiogroup = class _DeesInputRadiogroup extends (_a24 = DeesInputB
|
|
|
145016
145044
|
`;
|
|
145017
145045
|
})}
|
|
145018
145046
|
</div>
|
|
145019
|
-
${this.
|
|
145047
|
+
${this.renderDescription()}
|
|
145020
145048
|
</div>
|
|
145021
145049
|
`;
|
|
145022
145050
|
}
|
|
@@ -145243,14 +145271,6 @@ __publicField(_DeesInputRadiogroup, "styles", [
|
|
|
145243
145271
|
line-height: 20px;
|
|
145244
145272
|
}
|
|
145245
145273
|
|
|
145246
|
-
.description-text {
|
|
145247
|
-
font-size: 13px;
|
|
145248
|
-
color: ${cssManager.bdTheme("hsl(215.4 16.3% 56.9%)", "hsl(215 20.2% 55.1%)")};
|
|
145249
|
-
margin-top: 10px;
|
|
145250
|
-
line-height: 1.5;
|
|
145251
|
-
letter-spacing: -0.003em;
|
|
145252
|
-
}
|
|
145253
|
-
|
|
145254
145274
|
/* Validation styles */
|
|
145255
145275
|
:host([validationState="invalid"]) .radio-circle {
|
|
145256
145276
|
border-color: ${cssManager.bdTheme("hsl(0 72.2% 50.6%)", "hsl(0 62.8% 30.6%)")};
|
|
@@ -145521,9 +145541,10 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145521
145541
|
}
|
|
145522
145542
|
}}>
|
|
145523
145543
|
<dees-panel .title=${"1. Basic Dropdowns"} .subtitle=${"Standard dropdown with search functionality and various options"}>
|
|
145524
|
-
<
|
|
145544
|
+
<dees-form>
|
|
145525
145545
|
<dees-input-dropdown
|
|
145526
145546
|
.label=${"Select Country"}
|
|
145547
|
+
.description=${"Choose the country where your business is registered"}
|
|
145527
145548
|
.options=${[
|
|
145528
145549
|
{ option: "United States", key: "us" },
|
|
145529
145550
|
{ option: "Canada", key: "ca" },
|
|
@@ -145546,7 +145567,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145546
145567
|
{ option: "Guest", key: "guest" }
|
|
145547
145568
|
]}
|
|
145548
145569
|
></dees-input-dropdown>
|
|
145549
|
-
</
|
|
145570
|
+
</dees-form>
|
|
145550
145571
|
</dees-panel>
|
|
145551
145572
|
</dees-demowrapper>
|
|
145552
145573
|
|
|
@@ -145582,40 +145603,42 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145582
145603
|
});
|
|
145583
145604
|
}}>
|
|
145584
145605
|
<dees-panel .title=${"3. Horizontal Layout"} .subtitle=${"Multiple dropdowns in a horizontal layout for compact forms"}>
|
|
145585
|
-
<
|
|
145586
|
-
<
|
|
145587
|
-
|
|
145588
|
-
|
|
145589
|
-
|
|
145606
|
+
<dees-form>
|
|
145607
|
+
<div class="horizontal-group">
|
|
145608
|
+
<dees-input-dropdown
|
|
145609
|
+
.label=${"Department"}
|
|
145610
|
+
.layoutMode=${"horizontal"}
|
|
145611
|
+
.options=${[
|
|
145590
145612
|
{ option: "Engineering", key: "eng" },
|
|
145591
145613
|
{ option: "Design", key: "design" },
|
|
145592
145614
|
{ option: "Marketing", key: "marketing" },
|
|
145593
145615
|
{ option: "Sales", key: "sales" }
|
|
145594
145616
|
]}
|
|
145595
|
-
|
|
145596
|
-
|
|
145597
|
-
|
|
145598
|
-
|
|
145599
|
-
|
|
145600
|
-
|
|
145601
|
-
|
|
145617
|
+
></dees-input-dropdown>
|
|
145618
|
+
|
|
145619
|
+
<dees-input-dropdown
|
|
145620
|
+
.label=${"Team Size"}
|
|
145621
|
+
.layoutMode=${"horizontal"}
|
|
145622
|
+
.enableSearch=${false}
|
|
145623
|
+
.options=${[
|
|
145602
145624
|
{ option: "1-5", key: "small" },
|
|
145603
145625
|
{ option: "6-20", key: "medium" },
|
|
145604
145626
|
{ option: "21-50", key: "large" },
|
|
145605
145627
|
{ option: "50+", key: "xlarge" }
|
|
145606
145628
|
]}
|
|
145607
|
-
|
|
145608
|
-
|
|
145609
|
-
|
|
145610
|
-
|
|
145611
|
-
|
|
145612
|
-
|
|
145629
|
+
></dees-input-dropdown>
|
|
145630
|
+
|
|
145631
|
+
<dees-input-dropdown
|
|
145632
|
+
.label=${"Location"}
|
|
145633
|
+
.layoutMode=${"horizontal"}
|
|
145634
|
+
.options=${[
|
|
145613
145635
|
{ option: "Remote", key: "remote" },
|
|
145614
145636
|
{ option: "On-site", key: "onsite" },
|
|
145615
145637
|
{ option: "Hybrid", key: "hybrid" }
|
|
145616
145638
|
]}
|
|
145617
|
-
|
|
145618
|
-
|
|
145639
|
+
></dees-input-dropdown>
|
|
145640
|
+
</div>
|
|
145641
|
+
</dees-form>
|
|
145619
145642
|
</dees-panel>
|
|
145620
145643
|
</dees-demowrapper>
|
|
145621
145644
|
|
|
@@ -145628,7 +145651,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145628
145651
|
}
|
|
145629
145652
|
}}>
|
|
145630
145653
|
<dees-panel .title=${"4. States"} .subtitle=${"Different states and configurations"}>
|
|
145631
|
-
<
|
|
145654
|
+
<dees-form>
|
|
145632
145655
|
<dees-input-dropdown
|
|
145633
145656
|
.label=${"Required Field"}
|
|
145634
145657
|
.required=${true}
|
|
@@ -145647,7 +145670,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145647
145670
|
]}
|
|
145648
145671
|
.selectedOption=${{ option: "Cannot Select", key: "disabled" }}
|
|
145649
145672
|
></dees-input-dropdown>
|
|
145650
|
-
</
|
|
145673
|
+
</dees-form>
|
|
145651
145674
|
</dees-panel>
|
|
145652
145675
|
</dees-demowrapper>
|
|
145653
145676
|
|
|
@@ -146135,7 +146158,7 @@ var _DeesInputDropdown = class _DeesInputDropdown extends (_a27 = DeesInputBase,
|
|
|
146135
146158
|
render() {
|
|
146136
146159
|
return b2`
|
|
146137
146160
|
<div class="input-wrapper">
|
|
146138
|
-
<dees-label .label=${this.label} .
|
|
146161
|
+
<dees-label .label=${this.label} .infoText=${this.infoText} .required=${this.required}></dees-label>
|
|
146139
146162
|
<div class="maincontainer">
|
|
146140
146163
|
<div
|
|
146141
146164
|
class="selectedBox ${this.isOpened ? "open" : ""} ${this.disabled ? "disabled" : ""}"
|
|
@@ -146146,6 +146169,7 @@ var _DeesInputDropdown = class _DeesInputDropdown extends (_a27 = DeesInputBase,
|
|
|
146146
146169
|
${this.selectedOption?.option || "Select an option"}
|
|
146147
146170
|
</div>
|
|
146148
146171
|
</div>
|
|
146172
|
+
${this.renderDescription()}
|
|
146149
146173
|
</div>
|
|
146150
146174
|
`;
|
|
146151
146175
|
}
|
|
@@ -146419,40 +146443,43 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146419
146443
|
.title=${"Modern file uploader"}
|
|
146420
146444
|
.subtitle=${"Shadcn-inspired layout with drag & drop, previews and validation"}
|
|
146421
146445
|
>
|
|
146422
|
-
<
|
|
146423
|
-
<div class="demo-
|
|
146424
|
-
<
|
|
146425
|
-
|
|
146426
|
-
|
|
146427
|
-
|
|
146428
|
-
|
|
146429
|
-
|
|
146430
|
-
|
|
146431
|
-
|
|
146432
|
-
.label=${"Brand assets"}
|
|
146433
|
-
.description=${"Upload high-resolution imagery (JPG/PNG)"}
|
|
146434
|
-
.accept=${"image/jpeg,image/png"}
|
|
146435
|
-
.multiple=${false}
|
|
146436
|
-
.maxSize=${5 * 1024 * 1024}
|
|
146437
|
-
.buttonText=${"Select cover image"}
|
|
146438
|
-
></dees-input-fileupload>
|
|
146439
|
-
</div>
|
|
146446
|
+
<dees-form>
|
|
146447
|
+
<div class="demo-grid demo-grid--two">
|
|
146448
|
+
<div class="demo-stack">
|
|
146449
|
+
<dees-input-fileupload
|
|
146450
|
+
.label=${"Attachments"}
|
|
146451
|
+
.infoText=${"Upload supporting documents for your request"}
|
|
146452
|
+
.description=${"Accepted formats: images, PDF, and ZIP archives up to 10MB"}
|
|
146453
|
+
.accept=${"image/*,.pdf,.zip"}
|
|
146454
|
+
.maxSize=${10 * 1024 * 1024}
|
|
146455
|
+
></dees-input-fileupload>
|
|
146440
146456
|
|
|
146441
|
-
|
|
146442
|
-
|
|
146443
|
-
|
|
146444
|
-
|
|
146445
|
-
|
|
146446
|
-
|
|
146447
|
-
|
|
146448
|
-
|
|
146449
|
-
|
|
146450
|
-
|
|
146451
|
-
|
|
146452
|
-
|
|
146453
|
-
|
|
146457
|
+
<dees-input-fileupload
|
|
146458
|
+
.label=${"Brand assets"}
|
|
146459
|
+
.infoText=${"Upload high-resolution imagery (JPG/PNG)"}
|
|
146460
|
+
.accept=${"image/jpeg,image/png"}
|
|
146461
|
+
.multiple=${false}
|
|
146462
|
+
.maxSize=${5 * 1024 * 1024}
|
|
146463
|
+
.buttonText=${"Select cover image"}
|
|
146464
|
+
></dees-input-fileupload>
|
|
146465
|
+
</div>
|
|
146466
|
+
|
|
146467
|
+
<div class="demo-stack">
|
|
146468
|
+
<dees-input-fileupload
|
|
146469
|
+
.label=${"Audio uploads"}
|
|
146470
|
+
.infoText=${"Share podcast drafts (MP3/WAV, max 25MB each)"}
|
|
146471
|
+
.accept=${"audio/*"}
|
|
146472
|
+
.maxSize=${25 * 1024 * 1024}
|
|
146473
|
+
></dees-input-fileupload>
|
|
146474
|
+
|
|
146475
|
+
<dees-input-fileupload
|
|
146476
|
+
.label=${"Disabled example"}
|
|
146477
|
+
.infoText=${"Uploader is disabled while moderation is pending"}
|
|
146478
|
+
.disabled=${true}
|
|
146479
|
+
></dees-input-fileupload>
|
|
146480
|
+
</div>
|
|
146454
146481
|
</div>
|
|
146455
|
-
</
|
|
146482
|
+
</dees-form>
|
|
146456
146483
|
</dees-panel>
|
|
146457
146484
|
|
|
146458
146485
|
<dees-panel
|
|
@@ -146461,10 +146488,9 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146461
146488
|
>
|
|
146462
146489
|
<div class="demo-grid">
|
|
146463
146490
|
<dees-form>
|
|
146464
|
-
<div class="demo-stack">
|
|
146465
146491
|
<dees-input-text
|
|
146466
146492
|
.label=${"Project name"}
|
|
146467
|
-
.
|
|
146493
|
+
.infoText=${"How should we refer to this project internally?"}
|
|
146468
146494
|
.required=${true}
|
|
146469
146495
|
.key=${"projectName"}
|
|
146470
146496
|
></dees-input-text>
|
|
@@ -146478,7 +146504,7 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146478
146504
|
|
|
146479
146505
|
<dees-input-fileupload
|
|
146480
146506
|
.label=${"Statement of work"}
|
|
146481
|
-
.
|
|
146507
|
+
.infoText=${"Upload a signed statement of work (PDF, max 15MB)"}
|
|
146482
146508
|
.required=${true}
|
|
146483
146509
|
.accept=${"application/pdf"}
|
|
146484
146510
|
.maxSize=${15 * 1024 * 1024}
|
|
@@ -146488,7 +146514,7 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146488
146514
|
|
|
146489
146515
|
<dees-input-fileupload
|
|
146490
146516
|
.label=${"Creative references"}
|
|
146491
|
-
.
|
|
146517
|
+
.infoText=${"Optional. Upload up to five visual references"}
|
|
146492
146518
|
.accept=${"image/*"}
|
|
146493
146519
|
.maxFiles=${5}
|
|
146494
146520
|
.maxSize=${8 * 1024 * 1024}
|
|
@@ -146497,13 +146523,12 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146497
146523
|
|
|
146498
146524
|
<dees-input-text
|
|
146499
146525
|
.label=${"Notes"}
|
|
146500
|
-
.
|
|
146526
|
+
.infoText=${"Add optional context for reviewers"}
|
|
146501
146527
|
.inputType=${"textarea"}
|
|
146502
146528
|
.key=${"notes"}
|
|
146503
146529
|
></dees-input-text>
|
|
146504
146530
|
|
|
146505
146531
|
<dees-form-submit .text=${"Submit briefing"}></dees-form-submit>
|
|
146506
|
-
</div>
|
|
146507
146532
|
</dees-form>
|
|
146508
146533
|
|
|
146509
146534
|
<div class="demo-note">
|
|
@@ -146916,7 +146941,7 @@ var _DeesInputFileupload = class _DeesInputFileupload extends (_a28 = DeesInputB
|
|
|
146916
146941
|
<div class="input-wrapper">
|
|
146917
146942
|
<dees-label
|
|
146918
146943
|
.label=${this.label}
|
|
146919
|
-
.
|
|
146944
|
+
.infoText=${this.infoText}
|
|
146920
146945
|
.required=${this.required}
|
|
146921
146946
|
></dees-label>
|
|
146922
146947
|
<dees-tile
|
|
@@ -146956,6 +146981,7 @@ var _DeesInputFileupload = class _DeesInputFileupload extends (_a28 = DeesInputB
|
|
|
146956
146981
|
</div>
|
|
146957
146982
|
</dees-tile>
|
|
146958
146983
|
${this.validationMessage ? b2`<div class="validation-message" aria-live="polite">${this.validationMessage}</div>` : b2``}
|
|
146984
|
+
${this.renderDescription()}
|
|
146959
146985
|
</div>
|
|
146960
146986
|
`;
|
|
146961
146987
|
}
|
|
@@ -148761,58 +148787,61 @@ var demoFunc20 = /* @__PURE__ */ __name(() => b2`
|
|
|
148761
148787
|
|
|
148762
148788
|
<div class="demo-container">
|
|
148763
148789
|
<dees-panel .title=${"Basic IBAN Input"} .subtitle=${"International Bank Account Number with automatic formatting"}>
|
|
148764
|
-
<
|
|
148790
|
+
<dees-form>
|
|
148765
148791
|
<dees-input-iban
|
|
148766
148792
|
.label=${"Bank Account IBAN"}
|
|
148767
|
-
.
|
|
148793
|
+
.infoText=${"Enter your International Bank Account Number"}
|
|
148794
|
+
.description=${"Your IBAN can be found on your bank statement"}
|
|
148768
148795
|
></dees-input-iban>
|
|
148769
148796
|
|
|
148770
148797
|
<dees-input-iban
|
|
148771
148798
|
.label=${"Verified IBAN"}
|
|
148772
|
-
.
|
|
148799
|
+
.infoText=${"This IBAN has been verified"}
|
|
148773
148800
|
.value=${"DE89370400440532013000"}
|
|
148774
148801
|
></dees-input-iban>
|
|
148775
|
-
</
|
|
148802
|
+
</dees-form>
|
|
148776
148803
|
</dees-panel>
|
|
148777
148804
|
|
|
148778
148805
|
<dees-panel .title=${"Payment Information"} .subtitle=${"IBAN input with horizontal layout for payment forms"}>
|
|
148779
|
-
<
|
|
148780
|
-
<
|
|
148781
|
-
|
|
148782
|
-
|
|
148783
|
-
|
|
148784
|
-
|
|
148785
|
-
|
|
148786
|
-
|
|
148787
|
-
|
|
148788
|
-
|
|
148789
|
-
|
|
148790
|
-
|
|
148791
|
-
|
|
148806
|
+
<dees-form>
|
|
148807
|
+
<div class="payment-group">
|
|
148808
|
+
<dees-input-text
|
|
148809
|
+
.label=${"Account Holder"}
|
|
148810
|
+
.layoutMode=${"horizontal"}
|
|
148811
|
+
.value=${"John Doe"}
|
|
148812
|
+
></dees-input-text>
|
|
148813
|
+
|
|
148814
|
+
<dees-input-iban
|
|
148815
|
+
.label=${"IBAN"}
|
|
148816
|
+
.layoutMode=${"horizontal"}
|
|
148817
|
+
.value=${"GB82WEST12345698765432"}
|
|
148818
|
+
></dees-input-iban>
|
|
148819
|
+
</div>
|
|
148820
|
+
</dees-form>
|
|
148792
148821
|
</dees-panel>
|
|
148793
148822
|
|
|
148794
148823
|
<dees-panel .title=${"Validation & States"} .subtitle=${"Required fields and disabled states"}>
|
|
148795
|
-
<
|
|
148824
|
+
<dees-form>
|
|
148796
148825
|
<dees-input-iban
|
|
148797
148826
|
.label=${"Payment Account"}
|
|
148798
|
-
.
|
|
148827
|
+
.infoText=${"Required for processing payments"}
|
|
148799
148828
|
.required=${true}
|
|
148800
148829
|
></dees-input-iban>
|
|
148801
148830
|
|
|
148802
148831
|
<dees-input-iban
|
|
148803
148832
|
.label=${"Locked IBAN"}
|
|
148804
|
-
.
|
|
148833
|
+
.infoText=${"This IBAN cannot be changed"}
|
|
148805
148834
|
.value=${"FR1420041010050500013M02606"}
|
|
148806
148835
|
.disabled=${true}
|
|
148807
148836
|
></dees-input-iban>
|
|
148808
|
-
</
|
|
148837
|
+
</dees-form>
|
|
148809
148838
|
</dees-panel>
|
|
148810
148839
|
|
|
148811
148840
|
<dees-panel .title=${"Bank Transfer Form"} .subtitle=${"Complete form example with IBAN validation"}>
|
|
148812
148841
|
<dees-form>
|
|
148813
148842
|
<dees-input-text .label=${"Recipient Name"} .required=${true}></dees-input-text>
|
|
148814
148843
|
<dees-input-iban .label=${"Recipient IBAN"} .required=${true}></dees-input-iban>
|
|
148815
|
-
<dees-input-text .label=${"Transfer Reference"} .
|
|
148844
|
+
<dees-input-text .label=${"Transfer Reference"} .infoText=${"Optional reference for the transfer"}></dees-input-text>
|
|
148816
148845
|
<dees-input-text .label=${"Amount"} .inputType=${"number"} .required=${true}></dees-input-text>
|
|
148817
148846
|
</dees-form>
|
|
148818
148847
|
</dees-panel>
|
|
@@ -148838,7 +148867,7 @@ var _DeesInputIban = class _DeesInputIban extends (_a29 = DeesInputBase, _entere
|
|
|
148838
148867
|
render() {
|
|
148839
148868
|
return b2`
|
|
148840
148869
|
<div class="input-wrapper">
|
|
148841
|
-
<dees-label .label=${this.label || "IBAN"} .
|
|
148870
|
+
<dees-label .label=${this.label || "IBAN"} .infoText=${this.infoText}></dees-label>
|
|
148842
148871
|
<dees-input-text
|
|
148843
148872
|
.value=${this.value}
|
|
148844
148873
|
.disabled=${this.disabled}
|
|
@@ -148856,6 +148885,7 @@ var _DeesInputIban = class _DeesInputIban extends (_a29 = DeesInputBase, _entere
|
|
|
148856
148885
|
this.validateIban(eventArg);
|
|
148857
148886
|
}}
|
|
148858
148887
|
></dees-input-text>
|
|
148888
|
+
${this.renderDescription()}
|
|
148859
148889
|
</div>
|
|
148860
148890
|
`;
|
|
148861
148891
|
}
|
|
@@ -148968,80 +148998,83 @@ var demoFunc21 = /* @__PURE__ */ __name(() => b2`
|
|
|
148968
148998
|
<div class="section">
|
|
148969
148999
|
<div class="section-title">Multi-Option Toggle</div>
|
|
148970
149000
|
<div class="section-description">Select from multiple options with a smooth sliding indicator animation.</div>
|
|
148971
|
-
|
|
148972
|
-
<dees-
|
|
148973
|
-
|
|
148974
|
-
|
|
148975
|
-
|
|
148976
|
-
|
|
148977
|
-
|
|
148978
|
-
|
|
148979
|
-
|
|
148980
|
-
|
|
148981
|
-
|
|
148982
|
-
|
|
148983
|
-
|
|
148984
|
-
|
|
148985
|
-
|
|
148986
|
-
|
|
149001
|
+
|
|
149002
|
+
<dees-form>
|
|
149003
|
+
<dees-input-multitoggle
|
|
149004
|
+
.label=${"Display Mode"}
|
|
149005
|
+
.infoText=${"Choose how content is displayed"}
|
|
149006
|
+
.description=${"This setting affects how items appear on your dashboard"}
|
|
149007
|
+
.options=${["List View", "Grid View", "Compact"]}
|
|
149008
|
+
.selectedOption=${"Grid View"}
|
|
149009
|
+
></dees-input-multitoggle>
|
|
149010
|
+
|
|
149011
|
+
<dees-input-multitoggle
|
|
149012
|
+
.label=${"T-Shirt Size"}
|
|
149013
|
+
.infoText=${"Select your preferred size"}
|
|
149014
|
+
.options=${["XS", "S", "M", "L", "XL", "XXL"]}
|
|
149015
|
+
.selectedOption=${"M"}
|
|
149016
|
+
></dees-input-multitoggle>
|
|
149017
|
+
</dees-form>
|
|
148987
149018
|
</div>
|
|
148988
149019
|
|
|
148989
149020
|
<div class="section">
|
|
148990
149021
|
<div class="section-title">Boolean Toggle</div>
|
|
148991
149022
|
<div class="section-description">Simple on/off switches with customizable labels for clearer context.</div>
|
|
148992
|
-
|
|
148993
|
-
<dees-
|
|
148994
|
-
.label=${"Notifications"}
|
|
148995
|
-
.description=${"Enable or disable push notifications"}
|
|
148996
|
-
.type=${"boolean"}
|
|
148997
|
-
.selectedOption=${"true"}
|
|
148998
|
-
></dees-input-multitoggle>
|
|
148999
|
-
|
|
149000
|
-
<br><br>
|
|
149001
|
-
|
|
149002
|
-
<dees-input-multitoggle
|
|
149003
|
-
.label=${"Theme Mode"}
|
|
149004
|
-
.description=${"Switch between light and dark theme"}
|
|
149005
|
-
.type=${"boolean"}
|
|
149006
|
-
.booleanTrueName=${"Dark"}
|
|
149007
|
-
.booleanFalseName=${"Light"}
|
|
149008
|
-
.selectedOption=${"Dark"}
|
|
149009
|
-
></dees-input-multitoggle>
|
|
149010
|
-
</div>
|
|
149011
|
-
|
|
149012
|
-
<div class="section">
|
|
149013
|
-
<div class="section-title">Settings Grid</div>
|
|
149014
|
-
<div class="section-description">Configuration options arranged in a responsive grid layout.</div>
|
|
149015
|
-
|
|
149016
|
-
<div class="settings-grid">
|
|
149023
|
+
|
|
149024
|
+
<dees-form>
|
|
149017
149025
|
<dees-input-multitoggle
|
|
149018
|
-
.label=${"
|
|
149026
|
+
.label=${"Notifications"}
|
|
149027
|
+
.infoText=${"Enable or disable push notifications"}
|
|
149019
149028
|
.type=${"boolean"}
|
|
149020
|
-
.
|
|
149021
|
-
.booleanFalseName=${"Disabled"}
|
|
149022
|
-
.selectedOption=${"Enabled"}
|
|
149029
|
+
.selectedOption=${"true"}
|
|
149023
149030
|
></dees-input-multitoggle>
|
|
149024
|
-
|
|
149025
|
-
<dees-input-multitoggle
|
|
149026
|
-
.label=${"Language"}
|
|
149027
|
-
.options=${["English", "German", "French", "Spanish"]}
|
|
149028
|
-
.selectedOption=${"English"}
|
|
149029
|
-
></dees-input-multitoggle>
|
|
149030
|
-
|
|
149031
|
-
<dees-input-multitoggle
|
|
149032
|
-
.label=${"Quality"}
|
|
149033
|
-
.options=${["Low", "Medium", "High", "Ultra"]}
|
|
149034
|
-
.selectedOption=${"High"}
|
|
149035
|
-
></dees-input-multitoggle>
|
|
149036
|
-
|
|
149031
|
+
|
|
149037
149032
|
<dees-input-multitoggle
|
|
149038
|
-
.label=${"
|
|
149033
|
+
.label=${"Theme Mode"}
|
|
149034
|
+
.infoText=${"Switch between light and dark theme"}
|
|
149039
149035
|
.type=${"boolean"}
|
|
149040
|
-
.booleanTrueName=${"
|
|
149041
|
-
.booleanFalseName=${"
|
|
149042
|
-
.selectedOption=${"
|
|
149036
|
+
.booleanTrueName=${"Dark"}
|
|
149037
|
+
.booleanFalseName=${"Light"}
|
|
149038
|
+
.selectedOption=${"Dark"}
|
|
149043
149039
|
></dees-input-multitoggle>
|
|
149044
|
-
</
|
|
149040
|
+
</dees-form>
|
|
149041
|
+
</div>
|
|
149042
|
+
|
|
149043
|
+
<div class="section">
|
|
149044
|
+
<div class="section-title">Settings Grid</div>
|
|
149045
|
+
<div class="section-description">Configuration options arranged in a responsive grid layout.</div>
|
|
149046
|
+
|
|
149047
|
+
<dees-form>
|
|
149048
|
+
<div class="settings-grid">
|
|
149049
|
+
<dees-input-multitoggle
|
|
149050
|
+
.label=${"Auto-Save"}
|
|
149051
|
+
.type=${"boolean"}
|
|
149052
|
+
.booleanTrueName=${"Enabled"}
|
|
149053
|
+
.booleanFalseName=${"Disabled"}
|
|
149054
|
+
.selectedOption=${"Enabled"}
|
|
149055
|
+
></dees-input-multitoggle>
|
|
149056
|
+
|
|
149057
|
+
<dees-input-multitoggle
|
|
149058
|
+
.label=${"Language"}
|
|
149059
|
+
.options=${["English", "German", "French", "Spanish"]}
|
|
149060
|
+
.selectedOption=${"English"}
|
|
149061
|
+
></dees-input-multitoggle>
|
|
149062
|
+
|
|
149063
|
+
<dees-input-multitoggle
|
|
149064
|
+
.label=${"Quality"}
|
|
149065
|
+
.options=${["Low", "Medium", "High", "Ultra"]}
|
|
149066
|
+
.selectedOption=${"High"}
|
|
149067
|
+
></dees-input-multitoggle>
|
|
149068
|
+
|
|
149069
|
+
<dees-input-multitoggle
|
|
149070
|
+
.label=${"Privacy"}
|
|
149071
|
+
.type=${"boolean"}
|
|
149072
|
+
.booleanTrueName=${"Private"}
|
|
149073
|
+
.booleanFalseName=${"Public"}
|
|
149074
|
+
.selectedOption=${"Private"}
|
|
149075
|
+
></dees-input-multitoggle>
|
|
149076
|
+
</div>
|
|
149077
|
+
</dees-form>
|
|
149045
149078
|
</div>
|
|
149046
149079
|
|
|
149047
149080
|
<div class="section">
|
|
@@ -149050,7 +149083,7 @@ var demoFunc21 = /* @__PURE__ */ __name(() => b2`
|
|
|
149050
149083
|
|
|
149051
149084
|
<dees-input-multitoggle
|
|
149052
149085
|
.label=${"Account Type"}
|
|
149053
|
-
.
|
|
149086
|
+
.infoText=${"This setting is locked"}
|
|
149054
149087
|
.options=${["Free", "Pro", "Enterprise"]}
|
|
149055
149088
|
.selectedOption=${"Enterprise"}
|
|
149056
149089
|
.disabled=${true}
|
|
@@ -149119,7 +149152,7 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a30 = DeesInpu
|
|
|
149119
149152
|
render() {
|
|
149120
149153
|
return b2`
|
|
149121
149154
|
<div class="input-wrapper">
|
|
149122
|
-
<dees-label .label=${this.label} .
|
|
149155
|
+
<dees-label .label=${this.label} .infoText=${this.infoText}></dees-label>
|
|
149123
149156
|
<div class="mainbox">
|
|
149124
149157
|
<div class="selections">
|
|
149125
149158
|
<div class="indicator"></div>
|
|
@@ -149130,6 +149163,7 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a30 = DeesInpu
|
|
|
149130
149163
|
)}
|
|
149131
149164
|
</div>
|
|
149132
149165
|
</div>
|
|
149166
|
+
${this.renderDescription()}
|
|
149133
149167
|
</div>
|
|
149134
149168
|
`;
|
|
149135
149169
|
}
|
|
@@ -149336,43 +149370,46 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149336
149370
|
|
|
149337
149371
|
<div class="demo-container">
|
|
149338
149372
|
<dees-panel .title=${"Basic Phone Input"} .subtitle=${"Automatic formatting for phone numbers"}>
|
|
149339
|
-
<
|
|
149373
|
+
<dees-form>
|
|
149340
149374
|
<dees-input-phone
|
|
149341
149375
|
.label=${"Phone Number"}
|
|
149342
|
-
.
|
|
149376
|
+
.infoText=${"Enter your phone number with country code"}
|
|
149377
|
+
.description=${"Include country code for international numbers"}
|
|
149343
149378
|
.value=${"5551234567"}
|
|
149344
149379
|
></dees-input-phone>
|
|
149345
149380
|
|
|
149346
149381
|
<dees-input-phone
|
|
149347
149382
|
.label=${"Contact Phone"}
|
|
149348
|
-
.
|
|
149383
|
+
.infoText=${"Required for account verification"}
|
|
149349
149384
|
.required=${true}
|
|
149350
149385
|
.placeholder=${"+1 (555) 000-0000"}
|
|
149351
149386
|
></dees-input-phone>
|
|
149352
|
-
</
|
|
149387
|
+
</dees-form>
|
|
149353
149388
|
</dees-panel>
|
|
149354
149389
|
|
|
149355
149390
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Phone inputs arranged horizontally"}>
|
|
149356
|
-
<
|
|
149357
|
-
<
|
|
149358
|
-
|
|
149359
|
-
|
|
149360
|
-
|
|
149361
|
-
|
|
149362
|
-
|
|
149363
|
-
|
|
149364
|
-
|
|
149365
|
-
|
|
149366
|
-
|
|
149367
|
-
|
|
149368
|
-
|
|
149391
|
+
<dees-form>
|
|
149392
|
+
<div class="horizontal-group">
|
|
149393
|
+
<dees-input-phone
|
|
149394
|
+
.label=${"Mobile"}
|
|
149395
|
+
.layoutMode=${"horizontal"}
|
|
149396
|
+
.value=${"4155551234"}
|
|
149397
|
+
></dees-input-phone>
|
|
149398
|
+
|
|
149399
|
+
<dees-input-phone
|
|
149400
|
+
.label=${"Office"}
|
|
149401
|
+
.layoutMode=${"horizontal"}
|
|
149402
|
+
.placeholder=${"+1 (800) 555-0000"}
|
|
149403
|
+
></dees-input-phone>
|
|
149404
|
+
</div>
|
|
149405
|
+
</dees-form>
|
|
149369
149406
|
</dees-panel>
|
|
149370
149407
|
|
|
149371
149408
|
<dees-panel .title=${"International Numbers"} .subtitle=${"Supports formatting for numbers with country codes"}>
|
|
149372
|
-
<
|
|
149409
|
+
<dees-form>
|
|
149373
149410
|
<dees-input-phone
|
|
149374
149411
|
.label=${"International Contact"}
|
|
149375
|
-
.
|
|
149412
|
+
.infoText=${"Automatically formats international numbers"}
|
|
149376
149413
|
.value=${"441234567890"}
|
|
149377
149414
|
></dees-input-phone>
|
|
149378
149415
|
|
|
@@ -149381,7 +149418,7 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149381
149418
|
.value=${"911"}
|
|
149382
149419
|
.disabled=${true}
|
|
149383
149420
|
></dees-input-phone>
|
|
149384
|
-
</
|
|
149421
|
+
</dees-form>
|
|
149385
149422
|
</dees-panel>
|
|
149386
149423
|
|
|
149387
149424
|
<dees-panel .title=${"Form Integration"} .subtitle=${"Phone input as part of a contact form"}>
|
|
@@ -149411,7 +149448,7 @@ var _DeesInputPhone = class _DeesInputPhone extends (_a31 = DeesInputBase, _form
|
|
|
149411
149448
|
render() {
|
|
149412
149449
|
return b2`
|
|
149413
149450
|
<div class="input-wrapper">
|
|
149414
|
-
<dees-label .label=${this.label} .
|
|
149451
|
+
<dees-label .label=${this.label} .infoText=${this.infoText}></dees-label>
|
|
149415
149452
|
<dees-input-text
|
|
149416
149453
|
.value=${this.formattedPhone}
|
|
149417
149454
|
.disabled=${this.disabled}
|
|
@@ -149419,6 +149456,7 @@ var _DeesInputPhone = class _DeesInputPhone extends (_a31 = DeesInputBase, _form
|
|
|
149419
149456
|
.placeholder=${this.placeholder}
|
|
149420
149457
|
@input=${(event) => this.handlePhoneInput(event)}
|
|
149421
149458
|
></dees-input-text>
|
|
149459
|
+
${this.renderDescription()}
|
|
149422
149460
|
</div>
|
|
149423
149461
|
`;
|
|
149424
149462
|
}
|
|
@@ -149612,7 +149650,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149612
149650
|
|
|
149613
149651
|
<div class="demo-container">
|
|
149614
149652
|
<dees-panel .title=${"Basic Toggle"} .subtitle=${"Simple on/off toggle switch with drag support"}>
|
|
149615
|
-
<
|
|
149653
|
+
<dees-form>
|
|
149616
149654
|
<dees-input-toggle
|
|
149617
149655
|
.label=${"Enable feature"}
|
|
149618
149656
|
.value=${false}
|
|
@@ -149631,12 +149669,12 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149631
149669
|
.description=${"This toggle has additional helper text explaining its purpose"}
|
|
149632
149670
|
.key=${"withDesc"}
|
|
149633
149671
|
></dees-input-toggle>
|
|
149634
|
-
</
|
|
149672
|
+
</dees-form>
|
|
149635
149673
|
<p class="drag-hint">Tip: You can drag the toggle knob to switch states</p>
|
|
149636
149674
|
</dees-panel>
|
|
149637
149675
|
|
|
149638
149676
|
<dees-panel .title=${"Toggle States"} .subtitle=${"Different toggle states and configurations"}>
|
|
149639
|
-
<
|
|
149677
|
+
<dees-form>
|
|
149640
149678
|
<dees-input-toggle
|
|
149641
149679
|
.label=${"Default (off)"}
|
|
149642
149680
|
.value=${false}
|
|
@@ -149665,42 +149703,44 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149665
149703
|
.required=${true}
|
|
149666
149704
|
.description=${"This toggle cannot be turned off"}
|
|
149667
149705
|
></dees-input-toggle>
|
|
149668
|
-
</
|
|
149706
|
+
</dees-form>
|
|
149669
149707
|
</dees-panel>
|
|
149670
149708
|
|
|
149671
149709
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Toggles arranged horizontally for compact interfaces"}>
|
|
149672
|
-
<
|
|
149673
|
-
<
|
|
149674
|
-
|
|
149675
|
-
|
|
149676
|
-
|
|
149677
|
-
|
|
149710
|
+
<dees-form>
|
|
149711
|
+
<div class="horizontal-toggles">
|
|
149712
|
+
<dees-input-toggle
|
|
149713
|
+
.label=${"WiFi"}
|
|
149714
|
+
.value=${true}
|
|
149715
|
+
.layoutMode=${"horizontal"}
|
|
149716
|
+
></dees-input-toggle>
|
|
149678
149717
|
|
|
149679
|
-
|
|
149680
|
-
|
|
149681
|
-
|
|
149682
|
-
|
|
149683
|
-
|
|
149718
|
+
<dees-input-toggle
|
|
149719
|
+
.label=${"Bluetooth"}
|
|
149720
|
+
.value=${false}
|
|
149721
|
+
.layoutMode=${"horizontal"}
|
|
149722
|
+
></dees-input-toggle>
|
|
149684
149723
|
|
|
149685
|
-
|
|
149686
|
-
|
|
149687
|
-
|
|
149688
|
-
|
|
149689
|
-
|
|
149724
|
+
<dees-input-toggle
|
|
149725
|
+
.label=${"GPS"}
|
|
149726
|
+
.value=${true}
|
|
149727
|
+
.layoutMode=${"horizontal"}
|
|
149728
|
+
></dees-input-toggle>
|
|
149690
149729
|
|
|
149691
|
-
|
|
149692
|
-
|
|
149693
|
-
|
|
149694
|
-
|
|
149695
|
-
|
|
149696
|
-
|
|
149730
|
+
<dees-input-toggle
|
|
149731
|
+
.label=${"NFC"}
|
|
149732
|
+
.value=${false}
|
|
149733
|
+
.layoutMode=${"horizontal"}
|
|
149734
|
+
></dees-input-toggle>
|
|
149735
|
+
</div>
|
|
149736
|
+
</dees-form>
|
|
149697
149737
|
</dees-panel>
|
|
149698
149738
|
|
|
149699
149739
|
<dees-panel .title=${"Settings Example"} .subtitle=${"Toggles in a typical settings context"}>
|
|
149700
149740
|
<div class="settings-section">
|
|
149701
149741
|
<h4 class="section-title">Notification Settings</h4>
|
|
149702
149742
|
|
|
149703
|
-
<
|
|
149743
|
+
<dees-form>
|
|
149704
149744
|
<dees-input-toggle
|
|
149705
149745
|
.label=${"Push notifications"}
|
|
149706
149746
|
.value=${true}
|
|
@@ -149728,7 +149768,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149728
149768
|
.description=${"Vibrate for notifications"}
|
|
149729
149769
|
.key=${"vibration"}
|
|
149730
149770
|
></dees-input-toggle>
|
|
149731
|
-
</
|
|
149771
|
+
</dees-form>
|
|
149732
149772
|
</div>
|
|
149733
149773
|
</dees-panel>
|
|
149734
149774
|
|
|
@@ -149739,7 +149779,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149739
149779
|
</div>
|
|
149740
149780
|
|
|
149741
149781
|
<div class="feature-toggles">
|
|
149742
|
-
<
|
|
149782
|
+
<dees-form>
|
|
149743
149783
|
<dees-input-toggle
|
|
149744
149784
|
.label=${"Dark Mode"}
|
|
149745
149785
|
.value=${true}
|
|
@@ -149769,12 +149809,12 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149769
149809
|
.value=${false}
|
|
149770
149810
|
.key=${"beta"}
|
|
149771
149811
|
></dees-input-toggle>
|
|
149772
|
-
</
|
|
149812
|
+
</dees-form>
|
|
149773
149813
|
</div>
|
|
149774
149814
|
</dees-panel>
|
|
149775
149815
|
|
|
149776
149816
|
<dees-panel .title=${"Interactive Example"} .subtitle=${"Toggle to see value changes in real-time"}>
|
|
149777
|
-
<
|
|
149817
|
+
<dees-form>
|
|
149778
149818
|
<dees-input-toggle
|
|
149779
149819
|
.label=${"Airplane mode"}
|
|
149780
149820
|
.value=${false}
|
|
@@ -149796,7 +149836,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149796
149836
|
}
|
|
149797
149837
|
}}
|
|
149798
149838
|
></dees-input-toggle>
|
|
149799
|
-
</
|
|
149839
|
+
</dees-form>
|
|
149800
149840
|
|
|
149801
149841
|
<div class="interactive-section">
|
|
149802
149842
|
<div id="airplane-output" class="output-text">Airplane mode: OFF</div>
|
|
@@ -149856,7 +149896,7 @@ var _DeesInputToggle = class _DeesInputToggle extends (_a32 = DeesInputBase, _va
|
|
|
149856
149896
|
</div>
|
|
149857
149897
|
<div class="label-container">
|
|
149858
149898
|
${this.label ? b2`<div class="toggle-label">${this.label}</div>` : ""}
|
|
149859
|
-
${this.
|
|
149899
|
+
${this.renderDescription()}
|
|
149860
149900
|
</div>
|
|
149861
149901
|
</div>
|
|
149862
149902
|
</div>
|
|
@@ -150121,12 +150161,6 @@ __publicField(_DeesInputToggle, "styles", [
|
|
|
150121
150161
|
color: ${cssManager.bdTheme("hsl(0 0% 15%)", "hsl(0 0% 90%)")};
|
|
150122
150162
|
}
|
|
150123
150163
|
|
|
150124
|
-
/* Description */
|
|
150125
|
-
.description-text {
|
|
150126
|
-
font-size: 12px;
|
|
150127
|
-
color: ${cssManager.bdTheme("hsl(0 0% 45.1%)", "hsl(0 0% 63.9%)")};
|
|
150128
|
-
line-height: 1.5;
|
|
150129
|
-
}
|
|
150130
150164
|
`
|
|
150131
150165
|
]);
|
|
150132
150166
|
__runInitializers(_init30, 1, _DeesInputToggle);
|
|
@@ -150179,61 +150213,62 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150179
150213
|
|
|
150180
150214
|
<div class="demo-container">
|
|
150181
150215
|
<dees-panel .title=${"Basic Type List"} .subtitle=${"Add and remove items from a list"}>
|
|
150182
|
-
<
|
|
150216
|
+
<dees-form>
|
|
150183
150217
|
<dees-input-typelist
|
|
150184
150218
|
.label=${"Tags"}
|
|
150185
|
-
.
|
|
150219
|
+
.infoText=${"Add tags by typing and pressing Enter"}
|
|
150220
|
+
.description=${"Tags help categorize and filter your content"}
|
|
150186
150221
|
.value=${["javascript", "typescript", "web-components"]}
|
|
150187
150222
|
></dees-input-typelist>
|
|
150188
150223
|
|
|
150189
150224
|
<dees-input-typelist
|
|
150190
150225
|
.label=${"Team Members"}
|
|
150191
|
-
.
|
|
150226
|
+
.infoText=${"Add email addresses of team members"}
|
|
150192
150227
|
.value=${["alice@example.com", "bob@example.com"]}
|
|
150193
150228
|
></dees-input-typelist>
|
|
150194
|
-
</
|
|
150229
|
+
</dees-form>
|
|
150195
150230
|
</dees-panel>
|
|
150196
150231
|
|
|
150197
150232
|
<dees-panel .title=${"Skills & Keywords"} .subtitle=${"Manage lists of skills and keywords"}>
|
|
150198
|
-
<
|
|
150233
|
+
<dees-form>
|
|
150199
150234
|
<dees-input-typelist
|
|
150200
150235
|
.label=${"Your Skills"}
|
|
150201
|
-
.
|
|
150236
|
+
.infoText=${"List your professional skills"}
|
|
150202
150237
|
.value=${["HTML", "CSS", "JavaScript", "Node.js", "React"]}
|
|
150203
150238
|
></dees-input-typelist>
|
|
150204
150239
|
|
|
150205
150240
|
<div class="horizontal-group">
|
|
150206
|
-
|
|
150207
|
-
|
|
150208
|
-
|
|
150209
|
-
|
|
150210
|
-
|
|
150211
|
-
|
|
150212
|
-
|
|
150213
|
-
|
|
150214
|
-
|
|
150215
|
-
|
|
150216
|
-
|
|
150217
|
-
|
|
150218
|
-
</
|
|
150241
|
+
<dees-input-typelist
|
|
150242
|
+
.label=${"Categories"}
|
|
150243
|
+
.layoutMode=${"horizontal"}
|
|
150244
|
+
.value=${["Technology", "Design", "Business"]}
|
|
150245
|
+
></dees-input-typelist>
|
|
150246
|
+
|
|
150247
|
+
<dees-input-typelist
|
|
150248
|
+
.label=${"Keywords"}
|
|
150249
|
+
.layoutMode=${"horizontal"}
|
|
150250
|
+
.value=${["innovation", "startup", "growth"]}
|
|
150251
|
+
></dees-input-typelist>
|
|
150252
|
+
</div>
|
|
150253
|
+
</dees-form>
|
|
150219
150254
|
</dees-panel>
|
|
150220
150255
|
|
|
150221
150256
|
<dees-panel .title=${"Required & Disabled States"} .subtitle=${"Different input states for validation"}>
|
|
150222
|
-
<
|
|
150257
|
+
<dees-form>
|
|
150223
150258
|
<dees-input-typelist
|
|
150224
150259
|
.label=${"Project Dependencies"}
|
|
150225
|
-
.
|
|
150260
|
+
.infoText=${"List all required npm packages"}
|
|
150226
150261
|
.required=${true}
|
|
150227
150262
|
.value=${["@design.estate/dees-element", "@design.estate/dees-domtools"]}
|
|
150228
150263
|
></dees-input-typelist>
|
|
150229
150264
|
|
|
150230
150265
|
<dees-input-typelist
|
|
150231
150266
|
.label=${"System Tags"}
|
|
150232
|
-
.
|
|
150267
|
+
.infoText=${"These tags are managed by the system"}
|
|
150233
150268
|
.disabled=${true}
|
|
150234
150269
|
.value=${["system", "protected", "readonly"]}
|
|
150235
150270
|
></dees-input-typelist>
|
|
150236
|
-
</
|
|
150271
|
+
</dees-form>
|
|
150237
150272
|
</dees-panel>
|
|
150238
150273
|
|
|
150239
150274
|
<dees-panel .title=${"Article Publishing Form"} .subtitle=${"Complete form with tag management"}>
|
|
@@ -150242,16 +150277,16 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150242
150277
|
<dees-input-text
|
|
150243
150278
|
.label=${"Summary"}
|
|
150244
150279
|
.inputType=${"textarea"}
|
|
150245
|
-
.
|
|
150280
|
+
.infoText=${"Brief description of the article"}
|
|
150246
150281
|
></dees-input-text>
|
|
150247
150282
|
<dees-input-typelist
|
|
150248
150283
|
.label=${"Tags"}
|
|
150249
|
-
.
|
|
150284
|
+
.infoText=${"Add relevant tags for better discoverability"}
|
|
150250
150285
|
.value=${["tutorial", "web-development"]}
|
|
150251
150286
|
></dees-input-typelist>
|
|
150252
150287
|
<dees-input-typelist
|
|
150253
150288
|
.label=${"Co-Authors"}
|
|
150254
|
-
.
|
|
150289
|
+
.infoText=${"Add email addresses of co-authors"}
|
|
150255
150290
|
></dees-input-typelist>
|
|
150256
150291
|
</dees-form>
|
|
150257
150292
|
|
|
@@ -150278,7 +150313,7 @@ var _DeesInputTypelist = class _DeesInputTypelist extends (_a33 = DeesInputBase,
|
|
|
150278
150313
|
render() {
|
|
150279
150314
|
return b2`
|
|
150280
150315
|
<div class="input-wrapper">
|
|
150281
|
-
<dees-label .label=${this.label} .
|
|
150316
|
+
<dees-label .label=${this.label} .infoText=${this.infoText}></dees-label>
|
|
150282
150317
|
<div class="mainbox">
|
|
150283
150318
|
<div class="tags" @click=${() => {
|
|
150284
150319
|
this.shadowRoot.querySelector("input").focus();
|
|
@@ -150311,6 +150346,7 @@ var _DeesInputTypelist = class _DeesInputTypelist extends (_a33 = DeesInputBase,
|
|
|
150311
150346
|
.disabled=${this.disabled}
|
|
150312
150347
|
/>
|
|
150313
150348
|
</div>
|
|
150349
|
+
${this.renderDescription()}
|
|
150314
150350
|
</div>
|
|
150315
150351
|
`;
|
|
150316
150352
|
}
|
|
@@ -150468,7 +150504,7 @@ var DeesInputTypelist = _DeesInputTypelist;
|
|
|
150468
150504
|
// ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.ts
|
|
150469
150505
|
init_dist_ts30();
|
|
150470
150506
|
var _a34;
|
|
150471
|
-
var demoFunc25 = /* @__PURE__ */ __name(() => b2(_a34 || (_a34 = __template(["\n <dees-demowrapper>\n <style>\n ", '\n </style>\n \n <div class="demo-container">\n <dees-panel .title=', " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .suggestions=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <div class="grid-layout">\n
|
|
150507
|
+
var demoFunc25 = /* @__PURE__ */ __name(() => b2(_a34 || (_a34 = __template(["\n <dees-demowrapper>\n <style>\n ", '\n </style>\n \n <div class="demo-container">\n <dees-panel .title=', " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .suggestions=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <dees-form>\n <div class="grid-layout">\n <dees-input-tags\n .label=', "\n .placeholder=", "\n .maxTags=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .maxTags=", "\n .suggestions=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </div>\n </dees-form>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .required=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .value=", "\n .disabled=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-form>\n <dees-input-text\n .label=", "\n .placeholder=", "\n .required=", "\n .key=", '\n ></dees-input-text>\n \n <div class="grid-layout">\n <dees-input-tags\n .label=', "\n .placeholder=", "\n .required=", "\n .key=", "\n .suggestions=", "\n ></dees-input-tags>\n \n <dees-input-tags\n .label=", "\n .placeholder=", "\n .key=", "\n .maxTags=", "\n .suggestions=", "\n ></dees-input-tags>\n </div>\n \n <dees-input-text\n .label=", "\n .inputType=", "\n .placeholder=", "\n .key=", "\n ></dees-input-text>\n \n <dees-form-submit .text=", "></dees-form-submit>\n </dees-form>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <dees-input-tags\n id="interactive-tags"\n .label=', "\n .placeholder=", "\n .suggestions=", "\n @change=", `
|
|
150472
150508
|
></dees-input-tags>
|
|
150473
150509
|
|
|
150474
150510
|
<div class="tag-preview" id="tags-preview">
|
|
@@ -150740,9 +150776,7 @@ var _DeesInputTags = class _DeesInputTags extends (_a35 = DeesInputBase, _value_
|
|
|
150740
150776
|
<div class="validation-message">${this.validationText}</div>
|
|
150741
150777
|
` : ""}
|
|
150742
150778
|
|
|
150743
|
-
${this.
|
|
150744
|
-
<div class="description">${this.description}</div>
|
|
150745
|
-
` : ""}
|
|
150779
|
+
${this.renderDescription()}
|
|
150746
150780
|
</div>
|
|
150747
150781
|
`;
|
|
150748
150782
|
}
|
|
@@ -151031,14 +151065,6 @@ __publicField(_DeesInputTags, "styles", [
|
|
|
151031
151065
|
line-height: 1.5;
|
|
151032
151066
|
}
|
|
151033
151067
|
|
|
151034
|
-
/* Description styles */
|
|
151035
|
-
.description {
|
|
151036
|
-
color: ${cssManager.bdTheme("hsl(215.4 16.3% 56.9%)", "hsl(215 20.2% 55.1%)")};
|
|
151037
|
-
font-size: 13px;
|
|
151038
|
-
margin-top: 6px;
|
|
151039
|
-
line-height: 1.5;
|
|
151040
|
-
}
|
|
151041
|
-
|
|
151042
151068
|
/* Scrollbar styling */
|
|
151043
151069
|
.suggestions-dropdown::-webkit-scrollbar {
|
|
151044
151070
|
width: 8px;
|
|
@@ -151167,25 +151193,27 @@ var demoFunc26 = /* @__PURE__ */ __name(() => b2`
|
|
|
151167
151193
|
</dees-panel>
|
|
151168
151194
|
|
|
151169
151195
|
<dees-panel .title=${"3. Validation & Constraints"} .subtitle=${"Lists with minimum/maximum items and duplicate prevention"}>
|
|
151170
|
-
<
|
|
151171
|
-
<
|
|
151172
|
-
|
|
151173
|
-
|
|
151174
|
-
|
|
151175
|
-
|
|
151176
|
-
|
|
151177
|
-
|
|
151178
|
-
|
|
151179
|
-
|
|
151180
|
-
|
|
151181
|
-
|
|
151182
|
-
|
|
151183
|
-
|
|
151184
|
-
|
|
151185
|
-
|
|
151186
|
-
|
|
151187
|
-
|
|
151188
|
-
|
|
151196
|
+
<dees-form>
|
|
151197
|
+
<div class="grid-layout">
|
|
151198
|
+
<dees-input-list
|
|
151199
|
+
.label=${"Team Members (Min 2, Max 5)"}
|
|
151200
|
+
.placeholder=${"Add team member..."}
|
|
151201
|
+
.minItems=${2}
|
|
151202
|
+
.maxItems=${5}
|
|
151203
|
+
.value=${["Alice", "Bob"]}
|
|
151204
|
+
.required=${true}
|
|
151205
|
+
.description=${"Add 2-5 team members"}
|
|
151206
|
+
></dees-input-list>
|
|
151207
|
+
|
|
151208
|
+
<dees-input-list
|
|
151209
|
+
.label=${"Unique Tags (No Duplicates)"}
|
|
151210
|
+
.placeholder=${"Add unique tag..."}
|
|
151211
|
+
.allowDuplicates=${false}
|
|
151212
|
+
.value=${["frontend", "backend", "database"]}
|
|
151213
|
+
.description=${"Duplicate items are not allowed"}
|
|
151214
|
+
></dees-input-list>
|
|
151215
|
+
</div>
|
|
151216
|
+
</dees-form>
|
|
151189
151217
|
</dees-panel>
|
|
151190
151218
|
|
|
151191
151219
|
<dees-panel .title=${"4. Delete Confirmation"} .subtitle=${"Require confirmation before deleting items"}>
|
|
@@ -151557,9 +151585,7 @@ var _DeesInputList = class _DeesInputList extends (_a36 = DeesInputBase, _value_
|
|
|
151557
151585
|
<div class="validation-message">${this.validationText}</div>
|
|
151558
151586
|
` : ""}
|
|
151559
151587
|
|
|
151560
|
-
${this.
|
|
151561
|
-
<div class="description">${this.description}</div>
|
|
151562
|
-
` : ""}
|
|
151588
|
+
${this.renderDescription()}
|
|
151563
151589
|
</div>
|
|
151564
151590
|
`;
|
|
151565
151591
|
}
|
|
@@ -152302,13 +152328,6 @@ __publicField(_DeesInputList, "styles", [
|
|
|
152302
152328
|
line-height: 1.4;
|
|
152303
152329
|
}
|
|
152304
152330
|
|
|
152305
|
-
.description {
|
|
152306
|
-
color: ${cssManager.bdTheme("hsl(215.4 16.3% 56.9%)", "hsl(215 20.2% 55.1%)")};
|
|
152307
|
-
font-size: 12px;
|
|
152308
|
-
margin-top: 4px;
|
|
152309
|
-
line-height: 1.4;
|
|
152310
|
-
}
|
|
152311
|
-
|
|
152312
152331
|
/* Scrollbar styling */
|
|
152313
152332
|
.list-items::-webkit-scrollbar {
|
|
152314
152333
|
width: 8px;
|
|
@@ -162017,17 +162036,18 @@ var _DeesInputWysiwyg = class _DeesInputWysiwyg extends (_a40 = DeesInputBase, _
|
|
|
162017
162036
|
return u3`
|
|
162018
162037
|
<dees-label
|
|
162019
162038
|
.label="${this.label}"
|
|
162020
|
-
.
|
|
162039
|
+
.infoText="${this.infoText}"
|
|
162021
162040
|
.required="${this.required}"
|
|
162022
162041
|
></dees-label>
|
|
162023
162042
|
<div class="wysiwyg-container">
|
|
162024
|
-
<div
|
|
162043
|
+
<div
|
|
162025
162044
|
class="editor-content ${this.draggedBlockId ? "dragging" : ""}"
|
|
162026
162045
|
id="editor-content"
|
|
162027
162046
|
>
|
|
162028
162047
|
<!-- Blocks will be rendered programmatically -->
|
|
162029
162048
|
</div>
|
|
162030
162049
|
</div>
|
|
162050
|
+
${this.renderDescription()}
|
|
162031
162051
|
`;
|
|
162032
162052
|
}
|
|
162033
162053
|
// Old renderBlock method removed - using programmatic rendering instead
|
|
@@ -162979,13 +162999,6 @@ var richtextStyles = [
|
|
|
162979
162999
|
border-color: ${cssManager.bdTheme("hsl(0 0% 15%)", "hsl(0 0% 93.9%)")};
|
|
162980
163000
|
}
|
|
162981
163001
|
|
|
162982
|
-
.description {
|
|
162983
|
-
margin-top: 8px;
|
|
162984
|
-
font-size: 12px;
|
|
162985
|
-
color: ${cssManager.bdTheme("hsl(215.4 16.3% 46.9%)", "hsl(215 20.2% 65.1%)")};
|
|
162986
|
-
line-height: 1.4;
|
|
162987
|
-
}
|
|
162988
|
-
|
|
162989
163002
|
:host([disabled]) dees-tile {
|
|
162990
163003
|
opacity: 0.6;
|
|
162991
163004
|
cursor: not-allowed;
|
|
@@ -163023,7 +163036,7 @@ var renderRichtext = /* @__PURE__ */ __name((component) => {
|
|
|
163023
163036
|
</div>
|
|
163024
163037
|
` : ""}
|
|
163025
163038
|
</dees-tile>
|
|
163026
|
-
${component.
|
|
163039
|
+
${component.renderDescription()}
|
|
163027
163040
|
</div>
|
|
163028
163041
|
`;
|
|
163029
163042
|
}, "renderRichtext");
|
|
@@ -165474,26 +165487,26 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
165474
165487
|
<div class="searchGrid hidden">
|
|
165475
165488
|
<dees-input-text
|
|
165476
165489
|
.label=${"lucene syntax search"}
|
|
165477
|
-
.
|
|
165490
|
+
.infoText=${`
|
|
165478
165491
|
You can use the lucene syntax to search for data, e.g.:
|
|
165479
|
-
|
|
165492
|
+
|
|
165480
165493
|
\`\`\`
|
|
165481
165494
|
name: "john" AND age: 18
|
|
165482
165495
|
\`\`\`
|
|
165483
|
-
|
|
165496
|
+
|
|
165484
165497
|
`}
|
|
165485
165498
|
></dees-input-text>
|
|
165486
165499
|
<dees-input-multitoggle
|
|
165487
165500
|
.label=${"search mode"}
|
|
165488
165501
|
.options=${["table", "data", "server"]}
|
|
165489
165502
|
.selectedOption=${"table"}
|
|
165490
|
-
.
|
|
165503
|
+
.infoText=${`
|
|
165491
165504
|
There are three basic modes:
|
|
165492
|
-
|
|
165505
|
+
|
|
165493
165506
|
* table: only searches data already in the table
|
|
165494
165507
|
* data: searches original data, ignoring table transforms
|
|
165495
165508
|
* server: searches data on the server
|
|
165496
|
-
|
|
165509
|
+
|
|
165497
165510
|
`}
|
|
165498
165511
|
></dees-input-multitoggle>
|
|
165499
165512
|
</div>
|
|
@@ -167162,7 +167175,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
167162
167175
|
.required=${true}
|
|
167163
167176
|
key="firstName"
|
|
167164
167177
|
label="First Name"
|
|
167165
|
-
.
|
|
167178
|
+
.infoText=${"Your given name"}
|
|
167166
167179
|
></dees-input-text>
|
|
167167
167180
|
|
|
167168
167181
|
<dees-input-text
|
|
@@ -167175,7 +167188,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
167175
167188
|
.required=${true}
|
|
167176
167189
|
key="email"
|
|
167177
167190
|
label="Email Address"
|
|
167178
|
-
.
|
|
167191
|
+
.infoText=${"We will use this to contact you"}
|
|
167179
167192
|
></dees-input-text>
|
|
167180
167193
|
|
|
167181
167194
|
<dees-input-dropdown
|
|
@@ -167196,7 +167209,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
167196
167209
|
key="password"
|
|
167197
167210
|
label="Password"
|
|
167198
167211
|
isPasswordBool
|
|
167199
|
-
.
|
|
167212
|
+
.infoText=${"Minimum 8 characters"}
|
|
167200
167213
|
></dees-input-text>
|
|
167201
167214
|
|
|
167202
167215
|
<dees-input-checkbox
|
|
@@ -167349,7 +167362,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
167349
167362
|
<dees-input-fileupload
|
|
167350
167363
|
key="documents"
|
|
167351
167364
|
.label=${"Upload Documents"}
|
|
167352
|
-
.
|
|
167365
|
+
.infoText=${"PDF, DOC, or DOCX files up to 10MB"}
|
|
167353
167366
|
></dees-input-fileupload>
|
|
167354
167367
|
|
|
167355
167368
|
<dees-form-submit>Submit Application</dees-form-submit>
|
|
@@ -184736,7 +184749,7 @@ var _DeesInputProfilePicture = class _DeesInputProfilePicture extends (_a76 = De
|
|
|
184736
184749
|
render() {
|
|
184737
184750
|
return b2`
|
|
184738
184751
|
<div class="input-wrapper">
|
|
184739
|
-
<dees-label .label=${this.label} .
|
|
184752
|
+
<dees-label .label=${this.label} .infoText=${this.infoText} .required=${this.required}></dees-label>
|
|
184740
184753
|
|
|
184741
184754
|
<div
|
|
184742
184755
|
class="profile-container"
|
|
@@ -184798,6 +184811,7 @@ var _DeesInputProfilePicture = class _DeesInputProfilePicture extends (_a76 = De
|
|
|
184798
184811
|
accept="${this.acceptedFormats.join(",")}"
|
|
184799
184812
|
@change=${this.handleFileSelect}
|
|
184800
184813
|
/>
|
|
184814
|
+
${this.renderDescription()}
|
|
184801
184815
|
</div>
|
|
184802
184816
|
`;
|
|
184803
184817
|
}
|
|
@@ -201434,7 +201448,7 @@ init_group_runtime();
|
|
|
201434
201448
|
// ts_web/00_commitinfo_data.ts
|
|
201435
201449
|
var commitinfo = {
|
|
201436
201450
|
name: "@design.estate/dees-catalog",
|
|
201437
|
-
version: "3.
|
|
201451
|
+
version: "3.76.1",
|
|
201438
201452
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
201439
201453
|
};
|
|
201440
201454
|
export {
|
|
@@ -203399,4 +203413,4 @@ ibantools/jsnext/ibantools.js:
|
|
|
203399
203413
|
* @preferred
|
|
203400
203414
|
*)
|
|
203401
203415
|
*/
|
|
203402
|
-
//# sourceMappingURL=bundle-
|
|
203416
|
+
//# sourceMappingURL=bundle-1776020698391.js.map
|