@ldmjs/ui 1.0.0-dev-12 → 1.0.0-dev-13
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/LICENSE +21 -21
- package/README.md +45 -6
- package/dist/calendar.js +1 -15796
- package/dist/css/index.css +18 -86
- package/dist/css/root.css +86 -0
- package/dist/index.d.ts +24 -1
- package/dist/index.js +3832 -281
- package/dist/multiselect.js +1 -0
- package/dist/scss/_multiselect.scss +164 -0
- package/dist/scss/_variables.scss +1 -0
- package/dist/scss/index.scss +1 -0
- package/dist/types/options.d.ts +2 -0
- package/dist/types/validation.d.ts +20 -0
- package/package.json +3 -1
- package/dist/css/main.css +0 -14
package/dist/css/index.css
CHANGED
|
@@ -1,86 +1,18 @@
|
|
|
1
|
-
:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
--dark-l-6-04: hsla(219, 83%, 14%, 40%);
|
|
20
|
-
--dark-l-7-03: hsla(219, 83%, 14%, 30%);
|
|
21
|
-
--dark-l-8-02: hsla(219, 83%, 14%, 20%);
|
|
22
|
-
--dark-l-9-01: hsla(219, 83%, 14%, 10%);
|
|
23
|
-
|
|
24
|
-
--secondary-d-4: hsla(204, 100%, 18%, 100%);
|
|
25
|
-
--secondary-d-3: hsla(204, 100%, 26%, 100%);
|
|
26
|
-
--secondary-d-2: hsla(204, 100%, 34%, 100%);
|
|
27
|
-
--secondary-d-1: hsla(204, 100%, 42%, 100%);
|
|
28
|
-
--secondary: hsla(204, 100%, 50%, 100%);
|
|
29
|
-
--secondary-l-1: hsla(204, 100%, 58%, 100%);
|
|
30
|
-
--secondary-l-2: hsla(204, 100%, 66%, 100%);
|
|
31
|
-
--secondary-l-3: hsla(204, 100%, 74%, 100%);
|
|
32
|
-
--secondary-l-4: hsla(204, 100%, 82%, 100%);
|
|
33
|
-
--secondary-l-5: hsla(204, 100%, 90%, 100%);
|
|
34
|
-
|
|
35
|
-
--success-d-3: hsla(135, 59%, 17%, 100%);
|
|
36
|
-
--success-d-2: hsla(135, 59%, 25%, 100%);
|
|
37
|
-
--success-d-1: hsla(135, 59%, 33%, 100%);
|
|
38
|
-
--success: hsla(135, 59%, 41%, 100%);
|
|
39
|
-
--success-l-1: hsla(135, 59%, 49%, 100%);
|
|
40
|
-
--success-l-2: hsla(135, 59%, 57%, 100%);
|
|
41
|
-
--success-l-3: hsla(135, 59%, 65%, 100%);
|
|
42
|
-
--success-l-4: hsla(135, 59%, 73%, 100%);
|
|
43
|
-
--success-l-5: hsla(135, 59%, 81%, 100%);
|
|
44
|
-
--success-l-6: hsla(135, 59%, 89%, 100%);
|
|
45
|
-
|
|
46
|
-
--error-d-3: hsla(7, 82%, 18%, 100%);
|
|
47
|
-
--error-d-2: hsla(7, 82%, 26%, 100%);
|
|
48
|
-
--error-d-1: hsla(7, 82%, 34%, 100%);
|
|
49
|
-
--error: hsla(7, 82%, 42%, 100%);
|
|
50
|
-
--error-l-1: hsla(7, 82%, 50%, 100%);
|
|
51
|
-
--error-l-2: hsla(7, 82%, 58%, 100%);
|
|
52
|
-
--error-l-3: hsla(7, 82%, 66%, 100%);
|
|
53
|
-
--error-l-4: hsla(7, 82%, 74%, 100%);
|
|
54
|
-
--error-l-5: hsla(7, 82%, 82%, 100%);
|
|
55
|
-
--error-l-6: hsla(7, 82%, 90%, 100%);
|
|
56
|
-
|
|
57
|
-
--warning-d-4: hsla(24, 100%, 18%, 100%);
|
|
58
|
-
--warning-d-3: hsla(24, 100%, 26%, 100%);
|
|
59
|
-
--warning-d-2: hsla(24, 100%, 34%, 100%);
|
|
60
|
-
--warning-d-1: hsla(24, 100%, 42%, 100%);
|
|
61
|
-
--warning: hsla(24, 100%, 50%, 100%);
|
|
62
|
-
--warning-l-1: hsla(24, 100%, 58%, 100%);
|
|
63
|
-
--warning-l-2: hsla(24, 100%, 66%, 100%);
|
|
64
|
-
--warning-l-3: hsla(24, 100%, 74%, 100%);
|
|
65
|
-
--warning-l-4: hsla(24, 100%, 82%, 100%);
|
|
66
|
-
--warning-l-5: hsla(24, 100%, 90%, 100%);
|
|
67
|
-
|
|
68
|
-
--grey-d-3: hsla(0, 0%, 14%, 100%);
|
|
69
|
-
--grey-d-2: hsla(0, 0%, 23%, 100%);
|
|
70
|
-
--grey-d-1: hsla(0, 0%, 32%, 100%);
|
|
71
|
-
--grey: hsla(0, 0%, 41%, 100%);
|
|
72
|
-
--grey-l-1: hsla(0, 0%, 50%, 100%);
|
|
73
|
-
--grey-l-2: hsla(0, 0%, 59%, 100%);
|
|
74
|
-
--grey-l-3: hsla(0, 0%, 68%, 100%);
|
|
75
|
-
--grey-l-4: hsla(0, 0%, 77%, 100%);
|
|
76
|
-
--grey-l-5: hsla(0, 0%, 86%, 100%);
|
|
77
|
-
--grey-l-6: hsla(0, 0%, 95%, 100%);
|
|
78
|
-
|
|
79
|
-
--black: hsla(0, 0%, 0%, 100%);
|
|
80
|
-
|
|
81
|
-
--white: hsla(0, 0%, 100%, 100%);
|
|
82
|
-
|
|
83
|
-
--text: hsla(0, 0%, 13%, 100%);
|
|
84
|
-
|
|
85
|
-
--label: hsla(0, 0%, 47%, 100%);
|
|
86
|
-
}
|
|
1
|
+
.loader[data-v-a5beedac]{width:100%;height:100%;top:0px;left:0px;display:flex;justify-content:center;align-items:center;overflow:hidden;transition:opacity 0.15s linear}.loader__icon[data-v-a5beedac]{vertical-align:middle;height:48px}.loader__icon-gray[data-v-a5beedac]{color:var(--grey-l-5)}.loader .circle.small[data-v-a5beedac]{width:calc(var(--font-size) + 4px);height:calc(var(--font-size) + 4px);border-width:3px}.loader .circle.big[data-v-a5beedac]{width:calc(var(--font-size) * 3);height:calc(var(--font-size) * 3);border-width:3px}.loader .circle[data-v-a5beedac]{animation:rotating-a5beedac 0.7s linear infinite;width:calc(var(--font-size) * 2);height:calc(var(--font-size) * 2);border-radius:50%;border:2px solid transparent}.loader.loader__color-primary[data-v-a5beedac]:not(.loader__transparent){background:rgba(255,255,255,0.5)}.loader.loader__color-primary .circle[data-v-a5beedac]{border-right-color:var(--primary);border-bottom-color:var(--primary)}.loader.loader__color-white[data-v-a5beedac]{background:none}.loader.loader__color-white .circle[data-v-a5beedac]{border-right-color:var(--white);border-bottom-color:var(--white)}.loader.loader__white-bg[data-v-a5beedac]:not(.loader__transparent){background:#fff}.loading-mask-global[data-v-a5beedac]{position:fixed !important;width:100vw !important;height:100vh !important}.loading-mask[data-v-a5beedac]{position:absolute;-webkit-backface-visibility:hidden;backface-visibility:hidden}.loader__relative[data-v-a5beedac]{position:relative}@-moz-keyframes rotating-a5beedac{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes rotating-a5beedac{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-o-keyframes rotating-a5beedac{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes rotating-a5beedac{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
|
|
2
|
+
|
|
3
|
+
.ld-splitter[data-v-c282e58e]{height:inherit;display:flex}.ld-splitter .splitter-pane[data-v-c282e58e]{height:inherit;overflow-y:auto;background:var(--white)}.ld-splitter .splitter[data-v-c282e58e]{display:flex;align-items:center;width:7px;background-color:var(--white) !important;border-width:0 1px;border-color:var(--grey-l-5);border-style:solid}.ld-splitter.splitter[data-v-c282e58e]{width:100%;border-left:none;border-right:none}
|
|
4
|
+
|
|
5
|
+
.label[data-v-12071c41]{word-wrap:break-word;max-width:100%;padding-bottom:2px;color:var(--label) !important;font-size:var(--font-size)}.label-wrapper[data-v-12071c41]{display:flex;align-items:center;min-height:var(--input-height)}.require[data-v-12071c41]::after{content:'*';display:inline-block;color:var(--error)}
|
|
6
|
+
|
|
7
|
+
.input-class[data-v-7ded9864]{height:var(--input-height);font-size:var(--font-size);max-width:100%;border-radius:var(--border-radius);border:1px solid var(--grey-l-5);padding:0 6px}.input-class[data-v-7ded9864]:not(.disabled){background-color:var(--white)}.input-class[data-v-7ded9864]:focus{border:1px solid var(--grey-l-4);outline:none}.input-class__suffix[data-v-7ded9864]{position:absolute;top:3px;right:6px;color:var(--label)}
|
|
8
|
+
|
|
9
|
+
.ld-datepicker[data-v-602bf8e3]{display:flex;min-width:100%;max-width:100%;width:100%;font-size:var(--font-size)}.ld-datepicker.column[data-v-602bf8e3]{flex-flow:column nowrap}.ld-datepicker-validate[data-v-602bf8e3]{overflow:hidden;height:20px}.custom-time-picker[data-v-602bf8e3]{max-width:var(--date-time-width);border-radius:var(--border-radius);background-color:var(--white);font-size:inherit !important}.custom-time-picker-validate[data-v-602bf8e3]{overflow:hidden;height:20px}.date-input[data-v-602bf8e3]{padding-left:5px;width:100%;font-size:var(--font-size)}.time-input[data-v-602bf8e3]{width:100%;padding-left:5px;font-size:var(--font-size)}.time-input-btn[data-v-602bf8e3]{padding-right:5px}.dt-col[data-v-602bf8e3]{max-width:110px}.time-selector[data-v-602bf8e3]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-602bf8e3]{display:inline-block;width:100%;text-align:center;font-family:'Roboto';font-size:var(--font-size-2);font-weight:700}.time-selector .v-btn[data-v-602bf8e3]{width:30px !important;height:30px !important;max-width:30px !important;max-height:30px !important;min-width:30px !important;min-height:30px !important;margin:3px}[data-v-602bf8e3] .vc-popover-content-wrapper{position:fixed !important}[data-v-602bf8e3] .v-input--is-disabled input{color:var(--text) !important}[data-v-602bf8e3] .vc-popover-content{border-color:var(--grey-l-5)}[data-v-602bf8e3] .vc-title span{color:var(--text);font-size:var(--font-size-2);font-weight:600;font-family:'Roboto'}[data-v-602bf8e3] .vc-arrow{color:var(--grey)}[data-v-602bf8e3] .vc-weekday{color:var(--grey-l-2);font-size:var(--font-size);font-weight:600;font-family:'Roboto'}[data-v-602bf8e3] .vc-day-content{color:var(--text);font-size:var(--font-size);font-weight:400;font-family:'Roboto'}[data-v-602bf8e3] .vc-day-content.vc-disabled{color:var(--grey-l-2) !important}[data-v-602bf8e3] .vc-day-content.vc-highlight-content-solid{color:var(--white) !important;font-weight:600 !important}
|
|
10
|
+
|
|
11
|
+
.ld-tabs[data-v-de9a059c]{margin-left:0;display:flex;height:100%;width:100%;overflow-y:auto}.ld-tabs .header-text[data-v-de9a059c]{font-size:var(--font-size-2)}.ld-tabs-mobile[data-v-de9a059c]{height:100%}.ld-tabs .body[data-v-de9a059c]{display:flex;flex-flow:column nowrap;max-width:100%;width:100%;height:100%;justify-content:space-between;padding-top:3px}.ld-tabs .vertical-body[data-v-de9a059c]{--w: 44px;display:flex;flex-flow:column nowrap;width:calc(100% - var(--w)) !important;height:100%}.v-window[data-v-de9a059c]{background-color:var(--white);box-shadow:1px 0 var(--grey-l-5),-1px 0 0 var(--grey-l-5);overflow-y:auto;height:100%;width:100%}.vertical-window.v-window[data-v-de9a059c]{padding:10px 12px;border-bottom:1px solid var(--grey-l-5);border-right:1px solid var(--grey-l-5);border-top:1px solid var(--grey-l-5)}.vertical-window.v-window--no-padding[data-v-de9a059c]{padding:0 !important}[data-v-de9a059c] .ld-tabs .v-tab{background-color:transparent}[data-v-de9a059c] .ld-tabs .v-slide-group-item--active{background-color:var(--white)}[data-v-de9a059c] .v-window.mobile .tg-field .v-row .v-col{flex:1 0 0 !important}[data-v-de9a059c] .v-window.mobile .tg-field .text-viewer-wrapper .v-col{flex:1 0 0 !important}[data-v-de9a059c] .vertical-tab .v-tab{justify-content:flex-start;border:1px solid var(--grey-l-5);border-radius:0 !important;text-transform:none !important;width:100%;min-width:auto !important}[data-v-de9a059c] .vertical-tab .v-tab:last-child{border-bottom:1px solid var(--grey-l-5) !important}[data-v-de9a059c] .vertical-tab .v-slide-group__content{flex-flow:column nowrap;height:100% !important;width:100% !important}[data-v-de9a059c] .vertical-tab .v-slide-group__content .v-btn__content{text-overflow:ellipsis;display:inline-flex;justify-content:flex-start;gap:4px;white-space:nowrap;overflow:hidden}[data-v-de9a059c] .v-tab{height:var(--ld-tab-height) !important;display:flex !important;text-transform:uppercase !important;border-bottom:none !important;padding:0 12px !important;font-size:var(--font-size);color:var(--text) !important;background-color:var(--white);letter-spacing:0 !important}[data-v-de9a059c] .v-tab.v-slide-group-item--active{border-right-color:transparent}[data-v-de9a059c] .v-slide-group-item--active .v-btn__content{font-weight:bold;color:var(--primary) !important}[data-v-de9a059c] .v-btn:hover::before{background-color:inherit}[data-v-de9a059c] .v-slide-group--vertical{border-color:var(--grey-l-5);border:1px}[data-v-de9a059c] .v-slide-group--vertical .v-tab__slider{width:0px}[data-v-de9a059c] .v-tabs-bar{flex:none;height:fit-content;height:-moz-max-content;max-height:fit-content;max-height:-moz-max-content;z-index:1}[data-v-de9a059c] .v-window-item{height:100%}[data-v-de9a059c] .ld-tabs-mobile.hide-tabs .v-tab{display:none !important}[data-v-de9a059c] .ld-tabs-mobile.hide-body .v-slide-group{width:100% !important}[data-v-de9a059c] .ld-tabs-mobile.hide-body .v-window{display:none !important}[data-v-de9a059c] .v-tabs-mobile .v-slide-group__content .v-btn__content{display:block !important}
|
|
12
|
+
|
|
13
|
+
.v-toolbar[data-v-79e04ede]{position:relative;background-color:var(--white);box-shadow:var(--shadow-1);z-index:1}.toolbar-wrapper[data-v-79e04ede]{display:grid;width:100%;height:100%;padding:0 12px}.toolbar-wrapper[data-v-79e04ede]:not(.--preview){grid-template-columns:100%;grid-template-rows:var(--input-height);row-gap:4px}.toolbar-wrapper.--preview[data-v-79e04ede]{grid-template-columns:1fr}.toolbar-inner[data-v-79e04ede]{display:grid;grid-template-rows:100%;grid-template-columns:1fr max-content;column-gap:8px}.toolbar-caption[data-v-79e04ede]{--left: calc(var(--input-height) + 8px);display:flex;align-items:center;position:absolute;height:100%;width:calc(100% - var(--left));top:0;left:var(--left)}
|
|
14
|
+
|
|
15
|
+
.ld-select-list-box[data-v-6aad601a]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-select-list-box .select-list-textbox-validate[data-v-6aad601a]{overflow:hidden;height:20px}.ld-select-list-box .select-list-textbox-single[data-v-6aad601a]{max-width:400px;border-radius:var(--border-radius)}.ld-select-list-box .select-list-textbox-loading[data-v-6aad601a]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-select-list-box .select-list-textbox-loading[data-v-6aad601a]:before{content:'';display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-6aad601a 1.4s linear;animation-iteration-count:infinite}@keyframes loading-6aad601a{from{transform:translateX(-300%)}to{transform:translateX(500%)}}[data-v-6aad601a] .ld-select-list-box.column{flex-flow:column}[data-v-6aad601a] .ld-select-list-box.column .multiselect__tags-wrap{flex-flow:wrap;align-items:normal}
|
|
16
|
+
|
|
17
|
+
.ld-checkbox{display:flex;align-items:center;height:var(--input-height);font-size:var(--font-size);cursor:pointer}.ld-checkbox input[type='checkbox']+.v-icon{display:block;width:12px !important;height:12px !important;font-size:10px !important;background-color:var(--white);color:transparent;border:1px solid var(--grey-l-5)}.ld-checkbox input[type='checkbox']:checked+.v-icon{background-color:var(--primary-l-2);color:var(--white);font-size:10px;font-weight:bold}.ld-checkbox input[type='checkbox']:disabled+.v-icon{background-color:var(--grey-l-3)}.checkbox-label{word-wrap:break-word;max-width:100%;color:var(--label) !important}.checkbox-label--disabled{color:var(--grey-l-3) !important}
|
|
18
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--primary-d-1: hsla(210, 100%, 18%, 100%);
|
|
3
|
+
--primary: hsla(210, 100%, 26%, 100%);
|
|
4
|
+
--primary-l-1: hsla(210, 100%, 34%, 100%);
|
|
5
|
+
--primary-l-2: hsla(210, 100%, 42%, 100%);
|
|
6
|
+
--primary-l-3: hsla(210, 100%, 50%, 100%);
|
|
7
|
+
--primary-l-4: hsla(210, 100%, 58%, 100%);
|
|
8
|
+
--primary-l-5: hsla(210, 100%, 66%, 100%);
|
|
9
|
+
--primary-l-6: hsla(210, 100%, 74%, 100%);
|
|
10
|
+
--primary-l-7: hsla(210, 100%, 82%, 100%);
|
|
11
|
+
--primary-l-8: hsla(210, 100%, 90%, 100%);
|
|
12
|
+
|
|
13
|
+
--dark: hsla(219, 83%, 14%, 100%);
|
|
14
|
+
--dark-l-1-09: hsla(219, 83%, 14%, 90%);
|
|
15
|
+
--dark-l-2-08: hsla(219, 83%, 14%, 80%);
|
|
16
|
+
--dark-l-3-07: hsla(219, 83%, 14%, 70%);
|
|
17
|
+
--dark-l-4-06: hsla(219, 83%, 14%, 60%);
|
|
18
|
+
--dark-l-5-05: hsla(219, 83%, 14%, 50%);
|
|
19
|
+
--dark-l-6-04: hsla(219, 83%, 14%, 40%);
|
|
20
|
+
--dark-l-7-03: hsla(219, 83%, 14%, 30%);
|
|
21
|
+
--dark-l-8-02: hsla(219, 83%, 14%, 20%);
|
|
22
|
+
--dark-l-9-01: hsla(219, 83%, 14%, 10%);
|
|
23
|
+
|
|
24
|
+
--secondary-d-4: hsla(204, 100%, 18%, 100%);
|
|
25
|
+
--secondary-d-3: hsla(204, 100%, 26%, 100%);
|
|
26
|
+
--secondary-d-2: hsla(204, 100%, 34%, 100%);
|
|
27
|
+
--secondary-d-1: hsla(204, 100%, 42%, 100%);
|
|
28
|
+
--secondary: hsla(204, 100%, 50%, 100%);
|
|
29
|
+
--secondary-l-1: hsla(204, 100%, 58%, 100%);
|
|
30
|
+
--secondary-l-2: hsla(204, 100%, 66%, 100%);
|
|
31
|
+
--secondary-l-3: hsla(204, 100%, 74%, 100%);
|
|
32
|
+
--secondary-l-4: hsla(204, 100%, 82%, 100%);
|
|
33
|
+
--secondary-l-5: hsla(204, 100%, 90%, 100%);
|
|
34
|
+
|
|
35
|
+
--success-d-3: hsla(135, 59%, 17%, 100%);
|
|
36
|
+
--success-d-2: hsla(135, 59%, 25%, 100%);
|
|
37
|
+
--success-d-1: hsla(135, 59%, 33%, 100%);
|
|
38
|
+
--success: hsla(135, 59%, 41%, 100%);
|
|
39
|
+
--success-l-1: hsla(135, 59%, 49%, 100%);
|
|
40
|
+
--success-l-2: hsla(135, 59%, 57%, 100%);
|
|
41
|
+
--success-l-3: hsla(135, 59%, 65%, 100%);
|
|
42
|
+
--success-l-4: hsla(135, 59%, 73%, 100%);
|
|
43
|
+
--success-l-5: hsla(135, 59%, 81%, 100%);
|
|
44
|
+
--success-l-6: hsla(135, 59%, 89%, 100%);
|
|
45
|
+
|
|
46
|
+
--error-d-3: hsla(7, 82%, 18%, 100%);
|
|
47
|
+
--error-d-2: hsla(7, 82%, 26%, 100%);
|
|
48
|
+
--error-d-1: hsla(7, 82%, 34%, 100%);
|
|
49
|
+
--error: hsla(7, 82%, 42%, 100%);
|
|
50
|
+
--error-l-1: hsla(7, 82%, 50%, 100%);
|
|
51
|
+
--error-l-2: hsla(7, 82%, 58%, 100%);
|
|
52
|
+
--error-l-3: hsla(7, 82%, 66%, 100%);
|
|
53
|
+
--error-l-4: hsla(7, 82%, 74%, 100%);
|
|
54
|
+
--error-l-5: hsla(7, 82%, 82%, 100%);
|
|
55
|
+
--error-l-6: hsla(7, 82%, 90%, 100%);
|
|
56
|
+
|
|
57
|
+
--warning-d-4: hsla(24, 100%, 18%, 100%);
|
|
58
|
+
--warning-d-3: hsla(24, 100%, 26%, 100%);
|
|
59
|
+
--warning-d-2: hsla(24, 100%, 34%, 100%);
|
|
60
|
+
--warning-d-1: hsla(24, 100%, 42%, 100%);
|
|
61
|
+
--warning: hsla(24, 100%, 50%, 100%);
|
|
62
|
+
--warning-l-1: hsla(24, 100%, 58%, 100%);
|
|
63
|
+
--warning-l-2: hsla(24, 100%, 66%, 100%);
|
|
64
|
+
--warning-l-3: hsla(24, 100%, 74%, 100%);
|
|
65
|
+
--warning-l-4: hsla(24, 100%, 82%, 100%);
|
|
66
|
+
--warning-l-5: hsla(24, 100%, 90%, 100%);
|
|
67
|
+
|
|
68
|
+
--grey-d-3: hsla(0, 0%, 14%, 100%);
|
|
69
|
+
--grey-d-2: hsla(0, 0%, 23%, 100%);
|
|
70
|
+
--grey-d-1: hsla(0, 0%, 32%, 100%);
|
|
71
|
+
--grey: hsla(0, 0%, 41%, 100%);
|
|
72
|
+
--grey-l-1: hsla(0, 0%, 50%, 100%);
|
|
73
|
+
--grey-l-2: hsla(0, 0%, 59%, 100%);
|
|
74
|
+
--grey-l-3: hsla(0, 0%, 68%, 100%);
|
|
75
|
+
--grey-l-4: hsla(0, 0%, 77%, 100%);
|
|
76
|
+
--grey-l-5: hsla(0, 0%, 86%, 100%);
|
|
77
|
+
--grey-l-6: hsla(0, 0%, 95%, 100%);
|
|
78
|
+
|
|
79
|
+
--black: hsla(0, 0%, 0%, 100%);
|
|
80
|
+
|
|
81
|
+
--white: hsla(0, 0%, 100%, 100%);
|
|
82
|
+
|
|
83
|
+
--text: hsla(0, 0%, 13%, 100%);
|
|
84
|
+
|
|
85
|
+
--label: hsla(0, 0%, 47%, 100%);
|
|
86
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,32 @@
|
|
|
1
1
|
import { ldmuiOptions } from './types/options'
|
|
2
|
+
import { IInput, IWatcher } from './types/validation';
|
|
3
|
+
import { Vue } from 'vue-class-component';
|
|
2
4
|
|
|
3
5
|
declare const defaults: Record<string, unknown>;
|
|
4
6
|
declare function getAliases(components: Record<string, unknown>): Record<string, unknown>;
|
|
5
7
|
declare function isDefined(value: unknown): boolean;
|
|
6
8
|
declare function uidGen(len?: number, format?: string): string | number;
|
|
7
9
|
declare function delay(timeout: number): Promise<void>;
|
|
10
|
+
declare function deepValueGetter(obj: Record<string, unknown>, path: string): unknown;
|
|
11
|
+
declare function isObjectEmpty(obj: Record<string, unknown>): boolean;
|
|
8
12
|
declare const datetime: {
|
|
9
13
|
dateLocalToISO: (value: string) => string;
|
|
10
14
|
}
|
|
15
|
+
declare class ValidateMixin extends Vue {
|
|
16
|
+
inputs: Array<IInput>;
|
|
17
|
+
watchers: Array<IWatcher>;
|
|
18
|
+
errorBag: Record<number, boolean>;
|
|
19
|
+
lazyValidation: boolean;
|
|
20
|
+
isValid: boolean;
|
|
21
|
+
section: number | string;
|
|
22
|
+
validate: () => boolean;
|
|
23
|
+
register: (input: Vue, section: number | string) => void;
|
|
24
|
+
unregister: (input: IInput) => void;
|
|
25
|
+
validateSection: (section: number | string) => boolean;
|
|
26
|
+
customValidateFunc: () => string | boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare const ValidateMixinOptions: Record<string, any>;
|
|
11
30
|
|
|
12
31
|
declare const ldmui: {
|
|
13
32
|
install(vue: any, options?: ldmuiOptions): void;
|
|
@@ -21,5 +40,9 @@ export {
|
|
|
21
40
|
isDefined,
|
|
22
41
|
delay,
|
|
23
42
|
uidGen,
|
|
24
|
-
|
|
43
|
+
deepValueGetter,
|
|
44
|
+
isObjectEmpty,
|
|
45
|
+
datetime,
|
|
46
|
+
ValidateMixin,
|
|
47
|
+
ValidateMixinOptions
|
|
25
48
|
}
|