@ldmjs/ui 2.0.0-beta.2 → 2.0.1-beta.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/README.md +6 -13
- package/build/dist/components/ld-avatar.js +1 -0
- package/build/dist/components/ld-badge.js +1 -0
- package/build/dist/components/ld-breadcrumbs.js +1 -0
- package/build/dist/components/ld-button.js +1 -0
- package/build/dist/components/ld-calendar.js +1 -0
- package/build/dist/components/ld-checkbox.js +1 -0
- package/build/dist/components/ld-chip.js +1 -0
- package/build/dist/components/ld-combobox.js +1 -0
- package/build/dist/components/ld-data-iterator.js +1 -0
- package/build/dist/components/ld-datepicker.js +1 -0
- package/build/dist/components/ld-daterange.js +1 -0
- package/build/dist/components/ld-dialog.js +1 -0
- package/build/dist/components/ld-edit-list-box.js +1 -0
- package/build/dist/components/ld-edit-masked-text.js +1 -0
- package/build/dist/components/ld-edit-text.js +1 -0
- package/build/dist/components/ld-expansion-panel.js +1 -0
- package/build/dist/components/ld-expansion-panels.js +1 -0
- package/build/dist/components/ld-icon.js +1 -0
- package/build/dist/components/ld-loader.js +1 -0
- package/build/dist/components/ld-page-toolbar.js +1 -0
- package/build/dist/components/ld-pager.js +1 -0
- package/build/dist/components/ld-progress.js +1 -0
- package/build/dist/components/ld-radiobutton.js +1 -0
- package/build/dist/components/ld-radiogroup.js +1 -0
- package/build/dist/components/ld-select-list-box.js +1 -0
- package/build/dist/components/ld-select.js +1 -0
- package/build/dist/components/ld-slider.js +1 -0
- package/build/dist/components/ld-splitter.js +1 -0
- package/build/dist/components/ld-step.js +1 -0
- package/build/dist/components/ld-switch.js +1 -0
- package/build/dist/components/ld-tab.js +1 -0
- package/build/dist/components/ld-tabs.js +1 -0
- package/build/dist/components/ld-text-markup.js +1 -0
- package/build/dist/components/ld-text-viewer.js +1 -0
- package/build/dist/components/ld-textarea.js +1 -0
- package/build/dist/components/ld-timepicker.js +1 -0
- package/build/dist/components/ld-toggle-buttons.js +1 -0
- package/build/dist/components/ld-uploader.js +1 -0
- package/build/dist/i18n/en/en-En.json +66 -0
- package/{dist → build/dist}/index.d.ts +4 -1
- package/build/dist/index.js +1 -0
- package/build/dist/lib/imask.js +1 -0
- package/build/dist/lib/runtime-template.js +1 -0
- package/build/dist/lib/toastification.js +1 -0
- package/build/dist/scss/_badge.scss +204 -0
- package/{dist → build/dist}/scss/_buttons.scss +48 -3
- package/{dist → build/dist}/scss/_calendar.scss +44 -13
- package/{dist → build/dist}/scss/_chip.scss +126 -23
- package/{dist → build/dist}/scss/_inputs.scss +159 -80
- package/{dist → build/dist}/scss/_tabs.scss +113 -117
- package/build/dist/scss/_treeview.scss +34 -0
- package/{dist → build/dist}/scss/index.scss +1 -3
- package/{dist → build/dist}/scss/utils.scss +6 -0
- package/build/dist/types/daterange.d.ts +42 -0
- package/build/dist/types/options.d.ts +178 -0
- package/{dist → build/dist}/types/validators.d.ts +1 -1
- package/build/dist/utils/validators.js +1 -0
- package/package.json +9 -8
- package/dist/components/ld-avatar.js +0 -1
- package/dist/components/ld-badge.js +0 -1
- package/dist/components/ld-breadcrumbs.js +0 -1
- package/dist/components/ld-button.js +0 -1
- package/dist/components/ld-calendar.js +0 -1
- package/dist/components/ld-checkbox.js +0 -1
- package/dist/components/ld-chip.js +0 -1
- package/dist/components/ld-combobox.js +0 -1
- package/dist/components/ld-data-iterator.js +0 -1
- package/dist/components/ld-datepicker.js +0 -1
- package/dist/components/ld-dialog.js +0 -1
- package/dist/components/ld-edit-list-box.js +0 -1
- package/dist/components/ld-edit-masked-text.js +0 -1
- package/dist/components/ld-edit-text.js +0 -1
- package/dist/components/ld-expansion-panel.js +0 -1
- package/dist/components/ld-expansion-panels.js +0 -1
- package/dist/components/ld-icon.js +0 -1
- package/dist/components/ld-loader.js +0 -1
- package/dist/components/ld-page-toolbar.js +0 -1
- package/dist/components/ld-pager.js +0 -1
- package/dist/components/ld-progress.js +0 -1
- package/dist/components/ld-radiobutton.js +0 -1
- package/dist/components/ld-radiogroup.js +0 -1
- package/dist/components/ld-select-list-box.js +0 -1
- package/dist/components/ld-select.js +0 -1
- package/dist/components/ld-slider.js +0 -1
- package/dist/components/ld-splitter.js +0 -1
- package/dist/components/ld-step.js +0 -1
- package/dist/components/ld-switch.js +0 -1
- package/dist/components/ld-tab.js +0 -1
- package/dist/components/ld-tabs.js +0 -1
- package/dist/components/ld-text-markup.js +0 -1
- package/dist/components/ld-text-viewer.js +0 -1
- package/dist/components/ld-textarea.js +0 -1
- package/dist/components/ld-timepicker.js +0 -1
- package/dist/components/ld-toggle-buttons.js +0 -1
- package/dist/components/ld-uploader.js +0 -1
- package/dist/i18n/en/en-En.json +0 -18
- package/dist/index.js +0 -1
- package/dist/lib/imask.js +0 -1
- package/dist/lib/runtime-template.js +0 -1
- package/dist/lib/toastification.js +0 -1
- package/dist/scss/_badge.scss +0 -128
- package/dist/scss/_treeview.scss +0 -35
- package/dist/types/options.d.ts +0 -68
- package/dist/utils/validators.js +0 -1
- /package/{dist → build/dist}/fonts/Roboto-Medium.ttf +0 -0
- /package/{dist → build/dist}/fonts/Roboto-Medium.woff +0 -0
- /package/{dist → build/dist}/fonts/Roboto-Medium.woff2 +0 -0
- /package/{dist → build/dist}/fonts/Roboto-Regular.ttf +0 -0
- /package/{dist → build/dist}/fonts/Roboto-Regular.woff +0 -0
- /package/{dist → build/dist}/fonts/Roboto-Regular.woff2 +0 -0
- /package/{dist → build/dist}/fonts/Roboto-SemiBold.ttf +0 -0
- /package/{dist → build/dist}/fonts/Roboto-SemiBold.woff +0 -0
- /package/{dist → build/dist}/fonts/Roboto-SemiBold.woff2 +0 -0
- /package/{dist → build/dist}/i18n/ru/ru-Ru.json +0 -0
- /package/{dist → build/dist}/scss/_animations.scss +0 -0
- /package/{dist → build/dist}/scss/_avatar.scss +0 -0
- /package/{dist → build/dist}/scss/_breadcrumbs.scss +0 -0
- /package/{dist → build/dist}/scss/_checkbox.scss +0 -0
- /package/{dist → build/dist}/scss/_colors.scss +0 -0
- /package/{dist → build/dist}/scss/_dialogs.scss +0 -0
- /package/{dist → build/dist}/scss/_editor.scss +0 -0
- /package/{dist → build/dist}/scss/_expansions.scss +0 -0
- /package/{dist → build/dist}/scss/_fonts.scss +0 -0
- /package/{dist → build/dist}/scss/_iterator.scss +0 -0
- /package/{dist → build/dist}/scss/_loader.scss +0 -0
- /package/{dist → build/dist}/scss/_pager.scss +0 -0
- /package/{dist → build/dist}/scss/_progress.scss +0 -0
- /package/{dist → build/dist}/scss/_radiobutton.scss +0 -0
- /package/{dist → build/dist}/scss/_radiogroup.scss +0 -0
- /package/{dist → build/dist}/scss/_scroll.scss +0 -0
- /package/{dist → build/dist}/scss/_shadows.scss +0 -0
- /package/{dist → build/dist}/scss/_slider.scss +0 -0
- /package/{dist → build/dist}/scss/_splitter.scss +0 -0
- /package/{dist → build/dist}/scss/_step.scss +0 -0
- /package/{dist → build/dist}/scss/_switch.scss +0 -0
- /package/{dist → build/dist}/scss/_textmarkup.scss +0 -0
- /package/{dist → build/dist}/scss/_textviewer.scss +0 -0
- /package/{dist → build/dist}/scss/_time.scss +0 -0
- /package/{dist → build/dist}/scss/_toasted.scss +0 -0
- /package/{dist → build/dist}/scss/_toggle.scss +0 -0
- /package/{dist → build/dist}/scss/_toolbar.scss +0 -0
- /package/{dist → build/dist}/scss/_tooltip.scss +0 -0
- /package/{dist → build/dist}/scss/_uploader.scss +0 -0
- /package/{dist → build/dist}/scss/_variables.scss +0 -0
- /package/{dist → build/dist}/types/breadcrumbs.d.ts +0 -0
- /package/{dist → build/dist}/types/calendar.d.ts +0 -0
- /package/{dist → build/dist}/types/combobox.d.ts +0 -0
- /package/{dist → build/dist}/types/dialogs.d.ts +0 -0
- /package/{dist → build/dist}/types/form.d.ts +0 -0
- /package/{dist → build/dist}/types/iterator.d.ts +0 -0
- /package/{dist → build/dist}/types/pager.d.ts +0 -0
- /package/{dist → build/dist}/types/toasted.d.ts +0 -0
- /package/{dist → build/dist}/types/validation.d.ts +0 -0
|
@@ -51,10 +51,13 @@ $input-border-color-hover: var(--grey);
|
|
|
51
51
|
$input-disabled-color: var(--grey-l-2);
|
|
52
52
|
$input-disabled-background-color: var(--grey-l-6);
|
|
53
53
|
|
|
54
|
+
$input-border-color-readonly: var(--grey-l-6);
|
|
55
|
+
$input-readonly-color: var(--grey-d-3);
|
|
56
|
+
|
|
54
57
|
$colors: (
|
|
55
58
|
"grey": ("default": $input-border-color-default, "hover": $input-border-color-hover),
|
|
56
|
-
"success": ("default": var(--success-d-1), "hover": var(--success-d-
|
|
57
|
-
"error": ("default": var(--error), "hover": var(--error)),
|
|
59
|
+
"success": ("default": var(--success-d-1), "hover": var(--success-d-2)),
|
|
60
|
+
"error": ("default": var(--error), "hover": var(--error-d-1)),
|
|
58
61
|
);
|
|
59
62
|
|
|
60
63
|
:root {
|
|
@@ -67,6 +70,46 @@ $colors: (
|
|
|
67
70
|
--input-disabled-background-color: #{$input-disabled-background-color};
|
|
68
71
|
}
|
|
69
72
|
|
|
73
|
+
@mixin inputlabel($parent, $size) {
|
|
74
|
+
$label-on-top: utils.getSelector($parent, '--label-on-top');
|
|
75
|
+
@include utils.not-class(utils.getSelector($parent, '--label-on-top')) {
|
|
76
|
+
.ld-label {
|
|
77
|
+
height: $size;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&#{utils.getSelector($parent, '--label-on-top')} {
|
|
81
|
+
.ld-label {
|
|
82
|
+
margin-bottom: 4px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ld-label {
|
|
87
|
+
font-size: var(--text-body-s);
|
|
88
|
+
&-content {
|
|
89
|
+
color: var(--grey-d-1);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@mixin inputdetails() {
|
|
95
|
+
.v-input__details {
|
|
96
|
+
position: relative;
|
|
97
|
+
padding: 0 !important;
|
|
98
|
+
margin: 6px 0 0 0 !important;
|
|
99
|
+
z-index: 1;
|
|
100
|
+
height: 20px;
|
|
101
|
+
min-height: 20px;
|
|
102
|
+
align-items: center;
|
|
103
|
+
|
|
104
|
+
.v-messages {
|
|
105
|
+
color: var(--grey-d-1);
|
|
106
|
+
font-family: var(--regular);
|
|
107
|
+
font-size: var(--font-size);
|
|
108
|
+
line-height: calc(var(--font-size) + 6px);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
70
113
|
@mixin inputsize() {
|
|
71
114
|
$parent: utils.getParent(&);
|
|
72
115
|
|
|
@@ -100,19 +143,9 @@ $colors: (
|
|
|
100
143
|
}
|
|
101
144
|
}
|
|
102
145
|
|
|
103
|
-
|
|
104
|
-
height: $size;
|
|
105
|
-
&-content {
|
|
106
|
-
font-size: $font;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
146
|
+
@include inputlabel($parent, $size);
|
|
109
147
|
|
|
110
|
-
|
|
111
|
-
.v-messages {
|
|
112
|
-
font-size: calc($font - 2px);
|
|
113
|
-
line-height: calc($font - 2px + 6px);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
148
|
+
@include inputdetails();
|
|
116
149
|
|
|
117
150
|
#{utils.getSelector($parent, '-help')} {
|
|
118
151
|
display: flex;
|
|
@@ -248,29 +281,37 @@ $colors: (
|
|
|
248
281
|
}
|
|
249
282
|
}
|
|
250
283
|
|
|
251
|
-
&:
|
|
252
|
-
|
|
253
|
-
|
|
284
|
+
&:not(.v-input--readonly) {
|
|
285
|
+
&:hover {
|
|
286
|
+
.v-field.v-field--variant-outlined {
|
|
287
|
+
@include vfieldoutline($hover);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.v-input__append {
|
|
291
|
+
&:after {
|
|
292
|
+
border-color: $hover;
|
|
293
|
+
border-width: 1px;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
254
296
|
}
|
|
255
297
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
298
|
+
&.v-input--focused {
|
|
299
|
+
.v-field.v-field--variant-outlined {
|
|
300
|
+
@include vfieldoutline(var(--focus));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.v-input__append {
|
|
304
|
+
&:after {
|
|
305
|
+
border-color: var(--focus);
|
|
306
|
+
border-width: 2px;
|
|
307
|
+
}
|
|
260
308
|
}
|
|
261
309
|
}
|
|
262
310
|
}
|
|
263
311
|
|
|
264
|
-
&.v-input--
|
|
312
|
+
&.v-input--readonly {
|
|
265
313
|
.v-field.v-field--variant-outlined {
|
|
266
|
-
@include vfieldoutline(
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.v-input__append {
|
|
270
|
-
&:after {
|
|
271
|
-
border-color: var(--focus);
|
|
272
|
-
border-width: 2px;
|
|
273
|
-
}
|
|
314
|
+
@include vfieldoutline($input-border-color-readonly);
|
|
274
315
|
}
|
|
275
316
|
}
|
|
276
317
|
}
|
|
@@ -302,22 +343,6 @@ $colors: (
|
|
|
302
343
|
}
|
|
303
344
|
}
|
|
304
345
|
|
|
305
|
-
@mixin inputdetails() {
|
|
306
|
-
.v-input__details {
|
|
307
|
-
position: relative;
|
|
308
|
-
padding: 0 !important;
|
|
309
|
-
margin: 6px 0 0 0 !important;
|
|
310
|
-
z-index: 1;
|
|
311
|
-
height: 20px;
|
|
312
|
-
min-height: 20px;
|
|
313
|
-
align-items: center;
|
|
314
|
-
|
|
315
|
-
.v-messages {
|
|
316
|
-
color: var(--grey-d-1);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
346
|
@mixin inputloader() {
|
|
322
347
|
$parent: utils.getParent(&);
|
|
323
348
|
$selector: utils.getSelector($parent, '-loader');
|
|
@@ -448,9 +473,17 @@ body {
|
|
|
448
473
|
}
|
|
449
474
|
|
|
450
475
|
.v-input {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
476
|
+
&.v-input--readonly {
|
|
477
|
+
&.v-input--focused {
|
|
478
|
+
.v-field.v-field--variant-outlined {
|
|
479
|
+
.v-field__outline {
|
|
480
|
+
--v-field-border-width: 1px;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.v-field__input {
|
|
486
|
+
color: $input-readonly-color !important;
|
|
454
487
|
}
|
|
455
488
|
}
|
|
456
489
|
}
|
|
@@ -548,6 +581,27 @@ body {
|
|
|
548
581
|
}
|
|
549
582
|
}
|
|
550
583
|
|
|
584
|
+
.ld-daterange {
|
|
585
|
+
@extend %custom-edit;
|
|
586
|
+
|
|
587
|
+
@include inputsize();
|
|
588
|
+
|
|
589
|
+
@include vfield();
|
|
590
|
+
|
|
591
|
+
@include vfieldborder();
|
|
592
|
+
|
|
593
|
+
@include vfielddisabled();
|
|
594
|
+
|
|
595
|
+
@include inputdetails();
|
|
596
|
+
|
|
597
|
+
.ld-daterange-date-field {
|
|
598
|
+
position: relative;
|
|
599
|
+
display: flex;
|
|
600
|
+
align-items: center;
|
|
601
|
+
flex-basis: 100%;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
551
605
|
.ld-timepicker {
|
|
552
606
|
@extend %custom-edit;
|
|
553
607
|
|
|
@@ -587,7 +641,34 @@ body {
|
|
|
587
641
|
|
|
588
642
|
@include vfield();
|
|
589
643
|
|
|
590
|
-
|
|
644
|
+
&:not(.ld-edit-list-box--readonly) {
|
|
645
|
+
.v-autocomplete {
|
|
646
|
+
& > .v-input__control > .v-field.v-field--variant-outlined {
|
|
647
|
+
@include vfieldoutline($input-border-color-default);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
&:hover {
|
|
651
|
+
& > .v-input__control > .v-field.v-field--variant-outlined {
|
|
652
|
+
@include vfieldoutline($input-border-color-hover);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
& > .v-input__append {
|
|
656
|
+
&:after {
|
|
657
|
+
border-color: $input-border-color-hover;
|
|
658
|
+
border-width: 1px;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
&.ld-edit-list-box--readonly {
|
|
666
|
+
.v-autocomplete {
|
|
667
|
+
& > .v-input__control > .v-field.v-field--variant-outlined {
|
|
668
|
+
@include vfieldoutline($input-border-color-readonly);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
591
672
|
|
|
592
673
|
@include vfielddisabled();
|
|
593
674
|
|
|
@@ -679,6 +760,12 @@ body {
|
|
|
679
760
|
.ld-textarea {
|
|
680
761
|
@extend %custom-edit;
|
|
681
762
|
|
|
763
|
+
::-webkit-resizer{
|
|
764
|
+
background-image: -webkit-repeating-radial-gradient(center center, hsla(220, 5%, 56%, 1), hsla(220, 5%, 56%, 1) 1px, transparent 1px, transparent 100%);
|
|
765
|
+
background-size: 3px 3px;
|
|
766
|
+
border-bottom-right-radius: var(--border-radius);
|
|
767
|
+
}
|
|
768
|
+
|
|
682
769
|
$parent: '.ld-textarea';
|
|
683
770
|
|
|
684
771
|
$props: (
|
|
@@ -713,14 +800,14 @@ body {
|
|
|
713
800
|
line-height: calc($font + 6px);
|
|
714
801
|
padding: $p;;
|
|
715
802
|
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
&-content {
|
|
720
|
-
font-size: $font;
|
|
803
|
+
.v-field__clearable {
|
|
804
|
+
top: 4px;
|
|
805
|
+
right: 4px;
|
|
721
806
|
}
|
|
722
807
|
}
|
|
723
808
|
|
|
809
|
+
@include inputlabel($parent, $size);
|
|
810
|
+
|
|
724
811
|
.ld-textarea-help {
|
|
725
812
|
height: $size;
|
|
726
813
|
display: flex;
|
|
@@ -728,12 +815,6 @@ body {
|
|
|
728
815
|
margin-left: 8px;
|
|
729
816
|
}
|
|
730
817
|
|
|
731
|
-
&.ld-textarea--label-on-top {
|
|
732
|
-
.ld-label {
|
|
733
|
-
height: $size;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
818
|
&.ld-textarea--clearable {
|
|
738
819
|
.v-field {
|
|
739
820
|
.v-field__input {
|
|
@@ -743,12 +824,7 @@ body {
|
|
|
743
824
|
}
|
|
744
825
|
}
|
|
745
826
|
|
|
746
|
-
|
|
747
|
-
.v-messages {
|
|
748
|
-
font-size: calc($font - 2px);
|
|
749
|
-
line-height: calc($font - 2px + 6px);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
827
|
+
@include inputdetails();
|
|
752
828
|
}
|
|
753
829
|
}
|
|
754
830
|
|
|
@@ -773,12 +849,6 @@ body {
|
|
|
773
849
|
.ld-text-markup {
|
|
774
850
|
@extend %custom-edit;
|
|
775
851
|
|
|
776
|
-
.ld-label {
|
|
777
|
-
&-content {
|
|
778
|
-
font-size: var(--text-body-s);
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
|
|
782
852
|
&--focused {
|
|
783
853
|
.md-editor-content {
|
|
784
854
|
&:after {
|
|
@@ -835,13 +905,6 @@ body {
|
|
|
835
905
|
}
|
|
836
906
|
|
|
837
907
|
@include inputdetails();
|
|
838
|
-
|
|
839
|
-
.v-input__details {
|
|
840
|
-
.v-messages {
|
|
841
|
-
font-size: var(--font-size);
|
|
842
|
-
line-height: calc(var(--font-size) + 6px);
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
908
|
}
|
|
846
909
|
|
|
847
910
|
.v-select__content,
|
|
@@ -864,6 +927,22 @@ body {
|
|
|
864
927
|
}
|
|
865
928
|
}
|
|
866
929
|
|
|
930
|
+
.v-menu.ld-daterange-menu {
|
|
931
|
+
.v-card.ld-daterange-dropdown {
|
|
932
|
+
padding: 0 !important;
|
|
933
|
+
.v-card-text {
|
|
934
|
+
display: flex;
|
|
935
|
+
padding: 0 !important;
|
|
936
|
+
}
|
|
937
|
+
.v-card-actions {
|
|
938
|
+
display: flex;
|
|
939
|
+
justify-content: flex-end;
|
|
940
|
+
padding: 16px !important;
|
|
941
|
+
min-height: unset;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
867
946
|
.v-menu.ld-timepicker-menu {
|
|
868
947
|
.ld-timepicker-dropdown {
|
|
869
948
|
padding: 16px !important;
|
|
@@ -182,9 +182,6 @@ body {
|
|
|
182
182
|
|
|
183
183
|
.v-window {
|
|
184
184
|
background-color: var(--white);
|
|
185
|
-
box-shadow:
|
|
186
|
-
1px 0 var(--grey-l-5),
|
|
187
|
-
-1px 0 0 var(--grey-l-5);
|
|
188
185
|
overflow-y: auto;
|
|
189
186
|
height: 100%;
|
|
190
187
|
width: 100%;
|
|
@@ -201,118 +198,117 @@ body {
|
|
|
201
198
|
}
|
|
202
199
|
}
|
|
203
200
|
|
|
204
|
-
:deep() {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
201
|
+
// :deep() {
|
|
202
|
+
// .ld-tabs {
|
|
203
|
+
// .v-tabs {
|
|
204
|
+
// &--vertical {
|
|
205
|
+
// background: var(--grey-l-6);
|
|
206
|
+
|
|
207
|
+
// .v-tab {
|
|
208
|
+
// justify-content: flex-start;
|
|
209
|
+
// border: 1px solid var(--grey-l-5);
|
|
210
|
+
// border-bottom: none;
|
|
211
|
+
// border-radius: 0 !important;
|
|
212
|
+
// text-transform: none !important;
|
|
213
|
+
// width: 100%;
|
|
214
|
+
// min-width: auto !important;
|
|
215
|
+
|
|
216
|
+
// &--selected {
|
|
217
|
+
// background-color: var(--white);
|
|
218
|
+
// border-right-color: transparent;
|
|
219
|
+
// }
|
|
220
|
+
// }
|
|
221
|
+
|
|
222
|
+
// .v-tab:last-child {
|
|
223
|
+
// border-bottom: 1px solid var(--grey-l-5) !important;
|
|
224
|
+
// }
|
|
225
|
+
|
|
226
|
+
// .v-slide-group__content {
|
|
227
|
+
// flex-flow: column nowrap;
|
|
228
|
+
// height: 100% !important;
|
|
229
|
+
// width: 100% !important;
|
|
230
|
+
|
|
231
|
+
// .v-btn__content {
|
|
232
|
+
// text-overflow: ellipsis;
|
|
233
|
+
// display: inline-flex;
|
|
234
|
+
// justify-content: flex-start;
|
|
235
|
+
// gap: 4px;
|
|
236
|
+
// white-space: nowrap;
|
|
237
|
+
// overflow: hidden;
|
|
238
|
+
// }
|
|
239
|
+
// }
|
|
240
|
+
// }
|
|
241
|
+
// }
|
|
242
|
+
|
|
243
|
+
// .v-tabs.v-tabs--vertical.no-header {
|
|
244
|
+
// .v-tab:first-child {
|
|
245
|
+
// border-top: none;
|
|
246
|
+
// }
|
|
247
|
+
// }
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
// }
|
|
251
|
+
// .v-window {
|
|
252
|
+
// &.mobile {
|
|
253
|
+
// .tg-field {
|
|
254
|
+
// & > .v-row {
|
|
255
|
+
// & > .v-col {
|
|
256
|
+
// flex: 1 0 0 !important;
|
|
257
|
+
// }
|
|
258
|
+
// }
|
|
259
|
+
// .text-viewer-wrapper {
|
|
260
|
+
// .v-col {
|
|
261
|
+
// flex: 1 0 0 !important;
|
|
262
|
+
// }
|
|
263
|
+
// }
|
|
264
|
+
// }
|
|
265
|
+
// }
|
|
266
|
+
// }
|
|
267
|
+
|
|
268
|
+
// .v-slide-group--vertical {
|
|
269
|
+
// border-color: var(--grey-l-5);
|
|
270
|
+
// border: 1px;
|
|
271
|
+
// }
|
|
272
|
+
|
|
273
|
+
// .v-slide-group--vertical .v-tab__slider {
|
|
274
|
+
// width: 0px;
|
|
275
|
+
// }
|
|
276
|
+
|
|
277
|
+
// .v-tabs-bar {
|
|
278
|
+
// flex: none;
|
|
279
|
+
// height: fit-content;
|
|
280
|
+
// height: -moz-max-content;
|
|
281
|
+
// max-height: fit-content;
|
|
282
|
+
// max-height: -moz-max-content;
|
|
283
|
+
// z-index: 1;
|
|
284
|
+
// }
|
|
285
|
+
|
|
286
|
+
// .v-window-item {
|
|
287
|
+
// height: 100%;
|
|
288
|
+
// }
|
|
289
|
+
|
|
290
|
+
// .ld-tabs-mobile {
|
|
291
|
+
// &.hide-tabs {
|
|
292
|
+
// .v-tab {
|
|
293
|
+
// display: none !important;
|
|
294
|
+
// }
|
|
295
|
+
// }
|
|
296
|
+
|
|
297
|
+
// &.hide-body {
|
|
298
|
+
// .v-slide-group {
|
|
299
|
+
// width: 100% !important;
|
|
300
|
+
// }
|
|
301
|
+
// .v-window {
|
|
302
|
+
// display: none !important;
|
|
303
|
+
// }
|
|
304
|
+
// }
|
|
305
|
+
// }
|
|
306
|
+
// .v-tabs-mobile {
|
|
307
|
+
// .v-slide-group__content {
|
|
308
|
+
// .v-btn__content {
|
|
309
|
+
// display: block !important;
|
|
310
|
+
// }
|
|
311
|
+
// }
|
|
312
|
+
// }
|
|
313
|
+
// }
|
|
318
314
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use "@ldmjs/treeview/styles";
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
.ld-tree-view {
|
|
5
|
+
.ld-tree-view__item {
|
|
6
|
+
font-family: var(--medium);
|
|
7
|
+
font-size: var(--text-body-s);
|
|
8
|
+
color: var(--text);
|
|
9
|
+
min-height: var(--input-s);
|
|
10
|
+
|
|
11
|
+
.ld-tree-view__opener {
|
|
12
|
+
color: var(--grey-d-3);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&--hovered {
|
|
16
|
+
& > ul {
|
|
17
|
+
& > li {
|
|
18
|
+
.ld-tree-view__item {
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: var(--primary-l-6);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ld-tree-view--selected {
|
|
28
|
+
& > .ld-tree-view__item {
|
|
29
|
+
color: var(--primary-d-1);
|
|
30
|
+
background-color: var(--primary-l-5);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -31,12 +31,11 @@
|
|
|
31
31
|
@use "step";
|
|
32
32
|
@use "slider";
|
|
33
33
|
@use "editor";
|
|
34
|
-
@use "treeview";
|
|
35
34
|
@use "textviewer";
|
|
35
|
+
@use "treeview";
|
|
36
36
|
@use "textmarkup";
|
|
37
37
|
@use "expansions";
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
@use "@ldmjs/datatable/styles";
|
|
41
40
|
|
|
42
41
|
@use 'vuetify' with (
|
|
@@ -134,7 +133,6 @@ body {
|
|
|
134
133
|
display: flex;
|
|
135
134
|
flex-direction: column;
|
|
136
135
|
justify-content: center;
|
|
137
|
-
min-height: var(--input-height);
|
|
138
136
|
|
|
139
137
|
.ld-label-content {
|
|
140
138
|
color: var(--text);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type DateRange = [string | Date, string | Date];
|
|
2
|
+
|
|
3
|
+
export interface TimepickerProps {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
is24hr: boolean;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface DatepickerProps {
|
|
9
|
+
minDate: Date;
|
|
10
|
+
maxDate: Date;
|
|
11
|
+
disabledDates: Array<Date>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface IMaskOptions {
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16
|
+
mask: any;
|
|
17
|
+
pattern: string;
|
|
18
|
+
lazy: boolean;
|
|
19
|
+
format: (date: Date) => string;
|
|
20
|
+
parse: (str: string) => Date | Array<Date>;
|
|
21
|
+
blocks: {
|
|
22
|
+
d: {
|
|
23
|
+
mask: typeof IMask.MaskedRange;
|
|
24
|
+
from: number;
|
|
25
|
+
to: number;
|
|
26
|
+
maxLength: number;
|
|
27
|
+
};
|
|
28
|
+
m: {
|
|
29
|
+
mask: typeof IMask.MaskedRange;
|
|
30
|
+
from: number;
|
|
31
|
+
to: number;
|
|
32
|
+
maxLength: number;
|
|
33
|
+
};
|
|
34
|
+
Y: {
|
|
35
|
+
mask: typeof IMask.MaskedRange;
|
|
36
|
+
from: number;
|
|
37
|
+
to: number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
min: unknown;
|
|
41
|
+
max: unknown;
|
|
42
|
+
}
|