comand-component-library 3.1.66 → 3.1.69
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +2 -2
- package/src/App.vue +152 -114
- package/src/assets/data/box-user.json +0 -8
- package/src/assets/data/tabs.json +6 -3
- package/src/assets/styles/global-styles.scss +30 -48
- package/src/components/CmdBackToTopButton.vue +1 -1
- package/src/components/CmdBox.vue +40 -24
- package/src/components/CmdBoxSiteSearch.vue +228 -46
- package/src/components/CmdCompanyLogo.vue +38 -13
- package/src/components/CmdCookieDisclaimer.vue +0 -17
- package/src/components/CmdCustomHeadline.vue +4 -4
- package/src/components/CmdFakeSelect.vue +17 -7
- package/src/components/CmdFormElement.vue +110 -77
- package/src/components/CmdFormFilters.vue +1 -1
- package/src/components/CmdInputGroup.vue +47 -0
- package/src/components/CmdListOfLinks.vue +6 -4
- package/src/components/CmdLoginForm.vue +7 -5
- package/src/components/CmdMultipleSwitch.vue +14 -2
- package/src/components/CmdMultistepFormProgressBar.vue +3 -3
- package/src/components/CmdProgressBar.vue +1 -0
- package/src/components/CmdSiteHeader.vue +15 -4
- package/src/components/CmdTabs.vue +4 -4
- package/src/components/CmdThumbnailScroller.vue +1 -1
- package/src/components/CmdToggleDarkMode.vue +66 -0
- package/src/components/CmdUploadForm.vue +5 -6
- package/src/index.js +0 -1
- package/src/mixins/FieldValidation.js +1 -1
- package/src/utils/common.js +10 -1
- package/src/components/CmdSwitchButton.vue +0 -181
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "comand-component-library",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.69",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vue-cli-service serve",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
],
|
19
19
|
"dependencies": {
|
20
20
|
"clickout-event": "^1.1.2",
|
21
|
-
"comand-frontend-framework": "^3.2.
|
21
|
+
"comand-frontend-framework": "^3.2.53",
|
22
22
|
"core-js": "^3.20.1",
|
23
23
|
"prismjs": "^1.27.0",
|
24
24
|
"vue": "^3.2.31",
|
package/src/App.vue
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
<template>
|
3
3
|
<a id="anchor-back-to-top"></a>
|
4
4
|
<CmdSiteHeader :cmdMainNavigation="navigationData" :sticky="true">
|
5
|
+
<template v-slot:top-header>
|
6
|
+
<CmdListOfLinks
|
7
|
+
:links="listOfLinksData"
|
8
|
+
orientation="horizontal"
|
9
|
+
align="right"
|
10
|
+
/>
|
11
|
+
</template>
|
5
12
|
<template v-slot:logo>
|
6
13
|
<CmdCompanyLogo :link="companyLogoData.link"
|
7
14
|
altText="CoManD Logo"
|
@@ -77,6 +84,7 @@
|
|
77
84
|
<fieldset class="grid-container-create-columns">
|
78
85
|
<legend>Legend</legend>
|
79
86
|
<h2>Form Element-Component</h2>
|
87
|
+
<CmdToggleDarkMode :showLabel="true" />
|
80
88
|
<div class="flex-container">
|
81
89
|
<CmdFormElement labelText="Input (type text):"
|
82
90
|
element="input"
|
@@ -102,6 +110,23 @@
|
|
102
110
|
tooltipText="This is a tooltip"
|
103
111
|
/>
|
104
112
|
</div>
|
113
|
+
<CmdFormElement labelText="Input (type search (without search-button)):"
|
114
|
+
element="input"
|
115
|
+
type="search"
|
116
|
+
:status="formElementStatus"
|
117
|
+
:showSearchButton="false"
|
118
|
+
placeholder="Search"
|
119
|
+
tooltipText="This is a tooltip"
|
120
|
+
v-bind="{useCustomTooltip: false}"
|
121
|
+
/>
|
122
|
+
<CmdFormElement labelText="Input (type search (with search-button)):"
|
123
|
+
element="input"
|
124
|
+
type="search"
|
125
|
+
:status="formElementStatus"
|
126
|
+
placeholder="Search"
|
127
|
+
tooltipText="This is a tooltip"
|
128
|
+
v-bind="{useCustomTooltip: false}"
|
129
|
+
/>
|
105
130
|
<h2>Fake Selects</h2>
|
106
131
|
<div class="flex-container">
|
107
132
|
<!-- type === default: normal selectbox (with optional icons) -->
|
@@ -178,111 +203,59 @@
|
|
178
203
|
<label for="range-slider" :class="formElementStatus">
|
179
204
|
<span>Single-Slider (with in- and output):</span>
|
180
205
|
<span class="flex-container no-flex">
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
206
|
+
<input
|
207
|
+
type="number"
|
208
|
+
:class="formElementStatus"
|
209
|
+
v-model="rangeValue"
|
210
|
+
:disabled="formElementStatus === 'disabled'"
|
211
|
+
min="0"
|
212
|
+
max="100"
|
213
|
+
/>
|
214
|
+
<input
|
215
|
+
type="range"
|
216
|
+
class="range-slider"
|
217
|
+
:class="{'disabled': formElementStatus === 'disabled'}"
|
218
|
+
id="range-slider"
|
219
|
+
v-model="rangeValue"
|
220
|
+
:disabled="formElementStatus === 'disabled'"
|
221
|
+
min="0"
|
222
|
+
max="100"
|
223
|
+
/>
|
191
224
|
</span>
|
192
225
|
</label>
|
193
226
|
<!-- end slider -->
|
194
227
|
|
195
228
|
<hr/>
|
196
229
|
|
197
|
-
|
198
|
-
<
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
inputValue="checkbox2"
|
219
|
-
:disabled="formElementStatus === 'disabled'"
|
220
|
-
v-model="switchButtonCheckbox"/>
|
221
|
-
<CmdSwitchButton
|
222
|
-
type="checkbox"
|
223
|
-
id="checkbox3"
|
224
|
-
name="checkbox3"
|
225
|
-
inputValue="checkbox3"
|
226
|
-
labelText="Labeltext"
|
227
|
-
:disabled="formElementStatus === 'disabled'"
|
228
|
-
v-model="switchButtonCheckbox"/>
|
229
|
-
</span>
|
230
|
-
<span>Current value: {{ switchButtonCheckbox }}</span>
|
231
|
-
</div>
|
232
|
-
<!-- end toggle-switch-radio with switch-label -->
|
233
|
-
|
234
|
-
<div class="label inline">
|
235
|
-
<span>Label for Toggle-Switch-Checkbox with Switch-Label (colored):</span>
|
236
|
-
<span class="flex-container no-flex">
|
237
|
-
<CmdSwitchButton
|
238
|
-
type="checkbox"
|
239
|
-
id="checkbox4"
|
240
|
-
name="checkbox4"
|
241
|
-
onLabel="Label on"
|
242
|
-
offLabel="Label off"
|
243
|
-
:colored="true"
|
244
|
-
inputValue="checkbox3"
|
245
|
-
:disabled="formElementStatus === 'disabled'"
|
246
|
-
v-model="switchButtonCheckboxColored"/>
|
247
|
-
</span>
|
248
|
-
<span>Current value: {{ switchButtonCheckboxColored }}</span>
|
249
|
-
</div>
|
250
|
-
<!-- end toggle-switch-radio with switch-label -->
|
230
|
+
<h2>Group of checkboxes with CmdInputGroup</h2>
|
231
|
+
<CmdInputGroup label-text="Group-label:" :label-inline="true">
|
232
|
+
<CmdFormElement
|
233
|
+
element="input"
|
234
|
+
type="checkbox"
|
235
|
+
id="input-group-checkbox"
|
236
|
+
labelText="Checkbox-label #1"
|
237
|
+
/>
|
238
|
+
<CmdFormElement
|
239
|
+
element="input"
|
240
|
+
type="checkbox"
|
241
|
+
id="input-group-checkbox"
|
242
|
+
labelText="Checkbox-label #2"
|
243
|
+
/>
|
244
|
+
<CmdFormElement
|
245
|
+
element="input"
|
246
|
+
type="checkbox"
|
247
|
+
id="input-group-checkbox"
|
248
|
+
labelText="Checkbox-label #3"
|
249
|
+
/>
|
250
|
+
</CmdInputGroup>
|
251
251
|
|
252
252
|
<!-- begin toggle-switch-radio with switch-label (colored) -->
|
253
|
-
<
|
254
|
-
<span>Label for Toggle-Switch-Radio with Switch-Label (colored):</span>
|
255
|
-
<span class="flex-container no-flex">
|
256
|
-
<CmdSwitchButton
|
257
|
-
type="radio"
|
258
|
-
id="radio1"
|
259
|
-
name="radiogroup"
|
260
|
-
onLabel="Label on"
|
261
|
-
offLabel="Label off"
|
262
|
-
:colored="true"
|
263
|
-
inputValue="radio1"
|
264
|
-
:disabled="formElementStatus === 'disabled'"
|
265
|
-
v-model="switchButtonRadio"/>
|
266
|
-
<CmdSwitchButton
|
267
|
-
type="radio"
|
268
|
-
id="radio2"
|
269
|
-
name="radiogroup"
|
270
|
-
onLabel="Label on"
|
271
|
-
offLabel="Label off"
|
272
|
-
:colored="true"
|
273
|
-
inputValue="radio2"
|
274
|
-
:disabled="formElementStatus === 'disabled'"
|
275
|
-
v-model="switchButtonRadio"/>
|
276
|
-
</span>
|
277
|
-
</div>
|
278
|
-
<hr />
|
279
|
-
<h3>Toggle Switches with CmdFormElement</h3>
|
253
|
+
<h2>Toggle Switches with CmdFormElement</h2>
|
280
254
|
<CmdFormElement element="input"
|
281
255
|
type="checkbox"
|
282
256
|
id="toggle-switch-checkbox"
|
283
257
|
v-model="switchButtonCheckbox"
|
284
|
-
|
285
|
-
labelText="Labeltext for Single-SwitchButton (Checkbox)"
|
258
|
+
labelText="Labeltext for Switch-Button without Switch-Label"
|
286
259
|
:toggleSwitch="true"
|
287
260
|
:status="formElementStatus"
|
288
261
|
/>
|
@@ -290,8 +263,7 @@
|
|
290
263
|
type="checkbox"
|
291
264
|
id="toggle-switch-checkbox"
|
292
265
|
v-model="switchButtonCheckbox"
|
293
|
-
|
294
|
-
labelText="Labeltext for SwitchButton (Checkbox)"
|
266
|
+
labelText="Labeltext for Switch-Button with Switch-Label"
|
295
267
|
onLabel="Label on"
|
296
268
|
offLabel="Label off"
|
297
269
|
:toggleSwitch="true"
|
@@ -301,7 +273,7 @@
|
|
301
273
|
type="checkbox"
|
302
274
|
id="toggle-switch-checkbox-colored"
|
303
275
|
v-model="switchButtonCheckbox"
|
304
|
-
labelText="Labeltext for
|
276
|
+
labelText="Labeltext for Switch-Button (Checkbox, colored)"
|
305
277
|
onLabel="Label on"
|
306
278
|
offLabel="Label off"
|
307
279
|
:colored="true"
|
@@ -319,6 +291,7 @@
|
|
319
291
|
:toggleSwitch="true"
|
320
292
|
:status="formElementStatus"
|
321
293
|
inputValue="radio1"
|
294
|
+
labelText="Labeltext for Switch-Button (Radio, colored) #1"
|
322
295
|
/>
|
323
296
|
<CmdFormElement element="input"
|
324
297
|
type="radio"
|
@@ -331,6 +304,7 @@
|
|
331
304
|
:toggleSwitch="true"
|
332
305
|
:status="formElementStatus"
|
333
306
|
inputValue="radio2"
|
307
|
+
labelText="Labeltext for Switch-Button (Radio, colored) #2"
|
334
308
|
/>
|
335
309
|
<!-- end toggle-switch-radio with switch-label (colored) -->
|
336
310
|
|
@@ -418,7 +392,7 @@
|
|
418
392
|
labelText="Label (inline) for inputfield (search) without search-button:"
|
419
393
|
:displayLabelInline="true"
|
420
394
|
type="search"
|
421
|
-
id="inputfield-search"
|
395
|
+
id="inputfield-search-without-searchbutton"
|
422
396
|
placeholder="Keyword(s)"
|
423
397
|
v-model="inputSearch"
|
424
398
|
:showSearchButton="false"
|
@@ -427,7 +401,7 @@
|
|
427
401
|
labelText="Label (inline) for inputfield (search):"
|
428
402
|
:displayLabelInline="true"
|
429
403
|
type="search"
|
430
|
-
id="inputfield-search"
|
404
|
+
id="inputfield-search-with-searchbutton"
|
431
405
|
placeholder="Keyword(s)"
|
432
406
|
v-model="inputSearch"
|
433
407
|
:status="formElementStatus"/>
|
@@ -544,6 +518,24 @@
|
|
544
518
|
:status="formElementStatus"/>
|
545
519
|
</div>
|
546
520
|
</div>
|
521
|
+
<CmdInputGroup labelText="Group label for radio group">
|
522
|
+
<CmdFormElement element="input"
|
523
|
+
labelText="Label for radiobutton"
|
524
|
+
type="radio"
|
525
|
+
id="input-group-radiobutton"
|
526
|
+
name="radiogroup2"
|
527
|
+
inputValue="radiobuttonValue1"
|
528
|
+
v-model="radiobuttonValue"
|
529
|
+
:status="formElementStatus"/>
|
530
|
+
<CmdFormElement element="input"
|
531
|
+
labelText="Label for radiobutton"
|
532
|
+
type="radio"
|
533
|
+
id="input-group-radiobutton"
|
534
|
+
name="radiogroup2"
|
535
|
+
inputValue="radiobuttonValue2"
|
536
|
+
v-model="radiobuttonValue"
|
537
|
+
:status="formElementStatus"/>
|
538
|
+
</CmdInputGroup>
|
547
539
|
<CmdMultipleSwitch labelText="Label for multiple-switch with checkboxes:"
|
548
540
|
:multipleSwitches="multipleSwitchCheckboxData"
|
549
541
|
switchTypes="checkbox"
|
@@ -687,17 +679,30 @@
|
|
687
679
|
<h3>Product boxes</h3>
|
688
680
|
<div class="grid-container-create-columns">
|
689
681
|
<div class="grid-small-item" v-for="(product, index) in boxProductData" :key="index">
|
690
|
-
<CmdBox boxType="product" :product="product"/>
|
682
|
+
<CmdBox boxType="product" :product="product" :cmdCustomHeadline="{headlineLevel: 4}" />
|
691
683
|
</div>
|
692
684
|
</div>
|
693
685
|
<h3>User boxes</h3>
|
694
686
|
<div class="grid-container-create-columns">
|
695
687
|
<div class="grid-small-item" v-for="(user, index) in boxUserData" :key="index">
|
696
|
-
<CmdBox boxType="user" :user="user"/>
|
688
|
+
<CmdBox boxType="user" :user="user" :cmdCustomHeadline="{headlineLevel: 4}" />
|
697
689
|
</div>
|
698
690
|
</div>
|
699
691
|
<h3>Box Site Search</h3>
|
700
|
-
<CmdBoxSiteSearch
|
692
|
+
<CmdBoxSiteSearch
|
693
|
+
v-model:modelValueInput1="siteSearchInput1"
|
694
|
+
v-model:modelValueInput2="siteSearchInput2"
|
695
|
+
v-model:modelValueRadius="radius"
|
696
|
+
v-model:modelValueSearchFilters="filters"
|
697
|
+
@search="siteSearchOutput"
|
698
|
+
textLegend="Search"
|
699
|
+
:cmdFakeSelect="siteSearchFilters" />
|
700
|
+
<dl>
|
701
|
+
<dt>siteSearchInput1:</dt><dd>{{ siteSearchInput1 }}</dd>
|
702
|
+
<dt>siteSearchInput2:</dt><dd>{{ siteSearchInput2 }}</dd>
|
703
|
+
<dt>Radius:</dt><dd>{{ radius }}</dd>
|
704
|
+
<dt>Filters:</dt><dd>{{ filters }}</dd>
|
705
|
+
</dl>
|
701
706
|
</CmdWidthLimitationWrapper>
|
702
707
|
<!-- end boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
703
708
|
|
@@ -771,6 +776,21 @@
|
|
771
776
|
<p>LoginData: {{loginData}}</p>
|
772
777
|
</CmdWidthLimitationWrapper>
|
773
778
|
|
779
|
+
<!-- begin list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
780
|
+
<a id="section-list-of-links"></a>
|
781
|
+
<CmdWidthLimitationWrapper>
|
782
|
+
<h2 class="headline-demopage">List Of Links</h2>
|
783
|
+
<h3>Vertical</h3>
|
784
|
+
<CmdListOfLinks :links="listOfLinksData" />
|
785
|
+
<h3>Horizontal (aligned left)</h3>
|
786
|
+
<CmdListOfLinks orientation="horizontal" align="left" :links="listOfLinksData" />
|
787
|
+
<h3>Horizontal (aligned center)</h3>
|
788
|
+
<CmdListOfLinks orientation="horizontal" align="center" :links="listOfLinksData" />
|
789
|
+
<h3>Horizontal (aligned right)</h3>
|
790
|
+
<CmdListOfLinks orientation="horizontal" align="right" :links="listOfLinksData" />
|
791
|
+
</CmdWidthLimitationWrapper>
|
792
|
+
<!-- end list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
793
|
+
|
774
794
|
<a id="section-main-navigation"></a>
|
775
795
|
<CmdWidthLimitationWrapper>
|
776
796
|
<h2 class="headline-demopage">Main Navigation</h2>
|
@@ -863,19 +883,19 @@
|
|
863
883
|
<h2 class="headline-demopage">Tabs</h2>
|
864
884
|
<h3>Tabs with content from json-file</h3>
|
865
885
|
<CmdTabs :stretchTabs="false" :tabs="tabsData"/>
|
866
|
-
<h3>Tabs with HTML-content
|
886
|
+
<h3>Tabs with HTML-content (given by slot))</h3>
|
867
887
|
<CmdTabs :stretchTabs="true" :tabs="[{name: 'Tab 1'}, {name: 'Tab 2'}, {name: 'Tab 3'}]" :useSlot="true">
|
868
888
|
<template v-slot:tab-content-0>
|
869
|
-
<
|
889
|
+
<h4>Tab 1 headline</h4>
|
870
890
|
<p>Content</p>
|
871
891
|
</template>
|
872
892
|
<template v-slot:tab-content-1>
|
873
|
-
<
|
893
|
+
<h4>Tab 2</h4>
|
874
894
|
<p>Content</p>
|
875
895
|
<p>Content</p>
|
876
896
|
</template>
|
877
897
|
<template v-slot:tab-content-2>
|
878
|
-
<
|
898
|
+
<h4>Tab 3</h4>
|
879
899
|
<p>Content</p>
|
880
900
|
<p>Content</p>
|
881
901
|
<p>Content</p>
|
@@ -908,8 +928,7 @@
|
|
908
928
|
<CmdWidthLimitationWrapper>
|
909
929
|
<h2 class="headline-demopage">Upload-Form</h2>
|
910
930
|
<h3>Simple mode</h3>
|
911
|
-
<CmdUploadForm :
|
912
|
-
:enableDragAndDrop="true"
|
931
|
+
<CmdUploadForm :enableDragAndDrop="true"
|
913
932
|
:allowedFileExtensions="['jpg', 'png']"
|
914
933
|
:allowMultipleFileUploads="true"
|
915
934
|
:advancedMode="false"
|
@@ -918,7 +937,7 @@
|
|
918
937
|
:uploadOptions="{url: 'http://localhost:8888'}"
|
919
938
|
/>
|
920
939
|
<h3>Advanced mode</h3>
|
921
|
-
<CmdUploadForm
|
940
|
+
<CmdUploadForm :cmdCustomHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
|
922
941
|
:enableDragAndDrop="true"
|
923
942
|
:allowedFileExtensions="['jpg', 'png']"
|
924
943
|
:allowMultipleFileUploads="true"
|
@@ -930,7 +949,7 @@
|
|
930
949
|
|
931
950
|
<CmdWidthLimitationWrapper id="site-footer" inner-component="footer">
|
932
951
|
<CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
|
933
|
-
<CmdListOfLinks :links="
|
952
|
+
<CmdListOfLinks :links="listOfLinksData"
|
934
953
|
:cmdCustomHeadline="{headlineText: 'List of links', headlineLevel: 6}"
|
935
954
|
/>
|
936
955
|
<CmdOpeningHours :openingHours="openingHoursData"
|
@@ -980,7 +999,7 @@ import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
|
|
980
999
|
import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
|
981
1000
|
import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
|
982
1001
|
import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
|
983
|
-
import
|
1002
|
+
import listOfLinksData from '@/assets/data/list-of-links.json'
|
984
1003
|
import imageGalleryData from '@/assets/data/image-gallery.json'
|
985
1004
|
import languagesData from '@/assets/data/switch-language.json'
|
986
1005
|
import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
|
@@ -1015,7 +1034,9 @@ import CmdFormFilters from "@/components/CmdFormFilters.vue"
|
|
1015
1034
|
import CmdGoogleMaps from "./components/CmdGoogleMaps"
|
1016
1035
|
import CmdImageGallery from "@/components/CmdImageGallery.vue"
|
1017
1036
|
import CmdImageZoom from "@/components/CmdImageZoom.vue"
|
1037
|
+
import CmdInputGroup from "./components/CmdInputGroup"
|
1018
1038
|
import CmdLoginForm from "@/components/CmdLoginForm.vue"
|
1039
|
+
import CmdListOfLinks from "./components/CmdListOfLinks"
|
1019
1040
|
import CmdMainNavigation from "@/components/CmdMainNavigation.vue"
|
1020
1041
|
import CmdMultipleSwitch from "@/components/CmdMultipleSwitch.vue"
|
1021
1042
|
import CmdMultistepFormProgressBar from "@/components/CmdMultistepFormProgressBar.vue"
|
@@ -1025,12 +1046,12 @@ import CmdProgressBar from "@/components/CmdProgressBar.vue"
|
|
1025
1046
|
import CmdShareButtons from "@/components/CmdShareButtons.vue"
|
1026
1047
|
import CmdSiteHeader from "./components/CmdSiteHeader"
|
1027
1048
|
import CmdSlideshow from "@/components/CmdSlideshow.vue"
|
1028
|
-
import CmdSwitchButton from "@/components/CmdSwitchButton.vue"
|
1029
1049
|
import CmdSwitchLanguage from "@/components/CmdSwitchLanguage.vue"
|
1030
1050
|
import CmdSystemMessage from "@/components/CmdSystemMessage.vue"
|
1031
1051
|
import CmdTabs from "@/components/CmdTabs.vue"
|
1032
1052
|
import CmdTable from "@/components/CmdTable.vue"
|
1033
1053
|
import CmdThumbnailScroller from "@/components/CmdThumbnailScroller.vue"
|
1054
|
+
import CmdToggleDarkMode from "@/components/CmdToggleDarkMode.vue"
|
1034
1055
|
import CmdTooltip from "@/components/CmdTooltip.vue"
|
1035
1056
|
import CmdUploadForm from "@/components/CmdUploadForm.vue"
|
1036
1057
|
import CmdWidthLimitationWrapper from "@/components/CmdWidthLimitationWrapper"
|
@@ -1038,7 +1059,6 @@ import {openFancyBox} from "@/components/CmdFancyBox"
|
|
1038
1059
|
|
1039
1060
|
// import external functions
|
1040
1061
|
import * as functions from "@/mixins/FieldValidation.js"
|
1041
|
-
import CmdListOfLinks from "./components/CmdListOfLinks";
|
1042
1062
|
|
1043
1063
|
export default {
|
1044
1064
|
name: "App",
|
@@ -1062,6 +1082,7 @@ export default {
|
|
1062
1082
|
CmdGoogleMaps,
|
1063
1083
|
CmdImageGallery,
|
1064
1084
|
CmdImageZoom,
|
1085
|
+
CmdInputGroup,
|
1065
1086
|
CmdLoginForm,
|
1066
1087
|
CmdMainNavigation,
|
1067
1088
|
CmdMultistepFormProgressBar,
|
@@ -1072,12 +1093,12 @@ export default {
|
|
1072
1093
|
CmdShareButtons,
|
1073
1094
|
CmdSiteHeader,
|
1074
1095
|
CmdSlideshow,
|
1075
|
-
CmdSwitchButton,
|
1076
1096
|
CmdSwitchLanguage,
|
1077
1097
|
CmdSystemMessage,
|
1078
1098
|
CmdTabs,
|
1079
1099
|
CmdTable,
|
1080
1100
|
CmdThumbnailScroller,
|
1101
|
+
CmdToggleDarkMode,
|
1081
1102
|
CmdTooltip,
|
1082
1103
|
CmdUploadForm,
|
1083
1104
|
CmdWidthLimitationWrapper
|
@@ -1100,7 +1121,18 @@ export default {
|
|
1100
1121
|
selectedColor: "",
|
1101
1122
|
rangeValue: 50,
|
1102
1123
|
loginData: {},
|
1124
|
+
siteSearchFilters: {
|
1125
|
+
show: true,
|
1126
|
+
selectData: fakeSelectFilterOptionsData,
|
1127
|
+
defaultOptionName: "Select filters:",
|
1128
|
+
labelText: "Filters:",
|
1129
|
+
type: "checkboxOptions"
|
1130
|
+
},
|
1103
1131
|
formElementStatus: "",
|
1132
|
+
siteSearchInput1: "Doctor",
|
1133
|
+
siteSearchInput2: "New York",
|
1134
|
+
radius: 10,
|
1135
|
+
filters: ["2"],
|
1104
1136
|
switchButtonRadio: "radio1",
|
1105
1137
|
switchButtonCheckbox: ["checkbox1"],
|
1106
1138
|
switchButtonCheckboxColored: false,
|
@@ -1151,7 +1183,7 @@ export default {
|
|
1151
1183
|
fakeSelectFilterOptionsData,
|
1152
1184
|
fakeSelectOptionsData,
|
1153
1185
|
fakeSelectOptionsWithIconsData,
|
1154
|
-
|
1186
|
+
listOfLinksData,
|
1155
1187
|
imageGalleryData,
|
1156
1188
|
languagesData,
|
1157
1189
|
multistepsData,
|
@@ -1168,7 +1200,13 @@ export default {
|
|
1168
1200
|
thumbnailScrollerData
|
1169
1201
|
}
|
1170
1202
|
},
|
1203
|
+
mounted() {
|
1204
|
+
document.querySelector('html').addEventListener('toggle-color-scheme', (event) => console.log('colorScheme:', event.detail))
|
1205
|
+
},
|
1171
1206
|
methods: {
|
1207
|
+
siteSearchOutput(event) {
|
1208
|
+
console.log(event)
|
1209
|
+
},
|
1172
1210
|
showError(event) {
|
1173
1211
|
console.log("EventMessages", event.messages)
|
1174
1212
|
alert("Error")
|
@@ -8,7 +8,6 @@
|
|
8
8
|
"links": [
|
9
9
|
{
|
10
10
|
"path": "mailto:",
|
11
|
-
"target": "",
|
12
11
|
"iconClass": "icon-mail",
|
13
12
|
"tooltip": "Send mail"
|
14
13
|
}
|
@@ -22,7 +21,6 @@
|
|
22
21
|
"links": [
|
23
22
|
{
|
24
23
|
"path": "mailto:",
|
25
|
-
"target": "",
|
26
24
|
"iconClass": "icon-mail",
|
27
25
|
"tooltip": "Send mail"
|
28
26
|
},
|
@@ -42,7 +40,6 @@
|
|
42
40
|
"links": [
|
43
41
|
{
|
44
42
|
"path": "mailto:",
|
45
|
-
"target": "",
|
46
43
|
"iconClass": "icon-mail",
|
47
44
|
"tooltip": "Send mail"
|
48
45
|
},
|
@@ -54,7 +51,6 @@
|
|
54
51
|
},
|
55
52
|
{
|
56
53
|
"path": "tel:",
|
57
|
-
"target": "",
|
58
54
|
"iconClass": "icon-phone",
|
59
55
|
"tooltip": "Make call"
|
60
56
|
}
|
@@ -68,7 +64,6 @@
|
|
68
64
|
"links": [
|
69
65
|
{
|
70
66
|
"path": "mailto:",
|
71
|
-
"target": "",
|
72
67
|
"iconClass": "icon-mail",
|
73
68
|
"tooltip": "Send mail"
|
74
69
|
},
|
@@ -80,7 +75,6 @@
|
|
80
75
|
},
|
81
76
|
{
|
82
77
|
"path": "tel:",
|
83
|
-
"target": "",
|
84
78
|
"iconClass": "icon-phone",
|
85
79
|
"tooltip": "Make call"
|
86
80
|
}
|
@@ -94,7 +88,6 @@
|
|
94
88
|
"links": [
|
95
89
|
{
|
96
90
|
"path": "mailto:",
|
97
|
-
"target": "",
|
98
91
|
"iconClass": "icon-mail",
|
99
92
|
"tooltip": "Send mail"
|
100
93
|
},
|
@@ -106,7 +99,6 @@
|
|
106
99
|
},
|
107
100
|
{
|
108
101
|
"path": "tel:",
|
109
|
-
"target": "",
|
110
102
|
"iconClass": "icon-phone",
|
111
103
|
"tooltip": "Make call"
|
112
104
|
}
|
@@ -1,17 +1,20 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
3
|
"name": "Tab 1",
|
4
|
-
"
|
4
|
+
"headlineText": "Tab 1 Headline",
|
5
|
+
"headlineLevel": 4,
|
5
6
|
"htmlContent": "<p>Inhalt 1</p>"
|
6
7
|
},
|
7
8
|
{
|
8
9
|
"name": "Tab 2",
|
9
|
-
"
|
10
|
+
"headlineText": "Tab 2 Headline",
|
11
|
+
"headlineLevel": 4,
|
10
12
|
"htmlContent": "<p>Inhalt 2</p>"
|
11
13
|
},
|
12
14
|
{
|
13
15
|
"name": "Tab 3",
|
14
|
-
"
|
16
|
+
"headlineText": "Tab 3 Headline",
|
17
|
+
"headlineLevel": 4,
|
15
18
|
"htmlContent": "<p>Inhalt 3</p>"
|
16
19
|
}
|
17
20
|
]
|