@ldmjs/ui 1.0.0-dev-20 → 1.0.0-dev-22
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/css/index.css +7 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +661 -103
- package/dist/types/options.d.ts +2 -0
- package/package.json +2 -1
package/dist/css/index.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
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
2
|
|
|
3
|
-
.ld-splitter[data-v-
|
|
3
|
+
.ld-splitter[data-v-4f01e865]{height:inherit;display:flex}.ld-splitter .splitter-pane[data-v-4f01e865]{height:inherit;overflow-y:auto;background:var(--white)}.ld-splitter .splitter[data-v-4f01e865]{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-4f01e865]{width:100%;border-left:none;border-right:none}
|
|
4
4
|
|
|
5
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
6
|
|
|
7
|
-
.ld-edit-text[data-v-
|
|
7
|
+
.ld-edit-text[data-v-3bc142d2]{min-width:100%}.input-class[data-v-3bc142d2]{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-3bc142d2]:not(.disabled){background-color:var(--white)}.input-class[data-v-3bc142d2]:focus{border:1px solid var(--grey-l-4);outline:none}.input-class__suffix[data-v-3bc142d2]{position:absolute;top:3px;right:6px;color:var(--label)}
|
|
8
8
|
|
|
9
|
-
.ld-datepicker[data-v-
|
|
9
|
+
.ld-datepicker[data-v-b65d2d3a]{display:flex;min-width:100%;max-width:100%;width:100%;font-size:var(--font-size)}.ld-datepicker.column[data-v-b65d2d3a]{flex-flow:column nowrap}.ld-datepicker-validate[data-v-b65d2d3a]{overflow:hidden;height:20px}.custom-time-picker[data-v-b65d2d3a]{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-b65d2d3a]{overflow:hidden;height:20px}.date-input[data-v-b65d2d3a]{padding-left:5px;width:100%;font-size:var(--font-size)}.time-input[data-v-b65d2d3a]{width:100%;padding-left:5px;font-size:var(--font-size)}.time-input-btn[data-v-b65d2d3a]{padding-right:5px}.dt-col[data-v-b65d2d3a]{max-width:110px}.time-selector[data-v-b65d2d3a]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-b65d2d3a]{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-b65d2d3a]{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-b65d2d3a] .vc-popover-content-wrapper{position:fixed !important}[data-v-b65d2d3a] .v-input--is-disabled input{color:var(--text) !important}[data-v-b65d2d3a] .vc-popover-content{border-color:var(--grey-l-5)}[data-v-b65d2d3a] .vc-title span{color:var(--text);font-size:var(--font-size-2);font-weight:600;font-family:'Roboto'}[data-v-b65d2d3a] .vc-arrow{color:var(--grey)}[data-v-b65d2d3a] .vc-weekday{color:var(--grey-l-2);font-size:var(--font-size);font-weight:600;font-family:'Roboto'}[data-v-b65d2d3a] .vc-day-content{color:var(--text);font-size:var(--font-size);font-weight:400;font-family:'Roboto'}[data-v-b65d2d3a] .vc-day-content.vc-disabled{color:var(--grey-l-2) !important}[data-v-b65d2d3a] .vc-day-content.vc-highlight-content-solid{color:var(--white) !important;font-weight:600 !important}
|
|
10
10
|
|
|
11
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
12
|
|
|
@@ -26,3 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
.ld-combobox[data-v-7bbbdbd8]{display:flex;min-width:100%;max-width:100%;width:100%}.ld-combobox .combobox-validate[data-v-7bbbdbd8]{overflow:hidden;height:20px}.ld-combobox .combobox-loading[data-v-7bbbdbd8]{position:absolute;left:0;bottom:0;width:calc(100% - var(--input-height));height:3px;overflow:hidden;background-color:var(--grey-l-5)}.ld-combobox .combobox-loading[data-v-7bbbdbd8]:before{content:'';display:block;position:absolute;top:0;left:0;width:25%;height:100%;background-color:var(--primary);animation:loading-7bbbdbd8 1.4s linear;animation-iteration-count:infinite}@keyframes loading-7bbbdbd8{from{transform:translateX(-300%)}to{transform:translateX(500%)}}
|
|
28
28
|
|
|
29
|
+
.time-selector[data-v-256abd0d]{display:flex;flex-wrap:wrap;max-width:186px;padding:3px}.time-selector>span[data-v-256abd0d]{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-256abd0d]{width:30px !important;height:30px !important;max-width:30px !important;max-height:30px !important;min-width:30px !important;min-height:30px !important;margin:3px}.ld-timepicker-validate[data-v-256abd0d]{overflow:hidden;height:20px}
|
|
30
|
+
|
|
31
|
+
.ld-text-viewer[data-v-acef52d4]{min-width:100%;display:flex;flex-direction:column;white-space:break-spaces;font-size:var(--font-size)}.ld-text-viewer .column[data-v-acef52d4]{flex-flow:column}
|
|
32
|
+
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ declare function uidGen(len?: number, format?: string): string | number;
|
|
|
9
9
|
declare function delay(timeout: number): Promise<void>;
|
|
10
10
|
declare function deepValueGetter(obj: Record<string, unknown>, path: string): unknown;
|
|
11
11
|
declare function isObjectEmpty(obj: Record<string, unknown>): boolean;
|
|
12
|
+
declare const urlRegexp: RegExp;
|
|
12
13
|
declare const datetime: {
|
|
13
14
|
dateLocalToISO: (value: string) => string;
|
|
14
15
|
toServerString: (value: Date) => string;
|
|
@@ -43,6 +44,7 @@ export {
|
|
|
43
44
|
uidGen,
|
|
44
45
|
deepValueGetter,
|
|
45
46
|
isObjectEmpty,
|
|
47
|
+
urlRegexp,
|
|
46
48
|
datetime,
|
|
47
49
|
ValidateMixin,
|
|
48
50
|
ValidateMixinOptions
|
package/dist/index.js
CHANGED
|
@@ -180,7 +180,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
180
180
|
getAliases: () => (/* reexport */ getAliases),
|
|
181
181
|
isDefined: () => (/* reexport */ isDefined),
|
|
182
182
|
isObjectEmpty: () => (/* reexport */ isObjectEmpty),
|
|
183
|
-
uidGen: () => (/* reexport */ uidGen)
|
|
183
|
+
uidGen: () => (/* reexport */ uidGen),
|
|
184
|
+
urlRegexp: () => (/* reexport */ urlRegexp)
|
|
184
185
|
});
|
|
185
186
|
|
|
186
187
|
// NAMESPACE OBJECT: ./src/utils/index.ts
|
|
@@ -192,7 +193,8 @@ __webpack_require__.d(utils_namespaceObject, {
|
|
|
192
193
|
delay: () => (delay),
|
|
193
194
|
isDefined: () => (isDefined),
|
|
194
195
|
isObjectEmpty: () => (isObjectEmpty),
|
|
195
|
-
uidGen: () => (uidGen)
|
|
196
|
+
uidGen: () => (uidGen),
|
|
197
|
+
urlRegexp: () => (urlRegexp)
|
|
196
198
|
});
|
|
197
199
|
|
|
198
200
|
// EXTERNAL MODULE: external "vue"
|
|
@@ -816,30 +818,16 @@ function ld_button_reg(vue, options) {
|
|
|
816
818
|
}
|
|
817
819
|
/* harmony default export */ const src_ld_button = (ld_button_reg);
|
|
818
820
|
|
|
819
|
-
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-splitter/ld-splitter.vue?vue&type=template&id=
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
const
|
|
823
|
-
const
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
viewBox: "0 0 1.5875 8.4666668",
|
|
827
|
-
height: "32",
|
|
828
|
-
width: "6"
|
|
829
|
-
}, [
|
|
830
|
-
/*#__PURE__*/(0,external_vue_.createElementVNode)("g", null, [
|
|
831
|
-
/*#__PURE__*/(0,external_vue_.createElementVNode)("path", {
|
|
832
|
-
transform: "scale(0.26458333)",
|
|
833
|
-
d: "M 0.38476562 0.7265625 L 0.38476562 3.2910156 L 2.53125 3.2910156 L 2.53125 0.7265625 L 0.38476562 0.7265625 z M 3.4941406 0.7265625 L 3.4941406 3.2910156 L 5.6699219 3.2910156 L 5.6699219 0.7265625 L 3.4941406 0.7265625 z M 0.38476562 4.2519531 L 0.38476562 6.8144531 L 2.53125 6.8144531 L 2.53125 4.2519531 L 0.38476562 4.2519531 z M 3.4941406 4.2519531 L 3.4941406 6.8144531 L 5.6699219 6.8144531 L 5.6699219 4.2519531 L 3.4941406 4.2519531 z M 0.38476562 7.7753906 L 0.38476562 10.339844 L 2.53125 10.339844 L 2.53125 7.7753906 L 0.38476562 7.7753906 z M 3.4941406 7.7753906 L 3.4941406 10.339844 L 5.6699219 10.339844 L 5.6699219 7.7753906 L 3.4941406 7.7753906 z M 0.38476562 11.298828 L 0.38476562 13.863281 L 2.53125 13.863281 L 2.53125 11.298828 L 0.38476562 11.298828 z M 3.4941406 11.298828 L 3.4941406 13.863281 L 5.6699219 13.863281 L 5.6699219 11.298828 L 3.4941406 11.298828 z M 0.38476562 14.822266 L 0.38476562 17.386719 L 2.53125 17.386719 L 2.53125 14.822266 L 0.38476562 14.822266 z M 3.4941406 14.822266 L 3.4941406 17.386719 L 5.6699219 17.386719 L 5.6699219 14.822266 L 3.4941406 14.822266 z M 0.38476562 18.347656 L 0.38476562 20.910156 L 2.53125 20.910156 L 2.53125 18.347656 L 0.38476562 18.347656 z M 3.4941406 18.347656 L 3.4941406 20.910156 L 5.6699219 20.910156 L 5.6699219 18.347656 L 3.4941406 18.347656 z M 0.38476562 21.871094 L 0.38476562 24.435547 L 2.53125 24.435547 L 2.53125 21.871094 L 0.38476562 21.871094 z M 3.4941406 21.871094 L 3.4941406 24.435547 L 5.6699219 24.435547 L 5.6699219 21.871094 L 3.4941406 21.871094 z M 0.38476562 25.394531 L 0.38476562 27.958984 L 2.53125 27.958984 L 2.53125 25.394531 L 0.38476562 25.394531 z M 3.4941406 25.394531 L 3.4941406 27.958984 L 5.6699219 27.958984 L 5.6699219 25.394531 L 3.4941406 25.394531 z M 0.38476562 28.917969 L 0.38476562 31.482422 L 2.53125 31.482422 L 2.53125 28.917969 L 0.38476562 28.917969 z M 3.4941406 28.917969 L 3.4941406 31.482422 L 5.6699219 31.482422 L 5.6699219 28.917969 L 3.4941406 28.917969 z ",
|
|
834
|
-
style: {"fill":"#cccccc","stroke-width":"0.831496"}
|
|
835
|
-
})
|
|
836
|
-
])
|
|
837
|
-
], -1))
|
|
838
|
-
const ld_splittervue_type_template_id_c282e58e_scoped_true_hoisted_2 = [
|
|
839
|
-
ld_splittervue_type_template_id_c282e58e_scoped_true_hoisted_1
|
|
821
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-splitter/ld-splitter.vue?vue&type=template&id=4f01e865&scoped=true
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
const ld_splittervue_type_template_id_4f01e865_scoped_true_withScopeId = n => (_pushScopeId("data-v-4f01e865"),n=n(),_popScopeId(),n)
|
|
825
|
+
const ld_splittervue_type_template_id_4f01e865_scoped_true_hoisted_1 = /*#__PURE__*/(0,external_vue_.createStaticVNode)("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"6\" height=\"45\" viewBox=\"0 0 1.5875 11.90625\" version=\"1.1\" data-v-4f01e865><g id=\"layer1\" data-v-4f01e865><path d=\"M 0.07060175,0.12564185 V 0.81087133 H 0.63904249 V 0.12564185 Z m 0.9151896,0.005168 V 0.81603896 H 1.5542321 V 0.13080949 Z M 0.07060175,1.340038 V 2.0252675 H 0.63904249 V 1.340038 Z m 0.9151896,0.00517 V 2.0304351 H 1.5542321 V 1.3452056 Z M 0.07060175,2.5544342 V 3.2396635 H 0.63904249 V 2.5544342 Z m 0.9151896,0.00517 V 3.2448313 H 1.5542321 V 2.5596018 Z m -0.9151896,1.209226 V 4.4540597 H 0.63904249 V 3.7688302 Z m 0.9151896,0.00517 V 4.4592276 H 1.5542321 V 3.773998 Z M 0.07060175,4.9832264 V 5.6684559 H 0.63904249 V 4.9832264 Z m 0.9151896,0.00517 V 5.6736235 H 1.5542321 V 4.9883942 Z\" style=\"fill:#b3b3b3;stroke-width:0.219999;\" id=\"rect864\" data-v-4f01e865></path> <path id=\"rect864-4\" style=\"fill:#b3b3b3;stroke-width:0.219999;\" d=\"m 0.07060179,4.9832264 v 0.6852295 h 0.5684407 V 4.9832264 Z m 0.9151896,0.00517 V 5.6736235 H 1.5542322 V 4.988394 Z m -0.9151896,1.2092261 v 0.6852296 h 0.5684407 V 6.1976225 Z m 0.9151896,0.00517 V 6.8880197 H 1.5542322 V 6.2027902 Z m -0.9151896,1.2092262 v 0.6852294 h 0.5684407 V 7.4120187 Z m 0.9151896,0.00517 V 8.102416 H 1.5542322 V 7.4171864 Z m -0.9151896,1.2092261 v 0.6852296 h 0.5684407 V 8.6264148 Z m 0.9151896,0.00517 V 9.3168117 H 1.5542322 V 8.6315827 Z M 0.07060179,9.840811 v 0.685228 h 0.5684407 V 9.840811 Z m 0.9151896,0.00517 v 0.685225 H 1.5542322 V 9.8459783 Z\" data-v-4f01e865></path> <path id=\"rect864-7\" style=\"fill:#b3b3b3;stroke-width:0.219999;\" d=\"M 0.07060179,6.1976225 V 6.882852 h 0.5684407 V 6.1976225 Z m 0.9151896,0.00517 V 6.8880197 H 1.5542322 V 6.2027902 Z m -0.9151896,1.2092261 v 0.6852296 h 0.5684407 V 7.4120186 Z m 0.9151896,0.00517 V 8.1024158 H 1.5542322 V 7.4171863 Z m -0.9151896,1.2092262 v 0.6852294 h 0.5684407 V 8.6264148 Z m 0.9151896,0.00517 V 9.3168121 H 1.5542322 V 8.6315825 Z M 0.07060179,9.840811 v 0.685229 h 0.5684407 V 9.840811 Z m 0.9151896,0.0052 v 0.685226 H 1.5542322 V 9.846009 Z m -0.9151896,1.209225 v 0.68523 h 0.5684407 v -0.68523 z m 0.9151896,0.0052 v 0.685227 H 1.5542322 v -0.68523 z\" data-v-4f01e865></path></g></svg>", 1)
|
|
826
|
+
const ld_splittervue_type_template_id_4f01e865_scoped_true_hoisted_2 = [
|
|
827
|
+
ld_splittervue_type_template_id_4f01e865_scoped_true_hoisted_1
|
|
840
828
|
]
|
|
841
829
|
|
|
842
|
-
function
|
|
830
|
+
function ld_splittervue_type_template_id_4f01e865_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
843
831
|
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
|
|
844
832
|
style: (0,external_vue_.normalizeStyle)({
|
|
845
833
|
cursor: _ctx.active ? (_ctx.horizontal ? 'ns-resize' : 'ew-resize') : '',
|
|
@@ -867,7 +855,7 @@ function ld_splittervue_type_template_id_c282e58e_scoped_true_render(_ctx, _cach
|
|
|
867
855
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args))),
|
|
868
856
|
onTouchstart: _cache[1] || (_cache[1] = (0,external_vue_.withModifiers)((...args) => (_ctx.onDown && _ctx.onDown(...args)), ["prevent"])),
|
|
869
857
|
onMousedown: _cache[2] || (_cache[2] = (...args) => (_ctx.onDown && _ctx.onDown(...args)))
|
|
870
|
-
},
|
|
858
|
+
}, ld_splittervue_type_template_id_4f01e865_scoped_true_hoisted_2, 38), [
|
|
871
859
|
[external_vue_.vShow, _ctx.leftVisibled && _ctx.rightVisibled]
|
|
872
860
|
]),
|
|
873
861
|
(0,external_vue_.createTextVNode)(),
|
|
@@ -881,7 +869,7 @@ function ld_splittervue_type_template_id_c282e58e_scoped_true_render(_ctx, _cach
|
|
|
881
869
|
])
|
|
882
870
|
], 38))
|
|
883
871
|
}
|
|
884
|
-
;// CONCATENATED MODULE: ./src/ld-splitter/ld-splitter.vue?vue&type=template&id=
|
|
872
|
+
;// CONCATENATED MODULE: ./src/ld-splitter/ld-splitter.vue?vue&type=template&id=4f01e865&scoped=true
|
|
885
873
|
|
|
886
874
|
;// CONCATENATED MODULE: ./node_modules/lodash-es/isObject.js
|
|
887
875
|
/**
|
|
@@ -1607,7 +1595,7 @@ SplitterComponent = ld_splittervue_type_script_lang_js_external_decorate([
|
|
|
1607
1595
|
;
|
|
1608
1596
|
|
|
1609
1597
|
|
|
1610
|
-
const ld_splitter_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_splittervue_type_script_lang_js_external, [['render',
|
|
1598
|
+
const ld_splitter_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_splittervue_type_script_lang_js_external, [['render',ld_splittervue_type_template_id_4f01e865_scoped_true_render],['__scopeId',"data-v-4f01e865"]])
|
|
1611
1599
|
|
|
1612
1600
|
/* harmony default export */ const ld_splitter = (ld_splitter_exports_);
|
|
1613
1601
|
;// CONCATENATED MODULE: ./src/ld-splitter/index.ts
|
|
@@ -1845,12 +1833,12 @@ function ld_breadcrumbs_reg(vue, options) {
|
|
|
1845
1833
|
}
|
|
1846
1834
|
/* harmony default export */ const src_ld_breadcrumbs = (ld_breadcrumbs_reg);
|
|
1847
1835
|
|
|
1848
|
-
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=
|
|
1836
|
+
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=3bc142d2&scoped=true&ts=true
|
|
1849
1837
|
|
|
1850
|
-
const
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1853
|
-
const _hoisted_3 = /*#__PURE__*/
|
|
1838
|
+
const ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_withScopeId = n => ((0,external_vue_.pushScopeId)("data-v-3bc142d2"), n = n(), (0,external_vue_.popScopeId)(), n);
|
|
1839
|
+
const ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_hoisted_1 = { class: "ld-edit-text" };
|
|
1840
|
+
const ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_hoisted_2 = { key: 0 };
|
|
1841
|
+
const _hoisted_3 = /*#__PURE__*/ ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_withScopeId(() => /*#__PURE__*/ (0,external_vue_.createElementVNode)("span", null, "Показать пароль", -1));
|
|
1854
1842
|
const _hoisted_4 = {
|
|
1855
1843
|
key: 1,
|
|
1856
1844
|
class: "d-flex w-100 flex-column",
|
|
@@ -1864,7 +1852,7 @@ const _hoisted_6 = {
|
|
|
1864
1852
|
key: 1,
|
|
1865
1853
|
class: "v-input__details textbox-validate"
|
|
1866
1854
|
};
|
|
1867
|
-
function
|
|
1855
|
+
function ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1868
1856
|
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
|
|
1869
1857
|
const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon");
|
|
1870
1858
|
const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
|
|
@@ -1873,7 +1861,7 @@ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_c
|
|
|
1873
1861
|
const _component_imask_input = (0,external_vue_.resolveComponent)("imask-input");
|
|
1874
1862
|
const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
|
|
1875
1863
|
const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
|
|
1876
|
-
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div",
|
|
1864
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_hoisted_1, [
|
|
1877
1865
|
(0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
|
|
1878
1866
|
default: (0,external_vue_.withCtx)(() => [
|
|
1879
1867
|
(_ctx.label)
|
|
@@ -1926,7 +1914,17 @@ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_c
|
|
|
1926
1914
|
onClick: _ctx.emitClick,
|
|
1927
1915
|
onKeydown: _ctx.onKeydown,
|
|
1928
1916
|
onCopy: _ctx.emitCopy
|
|
1929
|
-
}, (0,external_vue_.createSlots)({
|
|
1917
|
+
}, (0,external_vue_.createSlots)({
|
|
1918
|
+
message: (0,external_vue_.withCtx)(({ message }) => [
|
|
1919
|
+
(_ctx.showError || (_ctx.inputHint && _ctx.persistentHint))
|
|
1920
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
|
|
1921
|
+
key: 0,
|
|
1922
|
+
class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.validationMessage, 'label-color': !_ctx.validationMessage })
|
|
1923
|
+
}, (0,external_vue_.toDisplayString)(message), 3))
|
|
1924
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
1925
|
+
]),
|
|
1926
|
+
_: 2
|
|
1927
|
+
}, [
|
|
1930
1928
|
(_ctx.modelValue && (_ctx.clearIcon || _ctx.type === 'password'))
|
|
1931
1929
|
? {
|
|
1932
1930
|
name: "append-inner",
|
|
@@ -1979,7 +1977,7 @@ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_c
|
|
|
1979
1977
|
default: (0,external_vue_.withCtx)(() => [
|
|
1980
1978
|
(0,external_vue_.createTextVNode)(),
|
|
1981
1979
|
(_ctx.passwordVisible)
|
|
1982
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span",
|
|
1980
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_hoisted_2, "Скрыть пароль"))
|
|
1983
1981
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
1984
1982
|
(0,external_vue_.createTextVNode)(),
|
|
1985
1983
|
_hoisted_3
|
|
@@ -1990,17 +1988,6 @@ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_c
|
|
|
1990
1988
|
]),
|
|
1991
1989
|
key: "0"
|
|
1992
1990
|
}
|
|
1993
|
-
: undefined,
|
|
1994
|
-
(_ctx.showError || (_ctx.inputHint && _ctx.persistentHint))
|
|
1995
|
-
? {
|
|
1996
|
-
name: "message",
|
|
1997
|
-
fn: (0,external_vue_.withCtx)(({ message }) => [
|
|
1998
|
-
(0,external_vue_.createElementVNode)("span", {
|
|
1999
|
-
class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.validationMessage, 'label-color': !_ctx.validationMessage })
|
|
2000
|
-
}, (0,external_vue_.toDisplayString)(message), 3)
|
|
2001
|
-
]),
|
|
2002
|
-
key: "1"
|
|
2003
|
-
}
|
|
2004
1991
|
: undefined
|
|
2005
1992
|
]), 1032, ["model-value", "type", "class", "persistent-hint", "rules", "validation-value", "placeholder", "disabled", "readonly", "hint", "mask", "tabindex", "maxlength", "autofocus", "hide-details", "prefix", "suffix", "clearable", "error", "error-messages", "prepend-inner-icon", "autocomplete", "onChange", "onUpdate:modelValue", "onBlur", "onFocus", "onClick", "onKeydown", "onCopy"]))
|
|
2006
1993
|
: ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", _hoisted_4, [
|
|
@@ -2051,7 +2038,7 @@ function ld_edit_textvue_type_template_id_5dac00fe_scoped_true_ts_true_render(_c
|
|
|
2051
2038
|
]));
|
|
2052
2039
|
}
|
|
2053
2040
|
|
|
2054
|
-
;// CONCATENATED MODULE: ./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=
|
|
2041
|
+
;// CONCATENATED MODULE: ./src/ld-edit-text/ld-edit-text.vue?vue&type=template&id=3bc142d2&scoped=true&ts=true
|
|
2055
2042
|
|
|
2056
2043
|
;// CONCATENATED MODULE: ./src/decorators/emit.decorator.ts
|
|
2057
2044
|
|
|
@@ -2164,6 +2151,11 @@ var input_mixin_metadata = (undefined && undefined.__metadata) || function (k, v
|
|
|
2164
2151
|
};
|
|
2165
2152
|
|
|
2166
2153
|
class InputMixin extends external_vue_property_decorator_.Vue {
|
|
2154
|
+
onRequiredChanged() {
|
|
2155
|
+
if (!this.required && this.validate) {
|
|
2156
|
+
this.validate();
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2167
2159
|
get noDataPlaceholder() {
|
|
2168
2160
|
return 'Нет данных';
|
|
2169
2161
|
}
|
|
@@ -2220,6 +2212,12 @@ input_mixin_decorate([
|
|
|
2220
2212
|
(0,external_vue_property_decorator_.Prop)({ type: String, default: '' }),
|
|
2221
2213
|
input_mixin_metadata("design:type", String)
|
|
2222
2214
|
], InputMixin.prototype, "autocomplete", void 0);
|
|
2215
|
+
input_mixin_decorate([
|
|
2216
|
+
(0,external_vue_property_decorator_.Watch)('required'),
|
|
2217
|
+
input_mixin_metadata("design:type", Function),
|
|
2218
|
+
input_mixin_metadata("design:paramtypes", []),
|
|
2219
|
+
input_mixin_metadata("design:returntype", void 0)
|
|
2220
|
+
], InputMixin.prototype, "onRequiredChanged", null);
|
|
2223
2221
|
|
|
2224
2222
|
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-label/ld-label.ts?vue&type=script&lang=ts&external
|
|
2225
2223
|
|
|
@@ -2943,7 +2941,7 @@ EditTextComponent = ld_edit_textvue_type_script_lang_ts_external_decorate([
|
|
|
2943
2941
|
;
|
|
2944
2942
|
|
|
2945
2943
|
|
|
2946
|
-
const ld_edit_text_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_edit_textvue_type_script_lang_ts_external, [['render',
|
|
2944
|
+
const ld_edit_text_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_edit_textvue_type_script_lang_ts_external, [['render',ld_edit_textvue_type_template_id_3bc142d2_scoped_true_ts_true_render],['__scopeId',"data-v-3bc142d2"]])
|
|
2947
2945
|
|
|
2948
2946
|
/* harmony default export */ const ld_edit_text = (ld_edit_text_exports_);
|
|
2949
2947
|
;// CONCATENATED MODULE: ./src/ld-edit-text/index.ts
|
|
@@ -2953,15 +2951,15 @@ function ld_edit_text_reg(vue, options) {
|
|
|
2953
2951
|
}
|
|
2954
2952
|
/* harmony default export */ const src_ld_edit_text = (ld_edit_text_reg);
|
|
2955
2953
|
|
|
2956
|
-
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=
|
|
2954
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=b65d2d3a&scoped=true
|
|
2957
2955
|
|
|
2958
2956
|
|
|
2959
|
-
const
|
|
2960
|
-
const
|
|
2961
|
-
const
|
|
2962
|
-
const
|
|
2957
|
+
const ld_datepickervue_type_template_id_b65d2d3a_scoped_true_withScopeId = n => (_pushScopeId("data-v-b65d2d3a"),n=n(),_popScopeId(),n)
|
|
2958
|
+
const ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_1 = { class: "time-selector" }
|
|
2959
|
+
const ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_2 = { key: 0 }
|
|
2960
|
+
const ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_3 = { key: 1 }
|
|
2963
2961
|
|
|
2964
|
-
function
|
|
2962
|
+
function ld_datepickervue_type_template_id_b65d2d3a_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2965
2963
|
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label")
|
|
2966
2964
|
const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon")
|
|
2967
2965
|
const _component_square_button = (0,external_vue_.resolveComponent)("square-button")
|
|
@@ -2974,10 +2972,7 @@ function ld_datepickervue_type_template_id_602bf8e3_scoped_true_render(_ctx, _ca
|
|
|
2974
2972
|
|
|
2975
2973
|
return ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_container, { class: "pa-0 ld-datepicker flex-column" }, {
|
|
2976
2974
|
default: (0,external_vue_.withCtx)(() => [
|
|
2977
|
-
(0,external_vue_.createVNode)(_component_v_row, {
|
|
2978
|
-
"no-gutters": "",
|
|
2979
|
-
style: {"height":"var(--input-height)"}
|
|
2980
|
-
}, {
|
|
2975
|
+
(0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
|
|
2981
2976
|
default: (0,external_vue_.withCtx)(() => [
|
|
2982
2977
|
(_ctx.label)
|
|
2983
2978
|
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_label, {
|
|
@@ -3170,13 +3165,13 @@ function ld_datepickervue_type_template_id_602bf8e3_scoped_true_render(_ctx, _ca
|
|
|
3170
3165
|
style: {"border":"1px solid var(--grey-l-5)"}
|
|
3171
3166
|
}, {
|
|
3172
3167
|
default: (0,external_vue_.withCtx)(() => [
|
|
3173
|
-
(0,external_vue_.createElementVNode)("div",
|
|
3168
|
+
(0,external_vue_.createElementVNode)("div", ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_1, [
|
|
3174
3169
|
(_ctx.isHours)
|
|
3175
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span",
|
|
3170
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_2, "Часы"))
|
|
3176
3171
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
3177
3172
|
(0,external_vue_.createTextVNode)(),
|
|
3178
3173
|
(_ctx.isMinutes)
|
|
3179
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span",
|
|
3174
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_datepickervue_type_template_id_b65d2d3a_scoped_true_hoisted_3, "Минуты"))
|
|
3180
3175
|
: (0,external_vue_.createCommentVNode)("", true),
|
|
3181
3176
|
(0,external_vue_.createTextVNode)(),
|
|
3182
3177
|
(0,external_vue_.createElementVNode)("div", null, [
|
|
@@ -3239,51 +3234,44 @@ function ld_datepickervue_type_template_id_602bf8e3_scoped_true_render(_ctx, _ca
|
|
|
3239
3234
|
: (0,external_vue_.createCommentVNode)("", true)
|
|
3240
3235
|
]),
|
|
3241
3236
|
_: 1
|
|
3242
|
-
})
|
|
3243
|
-
]),
|
|
3244
|
-
_: 1
|
|
3245
|
-
}, 8, ["class"])
|
|
3246
|
-
]),
|
|
3247
|
-
_: 1
|
|
3248
|
-
}),
|
|
3249
|
-
(0,external_vue_.createTextVNode)(),
|
|
3250
|
-
(!_ctx.hideDetails)
|
|
3251
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_row, {
|
|
3252
|
-
key: 0,
|
|
3253
|
-
"no-gutters": "",
|
|
3254
|
-
class: "ld-datepicker-validate"
|
|
3255
|
-
}, {
|
|
3256
|
-
default: (0,external_vue_.withCtx)(() => [
|
|
3257
|
-
(_ctx.label)
|
|
3258
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_col, {
|
|
3259
|
-
key: 0,
|
|
3260
|
-
class: (0,external_vue_.normalizeClass)(["pr-2", _ctx.labelSizeClasses])
|
|
3261
|
-
}, null, 8, ["class"]))
|
|
3262
|
-
: (0,external_vue_.createCommentVNode)("", true),
|
|
3237
|
+
}),
|
|
3263
3238
|
(0,external_vue_.createTextVNode)(),
|
|
3264
|
-
(
|
|
3265
|
-
|
|
3266
|
-
|
|
3239
|
+
(!_ctx.hideDetails)
|
|
3240
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_row, {
|
|
3241
|
+
key: 0,
|
|
3242
|
+
"no-gutters": "",
|
|
3243
|
+
class: "ld-datepicker-validate"
|
|
3244
|
+
}, {
|
|
3267
3245
|
default: (0,external_vue_.withCtx)(() => [
|
|
3268
|
-
(0,external_vue_.
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3246
|
+
(0,external_vue_.createVNode)(_component_v_col, null, {
|
|
3247
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
3248
|
+
(0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
|
|
3249
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
3250
|
+
(0,external_vue_.createElementVNode)("span", {
|
|
3251
|
+
style: {"line-height":"12px","font-size":"var(--font-size--1)"},
|
|
3252
|
+
class: (0,external_vue_.normalizeClass)({ 'error--text': _ctx.warningHint })
|
|
3253
|
+
}, (0,external_vue_.toDisplayString)(_ctx.validationMessage || _ctx.inputHint), 3)
|
|
3254
|
+
]),
|
|
3255
|
+
_: 1
|
|
3256
|
+
})
|
|
3257
|
+
]),
|
|
3258
|
+
_: 1
|
|
3259
|
+
})
|
|
3272
3260
|
]),
|
|
3273
3261
|
_: 1
|
|
3274
|
-
})
|
|
3275
|
-
|
|
3276
|
-
_: 1
|
|
3277
|
-
})
|
|
3262
|
+
}))
|
|
3263
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
3278
3264
|
]),
|
|
3279
3265
|
_: 1
|
|
3280
|
-
})
|
|
3281
|
-
|
|
3266
|
+
}, 8, ["class"])
|
|
3267
|
+
]),
|
|
3268
|
+
_: 1
|
|
3269
|
+
})
|
|
3282
3270
|
]),
|
|
3283
3271
|
_: 1
|
|
3284
3272
|
}))
|
|
3285
3273
|
}
|
|
3286
|
-
;// CONCATENATED MODULE: ./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=
|
|
3274
|
+
;// CONCATENATED MODULE: ./src/ld-datepicker/ld-datepicker.vue?vue&type=template&id=b65d2d3a&scoped=true
|
|
3287
3275
|
|
|
3288
3276
|
// EXTERNAL MODULE: external "imask"
|
|
3289
3277
|
var external_imask_ = __webpack_require__(5467);
|
|
@@ -3331,7 +3319,6 @@ let DatepickerComponent = class DatepickerComponent extends (0,external_vue_clas
|
|
|
3331
3319
|
this.dateMenu = false;
|
|
3332
3320
|
this.timeMenu = false;
|
|
3333
3321
|
this.event = null;
|
|
3334
|
-
this.validationMesssage = '';
|
|
3335
3322
|
this.errorsHandler = [];
|
|
3336
3323
|
this.isHours = true;
|
|
3337
3324
|
this.isMinutes = false;
|
|
@@ -3694,14 +3681,14 @@ let DatepickerComponent = class DatepickerComponent extends (0,external_vue_clas
|
|
|
3694
3681
|
}
|
|
3695
3682
|
validate() {
|
|
3696
3683
|
let funcResult = null;
|
|
3697
|
-
this.
|
|
3684
|
+
this.validationMessage = '';
|
|
3698
3685
|
this.validRules.forEach(func => {
|
|
3699
3686
|
funcResult = func(this.date);
|
|
3700
3687
|
if (funcResult !== true) {
|
|
3701
|
-
this.
|
|
3688
|
+
this.validationMessage = funcResult;
|
|
3702
3689
|
}
|
|
3703
3690
|
});
|
|
3704
|
-
return !this.
|
|
3691
|
+
return !this.validationMessage;
|
|
3705
3692
|
}
|
|
3706
3693
|
async setTimeMask() {
|
|
3707
3694
|
if (this.isMobileGlobal) {
|
|
@@ -3846,7 +3833,7 @@ let DatepickerComponent = class DatepickerComponent extends (0,external_vue_clas
|
|
|
3846
3833
|
return Number(this.tabIndex) + 1;
|
|
3847
3834
|
}
|
|
3848
3835
|
get warningHint() {
|
|
3849
|
-
return Boolean(this.
|
|
3836
|
+
return Boolean(this.validationMessage) || this.errorsHandler.length > 0;
|
|
3850
3837
|
}
|
|
3851
3838
|
get inputClasses() {
|
|
3852
3839
|
return this.dateonly ? this.inputSizeClasses : null;
|
|
@@ -3962,7 +3949,7 @@ DatepickerComponent = ld_datepickervue_type_script_lang_js_external_decorate([
|
|
|
3962
3949
|
;
|
|
3963
3950
|
|
|
3964
3951
|
|
|
3965
|
-
const ld_datepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_datepickervue_type_script_lang_js_external, [['render',
|
|
3952
|
+
const ld_datepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_datepickervue_type_script_lang_js_external, [['render',ld_datepickervue_type_template_id_b65d2d3a_scoped_true_render],['__scopeId',"data-v-b65d2d3a"]])
|
|
3966
3953
|
|
|
3967
3954
|
/* harmony default export */ const ld_datepicker = (ld_datepicker_exports_);
|
|
3968
3955
|
;// CONCATENATED MODULE: ./src/ld-datepicker/index.ts
|
|
@@ -9450,6 +9437,565 @@ function ld_combobox_reg(vue, options) {
|
|
|
9450
9437
|
}
|
|
9451
9438
|
/* harmony default export */ const src_ld_combobox = (ld_combobox_reg);
|
|
9452
9439
|
|
|
9440
|
+
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-timepicker/ld-timepicker.vue?vue&type=template&id=256abd0d&scoped=true&ts=true
|
|
9441
|
+
|
|
9442
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_withScopeId = n => (_pushScopeId("data-v-256abd0d"), n = n(), _popScopeId(), n);
|
|
9443
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_1 = { class: "ld-timepicker" };
|
|
9444
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_2 = { class: "time-selector" };
|
|
9445
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_3 = { key: 0 };
|
|
9446
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_4 = { key: 1 };
|
|
9447
|
+
const ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_5 = {
|
|
9448
|
+
key: 0,
|
|
9449
|
+
class: "ld-timepicker-validate"
|
|
9450
|
+
};
|
|
9451
|
+
function ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9452
|
+
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label");
|
|
9453
|
+
const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon");
|
|
9454
|
+
const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
|
|
9455
|
+
const _component_v_card = (0,external_vue_.resolveComponent)("v-card");
|
|
9456
|
+
const _component_v_menu = (0,external_vue_.resolveComponent)("v-menu");
|
|
9457
|
+
const _component_v_col = (0,external_vue_.resolveComponent)("v-col");
|
|
9458
|
+
const _component_v_row = (0,external_vue_.resolveComponent)("v-row");
|
|
9459
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_1, [
|
|
9460
|
+
(0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
|
|
9461
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9462
|
+
(_ctx.label)
|
|
9463
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_label, {
|
|
9464
|
+
key: 0,
|
|
9465
|
+
class: (0,external_vue_.normalizeClass)([_ctx.labelSizeClasses]),
|
|
9466
|
+
label: _ctx.label,
|
|
9467
|
+
required: _ctx.required,
|
|
9468
|
+
"align-label-to-right": _ctx.alignLabelToRight
|
|
9469
|
+
}, null, 8, ["class", "label", "required", "align-label-to-right"]))
|
|
9470
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9471
|
+
(0,external_vue_.createTextVNode)(),
|
|
9472
|
+
(0,external_vue_.createVNode)(_component_v_col, {
|
|
9473
|
+
class: (0,external_vue_.normalizeClass)(_ctx.inputSizeClasses)
|
|
9474
|
+
}, {
|
|
9475
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9476
|
+
(0,external_vue_.createVNode)(_component_v_menu, {
|
|
9477
|
+
modelValue: _ctx.timeMenu,
|
|
9478
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => ((_ctx.timeMenu) = $event)),
|
|
9479
|
+
"close-on-content-click": false,
|
|
9480
|
+
transition: "toggle-slide-y-transition",
|
|
9481
|
+
location: "bottom",
|
|
9482
|
+
"min-width": "190px",
|
|
9483
|
+
disabled: _ctx.readonly || _ctx.disabled
|
|
9484
|
+
}, {
|
|
9485
|
+
activator: (0,external_vue_.withCtx)(({ props }) => [
|
|
9486
|
+
(0,external_vue_.createElementVNode)("div", (0,external_vue_.mergeProps)({ class: "d-flex align-center w-100" }, props, { style: { "position": "relative" } }), [
|
|
9487
|
+
((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)((0,external_vue_.resolveDynamicComponent)(_ctx.$ldmui.options.aliases['ld-edit-text']), {
|
|
9488
|
+
ref: "inputTime",
|
|
9489
|
+
"model-value": _ctx.timeString,
|
|
9490
|
+
class: "w-100",
|
|
9491
|
+
tabindex: _ctx.tabIndex,
|
|
9492
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
9493
|
+
placeholder: "ЧЧ:ММ",
|
|
9494
|
+
"hide-details": "",
|
|
9495
|
+
readonly: true
|
|
9496
|
+
}, null, 8, ["model-value", "tabindex", "disabled"])),
|
|
9497
|
+
(0,external_vue_.createTextVNode)(),
|
|
9498
|
+
(!_ctx.disabled && !_ctx.readonly)
|
|
9499
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
9500
|
+
key: 0,
|
|
9501
|
+
icon: "",
|
|
9502
|
+
style: { "position": "absolute", "top": "0", "right": "var(--input-height)" },
|
|
9503
|
+
onClick: (0,external_vue_.withModifiers)(_ctx.clear, ["stop"])
|
|
9504
|
+
}, {
|
|
9505
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9506
|
+
(0,external_vue_.createVNode)(_component_ld_icon, null, {
|
|
9507
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9508
|
+
(0,external_vue_.createTextVNode)("close")
|
|
9509
|
+
]),
|
|
9510
|
+
_: 1
|
|
9511
|
+
})
|
|
9512
|
+
]),
|
|
9513
|
+
_: 1
|
|
9514
|
+
}, 8, ["onClick"]))
|
|
9515
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9516
|
+
(0,external_vue_.createTextVNode)(),
|
|
9517
|
+
(0,external_vue_.createVNode)(_component_square_button, {
|
|
9518
|
+
icon: "",
|
|
9519
|
+
style: { "position": "absolute", "top": "0", "right": "0" },
|
|
9520
|
+
onClick: _cache[0] || (_cache[0] = (0,external_vue_.withModifiers)(($event) => (_ctx.timeMenu = !_ctx.timeMenu), ["stop"]))
|
|
9521
|
+
}, {
|
|
9522
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9523
|
+
(0,external_vue_.createVNode)(_component_ld_icon, null, {
|
|
9524
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9525
|
+
(0,external_vue_.createTextVNode)("access_time")
|
|
9526
|
+
]),
|
|
9527
|
+
_: 1
|
|
9528
|
+
})
|
|
9529
|
+
]),
|
|
9530
|
+
_: 1
|
|
9531
|
+
})
|
|
9532
|
+
], 16)
|
|
9533
|
+
]),
|
|
9534
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9535
|
+
(0,external_vue_.createTextVNode)(),
|
|
9536
|
+
(0,external_vue_.createVNode)(_component_v_card, {
|
|
9537
|
+
elevation: "0",
|
|
9538
|
+
style: { "border": "1px solid var(--grey-l-5)" },
|
|
9539
|
+
width: "190px"
|
|
9540
|
+
}, {
|
|
9541
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9542
|
+
(0,external_vue_.createElementVNode)("div", ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_2, [
|
|
9543
|
+
(_ctx.isHours)
|
|
9544
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_3, "Часы"))
|
|
9545
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9546
|
+
(0,external_vue_.createTextVNode)(),
|
|
9547
|
+
(_ctx.isMinutes)
|
|
9548
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_4, "Минуты"))
|
|
9549
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9550
|
+
(0,external_vue_.createTextVNode)(),
|
|
9551
|
+
(0,external_vue_.createElementVNode)("div", null, [
|
|
9552
|
+
(_ctx.isHours)
|
|
9553
|
+
? ((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, { key: 0 }, (0,external_vue_.renderList)(Array.apply(null, { length: 24 }), (_, i) => {
|
|
9554
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
9555
|
+
key: i,
|
|
9556
|
+
variant: i === _ctx.hours ? 'flat' : 'outlined',
|
|
9557
|
+
color: i === _ctx.hours ? 'primary' : 'grey',
|
|
9558
|
+
onClick: ($event) => (_ctx.setHours(i))
|
|
9559
|
+
}, {
|
|
9560
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9561
|
+
(0,external_vue_.createElementVNode)("span", {
|
|
9562
|
+
class: (0,external_vue_.normalizeClass)({ 'text-color': i !== _ctx.hours })
|
|
9563
|
+
}, (0,external_vue_.toDisplayString)(('0' + i).slice(-2)), 3)
|
|
9564
|
+
]),
|
|
9565
|
+
_: 2
|
|
9566
|
+
}, 1032, ["variant", "color", "onClick"]));
|
|
9567
|
+
}), 128))
|
|
9568
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9569
|
+
(0,external_vue_.createTextVNode)(),
|
|
9570
|
+
(_ctx.isMinutes)
|
|
9571
|
+
? ((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, { key: 1 }, (0,external_vue_.renderList)(Array.apply(null, { length: 12 }), (_, i) => {
|
|
9572
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_square_button, {
|
|
9573
|
+
key: i,
|
|
9574
|
+
variant: (5 * i) === _ctx.minutes ? 'flat' : 'outlined',
|
|
9575
|
+
color: (5 * i) === _ctx.minutes ? 'primary' : 'grey',
|
|
9576
|
+
onClick: ($event) => (_ctx.setMinutes(5 * i))
|
|
9577
|
+
}, {
|
|
9578
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9579
|
+
(0,external_vue_.createElementVNode)("span", {
|
|
9580
|
+
class: (0,external_vue_.normalizeClass)({ 'text-color': (5 * i) !== _ctx.minutes })
|
|
9581
|
+
}, (0,external_vue_.toDisplayString)(('0' + 5 * i).slice(-2)), 3)
|
|
9582
|
+
]),
|
|
9583
|
+
_: 2
|
|
9584
|
+
}, 1032, ["variant", "color", "onClick"]));
|
|
9585
|
+
}), 128))
|
|
9586
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
9587
|
+
])
|
|
9588
|
+
])
|
|
9589
|
+
]),
|
|
9590
|
+
_: 1
|
|
9591
|
+
})
|
|
9592
|
+
]),
|
|
9593
|
+
_: 1
|
|
9594
|
+
}, 8, ["modelValue", "disabled"]),
|
|
9595
|
+
(0,external_vue_.createTextVNode)(),
|
|
9596
|
+
(!_ctx.hideDetails)
|
|
9597
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_hoisted_5, [
|
|
9598
|
+
(0,external_vue_.createVNode)(external_vue_.Transition, { name: "squash" }, {
|
|
9599
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9600
|
+
(0,external_vue_.createElementVNode)("span", {
|
|
9601
|
+
style: { "font-size": "var(--font-size--1)" },
|
|
9602
|
+
class: (0,external_vue_.normalizeClass)({ 'error--text': Boolean(_ctx.validationMessage) })
|
|
9603
|
+
}, (0,external_vue_.toDisplayString)(_ctx.validationMessage || _ctx.inputHint), 3)
|
|
9604
|
+
]),
|
|
9605
|
+
_: 1
|
|
9606
|
+
})
|
|
9607
|
+
]))
|
|
9608
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
9609
|
+
]),
|
|
9610
|
+
_: 1
|
|
9611
|
+
}, 8, ["class"])
|
|
9612
|
+
]),
|
|
9613
|
+
_: 1
|
|
9614
|
+
})
|
|
9615
|
+
]));
|
|
9616
|
+
}
|
|
9617
|
+
|
|
9618
|
+
;// CONCATENATED MODULE: ./src/ld-timepicker/ld-timepicker.vue?vue&type=template&id=256abd0d&scoped=true&ts=true
|
|
9619
|
+
|
|
9620
|
+
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-timepicker/ld-timepicker.ts?vue&type=script&lang=ts&external
|
|
9621
|
+
var ld_timepickervue_type_script_lang_ts_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9622
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9623
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9624
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9625
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9626
|
+
};
|
|
9627
|
+
var ld_timepickervue_type_script_lang_ts_external_metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
9628
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9629
|
+
};
|
|
9630
|
+
|
|
9631
|
+
|
|
9632
|
+
|
|
9633
|
+
|
|
9634
|
+
|
|
9635
|
+
|
|
9636
|
+
|
|
9637
|
+
/**
|
|
9638
|
+
* @displayName ld-timepicker
|
|
9639
|
+
*/
|
|
9640
|
+
let TimepickerComponent = class TimepickerComponent extends (0,external_vue_class_component_.mixins)(ValidatableMixin, GridMixin, InputMixin) {
|
|
9641
|
+
constructor() {
|
|
9642
|
+
super(...arguments);
|
|
9643
|
+
this.timeMenu = false;
|
|
9644
|
+
this.isHours = true;
|
|
9645
|
+
this.isMinutes = false;
|
|
9646
|
+
this.hours = null;
|
|
9647
|
+
this.minutes = null;
|
|
9648
|
+
}
|
|
9649
|
+
emitInput(value) {
|
|
9650
|
+
return value;
|
|
9651
|
+
}
|
|
9652
|
+
emitBlur(value) {
|
|
9653
|
+
return value;
|
|
9654
|
+
}
|
|
9655
|
+
onModelValueChanged(value) {
|
|
9656
|
+
if (!this.checkValue(value)) {
|
|
9657
|
+
return;
|
|
9658
|
+
}
|
|
9659
|
+
this.setTime(value);
|
|
9660
|
+
}
|
|
9661
|
+
onTimeMenuChanged() {
|
|
9662
|
+
if (!this.timeMenu) {
|
|
9663
|
+
this.isHours = true;
|
|
9664
|
+
this.isMinutes = false;
|
|
9665
|
+
}
|
|
9666
|
+
}
|
|
9667
|
+
onTimeChanged() {
|
|
9668
|
+
this.emitInput(this.timeString || null);
|
|
9669
|
+
this.validate();
|
|
9670
|
+
}
|
|
9671
|
+
created() {
|
|
9672
|
+
if (this.form) {
|
|
9673
|
+
this.form.register(this, null);
|
|
9674
|
+
}
|
|
9675
|
+
}
|
|
9676
|
+
unmounted() {
|
|
9677
|
+
if (this.form) {
|
|
9678
|
+
this.form.unregister(this, null);
|
|
9679
|
+
}
|
|
9680
|
+
}
|
|
9681
|
+
setHours(i) {
|
|
9682
|
+
this.hours = i;
|
|
9683
|
+
this.isHours = false;
|
|
9684
|
+
this.isMinutes = true;
|
|
9685
|
+
}
|
|
9686
|
+
setMinutes(i) {
|
|
9687
|
+
this.minutes = i;
|
|
9688
|
+
this.timeMenu = false;
|
|
9689
|
+
}
|
|
9690
|
+
setTime(value) {
|
|
9691
|
+
const [h, m] = value.split(':');
|
|
9692
|
+
this.hours = Number(h);
|
|
9693
|
+
this.minutes = Number(m);
|
|
9694
|
+
}
|
|
9695
|
+
checkValue(value) {
|
|
9696
|
+
if (!(/\d\d\:\d\d/.test(value))) {
|
|
9697
|
+
return false;
|
|
9698
|
+
}
|
|
9699
|
+
const [h, m] = value.split(':');
|
|
9700
|
+
const hh = Number(h);
|
|
9701
|
+
if (isNaN(hh) || hh < 0 || hh > 23) {
|
|
9702
|
+
return false;
|
|
9703
|
+
}
|
|
9704
|
+
const mm = Number(m);
|
|
9705
|
+
if (isNaN(mm) || mm < 0 || mm > 59) {
|
|
9706
|
+
return false;
|
|
9707
|
+
}
|
|
9708
|
+
return true;
|
|
9709
|
+
}
|
|
9710
|
+
clear() {
|
|
9711
|
+
this.hours = null;
|
|
9712
|
+
this.minutes = null;
|
|
9713
|
+
this.isHours = true;
|
|
9714
|
+
this.isMinutes = false;
|
|
9715
|
+
this.timeMenu = false;
|
|
9716
|
+
this.emitInput(null);
|
|
9717
|
+
}
|
|
9718
|
+
validate() {
|
|
9719
|
+
let funcResult = null;
|
|
9720
|
+
this.validationMessage = '';
|
|
9721
|
+
this.validRules.forEach(func => {
|
|
9722
|
+
funcResult = func(this.timeString);
|
|
9723
|
+
if (funcResult !== true) {
|
|
9724
|
+
this.validationMessage = funcResult;
|
|
9725
|
+
}
|
|
9726
|
+
});
|
|
9727
|
+
return !this.validationMessage;
|
|
9728
|
+
}
|
|
9729
|
+
get hoursString() {
|
|
9730
|
+
if (!this.$utils.isDefined(this.hours)) {
|
|
9731
|
+
return '';
|
|
9732
|
+
}
|
|
9733
|
+
return ('0' + this.hours).slice(-2);
|
|
9734
|
+
}
|
|
9735
|
+
get minutesString() {
|
|
9736
|
+
if (!this.$utils.isDefined(this.minutes)) {
|
|
9737
|
+
return '';
|
|
9738
|
+
}
|
|
9739
|
+
return ('0' + this.minutes).slice(-2);
|
|
9740
|
+
}
|
|
9741
|
+
get timeString() {
|
|
9742
|
+
if (!this.hoursString && !this.minutesString) {
|
|
9743
|
+
return '';
|
|
9744
|
+
}
|
|
9745
|
+
return `${this.hoursString}:${this.minutesString}`;
|
|
9746
|
+
}
|
|
9747
|
+
};
|
|
9748
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9749
|
+
(0,external_vue_property_decorator_.Prop)(),
|
|
9750
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", String)
|
|
9751
|
+
], TimepickerComponent.prototype, "modelValue", void 0);
|
|
9752
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9753
|
+
(0,external_vue_property_decorator_.Prop)(),
|
|
9754
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", String)
|
|
9755
|
+
], TimepickerComponent.prototype, "inputHint", void 0);
|
|
9756
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9757
|
+
(0,external_vue_property_decorator_.Inject)({ from: 'form', default: null }),
|
|
9758
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Object)
|
|
9759
|
+
], TimepickerComponent.prototype, "form", void 0);
|
|
9760
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9761
|
+
Emit('update:model-value'),
|
|
9762
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Function),
|
|
9763
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:paramtypes", [String]),
|
|
9764
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:returntype", void 0)
|
|
9765
|
+
], TimepickerComponent.prototype, "emitInput", null);
|
|
9766
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9767
|
+
Emit('blur'),
|
|
9768
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Function),
|
|
9769
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:paramtypes", [String]),
|
|
9770
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:returntype", void 0)
|
|
9771
|
+
], TimepickerComponent.prototype, "emitBlur", null);
|
|
9772
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9773
|
+
(0,external_vue_property_decorator_.Watch)('modelValue', { immediate: true }),
|
|
9774
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Function),
|
|
9775
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:paramtypes", [String]),
|
|
9776
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:returntype", void 0)
|
|
9777
|
+
], TimepickerComponent.prototype, "onModelValueChanged", null);
|
|
9778
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9779
|
+
(0,external_vue_property_decorator_.Watch)('timeMenu'),
|
|
9780
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Function),
|
|
9781
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:paramtypes", []),
|
|
9782
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:returntype", void 0)
|
|
9783
|
+
], TimepickerComponent.prototype, "onTimeMenuChanged", null);
|
|
9784
|
+
ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9785
|
+
(0,external_vue_property_decorator_.Watch)('timeString'),
|
|
9786
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:type", Function),
|
|
9787
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:paramtypes", []),
|
|
9788
|
+
ld_timepickervue_type_script_lang_ts_external_metadata("design:returntype", void 0)
|
|
9789
|
+
], TimepickerComponent.prototype, "onTimeChanged", null);
|
|
9790
|
+
TimepickerComponent = ld_timepickervue_type_script_lang_ts_external_decorate([
|
|
9791
|
+
(0,external_vue_class_component_.Options)({
|
|
9792
|
+
components: {
|
|
9793
|
+
'ld-label': ld_label
|
|
9794
|
+
}
|
|
9795
|
+
})
|
|
9796
|
+
], TimepickerComponent);
|
|
9797
|
+
/* harmony default export */ const ld_timepickervue_type_script_lang_ts_external = (TimepickerComponent);
|
|
9798
|
+
|
|
9799
|
+
;// CONCATENATED MODULE: ./src/ld-timepicker/ld-timepicker.ts?vue&type=script&lang=ts&external
|
|
9800
|
+
|
|
9801
|
+
;// CONCATENATED MODULE: ./src/ld-timepicker/ld-timepicker.vue
|
|
9802
|
+
|
|
9803
|
+
|
|
9804
|
+
|
|
9805
|
+
|
|
9806
|
+
;
|
|
9807
|
+
|
|
9808
|
+
|
|
9809
|
+
const ld_timepicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_timepickervue_type_script_lang_ts_external, [['render',ld_timepickervue_type_template_id_256abd0d_scoped_true_ts_true_render],['__scopeId',"data-v-256abd0d"]])
|
|
9810
|
+
|
|
9811
|
+
/* harmony default export */ const ld_timepicker = (ld_timepicker_exports_);
|
|
9812
|
+
;// CONCATENATED MODULE: ./src/ld-timepicker/index.ts
|
|
9813
|
+
|
|
9814
|
+
function ld_timepicker_reg(vue, options) {
|
|
9815
|
+
vue.component(options.aliases['ld-timepicker'], ld_timepicker);
|
|
9816
|
+
}
|
|
9817
|
+
/* harmony default export */ const src_ld_timepicker = (ld_timepicker_reg);
|
|
9818
|
+
|
|
9819
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ld-text-viewer/ld-text-viewer.vue?vue&type=template&id=acef52d4&scoped=true
|
|
9820
|
+
|
|
9821
|
+
|
|
9822
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_withScopeId = n => (_pushScopeId("data-v-acef52d4"),n=n(),_popScopeId(),n)
|
|
9823
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_1 = { class: "ld-text-viewer" }
|
|
9824
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_2 = ["innerHTML"]
|
|
9825
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_3 = ["innerHTML"]
|
|
9826
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_4 = {
|
|
9827
|
+
key: 1,
|
|
9828
|
+
class: "text-left"
|
|
9829
|
+
}
|
|
9830
|
+
const ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_5 = {
|
|
9831
|
+
key: 2,
|
|
9832
|
+
class: "italic",
|
|
9833
|
+
style: {"color":"var(--grey-l-2)"}
|
|
9834
|
+
}
|
|
9835
|
+
|
|
9836
|
+
function ld_text_viewervue_type_template_id_acef52d4_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9837
|
+
const _component_ld_label = (0,external_vue_.resolveComponent)("ld-label")
|
|
9838
|
+
const _component_v_row = (0,external_vue_.resolveComponent)("v-row")
|
|
9839
|
+
const _component_v_col = (0,external_vue_.resolveComponent)("v-col")
|
|
9840
|
+
|
|
9841
|
+
return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_1, [
|
|
9842
|
+
(0,external_vue_.createVNode)(_component_v_row, { "no-gutters": "" }, {
|
|
9843
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9844
|
+
(_ctx.label)
|
|
9845
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_ld_label, {
|
|
9846
|
+
key: 0,
|
|
9847
|
+
class: (0,external_vue_.normalizeClass)([_ctx.labelSizeClasses]),
|
|
9848
|
+
label: _ctx.label,
|
|
9849
|
+
required: _ctx.required,
|
|
9850
|
+
"align-label-to-right": _ctx.alignLabelToRight
|
|
9851
|
+
}, null, 8, ["class", "label", "required", "align-label-to-right"]))
|
|
9852
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9853
|
+
(0,external_vue_.createTextVNode)(),
|
|
9854
|
+
(0,external_vue_.createVNode)(_component_v_col, {
|
|
9855
|
+
class: (0,external_vue_.normalizeClass)(["d-flex text-justify", _ctx.inputSizeClasses]),
|
|
9856
|
+
style: {}
|
|
9857
|
+
}, {
|
|
9858
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9859
|
+
(_ctx.activeLinks && _ctx.text)
|
|
9860
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_row, {
|
|
9861
|
+
key: 0,
|
|
9862
|
+
"no-gutters": "",
|
|
9863
|
+
class: "align-center"
|
|
9864
|
+
}, {
|
|
9865
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9866
|
+
(0,external_vue_.createElementVNode)("span", {
|
|
9867
|
+
class: "text-left",
|
|
9868
|
+
innerHTML: _ctx.textWithHyperlinks
|
|
9869
|
+
}, null, 8, ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_2)
|
|
9870
|
+
]),
|
|
9871
|
+
_: 1
|
|
9872
|
+
}))
|
|
9873
|
+
: ((0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_v_row, {
|
|
9874
|
+
key: 1,
|
|
9875
|
+
"no-gutters": "",
|
|
9876
|
+
class: "align-center"
|
|
9877
|
+
}, {
|
|
9878
|
+
default: (0,external_vue_.withCtx)(() => [
|
|
9879
|
+
(_ctx.text)
|
|
9880
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", {
|
|
9881
|
+
key: 0,
|
|
9882
|
+
class: "text-left",
|
|
9883
|
+
innerHTML: _ctx.text
|
|
9884
|
+
}, null, 8, ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_3))
|
|
9885
|
+
: (_ctx.hasSlot)
|
|
9886
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_4, [
|
|
9887
|
+
(0,external_vue_.renderSlot)(_ctx.$slots, "default", {}, undefined, true)
|
|
9888
|
+
]))
|
|
9889
|
+
: (0,external_vue_.createCommentVNode)("", true),
|
|
9890
|
+
(0,external_vue_.createTextVNode)(),
|
|
9891
|
+
(_ctx.showPlaceholder)
|
|
9892
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("p", ld_text_viewervue_type_template_id_acef52d4_scoped_true_hoisted_5, (0,external_vue_.toDisplayString)(_ctx.noDataPlaceholder), 1))
|
|
9893
|
+
: (0,external_vue_.createCommentVNode)("", true)
|
|
9894
|
+
]),
|
|
9895
|
+
_: 3
|
|
9896
|
+
}))
|
|
9897
|
+
]),
|
|
9898
|
+
_: 3
|
|
9899
|
+
}, 8, ["class"])
|
|
9900
|
+
]),
|
|
9901
|
+
_: 3
|
|
9902
|
+
})
|
|
9903
|
+
]))
|
|
9904
|
+
}
|
|
9905
|
+
;// CONCATENATED MODULE: ./src/ld-text-viewer/ld-text-viewer.vue?vue&type=template&id=acef52d4&scoped=true
|
|
9906
|
+
|
|
9907
|
+
;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./src/ld-text-viewer/ld-text-viewer.ts?vue&type=script&lang=js&external
|
|
9908
|
+
var ld_text_viewervue_type_script_lang_js_external_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9909
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9910
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9911
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9912
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9913
|
+
};
|
|
9914
|
+
var ld_text_viewervue_type_script_lang_js_external_metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
9915
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9916
|
+
};
|
|
9917
|
+
|
|
9918
|
+
|
|
9919
|
+
|
|
9920
|
+
|
|
9921
|
+
|
|
9922
|
+
|
|
9923
|
+
|
|
9924
|
+
/**
|
|
9925
|
+
* @displayName card-text-viewer
|
|
9926
|
+
*/
|
|
9927
|
+
let CardTextViewer = class CardTextViewer extends (0,external_vue_class_component_.mixins)(ValidatableMixin, GridMixin, InputMixin) {
|
|
9928
|
+
hasSlotContent(slot, slotProps = {}) {
|
|
9929
|
+
if (!slot) {
|
|
9930
|
+
return false;
|
|
9931
|
+
}
|
|
9932
|
+
return slot(slotProps).some((vnode) => {
|
|
9933
|
+
if (vnode.type === external_vue_.Comment) {
|
|
9934
|
+
return false;
|
|
9935
|
+
}
|
|
9936
|
+
if (Array.isArray(vnode.children) && !vnode.children.length) {
|
|
9937
|
+
return false;
|
|
9938
|
+
}
|
|
9939
|
+
return vnode.type !== external_vue_.Text || (typeof vnode.children === 'string' && vnode.children.trim() !== '');
|
|
9940
|
+
});
|
|
9941
|
+
}
|
|
9942
|
+
get hasSlot() {
|
|
9943
|
+
return this.hasSlotContent(this.$slots.default);
|
|
9944
|
+
}
|
|
9945
|
+
get src() {
|
|
9946
|
+
if (!this.text) {
|
|
9947
|
+
return;
|
|
9948
|
+
}
|
|
9949
|
+
return this.text.replace(/\n/g, '<br>');
|
|
9950
|
+
}
|
|
9951
|
+
get textWithHyperlinks() {
|
|
9952
|
+
if (!this.src) {
|
|
9953
|
+
return;
|
|
9954
|
+
}
|
|
9955
|
+
const globalUrlRegExp = new RegExp(this.$utils.urlRegexp, 'ig');
|
|
9956
|
+
return this.src.replace(globalUrlRegExp, '<a href="$1" target="_blank">$1</a>');
|
|
9957
|
+
}
|
|
9958
|
+
get showPlaceholder() {
|
|
9959
|
+
return !this.text && !this.hasSlot;
|
|
9960
|
+
}
|
|
9961
|
+
};
|
|
9962
|
+
ld_text_viewervue_type_script_lang_js_external_decorate([
|
|
9963
|
+
(0,external_vue_property_decorator_.Prop)({ type: Boolean, default: false }),
|
|
9964
|
+
ld_text_viewervue_type_script_lang_js_external_metadata("design:type", Boolean)
|
|
9965
|
+
], CardTextViewer.prototype, "activeLinks", void 0);
|
|
9966
|
+
ld_text_viewervue_type_script_lang_js_external_decorate([
|
|
9967
|
+
(0,external_vue_property_decorator_.Prop)(),
|
|
9968
|
+
ld_text_viewervue_type_script_lang_js_external_metadata("design:type", String)
|
|
9969
|
+
], CardTextViewer.prototype, "text", void 0);
|
|
9970
|
+
CardTextViewer = ld_text_viewervue_type_script_lang_js_external_decorate([
|
|
9971
|
+
(0,external_vue_class_component_.Options)({
|
|
9972
|
+
components: {
|
|
9973
|
+
'ld-label': ld_label
|
|
9974
|
+
},
|
|
9975
|
+
})
|
|
9976
|
+
], CardTextViewer);
|
|
9977
|
+
/* harmony default export */ const ld_text_viewervue_type_script_lang_js_external = (CardTextViewer);
|
|
9978
|
+
|
|
9979
|
+
;// CONCATENATED MODULE: ./src/ld-text-viewer/ld-text-viewer.ts?vue&type=script&lang=js&external
|
|
9980
|
+
|
|
9981
|
+
;// CONCATENATED MODULE: ./src/ld-text-viewer/ld-text-viewer.vue
|
|
9982
|
+
|
|
9983
|
+
|
|
9984
|
+
|
|
9985
|
+
|
|
9986
|
+
;
|
|
9987
|
+
|
|
9988
|
+
|
|
9989
|
+
const ld_text_viewer_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_text_viewervue_type_script_lang_js_external, [['render',ld_text_viewervue_type_template_id_acef52d4_scoped_true_render],['__scopeId',"data-v-acef52d4"]])
|
|
9990
|
+
|
|
9991
|
+
/* harmony default export */ const ld_text_viewer = (ld_text_viewer_exports_);
|
|
9992
|
+
;// CONCATENATED MODULE: ./src/ld-text-viewer/index.ts
|
|
9993
|
+
|
|
9994
|
+
function ld_text_viewer_reg(vue, options) {
|
|
9995
|
+
vue.component(options.aliases['ld-text-viewer'], ld_text_viewer);
|
|
9996
|
+
}
|
|
9997
|
+
/* harmony default export */ const src_ld_text_viewer = (ld_text_viewer_reg);
|
|
9998
|
+
|
|
9453
9999
|
;// CONCATENATED MODULE: ./src/utils/delay.ts
|
|
9454
10000
|
async function delay(timeout) {
|
|
9455
10001
|
return new Promise(resolve => setTimeout(() => resolve(), timeout));
|
|
@@ -9540,6 +10086,11 @@ function isObjectEmpty(obj) {
|
|
|
9540
10086
|
return true;
|
|
9541
10087
|
}
|
|
9542
10088
|
|
|
10089
|
+
;// CONCATENATED MODULE: ./src/utils/urlRegexp.ts
|
|
10090
|
+
const urlRegexp =
|
|
10091
|
+
// eslint-disable-next-line optimize-regex/optimize-regex
|
|
10092
|
+
/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\\[\]{};:'".,<>?«»“”‘’]))/i;
|
|
10093
|
+
|
|
9543
10094
|
;// CONCATENATED MODULE: ./src/utils/index.ts
|
|
9544
10095
|
|
|
9545
10096
|
|
|
@@ -9548,6 +10099,7 @@ function isObjectEmpty(obj) {
|
|
|
9548
10099
|
|
|
9549
10100
|
|
|
9550
10101
|
|
|
10102
|
+
|
|
9551
10103
|
|
|
9552
10104
|
;// CONCATENATED MODULE: ./src/mixins/validate.mixin.ts
|
|
9553
10105
|
var validate_mixin_decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -9865,6 +10417,8 @@ const ActiveDirectiveOptions = {
|
|
|
9865
10417
|
|
|
9866
10418
|
|
|
9867
10419
|
|
|
10420
|
+
|
|
10421
|
+
|
|
9868
10422
|
|
|
9869
10423
|
|
|
9870
10424
|
|
|
@@ -9893,6 +10447,8 @@ const ldmuiPlugin = {
|
|
|
9893
10447
|
'ld-textarea': options.aliases?.['ld-textarea'] ?? 'ld-textarea',
|
|
9894
10448
|
'ld-select': options.aliases?.['ld-select'] ?? 'ld-select',
|
|
9895
10449
|
'ld-combobox': options.aliases?.['ld-combobox'] ?? 'ld-combobox',
|
|
10450
|
+
'ld-timepicker': options.aliases?.['ld-timepicker'] ?? 'ld-timepicker',
|
|
10451
|
+
'ld-text-viewer': options.aliases?.['ld-text-viewer'] ?? 'ld-text-viewer',
|
|
9896
10452
|
};
|
|
9897
10453
|
vue.config.globalProperties.$utils = {
|
|
9898
10454
|
...utils_namespaceObject,
|
|
@@ -9926,6 +10482,8 @@ const ldmuiPlugin = {
|
|
|
9926
10482
|
src_ld_textarea(vue, options);
|
|
9927
10483
|
src_ld_select(vue, options);
|
|
9928
10484
|
src_ld_combobox(vue, options);
|
|
10485
|
+
src_ld_timepicker(vue, options);
|
|
10486
|
+
src_ld_text_viewer(vue, options);
|
|
9929
10487
|
},
|
|
9930
10488
|
};
|
|
9931
10489
|
/* harmony default export */ const src = (ldmuiPlugin);
|
package/dist/types/options.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-22",
|
|
4
4
|
"description": "ldm ui",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"@babel/preset-env": "7.23.6",
|
|
43
43
|
"@babel/preset-typescript": "7.23.3",
|
|
44
44
|
"@floating-ui/dom": "^1.6.3",
|
|
45
|
+
"@ldmjs/datatable": "^1.0.3",
|
|
45
46
|
"@popperjs/core": "^2.11.8",
|
|
46
47
|
"@types/babel__core": "^7",
|
|
47
48
|
"@types/babel__plugin-transform-runtime": "^7",
|