@design.estate/dees-catalog 3.76.0 → 3.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +477 -451
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.js +28 -3
- package/dist_ts_web/elements/00group-dataview/dees-table/styles.js +28 -1
- package/dist_ts_web/elements/00group-dataview/dees-table/types.d.ts +15 -0
- 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-dropdown/dees-input-dropdown.demo.js +27 -31
- package/dist_ts_web/elements/00group-input/dees-input-fileupload/demo.js +36 -36
- package/dist_ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.js +20 -24
- 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-multitoggle/dees-input-multitoggle.demo.js +67 -65
- package/dist_ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.js +20 -24
- package/dist_ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.js +5 -11
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.js +54 -54
- 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-text/dees-input-text.demo.js +37 -41
- 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-typelist/dees-input-typelist.demo.js +19 -25
- package/dist_watch/bundle.js +442 -449
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/readme.md +19 -12
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-dataview/dees-table/dees-table.ts +28 -2
- package/ts_web/elements/00group-dataview/dees-table/styles.ts +33 -0
- package/ts_web/elements/00group-dataview/dees-table/types.ts +19 -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-dropdown/dees-input-dropdown.demo.ts +40 -44
- package/ts_web/elements/00group-input/dees-input-fileupload/demo.ts +35 -35
- package/ts_web/elements/00group-input/dees-input-iban/dees-input-iban.demo.ts +19 -23
- package/ts_web/elements/00group-input/dees-input-list/dees-input-list.demo.ts +21 -19
- package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.demo.ts +66 -64
- package/ts_web/elements/00group-input/dees-input-phone/dees-input-phone.demo.ts +19 -23
- package/ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.demo.ts +4 -10
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.ts +53 -53
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.ts +20 -18
- package/ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.ts +36 -40
- package/ts_web/elements/00group-input/dees-input-toggle/dees-input-toggle.demo.ts +34 -32
- package/ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.demo.ts +18 -24
package/dist_bundle/bundle.js
CHANGED
|
@@ -138730,90 +138730,92 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138730
138730
|
|
|
138731
138731
|
<div class="demo-container">
|
|
138732
138732
|
<dees-panel .title=${"Basic Checkboxes"} .subtitle=${"Simple checkbox examples with various labels"}>
|
|
138733
|
-
<
|
|
138734
|
-
<dees-input-checkbox
|
|
138735
|
-
.label=${"I agree to the Terms and Conditions"}
|
|
138733
|
+
<dees-form>
|
|
138734
|
+
<dees-input-checkbox
|
|
138735
|
+
.label=${"I agree to the Terms and Conditions"}
|
|
138736
138736
|
.value=${true}
|
|
138737
138737
|
.key=${"terms"}
|
|
138738
138738
|
></dees-input-checkbox>
|
|
138739
|
-
|
|
138740
|
-
<dees-input-checkbox
|
|
138741
|
-
.label=${"Subscribe to newsletter"}
|
|
138739
|
+
|
|
138740
|
+
<dees-input-checkbox
|
|
138741
|
+
.label=${"Subscribe to newsletter"}
|
|
138742
138742
|
.value=${false}
|
|
138743
138743
|
.key=${"newsletter"}
|
|
138744
138744
|
></dees-input-checkbox>
|
|
138745
|
-
|
|
138746
|
-
<dees-input-checkbox
|
|
138747
|
-
.label=${"Enable notifications"}
|
|
138745
|
+
|
|
138746
|
+
<dees-input-checkbox
|
|
138747
|
+
.label=${"Enable notifications"}
|
|
138748
138748
|
.value=${false}
|
|
138749
138749
|
.description=${"Receive email updates about your account"}
|
|
138750
138750
|
.key=${"notifications"}
|
|
138751
138751
|
></dees-input-checkbox>
|
|
138752
|
-
</
|
|
138752
|
+
</dees-form>
|
|
138753
138753
|
</dees-panel>
|
|
138754
138754
|
|
|
138755
138755
|
<dees-panel .title=${"Checkbox States"} .subtitle=${"Different checkbox states and configurations"}>
|
|
138756
|
-
<
|
|
138757
|
-
<dees-input-checkbox
|
|
138758
|
-
.label=${"Default state"}
|
|
138756
|
+
<dees-form>
|
|
138757
|
+
<dees-input-checkbox
|
|
138758
|
+
.label=${"Default state"}
|
|
138759
138759
|
.value=${false}
|
|
138760
138760
|
></dees-input-checkbox>
|
|
138761
|
-
|
|
138762
|
-
<dees-input-checkbox
|
|
138763
|
-
.label=${"Checked state"}
|
|
138761
|
+
|
|
138762
|
+
<dees-input-checkbox
|
|
138763
|
+
.label=${"Checked state"}
|
|
138764
138764
|
.value=${true}
|
|
138765
138765
|
></dees-input-checkbox>
|
|
138766
|
-
|
|
138767
|
-
<dees-input-checkbox
|
|
138768
|
-
.label=${"Disabled unchecked"}
|
|
138766
|
+
|
|
138767
|
+
<dees-input-checkbox
|
|
138768
|
+
.label=${"Disabled unchecked"}
|
|
138769
138769
|
.value=${false}
|
|
138770
138770
|
.disabled=${true}
|
|
138771
138771
|
></dees-input-checkbox>
|
|
138772
|
-
|
|
138773
|
-
<dees-input-checkbox
|
|
138774
|
-
.label=${"Disabled checked"}
|
|
138772
|
+
|
|
138773
|
+
<dees-input-checkbox
|
|
138774
|
+
.label=${"Disabled checked"}
|
|
138775
138775
|
.value=${true}
|
|
138776
138776
|
.disabled=${true}
|
|
138777
138777
|
></dees-input-checkbox>
|
|
138778
|
-
|
|
138779
|
-
<dees-input-checkbox
|
|
138780
|
-
.label=${"Required checkbox"}
|
|
138778
|
+
|
|
138779
|
+
<dees-input-checkbox
|
|
138780
|
+
.label=${"Required checkbox"}
|
|
138781
138781
|
.required=${true}
|
|
138782
138782
|
.key=${"required"}
|
|
138783
138783
|
></dees-input-checkbox>
|
|
138784
|
-
</
|
|
138784
|
+
</dees-form>
|
|
138785
138785
|
</dees-panel>
|
|
138786
138786
|
|
|
138787
138787
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Checkboxes arranged horizontally for compact forms"}>
|
|
138788
|
-
<
|
|
138789
|
-
<
|
|
138790
|
-
|
|
138791
|
-
|
|
138792
|
-
|
|
138793
|
-
|
|
138794
|
-
|
|
138795
|
-
|
|
138796
|
-
|
|
138797
|
-
|
|
138798
|
-
|
|
138799
|
-
|
|
138800
|
-
|
|
138801
|
-
|
|
138802
|
-
|
|
138803
|
-
|
|
138804
|
-
|
|
138805
|
-
|
|
138806
|
-
|
|
138807
|
-
|
|
138808
|
-
|
|
138809
|
-
|
|
138810
|
-
|
|
138811
|
-
|
|
138812
|
-
|
|
138813
|
-
|
|
138814
|
-
|
|
138815
|
-
|
|
138816
|
-
|
|
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>
|
|
138817
138819
|
</dees-panel>
|
|
138818
138820
|
|
|
138819
138821
|
<dees-panel .title=${"Feature Selection Example"} .subtitle=${"Common use case for feature toggles with batch operations"}>
|
|
@@ -138823,76 +138825,76 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138823
138825
|
</div>
|
|
138824
138826
|
|
|
138825
138827
|
<div class="feature-list">
|
|
138826
|
-
<
|
|
138827
|
-
<dees-input-checkbox
|
|
138828
|
-
.label=${"Dark Mode Support"}
|
|
138828
|
+
<dees-form>
|
|
138829
|
+
<dees-input-checkbox
|
|
138830
|
+
.label=${"Dark Mode Support"}
|
|
138829
138831
|
.value=${true}
|
|
138830
138832
|
.key=${"feature1"}
|
|
138831
138833
|
></dees-input-checkbox>
|
|
138832
|
-
|
|
138833
|
-
<dees-input-checkbox
|
|
138834
|
-
.label=${"Email Notifications"}
|
|
138834
|
+
|
|
138835
|
+
<dees-input-checkbox
|
|
138836
|
+
.label=${"Email Notifications"}
|
|
138835
138837
|
.value=${true}
|
|
138836
138838
|
.key=${"feature2"}
|
|
138837
138839
|
></dees-input-checkbox>
|
|
138838
|
-
|
|
138839
|
-
<dees-input-checkbox
|
|
138840
|
-
.label=${"Two-Factor Authentication"}
|
|
138840
|
+
|
|
138841
|
+
<dees-input-checkbox
|
|
138842
|
+
.label=${"Two-Factor Authentication"}
|
|
138841
138843
|
.value=${false}
|
|
138842
138844
|
.key=${"feature3"}
|
|
138843
138845
|
></dees-input-checkbox>
|
|
138844
|
-
|
|
138845
|
-
<dees-input-checkbox
|
|
138846
|
-
.label=${"API Access"}
|
|
138846
|
+
|
|
138847
|
+
<dees-input-checkbox
|
|
138848
|
+
.label=${"API Access"}
|
|
138847
138849
|
.value=${true}
|
|
138848
138850
|
.key=${"feature4"}
|
|
138849
138851
|
></dees-input-checkbox>
|
|
138850
|
-
|
|
138851
|
-
<dees-input-checkbox
|
|
138852
|
-
.label=${"Advanced Analytics"}
|
|
138852
|
+
|
|
138853
|
+
<dees-input-checkbox
|
|
138854
|
+
.label=${"Advanced Analytics"}
|
|
138853
138855
|
.value=${false}
|
|
138854
138856
|
.key=${"feature5"}
|
|
138855
138857
|
></dees-input-checkbox>
|
|
138856
|
-
</
|
|
138858
|
+
</dees-form>
|
|
138857
138859
|
</div>
|
|
138858
138860
|
</dees-panel>
|
|
138859
138861
|
|
|
138860
138862
|
<dees-panel .title=${"Privacy Settings Example"} .subtitle=${"Checkboxes in a typical form context"}>
|
|
138861
138863
|
<div class="form-section">
|
|
138862
138864
|
<h4 class="section-title">Privacy Preferences</h4>
|
|
138863
|
-
|
|
138864
|
-
<
|
|
138865
|
-
<dees-input-checkbox
|
|
138866
|
-
.label=${"Share analytics data"}
|
|
138865
|
+
|
|
138866
|
+
<dees-form>
|
|
138867
|
+
<dees-input-checkbox
|
|
138868
|
+
.label=${"Share analytics data"}
|
|
138867
138869
|
.value=${true}
|
|
138868
138870
|
.description=${"Help us improve by sharing anonymous usage data"}
|
|
138869
138871
|
></dees-input-checkbox>
|
|
138870
|
-
|
|
138871
|
-
<dees-input-checkbox
|
|
138872
|
-
.label=${"Personalized recommendations"}
|
|
138872
|
+
|
|
138873
|
+
<dees-input-checkbox
|
|
138874
|
+
.label=${"Personalized recommendations"}
|
|
138873
138875
|
.value=${true}
|
|
138874
138876
|
.description=${"Get suggestions based on your activity"}
|
|
138875
138877
|
></dees-input-checkbox>
|
|
138876
|
-
|
|
138877
|
-
<dees-input-checkbox
|
|
138878
|
-
.label=${"Marketing communications"}
|
|
138878
|
+
|
|
138879
|
+
<dees-input-checkbox
|
|
138880
|
+
.label=${"Marketing communications"}
|
|
138879
138881
|
.value=${false}
|
|
138880
138882
|
.description=${"Receive promotional emails and special offers"}
|
|
138881
138883
|
></dees-input-checkbox>
|
|
138882
|
-
|
|
138883
|
-
<dees-input-checkbox
|
|
138884
|
-
.label=${"Third-party integrations"}
|
|
138884
|
+
|
|
138885
|
+
<dees-input-checkbox
|
|
138886
|
+
.label=${"Third-party integrations"}
|
|
138885
138887
|
.value=${false}
|
|
138886
138888
|
.description=${"Allow approved partners to access your data"}
|
|
138887
138889
|
></dees-input-checkbox>
|
|
138888
|
-
</
|
|
138890
|
+
</dees-form>
|
|
138889
138891
|
</div>
|
|
138890
138892
|
</dees-panel>
|
|
138891
138893
|
|
|
138892
138894
|
<dees-panel .title=${"Interactive Example"} .subtitle=${"Click checkboxes to see value changes"}>
|
|
138893
|
-
<
|
|
138894
|
-
<dees-input-checkbox
|
|
138895
|
-
.label=${"Feature toggle"}
|
|
138895
|
+
<dees-form>
|
|
138896
|
+
<dees-input-checkbox
|
|
138897
|
+
.label=${"Feature toggle"}
|
|
138896
138898
|
.value=${false}
|
|
138897
138899
|
@changeSubject=${(event) => {
|
|
138898
138900
|
const output = document.querySelector("#checkbox-output");
|
|
@@ -138902,9 +138904,9 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138902
138904
|
}
|
|
138903
138905
|
}}
|
|
138904
138906
|
></dees-input-checkbox>
|
|
138905
|
-
|
|
138906
|
-
<dees-input-checkbox
|
|
138907
|
-
.label=${"Debug mode"}
|
|
138907
|
+
|
|
138908
|
+
<dees-input-checkbox
|
|
138909
|
+
.label=${"Debug mode"}
|
|
138908
138910
|
.value=${false}
|
|
138909
138911
|
@changeSubject=${(event) => {
|
|
138910
138912
|
const output = document.querySelector("#debug-output");
|
|
@@ -138914,8 +138916,8 @@ var demoFunc8 = /* @__PURE__ */ __name(() => b2`
|
|
|
138914
138916
|
}
|
|
138915
138917
|
}}
|
|
138916
138918
|
></dees-input-checkbox>
|
|
138917
|
-
</
|
|
138918
|
-
|
|
138919
|
+
</dees-form>
|
|
138920
|
+
|
|
138919
138921
|
<div class="interactive-section">
|
|
138920
138922
|
<div id="checkbox-output" class="output-text">Feature is disabled</div>
|
|
138921
138923
|
<div id="debug-output" class="output-text" style="margin-top: 8px;">Debug mode: OFF</div>
|
|
@@ -143062,12 +143064,6 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143062
143064
|
flex-wrap: wrap;
|
|
143063
143065
|
}
|
|
143064
143066
|
|
|
143065
|
-
.input-group {
|
|
143066
|
-
display: flex;
|
|
143067
|
-
flex-direction: column;
|
|
143068
|
-
gap: 16px;
|
|
143069
|
-
}
|
|
143070
|
-
|
|
143071
143067
|
.grid-layout {
|
|
143072
143068
|
display: grid;
|
|
143073
143069
|
grid-template-columns: 1fr 1fr;
|
|
@@ -143116,7 +143112,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143116
143112
|
}
|
|
143117
143113
|
}}>
|
|
143118
143114
|
<dees-panel .title=${"Basic Text Inputs"} .subtitle=${"Standard text inputs with labels and descriptions"}>
|
|
143119
|
-
<
|
|
143115
|
+
<dees-form>
|
|
143120
143116
|
<dees-input-text
|
|
143121
143117
|
.label=${"Username"}
|
|
143122
143118
|
.value=${"johndoe"}
|
|
@@ -143137,7 +143133,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143137
143133
|
.value=${"secret123"}
|
|
143138
143134
|
.key=${"password"}
|
|
143139
143135
|
></dees-input-text>
|
|
143140
|
-
</
|
|
143136
|
+
</dees-form>
|
|
143141
143137
|
</dees-panel>
|
|
143142
143138
|
</dees-demowrapper>
|
|
143143
143139
|
|
|
@@ -143160,28 +143156,30 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143160
143156
|
}
|
|
143161
143157
|
}}>
|
|
143162
143158
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Multiple inputs arranged horizontally for compact forms"}>
|
|
143163
|
-
<
|
|
143164
|
-
<
|
|
143165
|
-
|
|
143166
|
-
|
|
143167
|
-
|
|
143168
|
-
|
|
143169
|
-
|
|
143170
|
-
|
|
143171
|
-
|
|
143172
|
-
|
|
143173
|
-
|
|
143174
|
-
|
|
143175
|
-
|
|
143176
|
-
|
|
143177
|
-
|
|
143178
|
-
|
|
143179
|
-
|
|
143180
|
-
|
|
143181
|
-
|
|
143182
|
-
|
|
143183
|
-
|
|
143184
|
-
|
|
143159
|
+
<dees-form>
|
|
143160
|
+
<div class="horizontal-group">
|
|
143161
|
+
<dees-input-text
|
|
143162
|
+
.label=${"First Name"}
|
|
143163
|
+
.value=${"John"}
|
|
143164
|
+
.layoutMode=${"horizontal"}
|
|
143165
|
+
.key=${"firstName"}
|
|
143166
|
+
></dees-input-text>
|
|
143167
|
+
|
|
143168
|
+
<dees-input-text
|
|
143169
|
+
.label=${"Last Name"}
|
|
143170
|
+
.value=${"Doe"}
|
|
143171
|
+
.layoutMode=${"horizontal"}
|
|
143172
|
+
.key=${"lastName"}
|
|
143173
|
+
></dees-input-text>
|
|
143174
|
+
|
|
143175
|
+
<dees-input-text
|
|
143176
|
+
.label=${"Age"}
|
|
143177
|
+
.value=${"28"}
|
|
143178
|
+
.layoutMode=${"horizontal"}
|
|
143179
|
+
.key=${"age"}
|
|
143180
|
+
></dees-input-text>
|
|
143181
|
+
</div>
|
|
143182
|
+
</dees-form>
|
|
143185
143183
|
</dees-panel>
|
|
143186
143184
|
</dees-demowrapper>
|
|
143187
143185
|
|
|
@@ -143197,7 +143195,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143197
143195
|
}
|
|
143198
143196
|
}}>
|
|
143199
143197
|
<dees-panel .title=${"Label Positions"} .subtitle=${"Different label positioning options for various layouts"}>
|
|
143200
|
-
<
|
|
143198
|
+
<dees-form>
|
|
143201
143199
|
<dees-input-text
|
|
143202
143200
|
.label=${"Label on Top (Default)"}
|
|
143203
143201
|
.value=${"Standard layout"}
|
|
@@ -143211,25 +143209,25 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143211
143209
|
></dees-input-text>
|
|
143212
143210
|
|
|
143213
143211
|
<div class="grid-layout">
|
|
143214
|
-
<dees-input-text
|
|
143215
|
-
.label=${"City"}
|
|
143216
|
-
.value=${"New York"}
|
|
143212
|
+
<dees-input-text
|
|
143213
|
+
.label=${"City"}
|
|
143214
|
+
.value=${"New York"}
|
|
143217
143215
|
.labelPosition=${"left"}
|
|
143218
143216
|
></dees-input-text>
|
|
143219
|
-
|
|
143217
|
+
|
|
143220
143218
|
<dees-input-text
|
|
143221
143219
|
.label=${"ZIP Code"}
|
|
143222
143220
|
.value=${"10001"}
|
|
143223
143221
|
.labelPosition=${"left"}
|
|
143224
143222
|
></dees-input-text>
|
|
143225
143223
|
</div>
|
|
143226
|
-
</
|
|
143224
|
+
</dees-form>
|
|
143227
143225
|
</dees-panel>
|
|
143228
143226
|
</dees-demowrapper>
|
|
143229
143227
|
|
|
143230
143228
|
<dees-demowrapper>
|
|
143231
143229
|
<dees-panel .title=${"Validation & States"} .subtitle=${"Different validation states and input configurations"}>
|
|
143232
|
-
<
|
|
143230
|
+
<dees-form>
|
|
143233
143231
|
<dees-input-text
|
|
143234
143232
|
.label=${"Required Field"}
|
|
143235
143233
|
.required=${true}
|
|
@@ -143253,7 +143251,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143253
143251
|
return { valid: false, message: "Please enter a valid email address" };
|
|
143254
143252
|
}}
|
|
143255
143253
|
></dees-input-text>
|
|
143256
|
-
</
|
|
143254
|
+
</dees-form>
|
|
143257
143255
|
</dees-panel>
|
|
143258
143256
|
</dees-demowrapper>
|
|
143259
143257
|
|
|
@@ -143277,7 +143275,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143277
143275
|
});
|
|
143278
143276
|
}}>
|
|
143279
143277
|
<dees-panel .title=${"Advanced Features"} .subtitle=${"Password visibility toggle and other advanced features"}>
|
|
143280
|
-
<
|
|
143278
|
+
<dees-form>
|
|
143281
143279
|
<dees-input-text
|
|
143282
143280
|
.label=${"Password with Toggle"}
|
|
143283
143281
|
.isPasswordBool=${true}
|
|
@@ -143291,7 +143289,7 @@ var demoFunc13 = /* @__PURE__ */ __name(() => b2`
|
|
|
143291
143289
|
.value=${"sk-1234567890abcdef"}
|
|
143292
143290
|
.infoText=${"Keep this key secure and never share it"}
|
|
143293
143291
|
></dees-input-text>
|
|
143294
|
-
</
|
|
143292
|
+
</dees-form>
|
|
143295
143293
|
</dees-panel>
|
|
143296
143294
|
</dees-demowrapper>
|
|
143297
143295
|
|
|
@@ -144381,12 +144379,6 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144381
144379
|
margin: 0 auto;
|
|
144382
144380
|
}
|
|
144383
144381
|
|
|
144384
|
-
.input-group {
|
|
144385
|
-
display: flex;
|
|
144386
|
-
flex-direction: column;
|
|
144387
|
-
gap: 16px;
|
|
144388
|
-
}
|
|
144389
|
-
|
|
144390
144382
|
.shopping-grid {
|
|
144391
144383
|
display: grid;
|
|
144392
144384
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
@@ -144433,7 +144425,7 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144433
144425
|
|
|
144434
144426
|
<div class="demo-container">
|
|
144435
144427
|
<dees-panel .title=${"Basic Quantity Selector"} .subtitle=${"Simple quantity input with increment/decrement buttons"}>
|
|
144436
|
-
<
|
|
144428
|
+
<dees-form>
|
|
144437
144429
|
<dees-input-quantityselector
|
|
144438
144430
|
.label=${"Quantity"}
|
|
144439
144431
|
.infoText=${"Select the desired quantity"}
|
|
@@ -144446,7 +144438,7 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144446
144438
|
.infoText=${"Adjust the quantity of items"}
|
|
144447
144439
|
.value=${3}
|
|
144448
144440
|
></dees-input-quantityselector>
|
|
144449
|
-
</
|
|
144441
|
+
</dees-form>
|
|
144450
144442
|
</dees-panel>
|
|
144451
144443
|
|
|
144452
144444
|
<dees-panel .title=${"Shopping Cart"} .subtitle=${"Modern e-commerce product cards with interactive quantity selectors"} .runAfterRender=${async (elementArg) => {
|
|
@@ -144538,7 +144530,7 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144538
144530
|
</dees-panel>
|
|
144539
144531
|
|
|
144540
144532
|
<dees-panel .title=${"Required & Disabled States"} .subtitle=${"Different states for validation and restrictions"}>
|
|
144541
|
-
<
|
|
144533
|
+
<dees-form>
|
|
144542
144534
|
<dees-input-quantityselector
|
|
144543
144535
|
.label=${"Number of Licenses"}
|
|
144544
144536
|
.infoText=${"Select how many licenses you need"}
|
|
@@ -144552,7 +144544,7 @@ var demoFunc15 = /* @__PURE__ */ __name(() => b2`
|
|
|
144552
144544
|
.disabled=${true}
|
|
144553
144545
|
.value=${5}
|
|
144554
144546
|
></dees-input-quantityselector>
|
|
144555
|
-
</
|
|
144547
|
+
</dees-form>
|
|
144556
144548
|
</dees-panel>
|
|
144557
144549
|
|
|
144558
144550
|
<dees-panel .title=${"Order Form"} .subtitle=${"Complete order form with quantity selection"}>
|
|
@@ -144788,12 +144780,6 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144788
144780
|
margin-bottom: 0;
|
|
144789
144781
|
}
|
|
144790
144782
|
|
|
144791
|
-
.input-group {
|
|
144792
|
-
display: flex;
|
|
144793
|
-
flex-direction: column;
|
|
144794
|
-
gap: 16px;
|
|
144795
|
-
}
|
|
144796
|
-
|
|
144797
144783
|
.demo-grid {
|
|
144798
144784
|
display: grid;
|
|
144799
144785
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
@@ -144813,25 +144799,27 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144813
144799
|
|
|
144814
144800
|
<div class="demo-container">
|
|
144815
144801
|
<dees-panel .title=${"1. Basic Radio Groups"} .subtitle=${"Simple string options for common use cases"}>
|
|
144816
|
-
<
|
|
144817
|
-
<
|
|
144818
|
-
|
|
144819
|
-
|
|
144820
|
-
|
|
144821
|
-
|
|
144822
|
-
|
|
144823
|
-
|
|
144824
|
-
|
|
144825
|
-
|
|
144826
|
-
|
|
144827
|
-
|
|
144828
|
-
|
|
144829
|
-
|
|
144830
|
-
|
|
144802
|
+
<dees-form>
|
|
144803
|
+
<div class="demo-grid">
|
|
144804
|
+
<dees-input-radiogroup
|
|
144805
|
+
.label=${"Subscription Plan"}
|
|
144806
|
+
.options=${["Basic - $9/month", "Pro - $29/month", "Enterprise - $99/month"]}
|
|
144807
|
+
.selectedOption=${"Pro - $29/month"}
|
|
144808
|
+
.description=${"Choose your subscription tier"}
|
|
144809
|
+
></dees-input-radiogroup>
|
|
144810
|
+
|
|
144811
|
+
<dees-input-radiogroup
|
|
144812
|
+
.label=${"Priority Level"}
|
|
144813
|
+
.options=${["High", "Medium", "Low"]}
|
|
144814
|
+
.selectedOption=${"Medium"}
|
|
144815
|
+
.required=${true}
|
|
144816
|
+
></dees-input-radiogroup>
|
|
144817
|
+
</div>
|
|
144818
|
+
</dees-form>
|
|
144831
144819
|
</dees-panel>
|
|
144832
144820
|
|
|
144833
144821
|
<dees-panel .title=${"2. Horizontal Layout"} .subtitle=${"Radio groups with horizontal arrangement"}>
|
|
144834
|
-
<
|
|
144822
|
+
<dees-form>
|
|
144835
144823
|
<dees-input-radiogroup
|
|
144836
144824
|
.label=${"Do you agree with the terms?"}
|
|
144837
144825
|
.options=${["Yes", "No", "Maybe"]}
|
|
@@ -144846,7 +144834,7 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144846
144834
|
.selectedOption=${"Intermediate"}
|
|
144847
144835
|
.description=${"Select your experience level with web development"}
|
|
144848
144836
|
></dees-input-radiogroup>
|
|
144849
|
-
</
|
|
144837
|
+
</dees-form>
|
|
144850
144838
|
</dees-panel>
|
|
144851
144839
|
|
|
144852
144840
|
<dees-panel .title=${"3. Advanced Options"} .subtitle=${"Using object format with keys and payloads"}>
|
|
@@ -144871,41 +144859,45 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144871
144859
|
</dees-panel>
|
|
144872
144860
|
|
|
144873
144861
|
<dees-panel .title=${"4. Survey Example"} .subtitle=${"Multiple radio groups for surveys and forms"}>
|
|
144874
|
-
<
|
|
144875
|
-
<
|
|
144876
|
-
|
|
144877
|
-
|
|
144878
|
-
|
|
144879
|
-
|
|
144880
|
-
|
|
144881
|
-
|
|
144882
|
-
|
|
144883
|
-
|
|
144884
|
-
|
|
144885
|
-
|
|
144886
|
-
|
|
144862
|
+
<dees-form>
|
|
144863
|
+
<div class="demo-grid">
|
|
144864
|
+
<dees-input-radiogroup
|
|
144865
|
+
.label=${"How satisfied are you?"}
|
|
144866
|
+
.options=${["Very Satisfied", "Satisfied", "Neutral", "Dissatisfied", "Very Dissatisfied"]}
|
|
144867
|
+
.selectedOption=${"Satisfied"}
|
|
144868
|
+
></dees-input-radiogroup>
|
|
144869
|
+
|
|
144870
|
+
<dees-input-radiogroup
|
|
144871
|
+
.label=${"Would you recommend us?"}
|
|
144872
|
+
.options=${["Definitely", "Probably", "Not Sure", "Probably Not", "Definitely Not"]}
|
|
144873
|
+
.selectedOption=${"Probably"}
|
|
144874
|
+
></dees-input-radiogroup>
|
|
144875
|
+
</div>
|
|
144876
|
+
</dees-form>
|
|
144887
144877
|
</dees-panel>
|
|
144888
144878
|
|
|
144889
144879
|
<dees-panel .title=${"5. States & Validation"} .subtitle=${"Different states and validation examples"}>
|
|
144890
|
-
<
|
|
144891
|
-
<
|
|
144892
|
-
|
|
144893
|
-
|
|
144894
|
-
|
|
144895
|
-
|
|
144896
|
-
|
|
144897
|
-
|
|
144898
|
-
|
|
144899
|
-
|
|
144900
|
-
|
|
144901
|
-
|
|
144902
|
-
|
|
144903
|
-
|
|
144904
|
-
|
|
144880
|
+
<dees-form>
|
|
144881
|
+
<div class="demo-grid">
|
|
144882
|
+
<dees-input-radiogroup
|
|
144883
|
+
.label=${"Required Selection"}
|
|
144884
|
+
.options=${["Option A", "Option B", "Option C"]}
|
|
144885
|
+
.required=${true}
|
|
144886
|
+
.description=${"This field is required"}
|
|
144887
|
+
></dees-input-radiogroup>
|
|
144888
|
+
|
|
144889
|
+
<dees-input-radiogroup
|
|
144890
|
+
.label=${"Disabled State"}
|
|
144891
|
+
.options=${["Disabled Option 1", "Disabled Option 2", "Disabled Option 3"]}
|
|
144892
|
+
.selectedOption=${"Disabled Option 2"}
|
|
144893
|
+
.disabled=${true}
|
|
144894
|
+
></dees-input-radiogroup>
|
|
144895
|
+
</div>
|
|
144896
|
+
</dees-form>
|
|
144905
144897
|
</dees-panel>
|
|
144906
144898
|
|
|
144907
144899
|
<dees-panel .title=${"6. Settings Example"} .subtitle=${"Common patterns in application settings"}>
|
|
144908
|
-
<
|
|
144900
|
+
<dees-form>
|
|
144909
144901
|
<dees-input-radiogroup
|
|
144910
144902
|
.label=${"Theme Preference"}
|
|
144911
144903
|
.options=${[
|
|
@@ -144930,7 +144922,7 @@ var demoFunc16 = /* @__PURE__ */ __name(() => b2`
|
|
|
144930
144922
|
.selectedOption=${"English"}
|
|
144931
144923
|
.direction=${"horizontal"}
|
|
144932
144924
|
></dees-input-radiogroup>
|
|
144933
|
-
</
|
|
144925
|
+
</dees-form>
|
|
144934
144926
|
</dees-panel>
|
|
144935
144927
|
|
|
144936
144928
|
<dees-panel .title=${"7. Form Integration"} .subtitle=${"Works seamlessly with dees-form"}>
|
|
@@ -145498,12 +145490,6 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145498
145490
|
flex-wrap: wrap;
|
|
145499
145491
|
}
|
|
145500
145492
|
|
|
145501
|
-
.input-group {
|
|
145502
|
-
display: flex;
|
|
145503
|
-
flex-direction: column;
|
|
145504
|
-
gap: 16px;
|
|
145505
|
-
}
|
|
145506
|
-
|
|
145507
145493
|
.spacer {
|
|
145508
145494
|
height: 200px;
|
|
145509
145495
|
display: flex;
|
|
@@ -145531,7 +145517,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145531
145517
|
}
|
|
145532
145518
|
}}>
|
|
145533
145519
|
<dees-panel .title=${"1. Basic Dropdowns"} .subtitle=${"Standard dropdown with search functionality and various options"}>
|
|
145534
|
-
<
|
|
145520
|
+
<dees-form>
|
|
145535
145521
|
<dees-input-dropdown
|
|
145536
145522
|
.label=${"Select Country"}
|
|
145537
145523
|
.description=${"Choose the country where your business is registered"}
|
|
@@ -145557,7 +145543,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145557
145543
|
{ option: "Guest", key: "guest" }
|
|
145558
145544
|
]}
|
|
145559
145545
|
></dees-input-dropdown>
|
|
145560
|
-
</
|
|
145546
|
+
</dees-form>
|
|
145561
145547
|
</dees-panel>
|
|
145562
145548
|
</dees-demowrapper>
|
|
145563
145549
|
|
|
@@ -145593,40 +145579,42 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145593
145579
|
});
|
|
145594
145580
|
}}>
|
|
145595
145581
|
<dees-panel .title=${"3. Horizontal Layout"} .subtitle=${"Multiple dropdowns in a horizontal layout for compact forms"}>
|
|
145596
|
-
<
|
|
145597
|
-
<
|
|
145598
|
-
|
|
145599
|
-
|
|
145600
|
-
|
|
145582
|
+
<dees-form>
|
|
145583
|
+
<div class="horizontal-group">
|
|
145584
|
+
<dees-input-dropdown
|
|
145585
|
+
.label=${"Department"}
|
|
145586
|
+
.layoutMode=${"horizontal"}
|
|
145587
|
+
.options=${[
|
|
145601
145588
|
{ option: "Engineering", key: "eng" },
|
|
145602
145589
|
{ option: "Design", key: "design" },
|
|
145603
145590
|
{ option: "Marketing", key: "marketing" },
|
|
145604
145591
|
{ option: "Sales", key: "sales" }
|
|
145605
145592
|
]}
|
|
145606
|
-
|
|
145607
|
-
|
|
145608
|
-
|
|
145609
|
-
|
|
145610
|
-
|
|
145611
|
-
|
|
145612
|
-
|
|
145593
|
+
></dees-input-dropdown>
|
|
145594
|
+
|
|
145595
|
+
<dees-input-dropdown
|
|
145596
|
+
.label=${"Team Size"}
|
|
145597
|
+
.layoutMode=${"horizontal"}
|
|
145598
|
+
.enableSearch=${false}
|
|
145599
|
+
.options=${[
|
|
145613
145600
|
{ option: "1-5", key: "small" },
|
|
145614
145601
|
{ option: "6-20", key: "medium" },
|
|
145615
145602
|
{ option: "21-50", key: "large" },
|
|
145616
145603
|
{ option: "50+", key: "xlarge" }
|
|
145617
145604
|
]}
|
|
145618
|
-
|
|
145619
|
-
|
|
145620
|
-
|
|
145621
|
-
|
|
145622
|
-
|
|
145623
|
-
|
|
145605
|
+
></dees-input-dropdown>
|
|
145606
|
+
|
|
145607
|
+
<dees-input-dropdown
|
|
145608
|
+
.label=${"Location"}
|
|
145609
|
+
.layoutMode=${"horizontal"}
|
|
145610
|
+
.options=${[
|
|
145624
145611
|
{ option: "Remote", key: "remote" },
|
|
145625
145612
|
{ option: "On-site", key: "onsite" },
|
|
145626
145613
|
{ option: "Hybrid", key: "hybrid" }
|
|
145627
145614
|
]}
|
|
145628
|
-
|
|
145629
|
-
|
|
145615
|
+
></dees-input-dropdown>
|
|
145616
|
+
</div>
|
|
145617
|
+
</dees-form>
|
|
145630
145618
|
</dees-panel>
|
|
145631
145619
|
</dees-demowrapper>
|
|
145632
145620
|
|
|
@@ -145639,7 +145627,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145639
145627
|
}
|
|
145640
145628
|
}}>
|
|
145641
145629
|
<dees-panel .title=${"4. States"} .subtitle=${"Different states and configurations"}>
|
|
145642
|
-
<
|
|
145630
|
+
<dees-form>
|
|
145643
145631
|
<dees-input-dropdown
|
|
145644
145632
|
.label=${"Required Field"}
|
|
145645
145633
|
.required=${true}
|
|
@@ -145658,7 +145646,7 @@ var demoFunc18 = /* @__PURE__ */ __name(() => b2`
|
|
|
145658
145646
|
]}
|
|
145659
145647
|
.selectedOption=${{ option: "Cannot Select", key: "disabled" }}
|
|
145660
145648
|
></dees-input-dropdown>
|
|
145661
|
-
</
|
|
145649
|
+
</dees-form>
|
|
145662
145650
|
</dees-panel>
|
|
145663
145651
|
</dees-demowrapper>
|
|
145664
145652
|
|
|
@@ -146431,41 +146419,43 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146431
146419
|
.title=${"Modern file uploader"}
|
|
146432
146420
|
.subtitle=${"Shadcn-inspired layout with drag & drop, previews and validation"}
|
|
146433
146421
|
>
|
|
146434
|
-
<
|
|
146435
|
-
<div class="demo-
|
|
146436
|
-
<
|
|
146437
|
-
|
|
146438
|
-
|
|
146439
|
-
|
|
146440
|
-
|
|
146441
|
-
|
|
146442
|
-
|
|
146443
|
-
|
|
146444
|
-
<dees-input-fileupload
|
|
146445
|
-
.label=${"Brand assets"}
|
|
146446
|
-
.infoText=${"Upload high-resolution imagery (JPG/PNG)"}
|
|
146447
|
-
.accept=${"image/jpeg,image/png"}
|
|
146448
|
-
.multiple=${false}
|
|
146449
|
-
.maxSize=${5 * 1024 * 1024}
|
|
146450
|
-
.buttonText=${"Select cover image"}
|
|
146451
|
-
></dees-input-fileupload>
|
|
146452
|
-
</div>
|
|
146422
|
+
<dees-form>
|
|
146423
|
+
<div class="demo-grid demo-grid--two">
|
|
146424
|
+
<div class="demo-stack">
|
|
146425
|
+
<dees-input-fileupload
|
|
146426
|
+
.label=${"Attachments"}
|
|
146427
|
+
.infoText=${"Upload supporting documents for your request"}
|
|
146428
|
+
.description=${"Accepted formats: images, PDF, and ZIP archives up to 10MB"}
|
|
146429
|
+
.accept=${"image/*,.pdf,.zip"}
|
|
146430
|
+
.maxSize=${10 * 1024 * 1024}
|
|
146431
|
+
></dees-input-fileupload>
|
|
146453
146432
|
|
|
146454
|
-
|
|
146455
|
-
|
|
146456
|
-
|
|
146457
|
-
|
|
146458
|
-
|
|
146459
|
-
|
|
146460
|
-
|
|
146461
|
-
|
|
146462
|
-
|
|
146463
|
-
|
|
146464
|
-
|
|
146465
|
-
|
|
146466
|
-
|
|
146433
|
+
<dees-input-fileupload
|
|
146434
|
+
.label=${"Brand assets"}
|
|
146435
|
+
.infoText=${"Upload high-resolution imagery (JPG/PNG)"}
|
|
146436
|
+
.accept=${"image/jpeg,image/png"}
|
|
146437
|
+
.multiple=${false}
|
|
146438
|
+
.maxSize=${5 * 1024 * 1024}
|
|
146439
|
+
.buttonText=${"Select cover image"}
|
|
146440
|
+
></dees-input-fileupload>
|
|
146441
|
+
</div>
|
|
146442
|
+
|
|
146443
|
+
<div class="demo-stack">
|
|
146444
|
+
<dees-input-fileupload
|
|
146445
|
+
.label=${"Audio uploads"}
|
|
146446
|
+
.infoText=${"Share podcast drafts (MP3/WAV, max 25MB each)"}
|
|
146447
|
+
.accept=${"audio/*"}
|
|
146448
|
+
.maxSize=${25 * 1024 * 1024}
|
|
146449
|
+
></dees-input-fileupload>
|
|
146450
|
+
|
|
146451
|
+
<dees-input-fileupload
|
|
146452
|
+
.label=${"Disabled example"}
|
|
146453
|
+
.infoText=${"Uploader is disabled while moderation is pending"}
|
|
146454
|
+
.disabled=${true}
|
|
146455
|
+
></dees-input-fileupload>
|
|
146456
|
+
</div>
|
|
146467
146457
|
</div>
|
|
146468
|
-
</
|
|
146458
|
+
</dees-form>
|
|
146469
146459
|
</dees-panel>
|
|
146470
146460
|
|
|
146471
146461
|
<dees-panel
|
|
@@ -146474,7 +146464,6 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146474
146464
|
>
|
|
146475
146465
|
<div class="demo-grid">
|
|
146476
146466
|
<dees-form>
|
|
146477
|
-
<div class="demo-stack">
|
|
146478
146467
|
<dees-input-text
|
|
146479
146468
|
.label=${"Project name"}
|
|
146480
146469
|
.infoText=${"How should we refer to this project internally?"}
|
|
@@ -146516,7 +146505,6 @@ var demoFunc19 = /* @__PURE__ */ __name(() => b2`
|
|
|
146516
146505
|
></dees-input-text>
|
|
146517
146506
|
|
|
146518
146507
|
<dees-form-submit .text=${"Submit briefing"}></dees-form-submit>
|
|
146519
|
-
</div>
|
|
146520
146508
|
</dees-form>
|
|
146521
146509
|
|
|
146522
146510
|
<div class="demo-note">
|
|
@@ -148758,12 +148746,6 @@ var demoFunc20 = /* @__PURE__ */ __name(() => b2`
|
|
|
148758
148746
|
margin: 0 auto;
|
|
148759
148747
|
}
|
|
148760
148748
|
|
|
148761
|
-
.input-group {
|
|
148762
|
-
display: flex;
|
|
148763
|
-
flex-direction: column;
|
|
148764
|
-
gap: 16px;
|
|
148765
|
-
}
|
|
148766
|
-
|
|
148767
148749
|
.payment-group {
|
|
148768
148750
|
display: flex;
|
|
148769
148751
|
align-items: center;
|
|
@@ -148775,7 +148757,7 @@ var demoFunc20 = /* @__PURE__ */ __name(() => b2`
|
|
|
148775
148757
|
|
|
148776
148758
|
<div class="demo-container">
|
|
148777
148759
|
<dees-panel .title=${"Basic IBAN Input"} .subtitle=${"International Bank Account Number with automatic formatting"}>
|
|
148778
|
-
<
|
|
148760
|
+
<dees-form>
|
|
148779
148761
|
<dees-input-iban
|
|
148780
148762
|
.label=${"Bank Account IBAN"}
|
|
148781
148763
|
.infoText=${"Enter your International Bank Account Number"}
|
|
@@ -148787,27 +148769,29 @@ var demoFunc20 = /* @__PURE__ */ __name(() => b2`
|
|
|
148787
148769
|
.infoText=${"This IBAN has been verified"}
|
|
148788
148770
|
.value=${"DE89370400440532013000"}
|
|
148789
148771
|
></dees-input-iban>
|
|
148790
|
-
</
|
|
148772
|
+
</dees-form>
|
|
148791
148773
|
</dees-panel>
|
|
148792
148774
|
|
|
148793
148775
|
<dees-panel .title=${"Payment Information"} .subtitle=${"IBAN input with horizontal layout for payment forms"}>
|
|
148794
|
-
<
|
|
148795
|
-
<
|
|
148796
|
-
|
|
148797
|
-
|
|
148798
|
-
|
|
148799
|
-
|
|
148800
|
-
|
|
148801
|
-
|
|
148802
|
-
|
|
148803
|
-
|
|
148804
|
-
|
|
148805
|
-
|
|
148806
|
-
|
|
148776
|
+
<dees-form>
|
|
148777
|
+
<div class="payment-group">
|
|
148778
|
+
<dees-input-text
|
|
148779
|
+
.label=${"Account Holder"}
|
|
148780
|
+
.layoutMode=${"horizontal"}
|
|
148781
|
+
.value=${"John Doe"}
|
|
148782
|
+
></dees-input-text>
|
|
148783
|
+
|
|
148784
|
+
<dees-input-iban
|
|
148785
|
+
.label=${"IBAN"}
|
|
148786
|
+
.layoutMode=${"horizontal"}
|
|
148787
|
+
.value=${"GB82WEST12345698765432"}
|
|
148788
|
+
></dees-input-iban>
|
|
148789
|
+
</div>
|
|
148790
|
+
</dees-form>
|
|
148807
148791
|
</dees-panel>
|
|
148808
148792
|
|
|
148809
148793
|
<dees-panel .title=${"Validation & States"} .subtitle=${"Required fields and disabled states"}>
|
|
148810
|
-
<
|
|
148794
|
+
<dees-form>
|
|
148811
148795
|
<dees-input-iban
|
|
148812
148796
|
.label=${"Payment Account"}
|
|
148813
148797
|
.infoText=${"Required for processing payments"}
|
|
@@ -148820,7 +148804,7 @@ var demoFunc20 = /* @__PURE__ */ __name(() => b2`
|
|
|
148820
148804
|
.value=${"FR1420041010050500013M02606"}
|
|
148821
148805
|
.disabled=${true}
|
|
148822
148806
|
></dees-input-iban>
|
|
148823
|
-
</
|
|
148807
|
+
</dees-form>
|
|
148824
148808
|
</dees-panel>
|
|
148825
148809
|
|
|
148826
148810
|
<dees-panel .title=${"Bank Transfer Form"} .subtitle=${"Complete form example with IBAN validation"}>
|
|
@@ -148984,81 +148968,83 @@ var demoFunc21 = /* @__PURE__ */ __name(() => b2`
|
|
|
148984
148968
|
<div class="section">
|
|
148985
148969
|
<div class="section-title">Multi-Option Toggle</div>
|
|
148986
148970
|
<div class="section-description">Select from multiple options with a smooth sliding indicator animation.</div>
|
|
148987
|
-
|
|
148988
|
-
<dees-
|
|
148989
|
-
|
|
148990
|
-
|
|
148991
|
-
|
|
148992
|
-
|
|
148993
|
-
|
|
148994
|
-
|
|
148995
|
-
|
|
148996
|
-
|
|
148997
|
-
|
|
148998
|
-
|
|
148999
|
-
|
|
149000
|
-
|
|
149001
|
-
|
|
149002
|
-
|
|
149003
|
-
|
|
148971
|
+
|
|
148972
|
+
<dees-form>
|
|
148973
|
+
<dees-input-multitoggle
|
|
148974
|
+
.label=${"Display Mode"}
|
|
148975
|
+
.infoText=${"Choose how content is displayed"}
|
|
148976
|
+
.description=${"This setting affects how items appear on your dashboard"}
|
|
148977
|
+
.options=${["List View", "Grid View", "Compact"]}
|
|
148978
|
+
.selectedOption=${"Grid View"}
|
|
148979
|
+
></dees-input-multitoggle>
|
|
148980
|
+
|
|
148981
|
+
<dees-input-multitoggle
|
|
148982
|
+
.label=${"T-Shirt Size"}
|
|
148983
|
+
.infoText=${"Select your preferred size"}
|
|
148984
|
+
.options=${["XS", "S", "M", "L", "XL", "XXL"]}
|
|
148985
|
+
.selectedOption=${"M"}
|
|
148986
|
+
></dees-input-multitoggle>
|
|
148987
|
+
</dees-form>
|
|
149004
148988
|
</div>
|
|
149005
148989
|
|
|
149006
148990
|
<div class="section">
|
|
149007
148991
|
<div class="section-title">Boolean Toggle</div>
|
|
149008
148992
|
<div class="section-description">Simple on/off switches with customizable labels for clearer context.</div>
|
|
149009
|
-
|
|
149010
|
-
<dees-
|
|
149011
|
-
.label=${"Notifications"}
|
|
149012
|
-
.infoText=${"Enable or disable push notifications"}
|
|
149013
|
-
.type=${"boolean"}
|
|
149014
|
-
.selectedOption=${"true"}
|
|
149015
|
-
></dees-input-multitoggle>
|
|
149016
|
-
|
|
149017
|
-
<br><br>
|
|
149018
|
-
|
|
149019
|
-
<dees-input-multitoggle
|
|
149020
|
-
.label=${"Theme Mode"}
|
|
149021
|
-
.infoText=${"Switch between light and dark theme"}
|
|
149022
|
-
.type=${"boolean"}
|
|
149023
|
-
.booleanTrueName=${"Dark"}
|
|
149024
|
-
.booleanFalseName=${"Light"}
|
|
149025
|
-
.selectedOption=${"Dark"}
|
|
149026
|
-
></dees-input-multitoggle>
|
|
149027
|
-
</div>
|
|
149028
|
-
|
|
149029
|
-
<div class="section">
|
|
149030
|
-
<div class="section-title">Settings Grid</div>
|
|
149031
|
-
<div class="section-description">Configuration options arranged in a responsive grid layout.</div>
|
|
149032
|
-
|
|
149033
|
-
<div class="settings-grid">
|
|
148993
|
+
|
|
148994
|
+
<dees-form>
|
|
149034
148995
|
<dees-input-multitoggle
|
|
149035
|
-
.label=${"
|
|
148996
|
+
.label=${"Notifications"}
|
|
148997
|
+
.infoText=${"Enable or disable push notifications"}
|
|
149036
148998
|
.type=${"boolean"}
|
|
149037
|
-
.
|
|
149038
|
-
.booleanFalseName=${"Disabled"}
|
|
149039
|
-
.selectedOption=${"Enabled"}
|
|
148999
|
+
.selectedOption=${"true"}
|
|
149040
149000
|
></dees-input-multitoggle>
|
|
149041
|
-
|
|
149042
|
-
<dees-input-multitoggle
|
|
149043
|
-
.label=${"Language"}
|
|
149044
|
-
.options=${["English", "German", "French", "Spanish"]}
|
|
149045
|
-
.selectedOption=${"English"}
|
|
149046
|
-
></dees-input-multitoggle>
|
|
149047
|
-
|
|
149048
|
-
<dees-input-multitoggle
|
|
149049
|
-
.label=${"Quality"}
|
|
149050
|
-
.options=${["Low", "Medium", "High", "Ultra"]}
|
|
149051
|
-
.selectedOption=${"High"}
|
|
149052
|
-
></dees-input-multitoggle>
|
|
149053
|
-
|
|
149001
|
+
|
|
149054
149002
|
<dees-input-multitoggle
|
|
149055
|
-
.label=${"
|
|
149003
|
+
.label=${"Theme Mode"}
|
|
149004
|
+
.infoText=${"Switch between light and dark theme"}
|
|
149056
149005
|
.type=${"boolean"}
|
|
149057
|
-
.booleanTrueName=${"
|
|
149058
|
-
.booleanFalseName=${"
|
|
149059
|
-
.selectedOption=${"
|
|
149006
|
+
.booleanTrueName=${"Dark"}
|
|
149007
|
+
.booleanFalseName=${"Light"}
|
|
149008
|
+
.selectedOption=${"Dark"}
|
|
149060
149009
|
></dees-input-multitoggle>
|
|
149061
|
-
</
|
|
149010
|
+
</dees-form>
|
|
149011
|
+
</div>
|
|
149012
|
+
|
|
149013
|
+
<div class="section">
|
|
149014
|
+
<div class="section-title">Settings Grid</div>
|
|
149015
|
+
<div class="section-description">Configuration options arranged in a responsive grid layout.</div>
|
|
149016
|
+
|
|
149017
|
+
<dees-form>
|
|
149018
|
+
<div class="settings-grid">
|
|
149019
|
+
<dees-input-multitoggle
|
|
149020
|
+
.label=${"Auto-Save"}
|
|
149021
|
+
.type=${"boolean"}
|
|
149022
|
+
.booleanTrueName=${"Enabled"}
|
|
149023
|
+
.booleanFalseName=${"Disabled"}
|
|
149024
|
+
.selectedOption=${"Enabled"}
|
|
149025
|
+
></dees-input-multitoggle>
|
|
149026
|
+
|
|
149027
|
+
<dees-input-multitoggle
|
|
149028
|
+
.label=${"Language"}
|
|
149029
|
+
.options=${["English", "German", "French", "Spanish"]}
|
|
149030
|
+
.selectedOption=${"English"}
|
|
149031
|
+
></dees-input-multitoggle>
|
|
149032
|
+
|
|
149033
|
+
<dees-input-multitoggle
|
|
149034
|
+
.label=${"Quality"}
|
|
149035
|
+
.options=${["Low", "Medium", "High", "Ultra"]}
|
|
149036
|
+
.selectedOption=${"High"}
|
|
149037
|
+
></dees-input-multitoggle>
|
|
149038
|
+
|
|
149039
|
+
<dees-input-multitoggle
|
|
149040
|
+
.label=${"Privacy"}
|
|
149041
|
+
.type=${"boolean"}
|
|
149042
|
+
.booleanTrueName=${"Private"}
|
|
149043
|
+
.booleanFalseName=${"Public"}
|
|
149044
|
+
.selectedOption=${"Private"}
|
|
149045
|
+
></dees-input-multitoggle>
|
|
149046
|
+
</div>
|
|
149047
|
+
</dees-form>
|
|
149062
149048
|
</div>
|
|
149063
149049
|
|
|
149064
149050
|
<div class="section">
|
|
@@ -149337,12 +149323,6 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149337
149323
|
margin: 0 auto;
|
|
149338
149324
|
}
|
|
149339
149325
|
|
|
149340
|
-
.input-group {
|
|
149341
|
-
display: flex;
|
|
149342
|
-
flex-direction: column;
|
|
149343
|
-
gap: 16px;
|
|
149344
|
-
}
|
|
149345
|
-
|
|
149346
149326
|
.horizontal-group {
|
|
149347
149327
|
display: flex;
|
|
149348
149328
|
align-items: center;
|
|
@@ -149354,7 +149334,7 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149354
149334
|
|
|
149355
149335
|
<div class="demo-container">
|
|
149356
149336
|
<dees-panel .title=${"Basic Phone Input"} .subtitle=${"Automatic formatting for phone numbers"}>
|
|
149357
|
-
<
|
|
149337
|
+
<dees-form>
|
|
149358
149338
|
<dees-input-phone
|
|
149359
149339
|
.label=${"Phone Number"}
|
|
149360
149340
|
.infoText=${"Enter your phone number with country code"}
|
|
@@ -149368,27 +149348,29 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149368
149348
|
.required=${true}
|
|
149369
149349
|
.placeholder=${"+1 (555) 000-0000"}
|
|
149370
149350
|
></dees-input-phone>
|
|
149371
|
-
</
|
|
149351
|
+
</dees-form>
|
|
149372
149352
|
</dees-panel>
|
|
149373
149353
|
|
|
149374
149354
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Phone inputs arranged horizontally"}>
|
|
149375
|
-
<
|
|
149376
|
-
<
|
|
149377
|
-
|
|
149378
|
-
|
|
149379
|
-
|
|
149380
|
-
|
|
149381
|
-
|
|
149382
|
-
|
|
149383
|
-
|
|
149384
|
-
|
|
149385
|
-
|
|
149386
|
-
|
|
149387
|
-
|
|
149355
|
+
<dees-form>
|
|
149356
|
+
<div class="horizontal-group">
|
|
149357
|
+
<dees-input-phone
|
|
149358
|
+
.label=${"Mobile"}
|
|
149359
|
+
.layoutMode=${"horizontal"}
|
|
149360
|
+
.value=${"4155551234"}
|
|
149361
|
+
></dees-input-phone>
|
|
149362
|
+
|
|
149363
|
+
<dees-input-phone
|
|
149364
|
+
.label=${"Office"}
|
|
149365
|
+
.layoutMode=${"horizontal"}
|
|
149366
|
+
.placeholder=${"+1 (800) 555-0000"}
|
|
149367
|
+
></dees-input-phone>
|
|
149368
|
+
</div>
|
|
149369
|
+
</dees-form>
|
|
149388
149370
|
</dees-panel>
|
|
149389
149371
|
|
|
149390
149372
|
<dees-panel .title=${"International Numbers"} .subtitle=${"Supports formatting for numbers with country codes"}>
|
|
149391
|
-
<
|
|
149373
|
+
<dees-form>
|
|
149392
149374
|
<dees-input-phone
|
|
149393
149375
|
.label=${"International Contact"}
|
|
149394
149376
|
.infoText=${"Automatically formats international numbers"}
|
|
@@ -149400,7 +149382,7 @@ var demoFunc22 = /* @__PURE__ */ __name(() => b2`
|
|
|
149400
149382
|
.value=${"911"}
|
|
149401
149383
|
.disabled=${true}
|
|
149402
149384
|
></dees-input-phone>
|
|
149403
|
-
</
|
|
149385
|
+
</dees-form>
|
|
149404
149386
|
</dees-panel>
|
|
149405
149387
|
|
|
149406
149388
|
<dees-panel .title=${"Form Integration"} .subtitle=${"Phone input as part of a contact form"}>
|
|
@@ -149632,7 +149614,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149632
149614
|
|
|
149633
149615
|
<div class="demo-container">
|
|
149634
149616
|
<dees-panel .title=${"Basic Toggle"} .subtitle=${"Simple on/off toggle switch with drag support"}>
|
|
149635
|
-
<
|
|
149617
|
+
<dees-form>
|
|
149636
149618
|
<dees-input-toggle
|
|
149637
149619
|
.label=${"Enable feature"}
|
|
149638
149620
|
.value=${false}
|
|
@@ -149651,12 +149633,12 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149651
149633
|
.description=${"This toggle has additional helper text explaining its purpose"}
|
|
149652
149634
|
.key=${"withDesc"}
|
|
149653
149635
|
></dees-input-toggle>
|
|
149654
|
-
</
|
|
149636
|
+
</dees-form>
|
|
149655
149637
|
<p class="drag-hint">Tip: You can drag the toggle knob to switch states</p>
|
|
149656
149638
|
</dees-panel>
|
|
149657
149639
|
|
|
149658
149640
|
<dees-panel .title=${"Toggle States"} .subtitle=${"Different toggle states and configurations"}>
|
|
149659
|
-
<
|
|
149641
|
+
<dees-form>
|
|
149660
149642
|
<dees-input-toggle
|
|
149661
149643
|
.label=${"Default (off)"}
|
|
149662
149644
|
.value=${false}
|
|
@@ -149685,42 +149667,44 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149685
149667
|
.required=${true}
|
|
149686
149668
|
.description=${"This toggle cannot be turned off"}
|
|
149687
149669
|
></dees-input-toggle>
|
|
149688
|
-
</
|
|
149670
|
+
</dees-form>
|
|
149689
149671
|
</dees-panel>
|
|
149690
149672
|
|
|
149691
149673
|
<dees-panel .title=${"Horizontal Layout"} .subtitle=${"Toggles arranged horizontally for compact interfaces"}>
|
|
149692
|
-
<
|
|
149693
|
-
<
|
|
149694
|
-
|
|
149695
|
-
|
|
149696
|
-
|
|
149697
|
-
|
|
149674
|
+
<dees-form>
|
|
149675
|
+
<div class="horizontal-toggles">
|
|
149676
|
+
<dees-input-toggle
|
|
149677
|
+
.label=${"WiFi"}
|
|
149678
|
+
.value=${true}
|
|
149679
|
+
.layoutMode=${"horizontal"}
|
|
149680
|
+
></dees-input-toggle>
|
|
149698
149681
|
|
|
149699
|
-
|
|
149700
|
-
|
|
149701
|
-
|
|
149702
|
-
|
|
149703
|
-
|
|
149682
|
+
<dees-input-toggle
|
|
149683
|
+
.label=${"Bluetooth"}
|
|
149684
|
+
.value=${false}
|
|
149685
|
+
.layoutMode=${"horizontal"}
|
|
149686
|
+
></dees-input-toggle>
|
|
149704
149687
|
|
|
149705
|
-
|
|
149706
|
-
|
|
149707
|
-
|
|
149708
|
-
|
|
149709
|
-
|
|
149688
|
+
<dees-input-toggle
|
|
149689
|
+
.label=${"GPS"}
|
|
149690
|
+
.value=${true}
|
|
149691
|
+
.layoutMode=${"horizontal"}
|
|
149692
|
+
></dees-input-toggle>
|
|
149710
149693
|
|
|
149711
|
-
|
|
149712
|
-
|
|
149713
|
-
|
|
149714
|
-
|
|
149715
|
-
|
|
149716
|
-
|
|
149694
|
+
<dees-input-toggle
|
|
149695
|
+
.label=${"NFC"}
|
|
149696
|
+
.value=${false}
|
|
149697
|
+
.layoutMode=${"horizontal"}
|
|
149698
|
+
></dees-input-toggle>
|
|
149699
|
+
</div>
|
|
149700
|
+
</dees-form>
|
|
149717
149701
|
</dees-panel>
|
|
149718
149702
|
|
|
149719
149703
|
<dees-panel .title=${"Settings Example"} .subtitle=${"Toggles in a typical settings context"}>
|
|
149720
149704
|
<div class="settings-section">
|
|
149721
149705
|
<h4 class="section-title">Notification Settings</h4>
|
|
149722
149706
|
|
|
149723
|
-
<
|
|
149707
|
+
<dees-form>
|
|
149724
149708
|
<dees-input-toggle
|
|
149725
149709
|
.label=${"Push notifications"}
|
|
149726
149710
|
.value=${true}
|
|
@@ -149748,7 +149732,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149748
149732
|
.description=${"Vibrate for notifications"}
|
|
149749
149733
|
.key=${"vibration"}
|
|
149750
149734
|
></dees-input-toggle>
|
|
149751
|
-
</
|
|
149735
|
+
</dees-form>
|
|
149752
149736
|
</div>
|
|
149753
149737
|
</dees-panel>
|
|
149754
149738
|
|
|
@@ -149759,7 +149743,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149759
149743
|
</div>
|
|
149760
149744
|
|
|
149761
149745
|
<div class="feature-toggles">
|
|
149762
|
-
<
|
|
149746
|
+
<dees-form>
|
|
149763
149747
|
<dees-input-toggle
|
|
149764
149748
|
.label=${"Dark Mode"}
|
|
149765
149749
|
.value=${true}
|
|
@@ -149789,12 +149773,12 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149789
149773
|
.value=${false}
|
|
149790
149774
|
.key=${"beta"}
|
|
149791
149775
|
></dees-input-toggle>
|
|
149792
|
-
</
|
|
149776
|
+
</dees-form>
|
|
149793
149777
|
</div>
|
|
149794
149778
|
</dees-panel>
|
|
149795
149779
|
|
|
149796
149780
|
<dees-panel .title=${"Interactive Example"} .subtitle=${"Toggle to see value changes in real-time"}>
|
|
149797
|
-
<
|
|
149781
|
+
<dees-form>
|
|
149798
149782
|
<dees-input-toggle
|
|
149799
149783
|
.label=${"Airplane mode"}
|
|
149800
149784
|
.value=${false}
|
|
@@ -149816,7 +149800,7 @@ var demoFunc23 = /* @__PURE__ */ __name(() => b2`
|
|
|
149816
149800
|
}
|
|
149817
149801
|
}}
|
|
149818
149802
|
></dees-input-toggle>
|
|
149819
|
-
</
|
|
149803
|
+
</dees-form>
|
|
149820
149804
|
|
|
149821
149805
|
<div class="interactive-section">
|
|
149822
149806
|
<div id="airplane-output" class="output-text">Airplane mode: OFF</div>
|
|
@@ -150161,12 +150145,6 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150161
150145
|
margin: 0 auto;
|
|
150162
150146
|
}
|
|
150163
150147
|
|
|
150164
|
-
.input-group {
|
|
150165
|
-
display: flex;
|
|
150166
|
-
flex-direction: column;
|
|
150167
|
-
gap: 16px;
|
|
150168
|
-
}
|
|
150169
|
-
|
|
150170
150148
|
.horizontal-group {
|
|
150171
150149
|
display: flex;
|
|
150172
150150
|
gap: 24px;
|
|
@@ -150193,7 +150171,7 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150193
150171
|
|
|
150194
150172
|
<div class="demo-container">
|
|
150195
150173
|
<dees-panel .title=${"Basic Type List"} .subtitle=${"Add and remove items from a list"}>
|
|
150196
|
-
<
|
|
150174
|
+
<dees-form>
|
|
150197
150175
|
<dees-input-typelist
|
|
150198
150176
|
.label=${"Tags"}
|
|
150199
150177
|
.infoText=${"Add tags by typing and pressing Enter"}
|
|
@@ -150206,11 +150184,11 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150206
150184
|
.infoText=${"Add email addresses of team members"}
|
|
150207
150185
|
.value=${["alice@example.com", "bob@example.com"]}
|
|
150208
150186
|
></dees-input-typelist>
|
|
150209
|
-
</
|
|
150187
|
+
</dees-form>
|
|
150210
150188
|
</dees-panel>
|
|
150211
150189
|
|
|
150212
150190
|
<dees-panel .title=${"Skills & Keywords"} .subtitle=${"Manage lists of skills and keywords"}>
|
|
150213
|
-
<
|
|
150191
|
+
<dees-form>
|
|
150214
150192
|
<dees-input-typelist
|
|
150215
150193
|
.label=${"Your Skills"}
|
|
150216
150194
|
.infoText=${"List your professional skills"}
|
|
@@ -150218,23 +150196,23 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150218
150196
|
></dees-input-typelist>
|
|
150219
150197
|
|
|
150220
150198
|
<div class="horizontal-group">
|
|
150221
|
-
|
|
150222
|
-
|
|
150223
|
-
|
|
150224
|
-
|
|
150225
|
-
|
|
150226
|
-
|
|
150227
|
-
|
|
150228
|
-
|
|
150229
|
-
|
|
150230
|
-
|
|
150231
|
-
|
|
150232
|
-
|
|
150233
|
-
</
|
|
150199
|
+
<dees-input-typelist
|
|
150200
|
+
.label=${"Categories"}
|
|
150201
|
+
.layoutMode=${"horizontal"}
|
|
150202
|
+
.value=${["Technology", "Design", "Business"]}
|
|
150203
|
+
></dees-input-typelist>
|
|
150204
|
+
|
|
150205
|
+
<dees-input-typelist
|
|
150206
|
+
.label=${"Keywords"}
|
|
150207
|
+
.layoutMode=${"horizontal"}
|
|
150208
|
+
.value=${["innovation", "startup", "growth"]}
|
|
150209
|
+
></dees-input-typelist>
|
|
150210
|
+
</div>
|
|
150211
|
+
</dees-form>
|
|
150234
150212
|
</dees-panel>
|
|
150235
150213
|
|
|
150236
150214
|
<dees-panel .title=${"Required & Disabled States"} .subtitle=${"Different input states for validation"}>
|
|
150237
|
-
<
|
|
150215
|
+
<dees-form>
|
|
150238
150216
|
<dees-input-typelist
|
|
150239
150217
|
.label=${"Project Dependencies"}
|
|
150240
150218
|
.infoText=${"List all required npm packages"}
|
|
@@ -150248,7 +150226,7 @@ var demoFunc24 = /* @__PURE__ */ __name(() => b2`
|
|
|
150248
150226
|
.disabled=${true}
|
|
150249
150227
|
.value=${["system", "protected", "readonly"]}
|
|
150250
150228
|
></dees-input-typelist>
|
|
150251
|
-
</
|
|
150229
|
+
</dees-form>
|
|
150252
150230
|
</dees-panel>
|
|
150253
150231
|
|
|
150254
150232
|
<dees-panel .title=${"Article Publishing Form"} .subtitle=${"Complete form with tag management"}>
|
|
@@ -150484,7 +150462,7 @@ var DeesInputTypelist = _DeesInputTypelist;
|
|
|
150484
150462
|
// ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.ts
|
|
150485
150463
|
init_dist_ts30();
|
|
150486
150464
|
var _a34;
|
|
150487
|
-
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
|
|
150465
|
+
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=", `
|
|
150488
150466
|
></dees-input-tags>
|
|
150489
150467
|
|
|
150490
150468
|
<div class="tag-preview" id="tags-preview">
|
|
@@ -151173,25 +151151,27 @@ var demoFunc26 = /* @__PURE__ */ __name(() => b2`
|
|
|
151173
151151
|
</dees-panel>
|
|
151174
151152
|
|
|
151175
151153
|
<dees-panel .title=${"3. Validation & Constraints"} .subtitle=${"Lists with minimum/maximum items and duplicate prevention"}>
|
|
151176
|
-
<
|
|
151177
|
-
<
|
|
151178
|
-
|
|
151179
|
-
|
|
151180
|
-
|
|
151181
|
-
|
|
151182
|
-
|
|
151183
|
-
|
|
151184
|
-
|
|
151185
|
-
|
|
151186
|
-
|
|
151187
|
-
|
|
151188
|
-
|
|
151189
|
-
|
|
151190
|
-
|
|
151191
|
-
|
|
151192
|
-
|
|
151193
|
-
|
|
151194
|
-
|
|
151154
|
+
<dees-form>
|
|
151155
|
+
<div class="grid-layout">
|
|
151156
|
+
<dees-input-list
|
|
151157
|
+
.label=${"Team Members (Min 2, Max 5)"}
|
|
151158
|
+
.placeholder=${"Add team member..."}
|
|
151159
|
+
.minItems=${2}
|
|
151160
|
+
.maxItems=${5}
|
|
151161
|
+
.value=${["Alice", "Bob"]}
|
|
151162
|
+
.required=${true}
|
|
151163
|
+
.description=${"Add 2-5 team members"}
|
|
151164
|
+
></dees-input-list>
|
|
151165
|
+
|
|
151166
|
+
<dees-input-list
|
|
151167
|
+
.label=${"Unique Tags (No Duplicates)"}
|
|
151168
|
+
.placeholder=${"Add unique tag..."}
|
|
151169
|
+
.allowDuplicates=${false}
|
|
151170
|
+
.value=${["frontend", "backend", "database"]}
|
|
151171
|
+
.description=${"Duplicate items are not allowed"}
|
|
151172
|
+
></dees-input-list>
|
|
151173
|
+
</div>
|
|
151174
|
+
</dees-form>
|
|
151195
151175
|
</dees-panel>
|
|
151196
151176
|
|
|
151197
151177
|
<dees-panel .title=${"4. Delete Confirmation"} .subtitle=${"Require confirmation before deleting items"}>
|
|
@@ -164592,11 +164572,44 @@ var tableStyles = [
|
|
|
164592
164572
|
100% { color: var(--dees-color-text-primary); }
|
|
164593
164573
|
}
|
|
164594
164574
|
|
|
164575
|
+
/* Border/background flash variant for cells with styled content
|
|
164576
|
+
(badges, icons, custom components) where a text-color animation
|
|
164577
|
+
would be invisible. Activated via flashBorder on Column. */
|
|
164578
|
+
.innerCellContainer.flashing-border {
|
|
164579
|
+
animation: dees-table-cell-flash-border
|
|
164580
|
+
var(--dees-table-flash-duration, 900ms)
|
|
164581
|
+
var(--dees-table-flash-easing);
|
|
164582
|
+
border-radius: 3px;
|
|
164583
|
+
}
|
|
164584
|
+
|
|
164585
|
+
@keyframes dees-table-cell-flash-border {
|
|
164586
|
+
0%,
|
|
164587
|
+
35% {
|
|
164588
|
+
box-shadow: inset 0 0 0 1.5px var(--dees-table-flash-color);
|
|
164589
|
+
background: ${cssManager.bdTheme(
|
|
164590
|
+
"hsl(45 93% 62% / 0.10)",
|
|
164591
|
+
"hsl(45 93% 62% / 0.08)"
|
|
164592
|
+
)};
|
|
164593
|
+
}
|
|
164594
|
+
100% {
|
|
164595
|
+
box-shadow: inset 0 0 0 1.5px transparent;
|
|
164596
|
+
background: transparent;
|
|
164597
|
+
}
|
|
164598
|
+
}
|
|
164599
|
+
|
|
164595
164600
|
@media (prefers-reduced-motion: reduce) {
|
|
164596
164601
|
.innerCellContainer.flashing {
|
|
164597
164602
|
animation: none;
|
|
164598
164603
|
color: var(--dees-table-flash-color);
|
|
164599
164604
|
}
|
|
164605
|
+
.innerCellContainer.flashing-border {
|
|
164606
|
+
animation: none;
|
|
164607
|
+
box-shadow: inset 0 0 0 1.5px var(--dees-table-flash-color);
|
|
164608
|
+
background: ${cssManager.bdTheme(
|
|
164609
|
+
"hsl(45 93% 62% / 0.10)",
|
|
164610
|
+
"hsl(45 93% 62% / 0.08)"
|
|
164611
|
+
)};
|
|
164612
|
+
}
|
|
164600
164613
|
}
|
|
164601
164614
|
|
|
164602
164615
|
/* Dev-time warning banner shown when highlight-updates="flash" but
|
|
@@ -165537,13 +165550,15 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
165537
165550
|
const isFocused = this.__focusedCell?.rowId === rowId && this.__focusedCell?.colKey === editKey;
|
|
165538
165551
|
const isEditing = this.__editingCell?.rowId === rowId && this.__editingCell?.colKey === editKey;
|
|
165539
165552
|
const isFlashing = !!flashSet?.has(editKey);
|
|
165553
|
+
const useFlashBorder = isFlashing && !!col.flashBorder;
|
|
165540
165554
|
const cellClasses = [
|
|
165541
165555
|
isEditable ? "editable" : "",
|
|
165542
165556
|
isFocused && !isEditing ? "focused" : "",
|
|
165543
165557
|
isEditing ? "editingCell" : ""
|
|
165544
165558
|
].filter(Boolean).join(" ");
|
|
165559
|
+
const flashClass = isFlashing ? useFlashBorder ? "innerCellContainer flashing-border" : "innerCellContainer flashing" : "innerCellContainer";
|
|
165545
165560
|
const innerHtml = b2`<div
|
|
165546
|
-
class=${
|
|
165561
|
+
class=${flashClass}
|
|
165547
165562
|
>
|
|
165548
165563
|
${isEditing ? this.renderCellEditor(itemArg, col) : content3}
|
|
165549
165564
|
</div>`;
|
|
@@ -166075,6 +166090,7 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
166075
166090
|
if (!changedProperties.has("data")) return;
|
|
166076
166091
|
const effectiveColumns = this.__getEffectiveColumns();
|
|
166077
166092
|
const visibleCols = effectiveColumns.filter((c11) => !c11.hidden);
|
|
166093
|
+
const colByKey = new Map(visibleCols.map((c11) => [String(c11.key), c11]));
|
|
166078
166094
|
const nextSnapshot = /* @__PURE__ */ new Map();
|
|
166079
166095
|
const newlyFlashing = /* @__PURE__ */ new Map();
|
|
166080
166096
|
for (const row of this.data) {
|
|
@@ -166087,7 +166103,17 @@ var _DeesTable = class _DeesTable extends (_a42 = DeesElement, _heading1_dec = [
|
|
|
166087
166103
|
const prevCells = this.__prevSnapshot?.get(rowId);
|
|
166088
166104
|
if (!prevCells) continue;
|
|
166089
166105
|
for (const [colKey, nextVal] of cellMap) {
|
|
166090
|
-
|
|
166106
|
+
const prevVal = prevCells.get(colKey);
|
|
166107
|
+
const colDef = colByKey.get(colKey);
|
|
166108
|
+
let changed;
|
|
166109
|
+
if (colDef?.flashCompare) {
|
|
166110
|
+
changed = colDef.flashCompare(prevVal, nextVal);
|
|
166111
|
+
} else if (nextVal !== null && nextVal !== void 0 && typeof nextVal === "object") {
|
|
166112
|
+
changed = false;
|
|
166113
|
+
} else {
|
|
166114
|
+
changed = prevVal !== nextVal;
|
|
166115
|
+
}
|
|
166116
|
+
if (changed) {
|
|
166091
166117
|
if (this.__editingCell && this.__editingCell.rowId === rowId && this.__editingCell.colKey === colKey) continue;
|
|
166092
166118
|
let set3 = newlyFlashing.get(rowId);
|
|
166093
166119
|
if (!set3) {
|
|
@@ -201426,7 +201452,7 @@ init_group_runtime();
|
|
|
201426
201452
|
// ts_web/00_commitinfo_data.ts
|
|
201427
201453
|
var commitinfo = {
|
|
201428
201454
|
name: "@design.estate/dees-catalog",
|
|
201429
|
-
version: "3.
|
|
201455
|
+
version: "3.77.0",
|
|
201430
201456
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
201431
201457
|
};
|
|
201432
201458
|
export {
|
|
@@ -203391,4 +203417,4 @@ ibantools/jsnext/ibantools.js:
|
|
|
203391
203417
|
* @preferred
|
|
203392
203418
|
*)
|
|
203393
203419
|
*/
|
|
203394
|
-
//# sourceMappingURL=bundle-
|
|
203420
|
+
//# sourceMappingURL=bundle-1776025100805.js.map
|