wave-ui 1.56.0 → 1.57.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 +2 -0
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +693 -215
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +24 -22
- package/src/wave-ui/components/w-app.vue +9 -12
- package/src/wave-ui/components/w-button.vue +1 -1
- package/src/wave-ui/components/w-divider.vue +1 -1
- package/src/wave-ui/components/w-form.vue +3 -5
- package/src/wave-ui/components/w-icon.vue +1 -3
- package/src/wave-ui/components/w-notification-manager.vue +1 -2
- package/src/wave-ui/components/w-notification.vue +7 -1
- package/src/wave-ui/components/w-table.vue +48 -4
- package/src/wave-ui/components/w-tabs/index.vue +3 -0
- package/src/wave-ui/core.js +9 -1
- package/src/wave-ui/utils/dynamic-css.js +26 -31
package/dist/wave-ui.es.js
CHANGED
|
@@ -1,34 +1,5 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __objRest = (source, exclude) => {
|
|
21
|
-
var target = {};
|
|
22
|
-
for (var prop in source)
|
|
23
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
-
target[prop] = source[prop];
|
|
25
|
-
if (source != null && __getOwnPropSymbols)
|
|
26
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
-
target[prop] = source[prop];
|
|
29
|
-
}
|
|
30
|
-
return target;
|
|
31
|
-
};
|
|
32
3
|
var __publicField = (obj, key, value) => {
|
|
33
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
34
5
|
return value;
|
|
@@ -121,16 +92,17 @@ const _NotificationManager$1 = class {
|
|
|
121
92
|
});
|
|
122
93
|
}
|
|
123
94
|
notify(...args) {
|
|
124
|
-
let notification =
|
|
95
|
+
let notification = { ...__privateGet(this, _notificationDefaults), _uid: __privateWrapper(this, _uid)._++ };
|
|
125
96
|
if (typeof args[0] === "object")
|
|
126
|
-
notification =
|
|
97
|
+
notification = { ...notification, ...args[0] };
|
|
127
98
|
else {
|
|
128
99
|
const [message, type, timeout] = args;
|
|
129
|
-
notification =
|
|
100
|
+
notification = {
|
|
101
|
+
...notification,
|
|
130
102
|
message: message || "",
|
|
131
103
|
[type === void 0 ? "info" : type]: true,
|
|
132
104
|
timeout: timeout || timeout === 0 ? parseFloat(timeout) : 4e3
|
|
133
|
-
}
|
|
105
|
+
};
|
|
134
106
|
}
|
|
135
107
|
Vue.set(this.notifications, this.notifications.length, notification);
|
|
136
108
|
if (~~notification.timeout !== 0)
|
|
@@ -470,7 +442,8 @@ const _WaveUI = class {
|
|
|
470
442
|
obj[color.label] = color.color;
|
|
471
443
|
color.shades.forEach((shade) => obj[shade.label] = shade.color);
|
|
472
444
|
return obj;
|
|
473
|
-
},
|
|
445
|
+
}, { ...config.colors, black: "#000", white: "#fff", transparent: "transparent", inherit: "inherit" }));
|
|
446
|
+
__publicField(this, "config", {});
|
|
474
447
|
if (_WaveUI.instance)
|
|
475
448
|
return _WaveUI.instance;
|
|
476
449
|
else {
|
|
@@ -494,6 +467,8 @@ const _WaveUI = class {
|
|
|
494
467
|
}
|
|
495
468
|
}
|
|
496
469
|
}
|
|
470
|
+
this.config = config;
|
|
471
|
+
this.notify = (...args) => notificationManager.notify(...args);
|
|
497
472
|
_WaveUI.instance = this;
|
|
498
473
|
_WaveUI.vueInstance.prototype.$waveui = _WaveUI.vueInstance.observable(this);
|
|
499
474
|
delete _WaveUI.vueInstance;
|
|
@@ -527,7 +502,6 @@ let WaveUI = _WaveUI;
|
|
|
527
502
|
_notificationManager = new WeakMap();
|
|
528
503
|
__publicField(WaveUI, "instance", null);
|
|
529
504
|
__publicField(WaveUI, "vueInstance", null);
|
|
530
|
-
WaveUI.version = "__VERSION__";
|
|
531
505
|
var render$P = function() {
|
|
532
506
|
var _vm = this;
|
|
533
507
|
var _h = _vm.$createElement;
|
|
@@ -593,7 +567,10 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
|
|
|
593
567
|
options._ssrRegister = hook;
|
|
594
568
|
} else if (injectStyles) {
|
|
595
569
|
hook = shadowMode ? function() {
|
|
596
|
-
injectStyles.call(
|
|
570
|
+
injectStyles.call(
|
|
571
|
+
this,
|
|
572
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
573
|
+
);
|
|
597
574
|
} : injectStyles;
|
|
598
575
|
}
|
|
599
576
|
if (hook) {
|
|
@@ -678,7 +655,8 @@ const __vue2_script$P = {
|
|
|
678
655
|
},
|
|
679
656
|
updateItems() {
|
|
680
657
|
const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
|
|
681
|
-
this.$set(this, "accordionItems", items.map((item, _index) =>
|
|
658
|
+
this.$set(this, "accordionItems", items.map((item, _index) => ({
|
|
659
|
+
...item,
|
|
682
660
|
_index,
|
|
683
661
|
_expanded: this.value && this.value[_index],
|
|
684
662
|
_disabled: !!item.disabled
|
|
@@ -701,7 +679,16 @@ const __vue2_script$P = {
|
|
|
701
679
|
}
|
|
702
680
|
};
|
|
703
681
|
const __cssModules$P = {};
|
|
704
|
-
var __component__$P = /* @__PURE__ */ normalizeComponent(
|
|
682
|
+
var __component__$P = /* @__PURE__ */ normalizeComponent(
|
|
683
|
+
__vue2_script$P,
|
|
684
|
+
render$P,
|
|
685
|
+
staticRenderFns$P,
|
|
686
|
+
false,
|
|
687
|
+
__vue2_injectStyles$P,
|
|
688
|
+
null,
|
|
689
|
+
null,
|
|
690
|
+
null
|
|
691
|
+
);
|
|
705
692
|
function __vue2_injectStyles$P(context) {
|
|
706
693
|
for (let o in __cssModules$P) {
|
|
707
694
|
this[o] = __cssModules$P[o];
|
|
@@ -799,7 +786,16 @@ const __vue2_script$O = {
|
|
|
799
786
|
}
|
|
800
787
|
};
|
|
801
788
|
const __cssModules$O = {};
|
|
802
|
-
var __component__$O = /* @__PURE__ */ normalizeComponent(
|
|
789
|
+
var __component__$O = /* @__PURE__ */ normalizeComponent(
|
|
790
|
+
__vue2_script$O,
|
|
791
|
+
render$O,
|
|
792
|
+
staticRenderFns$O,
|
|
793
|
+
false,
|
|
794
|
+
__vue2_injectStyles$O,
|
|
795
|
+
null,
|
|
796
|
+
null,
|
|
797
|
+
null
|
|
798
|
+
);
|
|
803
799
|
function __vue2_injectStyles$O(context) {
|
|
804
800
|
for (let o in __cssModules$O) {
|
|
805
801
|
this[o] = __cssModules$O[o];
|
|
@@ -829,7 +825,7 @@ const __vue2_script$N = {
|
|
|
829
825
|
}),
|
|
830
826
|
computed: {
|
|
831
827
|
conf() {
|
|
832
|
-
return config.notificationManager;
|
|
828
|
+
return this.$waveui.config.notificationManager;
|
|
833
829
|
},
|
|
834
830
|
notifications() {
|
|
835
831
|
var _a;
|
|
@@ -841,7 +837,7 @@ const __vue2_script$N = {
|
|
|
841
837
|
},
|
|
842
838
|
methods: {
|
|
843
839
|
notifProps(notif) {
|
|
844
|
-
const
|
|
840
|
+
const { _value, _uid: _uid2, message, timeout, ...props } = notif;
|
|
845
841
|
return props;
|
|
846
842
|
}
|
|
847
843
|
},
|
|
@@ -854,7 +850,16 @@ const __vue2_script$N = {
|
|
|
854
850
|
}
|
|
855
851
|
};
|
|
856
852
|
const __cssModules$N = {};
|
|
857
|
-
var __component__$N = /* @__PURE__ */ normalizeComponent(
|
|
853
|
+
var __component__$N = /* @__PURE__ */ normalizeComponent(
|
|
854
|
+
__vue2_script$N,
|
|
855
|
+
render$N,
|
|
856
|
+
staticRenderFns$N,
|
|
857
|
+
false,
|
|
858
|
+
__vue2_injectStyles$N,
|
|
859
|
+
null,
|
|
860
|
+
null,
|
|
861
|
+
null
|
|
862
|
+
);
|
|
858
863
|
function __vue2_injectStyles$N(context) {
|
|
859
864
|
for (let o in __cssModules$N) {
|
|
860
865
|
this[o] = __cssModules$N[o];
|
|
@@ -863,57 +868,50 @@ function __vue2_injectStyles$N(context) {
|
|
|
863
868
|
var NotificationManager = /* @__PURE__ */ function() {
|
|
864
869
|
return __component__$N.exports;
|
|
865
870
|
}();
|
|
866
|
-
const { css: cssConfig } = config;
|
|
867
|
-
const entries = Object.entries(config.breakpoints);
|
|
868
|
-
const breakpoints = entries.map(([label, max], i) => {
|
|
869
|
-
const [, value = 0] = entries[i - 1] || [];
|
|
870
|
-
return { label, min: value ? value + 1 : 0, max };
|
|
871
|
-
});
|
|
872
|
-
let computedStyles = null;
|
|
873
871
|
const cssVars = {
|
|
874
872
|
cssScope: ".w-app",
|
|
875
873
|
baseIncrement: 4
|
|
876
874
|
};
|
|
877
|
-
const generateColors = () => {
|
|
875
|
+
const generateColors = (config2) => {
|
|
878
876
|
let styles = "";
|
|
879
877
|
const { cssScope } = cssVars;
|
|
880
|
-
const
|
|
878
|
+
const { info, warning, success, error, ...colors2 } = config2.colors;
|
|
881
879
|
for (const color in colors2) {
|
|
882
|
-
styles += `${cssScope} .${color}--bg{background-color:${
|
|
880
|
+
styles += `${cssScope} .${color}--bg{background-color:${config2.colors[color]}}${cssScope} .${color}{color:${config2.colors[color]}}`;
|
|
883
881
|
}
|
|
884
|
-
if (
|
|
885
|
-
Object.entries(
|
|
882
|
+
if (config2.css.colorShades && config2.colorShades) {
|
|
883
|
+
Object.entries(config2.colorShades).forEach(([label, color]) => {
|
|
886
884
|
styles += `${cssScope} .${label}--bg{background-color:${color}}${cssScope} .${label}{color:${color}}`;
|
|
887
885
|
});
|
|
888
886
|
}
|
|
889
887
|
const statusColors = { info, warning, success, error };
|
|
890
888
|
for (const color in statusColors) {
|
|
891
|
-
styles += `${cssScope} .${color}--bg{background-color:${
|
|
889
|
+
styles += `${cssScope} .${color}--bg{background-color:${config2.colors[color]}}${cssScope} .${color}{color:${config2.colors[color]}}`;
|
|
892
890
|
}
|
|
893
891
|
const cssVariables = [];
|
|
894
|
-
cssVariables.push(`--primary: ${
|
|
892
|
+
cssVariables.push(`--primary: ${config2.colors.primary}`);
|
|
895
893
|
styles += `:root {${cssVariables.join(";")}}`;
|
|
896
894
|
return styles;
|
|
897
895
|
};
|
|
898
|
-
const generateBreakpoints = () => {
|
|
896
|
+
const generateBreakpoints = (breakpoints, grid) => {
|
|
899
897
|
let styles = "";
|
|
900
898
|
const { cssScope } = cssVars;
|
|
901
899
|
breakpoints.forEach(({ min, label }) => {
|
|
902
900
|
if (label === "xs") {
|
|
903
|
-
for (let i = 0; i <
|
|
904
|
-
styles += `${cssScope} .${label}${
|
|
901
|
+
for (let i = 0; i < grid; i++) {
|
|
902
|
+
styles += `${cssScope} .${label}${grid - i}{width:${parseFloat(((grid - i) * 100 / grid).toFixed(4))}%;}`;
|
|
905
903
|
}
|
|
906
904
|
} else {
|
|
907
905
|
styles += `@media(min-width:${min}px){`;
|
|
908
|
-
for (let i = 0; i <
|
|
909
|
-
styles += `${cssScope} .${label}${
|
|
906
|
+
for (let i = 0; i < grid; i++) {
|
|
907
|
+
styles += `${cssScope} .${label}${grid - i}{width:${parseFloat(((grid - i) * 100 / grid).toFixed(4))}%;}`;
|
|
910
908
|
}
|
|
911
909
|
styles += "}";
|
|
912
910
|
}
|
|
913
911
|
});
|
|
914
912
|
return styles;
|
|
915
913
|
};
|
|
916
|
-
const genBreakpointLayoutClasses = () => {
|
|
914
|
+
const genBreakpointLayoutClasses = (breakpoints) => {
|
|
917
915
|
let styles = "";
|
|
918
916
|
const { cssScope, baseIncrement } = cssVars;
|
|
919
917
|
const layoutClasses = [
|
|
@@ -966,15 +964,20 @@ const genBreakpointLayoutClasses = () => {
|
|
|
966
964
|
});
|
|
967
965
|
return styles;
|
|
968
966
|
};
|
|
969
|
-
var
|
|
970
|
-
|
|
971
|
-
|
|
967
|
+
var dynamicCSS = (config2) => {
|
|
968
|
+
const entries = Object.entries(config2.breakpoints);
|
|
969
|
+
const breakpointsDef2 = entries.map(([label, max], i) => {
|
|
970
|
+
const [, value = 0] = entries[i - 1] || [];
|
|
971
|
+
return { label, min: value ? value + 1 : 0, max };
|
|
972
|
+
});
|
|
973
|
+
const computedStyles = getComputedStyle(document.documentElement);
|
|
972
974
|
cssVars.cssScope = computedStyles.getPropertyValue("--css-scope");
|
|
973
975
|
cssVars.baseIncrement = parseInt(computedStyles.getPropertyValue("--base-increment"));
|
|
974
|
-
styles
|
|
975
|
-
styles +=
|
|
976
|
-
|
|
977
|
-
|
|
976
|
+
let styles = "";
|
|
977
|
+
styles += generateColors(config2);
|
|
978
|
+
styles += generateBreakpoints(breakpointsDef2, config2.css.grid);
|
|
979
|
+
if (config2.css.breakpointLayoutClasses)
|
|
980
|
+
styles += genBreakpointLayoutClasses(breakpointsDef2);
|
|
978
981
|
return styles;
|
|
979
982
|
};
|
|
980
983
|
var render$M = function() {
|
|
@@ -985,8 +988,7 @@ var render$M = function() {
|
|
|
985
988
|
};
|
|
986
989
|
var staticRenderFns$M = [];
|
|
987
990
|
var wApp_vue_vue_type_style_index_0_lang = "";
|
|
988
|
-
|
|
989
|
-
const breakpointsValues = Object.values(config.breakpoints);
|
|
991
|
+
let breakpointsDef = { keys: [], values: [] };
|
|
990
992
|
const __vue2_script$M = {
|
|
991
993
|
name: "w-app",
|
|
992
994
|
props: {
|
|
@@ -1029,10 +1031,10 @@ const __vue2_script$M = {
|
|
|
1029
1031
|
methods: {
|
|
1030
1032
|
getBreakpoint() {
|
|
1031
1033
|
const width = window.innerWidth;
|
|
1032
|
-
const
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
const breakpoint =
|
|
1034
|
+
const breakpoints = breakpointsDef.values.slice(0);
|
|
1035
|
+
breakpoints.push(width);
|
|
1036
|
+
breakpoints.sort((a, b) => a - b);
|
|
1037
|
+
const breakpoint = breakpointsDef.keys[breakpoints.indexOf(width)] || "xl";
|
|
1036
1038
|
if (breakpoint !== this.currentBreakpoint) {
|
|
1037
1039
|
this.currentBreakpoint = breakpoint;
|
|
1038
1040
|
this.$waveui.breakpoint = {
|
|
@@ -1046,16 +1048,15 @@ const __vue2_script$M = {
|
|
|
1046
1048
|
};
|
|
1047
1049
|
}
|
|
1048
1050
|
this.$waveui.breakpoint.width = width;
|
|
1049
|
-
},
|
|
1050
|
-
dynamicStyles() {
|
|
1051
|
-
return DynamicCSS();
|
|
1052
1051
|
}
|
|
1053
1052
|
},
|
|
1054
1053
|
mounted() {
|
|
1054
|
+
const { config: config2 } = this.$waveui;
|
|
1055
|
+
breakpointsDef = { keys: Object.keys(config2.breakpoints), values: Object.values(config2.breakpoints) };
|
|
1055
1056
|
if (!document.getElementById("wave-ui-styles")) {
|
|
1056
1057
|
const css = document.createElement("style");
|
|
1057
1058
|
css.id = "wave-ui-styles";
|
|
1058
|
-
css.innerHTML =
|
|
1059
|
+
css.innerHTML = dynamicCSS(config2);
|
|
1059
1060
|
const firstStyle = document.head.querySelectorAll('style,link[rel="stylesheet"]')[0];
|
|
1060
1061
|
if (firstStyle)
|
|
1061
1062
|
firstStyle.before(css);
|
|
@@ -1070,7 +1071,16 @@ const __vue2_script$M = {
|
|
|
1070
1071
|
}
|
|
1071
1072
|
};
|
|
1072
1073
|
const __cssModules$M = {};
|
|
1073
|
-
var __component__$M = /* @__PURE__ */ normalizeComponent(
|
|
1074
|
+
var __component__$M = /* @__PURE__ */ normalizeComponent(
|
|
1075
|
+
__vue2_script$M,
|
|
1076
|
+
render$M,
|
|
1077
|
+
staticRenderFns$M,
|
|
1078
|
+
false,
|
|
1079
|
+
__vue2_injectStyles$M,
|
|
1080
|
+
null,
|
|
1081
|
+
null,
|
|
1082
|
+
null
|
|
1083
|
+
);
|
|
1074
1084
|
function __vue2_injectStyles$M(context) {
|
|
1075
1085
|
for (let o in __cssModules$M) {
|
|
1076
1086
|
this[o] = __cssModules$M[o];
|
|
@@ -1152,7 +1162,16 @@ const __vue2_script$L = {
|
|
|
1152
1162
|
}
|
|
1153
1163
|
};
|
|
1154
1164
|
const __cssModules$L = {};
|
|
1155
|
-
var __component__$L = /* @__PURE__ */ normalizeComponent(
|
|
1165
|
+
var __component__$L = /* @__PURE__ */ normalizeComponent(
|
|
1166
|
+
__vue2_script$L,
|
|
1167
|
+
render$L,
|
|
1168
|
+
staticRenderFns$L,
|
|
1169
|
+
false,
|
|
1170
|
+
__vue2_injectStyles$L,
|
|
1171
|
+
null,
|
|
1172
|
+
null,
|
|
1173
|
+
null
|
|
1174
|
+
);
|
|
1156
1175
|
function __vue2_injectStyles$L(context) {
|
|
1157
1176
|
for (let o in __cssModules$L) {
|
|
1158
1177
|
this[o] = __cssModules$L[o];
|
|
@@ -1203,7 +1222,16 @@ const __vue2_script$K = {
|
|
|
1203
1222
|
}
|
|
1204
1223
|
};
|
|
1205
1224
|
const __cssModules$K = {};
|
|
1206
|
-
var __component__$K = /* @__PURE__ */ normalizeComponent(
|
|
1225
|
+
var __component__$K = /* @__PURE__ */ normalizeComponent(
|
|
1226
|
+
__vue2_script$K,
|
|
1227
|
+
render$K,
|
|
1228
|
+
staticRenderFns$K,
|
|
1229
|
+
false,
|
|
1230
|
+
__vue2_injectStyles$K,
|
|
1231
|
+
null,
|
|
1232
|
+
null,
|
|
1233
|
+
null
|
|
1234
|
+
);
|
|
1207
1235
|
function __vue2_injectStyles$K(context) {
|
|
1208
1236
|
for (let o in __cssModules$K) {
|
|
1209
1237
|
this[o] = __cssModules$K[o];
|
|
@@ -1263,7 +1291,8 @@ const __vue2_script$J = {
|
|
|
1263
1291
|
return this.hasRouter ? this.$router.resolve(this.route).href : this.route;
|
|
1264
1292
|
},
|
|
1265
1293
|
listeners() {
|
|
1266
|
-
return this.route && this.hasRouter && !this.forceLink && !this.externalLink ?
|
|
1294
|
+
return this.route && this.hasRouter && !this.forceLink && !this.externalLink ? {
|
|
1295
|
+
...this.$listeners,
|
|
1267
1296
|
click: (e) => {
|
|
1268
1297
|
if (this.$listeners.click)
|
|
1269
1298
|
this.$listeners.click(e);
|
|
@@ -1271,7 +1300,7 @@ const __vue2_script$J = {
|
|
|
1271
1300
|
e.stopPropagation();
|
|
1272
1301
|
e.preventDefault();
|
|
1273
1302
|
}
|
|
1274
|
-
}
|
|
1303
|
+
} : this.$listeners;
|
|
1275
1304
|
},
|
|
1276
1305
|
size() {
|
|
1277
1306
|
return this.xs && "xs" || this.sm && "sm" || this.lg && "lg" || this.xl && "xl" || "md";
|
|
@@ -1283,7 +1312,7 @@ const __vue2_script$J = {
|
|
|
1283
1312
|
];
|
|
1284
1313
|
},
|
|
1285
1314
|
externalLink() {
|
|
1286
|
-
return /^(https?:)
|
|
1315
|
+
return /^(https?:)?\/\/|mailto:|tel:/.test(this.route);
|
|
1287
1316
|
},
|
|
1288
1317
|
classes() {
|
|
1289
1318
|
return {
|
|
@@ -1315,7 +1344,16 @@ const __vue2_script$J = {
|
|
|
1315
1344
|
}
|
|
1316
1345
|
};
|
|
1317
1346
|
const __cssModules$J = {};
|
|
1318
|
-
var __component__$J = /* @__PURE__ */ normalizeComponent(
|
|
1347
|
+
var __component__$J = /* @__PURE__ */ normalizeComponent(
|
|
1348
|
+
__vue2_script$J,
|
|
1349
|
+
render$J,
|
|
1350
|
+
staticRenderFns$J,
|
|
1351
|
+
false,
|
|
1352
|
+
__vue2_injectStyles$J,
|
|
1353
|
+
null,
|
|
1354
|
+
null,
|
|
1355
|
+
null
|
|
1356
|
+
);
|
|
1319
1357
|
function __vue2_injectStyles$J(context) {
|
|
1320
1358
|
for (let o in __cssModules$J) {
|
|
1321
1359
|
this[o] = __cssModules$J[o];
|
|
@@ -1370,10 +1408,11 @@ const __vue2_script$I = {
|
|
|
1370
1408
|
return actions && actions.map((vnode) => vnode.tag).join("").includes("w-toolbar");
|
|
1371
1409
|
},
|
|
1372
1410
|
imgProps() {
|
|
1373
|
-
return
|
|
1411
|
+
return {
|
|
1374
1412
|
tag: "div",
|
|
1375
|
-
ratio: 1 / 2
|
|
1376
|
-
|
|
1413
|
+
ratio: 1 / 2,
|
|
1414
|
+
...this.imageProps
|
|
1415
|
+
};
|
|
1377
1416
|
},
|
|
1378
1417
|
classes() {
|
|
1379
1418
|
return {
|
|
@@ -1387,7 +1426,16 @@ const __vue2_script$I = {
|
|
|
1387
1426
|
}
|
|
1388
1427
|
};
|
|
1389
1428
|
const __cssModules$I = {};
|
|
1390
|
-
var __component__$I = /* @__PURE__ */ normalizeComponent(
|
|
1429
|
+
var __component__$I = /* @__PURE__ */ normalizeComponent(
|
|
1430
|
+
__vue2_script$I,
|
|
1431
|
+
render$I,
|
|
1432
|
+
staticRenderFns$I,
|
|
1433
|
+
false,
|
|
1434
|
+
__vue2_injectStyles$I,
|
|
1435
|
+
null,
|
|
1436
|
+
null,
|
|
1437
|
+
null
|
|
1438
|
+
);
|
|
1391
1439
|
function __vue2_injectStyles$I(context) {
|
|
1392
1440
|
for (let o in __cssModules$I) {
|
|
1393
1441
|
this[o] = __cssModules$I[o];
|
|
@@ -1537,7 +1585,16 @@ const __vue2_script$H = {
|
|
|
1537
1585
|
}
|
|
1538
1586
|
};
|
|
1539
1587
|
const __cssModules$H = {};
|
|
1540
|
-
var __component__$H = /* @__PURE__ */ normalizeComponent(
|
|
1588
|
+
var __component__$H = /* @__PURE__ */ normalizeComponent(
|
|
1589
|
+
__vue2_script$H,
|
|
1590
|
+
render$H,
|
|
1591
|
+
staticRenderFns$H,
|
|
1592
|
+
false,
|
|
1593
|
+
__vue2_injectStyles$H,
|
|
1594
|
+
null,
|
|
1595
|
+
null,
|
|
1596
|
+
null
|
|
1597
|
+
);
|
|
1541
1598
|
function __vue2_injectStyles$H(context) {
|
|
1542
1599
|
for (let o in __cssModules$H) {
|
|
1543
1600
|
this[o] = __cssModules$H[o];
|
|
@@ -1587,13 +1644,14 @@ const __vue2_script$G = {
|
|
|
1587
1644
|
checkboxItems() {
|
|
1588
1645
|
return (this.items || []).map((item, i) => {
|
|
1589
1646
|
const itemValue = item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey];
|
|
1590
|
-
return Vue.observable(
|
|
1647
|
+
return Vue.observable({
|
|
1648
|
+
...item,
|
|
1591
1649
|
label: item[this.itemLabelKey],
|
|
1592
1650
|
_index: i,
|
|
1593
1651
|
value: itemValue,
|
|
1594
1652
|
color: item[this.itemColorKey] || this.color,
|
|
1595
1653
|
_isChecked: this.value && this.value.includes(itemValue)
|
|
1596
|
-
})
|
|
1654
|
+
});
|
|
1597
1655
|
});
|
|
1598
1656
|
},
|
|
1599
1657
|
classes() {
|
|
@@ -1621,7 +1679,16 @@ const __vue2_script$G = {
|
|
|
1621
1679
|
}
|
|
1622
1680
|
};
|
|
1623
1681
|
const __cssModules$G = {};
|
|
1624
|
-
var __component__$G = /* @__PURE__ */ normalizeComponent(
|
|
1682
|
+
var __component__$G = /* @__PURE__ */ normalizeComponent(
|
|
1683
|
+
__vue2_script$G,
|
|
1684
|
+
render$G,
|
|
1685
|
+
staticRenderFns$G,
|
|
1686
|
+
false,
|
|
1687
|
+
__vue2_injectStyles$G,
|
|
1688
|
+
null,
|
|
1689
|
+
null,
|
|
1690
|
+
null
|
|
1691
|
+
);
|
|
1625
1692
|
function __vue2_injectStyles$G(context) {
|
|
1626
1693
|
for (let o in __cssModules$G) {
|
|
1627
1694
|
this[o] = __cssModules$G[o];
|
|
@@ -1685,7 +1752,7 @@ const __vue2_script$F = {
|
|
|
1685
1752
|
return button;
|
|
1686
1753
|
},
|
|
1687
1754
|
cancelButtonProps() {
|
|
1688
|
-
const
|
|
1755
|
+
const { label, ...props } = this.cancelButton;
|
|
1689
1756
|
return props;
|
|
1690
1757
|
},
|
|
1691
1758
|
confirmButton() {
|
|
@@ -1695,11 +1762,11 @@ const __vue2_script$F = {
|
|
|
1695
1762
|
return button;
|
|
1696
1763
|
},
|
|
1697
1764
|
confirmButtonProps() {
|
|
1698
|
-
const
|
|
1765
|
+
const { label, ...props } = this.confirmButton;
|
|
1699
1766
|
return props;
|
|
1700
1767
|
},
|
|
1701
1768
|
wMenuProps() {
|
|
1702
|
-
return
|
|
1769
|
+
return {
|
|
1703
1770
|
top: this.top,
|
|
1704
1771
|
bottom: this.bottom,
|
|
1705
1772
|
left: this.left,
|
|
@@ -1710,15 +1777,17 @@ const __vue2_script$F = {
|
|
|
1710
1777
|
alignLeft: this.alignLeft,
|
|
1711
1778
|
alignRight: this.alignRight,
|
|
1712
1779
|
persistent: this.persistent,
|
|
1713
|
-
transition: this.transition
|
|
1714
|
-
|
|
1780
|
+
transition: this.transition,
|
|
1781
|
+
...this.menu
|
|
1782
|
+
};
|
|
1715
1783
|
},
|
|
1716
1784
|
buttonProps() {
|
|
1717
|
-
return
|
|
1785
|
+
return {
|
|
1718
1786
|
bgColor: this.bgColor,
|
|
1719
1787
|
color: this.color,
|
|
1720
|
-
icon: this.icon
|
|
1721
|
-
|
|
1788
|
+
icon: this.icon,
|
|
1789
|
+
...this.mainButton
|
|
1790
|
+
};
|
|
1722
1791
|
}
|
|
1723
1792
|
},
|
|
1724
1793
|
methods: {
|
|
@@ -1733,7 +1802,16 @@ const __vue2_script$F = {
|
|
|
1733
1802
|
}
|
|
1734
1803
|
};
|
|
1735
1804
|
const __cssModules$F = {};
|
|
1736
|
-
var __component__$F = /* @__PURE__ */ normalizeComponent(
|
|
1805
|
+
var __component__$F = /* @__PURE__ */ normalizeComponent(
|
|
1806
|
+
__vue2_script$F,
|
|
1807
|
+
render$F,
|
|
1808
|
+
staticRenderFns$F,
|
|
1809
|
+
false,
|
|
1810
|
+
__vue2_injectStyles$F,
|
|
1811
|
+
null,
|
|
1812
|
+
null,
|
|
1813
|
+
null
|
|
1814
|
+
);
|
|
1737
1815
|
function __vue2_injectStyles$F(context) {
|
|
1738
1816
|
for (let o in __cssModules$F) {
|
|
1739
1817
|
this[o] = __cssModules$F[o];
|
|
@@ -1764,7 +1842,16 @@ const __vue2_script$E = {
|
|
|
1764
1842
|
}
|
|
1765
1843
|
};
|
|
1766
1844
|
const __cssModules$E = {};
|
|
1767
|
-
var __component__$E = /* @__PURE__ */ normalizeComponent(
|
|
1845
|
+
var __component__$E = /* @__PURE__ */ normalizeComponent(
|
|
1846
|
+
__vue2_script$E,
|
|
1847
|
+
render$E,
|
|
1848
|
+
staticRenderFns$E,
|
|
1849
|
+
false,
|
|
1850
|
+
__vue2_injectStyles$E,
|
|
1851
|
+
null,
|
|
1852
|
+
null,
|
|
1853
|
+
null
|
|
1854
|
+
);
|
|
1768
1855
|
function __vue2_injectStyles$E(context) {
|
|
1769
1856
|
for (let o in __cssModules$E) {
|
|
1770
1857
|
this[o] = __cssModules$E[o];
|
|
@@ -1860,7 +1947,16 @@ const __vue2_script$D = {
|
|
|
1860
1947
|
}
|
|
1861
1948
|
};
|
|
1862
1949
|
const __cssModules$D = {};
|
|
1863
|
-
var __component__$D = /* @__PURE__ */ normalizeComponent(
|
|
1950
|
+
var __component__$D = /* @__PURE__ */ normalizeComponent(
|
|
1951
|
+
__vue2_script$D,
|
|
1952
|
+
render$D,
|
|
1953
|
+
staticRenderFns$D,
|
|
1954
|
+
false,
|
|
1955
|
+
__vue2_injectStyles$D,
|
|
1956
|
+
null,
|
|
1957
|
+
null,
|
|
1958
|
+
null
|
|
1959
|
+
);
|
|
1864
1960
|
function __vue2_injectStyles$D(context) {
|
|
1865
1961
|
for (let o in __cssModules$D) {
|
|
1866
1962
|
this[o] = __cssModules$D[o];
|
|
@@ -1873,7 +1969,7 @@ var render$C = function() {
|
|
|
1873
1969
|
var _vm = this;
|
|
1874
1970
|
var _h = _vm.$createElement;
|
|
1875
1971
|
var _c = _vm._self._c || _h;
|
|
1876
|
-
return _c("div", { staticClass: "w-divider", class: _vm.classes, attrs: { "role": "presentation", "aria-orientation": _vm.vertical ? "vertical" : "horizontal" } }, [_vm._t("default")], 2);
|
|
1972
|
+
return _c("div", { staticClass: "w-divider", class: _vm.classes, attrs: { "role": _vm.$slots.default ? null : "presentation", "aria-orientation": _vm.vertical ? "vertical" : "horizontal" } }, [_vm._t("default")], 2);
|
|
1877
1973
|
};
|
|
1878
1974
|
var staticRenderFns$C = [];
|
|
1879
1975
|
var wDivider_vue_vue_type_style_index_0_lang = "";
|
|
@@ -1895,7 +1991,16 @@ const __vue2_script$C = {
|
|
|
1895
1991
|
}
|
|
1896
1992
|
};
|
|
1897
1993
|
const __cssModules$C = {};
|
|
1898
|
-
var __component__$C = /* @__PURE__ */ normalizeComponent(
|
|
1994
|
+
var __component__$C = /* @__PURE__ */ normalizeComponent(
|
|
1995
|
+
__vue2_script$C,
|
|
1996
|
+
render$C,
|
|
1997
|
+
staticRenderFns$C,
|
|
1998
|
+
false,
|
|
1999
|
+
__vue2_injectStyles$C,
|
|
2000
|
+
null,
|
|
2001
|
+
null,
|
|
2002
|
+
null
|
|
2003
|
+
);
|
|
1899
2004
|
function __vue2_injectStyles$C(context) {
|
|
1900
2005
|
for (let o in __cssModules$C) {
|
|
1901
2006
|
this[o] = __cssModules$C[o];
|
|
@@ -2033,7 +2138,16 @@ const __vue2_script$B = {
|
|
|
2033
2138
|
}
|
|
2034
2139
|
};
|
|
2035
2140
|
const __cssModules$B = {};
|
|
2036
|
-
var __component__$B = /* @__PURE__ */ normalizeComponent(
|
|
2141
|
+
var __component__$B = /* @__PURE__ */ normalizeComponent(
|
|
2142
|
+
__vue2_script$B,
|
|
2143
|
+
render$B,
|
|
2144
|
+
staticRenderFns$B,
|
|
2145
|
+
false,
|
|
2146
|
+
__vue2_injectStyles$B,
|
|
2147
|
+
null,
|
|
2148
|
+
null,
|
|
2149
|
+
null
|
|
2150
|
+
);
|
|
2037
2151
|
function __vue2_injectStyles$B(context) {
|
|
2038
2152
|
for (let o in __cssModules$B) {
|
|
2039
2153
|
this[o] = __cssModules$B[o];
|
|
@@ -2099,7 +2213,16 @@ const __vue2_script$A = {
|
|
|
2099
2213
|
}
|
|
2100
2214
|
};
|
|
2101
2215
|
const __cssModules$A = {};
|
|
2102
|
-
var __component__$A = /* @__PURE__ */ normalizeComponent(
|
|
2216
|
+
var __component__$A = /* @__PURE__ */ normalizeComponent(
|
|
2217
|
+
__vue2_script$A,
|
|
2218
|
+
render$A,
|
|
2219
|
+
staticRenderFns$A,
|
|
2220
|
+
false,
|
|
2221
|
+
__vue2_injectStyles$A,
|
|
2222
|
+
null,
|
|
2223
|
+
null,
|
|
2224
|
+
null
|
|
2225
|
+
);
|
|
2103
2226
|
function __vue2_injectStyles$A(context) {
|
|
2104
2227
|
for (let o in __cssModules$A) {
|
|
2105
2228
|
this[o] = __cssModules$A[o];
|
|
@@ -2213,8 +2336,6 @@ const __vue2_script$z = {
|
|
|
2213
2336
|
el.Validation.message = validationMessage;
|
|
2214
2337
|
},
|
|
2215
2338
|
reset(e) {
|
|
2216
|
-
if (!e)
|
|
2217
|
-
return;
|
|
2218
2339
|
this.status = null;
|
|
2219
2340
|
this.formElements.forEach((item) => item.reset());
|
|
2220
2341
|
this.updateErrorsCount(0, true);
|
|
@@ -2246,7 +2367,16 @@ const __vue2_script$z = {
|
|
|
2246
2367
|
}
|
|
2247
2368
|
};
|
|
2248
2369
|
const __cssModules$z = {};
|
|
2249
|
-
var __component__$z = /* @__PURE__ */ normalizeComponent(
|
|
2370
|
+
var __component__$z = /* @__PURE__ */ normalizeComponent(
|
|
2371
|
+
__vue2_script$z,
|
|
2372
|
+
render$z,
|
|
2373
|
+
staticRenderFns$z,
|
|
2374
|
+
false,
|
|
2375
|
+
__vue2_injectStyles$z,
|
|
2376
|
+
null,
|
|
2377
|
+
null,
|
|
2378
|
+
null
|
|
2379
|
+
);
|
|
2250
2380
|
function __vue2_injectStyles$z(context) {
|
|
2251
2381
|
for (let o in __cssModules$z) {
|
|
2252
2382
|
this[o] = __cssModules$z[o];
|
|
@@ -2344,7 +2474,16 @@ const __vue2_script$y = {
|
|
|
2344
2474
|
}
|
|
2345
2475
|
};
|
|
2346
2476
|
const __cssModules$y = {};
|
|
2347
|
-
var __component__$y = /* @__PURE__ */ normalizeComponent(
|
|
2477
|
+
var __component__$y = /* @__PURE__ */ normalizeComponent(
|
|
2478
|
+
__vue2_script$y,
|
|
2479
|
+
render$y,
|
|
2480
|
+
staticRenderFns$y,
|
|
2481
|
+
false,
|
|
2482
|
+
__vue2_injectStyles$y,
|
|
2483
|
+
null,
|
|
2484
|
+
null,
|
|
2485
|
+
null
|
|
2486
|
+
);
|
|
2348
2487
|
function __vue2_injectStyles$y(context) {
|
|
2349
2488
|
for (let o in __cssModules$y) {
|
|
2350
2489
|
this[o] = __cssModules$y[o];
|
|
@@ -2410,12 +2549,24 @@ const __vue2_script$x = {
|
|
|
2410
2549
|
return obj;
|
|
2411
2550
|
}, {});
|
|
2412
2551
|
}
|
|
2413
|
-
return
|
|
2552
|
+
return {
|
|
2553
|
+
...breakpointsColumns || { [`columns${this.columns}`]: this.columns },
|
|
2554
|
+
...breakpointsGap || { [`gap${this.gap}`]: this.gap }
|
|
2555
|
+
};
|
|
2414
2556
|
}
|
|
2415
2557
|
}
|
|
2416
2558
|
};
|
|
2417
2559
|
const __cssModules$x = {};
|
|
2418
|
-
var __component__$x = /* @__PURE__ */ normalizeComponent(
|
|
2560
|
+
var __component__$x = /* @__PURE__ */ normalizeComponent(
|
|
2561
|
+
__vue2_script$x,
|
|
2562
|
+
render$x,
|
|
2563
|
+
staticRenderFns$x,
|
|
2564
|
+
false,
|
|
2565
|
+
__vue2_injectStyles$x,
|
|
2566
|
+
null,
|
|
2567
|
+
null,
|
|
2568
|
+
null
|
|
2569
|
+
);
|
|
2419
2570
|
function __vue2_injectStyles$x(context) {
|
|
2420
2571
|
for (let o in __cssModules$x) {
|
|
2421
2572
|
this[o] = __cssModules$x[o];
|
|
@@ -2463,7 +2614,7 @@ const __vue2_script$w = {
|
|
|
2463
2614
|
}),
|
|
2464
2615
|
computed: {
|
|
2465
2616
|
hasLigature() {
|
|
2466
|
-
return config.iconsLigature === this.fontName;
|
|
2617
|
+
return this.$waveui.config.iconsLigature === this.fontName;
|
|
2467
2618
|
},
|
|
2468
2619
|
forcedSize() {
|
|
2469
2620
|
return this.size && (!isNaN(this.size) ? `${this.size}px` : this.size);
|
|
@@ -2506,7 +2657,16 @@ const __vue2_script$w = {
|
|
|
2506
2657
|
}
|
|
2507
2658
|
};
|
|
2508
2659
|
const __cssModules$w = {};
|
|
2509
|
-
var __component__$w = /* @__PURE__ */ normalizeComponent(
|
|
2660
|
+
var __component__$w = /* @__PURE__ */ normalizeComponent(
|
|
2661
|
+
__vue2_script$w,
|
|
2662
|
+
render$w,
|
|
2663
|
+
staticRenderFns$w,
|
|
2664
|
+
false,
|
|
2665
|
+
__vue2_injectStyles$w,
|
|
2666
|
+
null,
|
|
2667
|
+
null,
|
|
2668
|
+
null
|
|
2669
|
+
);
|
|
2510
2670
|
function __vue2_injectStyles$w(context) {
|
|
2511
2671
|
for (let o in __cssModules$w) {
|
|
2512
2672
|
this[o] = __cssModules$w[o];
|
|
@@ -2647,7 +2807,16 @@ const __vue2_script$v = {
|
|
|
2647
2807
|
}
|
|
2648
2808
|
};
|
|
2649
2809
|
const __cssModules$v = {};
|
|
2650
|
-
var __component__$v = /* @__PURE__ */ normalizeComponent(
|
|
2810
|
+
var __component__$v = /* @__PURE__ */ normalizeComponent(
|
|
2811
|
+
__vue2_script$v,
|
|
2812
|
+
render$v,
|
|
2813
|
+
staticRenderFns$v,
|
|
2814
|
+
false,
|
|
2815
|
+
__vue2_injectStyles$v,
|
|
2816
|
+
null,
|
|
2817
|
+
null,
|
|
2818
|
+
null
|
|
2819
|
+
);
|
|
2651
2820
|
function __vue2_injectStyles$v(context) {
|
|
2652
2821
|
for (let o in __cssModules$v) {
|
|
2653
2822
|
this[o] = __cssModules$v[o];
|
|
@@ -2754,11 +2923,11 @@ const __vue2_script$u = {
|
|
|
2754
2923
|
},
|
|
2755
2924
|
computed: {
|
|
2756
2925
|
attrs() {
|
|
2757
|
-
const
|
|
2926
|
+
const { class: classes, ...attrs } = this.$attrs;
|
|
2758
2927
|
return attrs;
|
|
2759
2928
|
},
|
|
2760
2929
|
listeners() {
|
|
2761
|
-
const
|
|
2930
|
+
const { input, focus, blur, ...listeners } = this.$listeners;
|
|
2762
2931
|
return listeners;
|
|
2763
2932
|
},
|
|
2764
2933
|
hasValue() {
|
|
@@ -2903,7 +3072,16 @@ const __vue2_script$u = {
|
|
|
2903
3072
|
}
|
|
2904
3073
|
};
|
|
2905
3074
|
const __cssModules$u = {};
|
|
2906
|
-
var __component__$u = /* @__PURE__ */ normalizeComponent(
|
|
3075
|
+
var __component__$u = /* @__PURE__ */ normalizeComponent(
|
|
3076
|
+
__vue2_script$u,
|
|
3077
|
+
render$u,
|
|
3078
|
+
staticRenderFns$u,
|
|
3079
|
+
false,
|
|
3080
|
+
__vue2_injectStyles$u,
|
|
3081
|
+
null,
|
|
3082
|
+
null,
|
|
3083
|
+
null
|
|
3084
|
+
);
|
|
2907
3085
|
function __vue2_injectStyles$u(context) {
|
|
2908
3086
|
for (let o in __cssModules$u) {
|
|
2909
3087
|
this[o] = __cssModules$u[o];
|
|
@@ -3137,7 +3315,7 @@ const __vue2_script$t = {
|
|
|
3137
3315
|
const items = this.selectedItems.map((item) => {
|
|
3138
3316
|
if (!this.returnObject)
|
|
3139
3317
|
return item._value;
|
|
3140
|
-
const
|
|
3318
|
+
const { _value, _selected, ...Item } = item;
|
|
3141
3319
|
return Item;
|
|
3142
3320
|
});
|
|
3143
3321
|
const selection = this.isMultipleSelect ? items : items[0] !== void 0 ? items[0] : null;
|
|
@@ -3152,12 +3330,13 @@ const __vue2_script$t = {
|
|
|
3152
3330
|
this.$el.querySelector(`#${this.listId}_item-${index2 + 1}`).focus();
|
|
3153
3331
|
},
|
|
3154
3332
|
cleanLi(li) {
|
|
3155
|
-
const
|
|
3333
|
+
const { _index, _value, _label, _selected, _focused, ...cleanLi } = li;
|
|
3156
3334
|
return cleanLi;
|
|
3157
3335
|
},
|
|
3158
3336
|
refreshListItems() {
|
|
3159
3337
|
const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
|
|
3160
|
-
this.listItems = items.map((item, i) =>
|
|
3338
|
+
this.listItems = items.map((item, i) => ({
|
|
3339
|
+
...item,
|
|
3161
3340
|
_index: i,
|
|
3162
3341
|
_value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
|
|
3163
3342
|
_selected: item._selected || false,
|
|
@@ -3198,7 +3377,16 @@ const __vue2_script$t = {
|
|
|
3198
3377
|
}
|
|
3199
3378
|
};
|
|
3200
3379
|
const __cssModules$t = {};
|
|
3201
|
-
var __component__$t = /* @__PURE__ */ normalizeComponent(
|
|
3380
|
+
var __component__$t = /* @__PURE__ */ normalizeComponent(
|
|
3381
|
+
__vue2_script$t,
|
|
3382
|
+
render$t,
|
|
3383
|
+
staticRenderFns$t,
|
|
3384
|
+
false,
|
|
3385
|
+
__vue2_injectStyles$t,
|
|
3386
|
+
null,
|
|
3387
|
+
null,
|
|
3388
|
+
null
|
|
3389
|
+
);
|
|
3202
3390
|
function __vue2_injectStyles$t(context) {
|
|
3203
3391
|
for (let o in __cssModules$t) {
|
|
3204
3392
|
this[o] = __cssModules$t[o];
|
|
@@ -3313,11 +3501,12 @@ var DetachableMixin = {
|
|
|
3313
3501
|
let coords = { top, left, width, height };
|
|
3314
3502
|
if (!this.fixed) {
|
|
3315
3503
|
const { top: targetTop, left: targetLeft } = this.detachableParentEl.getBoundingClientRect();
|
|
3316
|
-
const
|
|
3317
|
-
coords =
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3504
|
+
const computedStyles = window.getComputedStyle(this.detachableParentEl, null);
|
|
3505
|
+
coords = {
|
|
3506
|
+
...coords,
|
|
3507
|
+
top: top - targetTop + this.detachableParentEl.scrollTop - parseInt(computedStyles.getPropertyValue("border-top-width")),
|
|
3508
|
+
left: left - targetLeft + this.detachableParentEl.scrollLeft - parseInt(computedStyles.getPropertyValue("border-left-width"))
|
|
3509
|
+
};
|
|
3321
3510
|
}
|
|
3322
3511
|
return coords;
|
|
3323
3512
|
},
|
|
@@ -3327,12 +3516,12 @@ var DetachableMixin = {
|
|
|
3327
3516
|
return;
|
|
3328
3517
|
this.detachableEl.style.visibility = "hidden";
|
|
3329
3518
|
this.detachableEl.style.display = "flex";
|
|
3330
|
-
const
|
|
3519
|
+
const computedStyles = window.getComputedStyle(this.detachableEl, null);
|
|
3331
3520
|
switch (this.position) {
|
|
3332
3521
|
case "top": {
|
|
3333
3522
|
top -= this.detachableEl.offsetHeight;
|
|
3334
3523
|
if (this.alignRight) {
|
|
3335
|
-
left += width - this.detachableEl.offsetWidth + parseInt(
|
|
3524
|
+
left += width - this.detachableEl.offsetWidth + parseInt(computedStyles.getPropertyValue("border-right-width"));
|
|
3336
3525
|
} else if (!this.alignLeft)
|
|
3337
3526
|
left += (width - this.detachableEl.offsetWidth) / 2;
|
|
3338
3527
|
break;
|
|
@@ -3340,7 +3529,7 @@ var DetachableMixin = {
|
|
|
3340
3529
|
case "bottom": {
|
|
3341
3530
|
top += height;
|
|
3342
3531
|
if (this.alignRight) {
|
|
3343
|
-
left += width - this.detachableEl.offsetWidth + parseInt(
|
|
3532
|
+
left += width - this.detachableEl.offsetWidth + parseInt(computedStyles.getPropertyValue("border-right-width"));
|
|
3344
3533
|
} else if (!this.alignLeft)
|
|
3345
3534
|
left += (width - this.detachableEl.offsetWidth) / 2;
|
|
3346
3535
|
break;
|
|
@@ -3356,9 +3545,9 @@ var DetachableMixin = {
|
|
|
3356
3545
|
case "right": {
|
|
3357
3546
|
left += width;
|
|
3358
3547
|
if (this.alignBottom) {
|
|
3359
|
-
top += height - this.detachableEl.offsetHeight + parseInt(
|
|
3548
|
+
top += height - this.detachableEl.offsetHeight + parseInt(computedStyles.getPropertyValue("margin-top"));
|
|
3360
3549
|
} else if (!this.alignTop) {
|
|
3361
|
-
top += (height - this.detachableEl.offsetHeight) / 2 + parseInt(
|
|
3550
|
+
top += (height - this.detachableEl.offsetHeight) / 2 + parseInt(computedStyles.getPropertyValue("margin-top"));
|
|
3362
3551
|
}
|
|
3363
3552
|
break;
|
|
3364
3553
|
}
|
|
@@ -3558,15 +3747,16 @@ const __vue2_script$s = {
|
|
|
3558
3747
|
return objectifyClasses(this.contentClass);
|
|
3559
3748
|
},
|
|
3560
3749
|
overlayClasses() {
|
|
3561
|
-
return
|
|
3750
|
+
return {
|
|
3751
|
+
...objectifyClasses(this.overlayClass),
|
|
3562
3752
|
"w-overlay--no-pointer-event": this.showOnHover
|
|
3563
|
-
}
|
|
3753
|
+
};
|
|
3564
3754
|
},
|
|
3565
3755
|
classes() {
|
|
3566
|
-
return
|
|
3756
|
+
return {
|
|
3567
3757
|
[this.color]: this.color,
|
|
3568
|
-
[`${this.bgColor}--bg`]: this.bgColor
|
|
3569
|
-
|
|
3758
|
+
[`${this.bgColor}--bg`]: this.bgColor,
|
|
3759
|
+
...this.menuClasses,
|
|
3570
3760
|
[`w-menu--${this.position}`]: !this.noPosition,
|
|
3571
3761
|
[`w-menu--align-${this.alignment}`]: !this.noPosition && this.alignment,
|
|
3572
3762
|
"w-menu--tile": this.tile,
|
|
@@ -3575,7 +3765,7 @@ const __vue2_script$s = {
|
|
|
3575
3765
|
"w-menu--arrow": this.arrow,
|
|
3576
3766
|
"w-menu--shadow": this.shadow,
|
|
3577
3767
|
"w-menu--fixed": this.fixed
|
|
3578
|
-
}
|
|
3768
|
+
};
|
|
3579
3769
|
},
|
|
3580
3770
|
styles() {
|
|
3581
3771
|
return {
|
|
@@ -3649,7 +3839,16 @@ const __vue2_script$s = {
|
|
|
3649
3839
|
}
|
|
3650
3840
|
};
|
|
3651
3841
|
const __cssModules$s = {};
|
|
3652
|
-
var __component__$s = /* @__PURE__ */ normalizeComponent(
|
|
3842
|
+
var __component__$s = /* @__PURE__ */ normalizeComponent(
|
|
3843
|
+
__vue2_script$s,
|
|
3844
|
+
render$s,
|
|
3845
|
+
staticRenderFns$s,
|
|
3846
|
+
false,
|
|
3847
|
+
__vue2_injectStyles$s,
|
|
3848
|
+
null,
|
|
3849
|
+
null,
|
|
3850
|
+
null
|
|
3851
|
+
);
|
|
3653
3852
|
function __vue2_injectStyles$s(context) {
|
|
3654
3853
|
for (let o in __cssModules$s) {
|
|
3655
3854
|
this[o] = __cssModules$s[o];
|
|
@@ -3662,7 +3861,7 @@ var render$r = function() {
|
|
|
3662
3861
|
var _vm = this;
|
|
3663
3862
|
var _h = _vm.$createElement;
|
|
3664
3863
|
var _c = _vm._self._c || _h;
|
|
3665
|
-
return _c("transition", { attrs: { "name": _vm.transitionName, "appear": "" } }, [_vm.show ? _c("div", { staticClass: "w-notification", class: _vm.classes, style: _vm.styles }, [_c("w-alert", _vm._b({
|
|
3864
|
+
return _c("transition", { attrs: { "name": _vm.transitionName, "appear": "" } }, [_vm.show ? _c("div", { staticClass: "w-notification", class: _vm.classes, style: _vm.styles }, [_c("w-alert", _vm._b({ class: _vm.alertClasses, on: { "input": function($event) {
|
|
3666
3865
|
_vm.$emit("update:modelValue", false);
|
|
3667
3866
|
_vm.$emit("input", false);
|
|
3668
3867
|
} } }, "w-alert", _vm.alertProps, false), [_vm._t("default")], 2)], 1) : _vm._e()]);
|
|
@@ -3769,6 +3968,11 @@ const __vue2_script$r = {
|
|
|
3769
3968
|
[`w-notification--${this.position.join(" w-notification--")}`]: true
|
|
3770
3969
|
};
|
|
3771
3970
|
},
|
|
3971
|
+
alertClasses() {
|
|
3972
|
+
if (this.bgColor || (this.success || this.info || this.warning || this.error) && this.plain)
|
|
3973
|
+
return null;
|
|
3974
|
+
return "white--bg";
|
|
3975
|
+
},
|
|
3772
3976
|
styles() {
|
|
3773
3977
|
return {
|
|
3774
3978
|
zIndex: this.zIndex || this.zIndex === 0 || null
|
|
@@ -3801,7 +4005,16 @@ const __vue2_script$r = {
|
|
|
3801
4005
|
}
|
|
3802
4006
|
};
|
|
3803
4007
|
const __cssModules$r = {};
|
|
3804
|
-
var __component__$r = /* @__PURE__ */ normalizeComponent(
|
|
4008
|
+
var __component__$r = /* @__PURE__ */ normalizeComponent(
|
|
4009
|
+
__vue2_script$r,
|
|
4010
|
+
render$r,
|
|
4011
|
+
staticRenderFns$r,
|
|
4012
|
+
false,
|
|
4013
|
+
__vue2_injectStyles$r,
|
|
4014
|
+
null,
|
|
4015
|
+
null,
|
|
4016
|
+
null
|
|
4017
|
+
);
|
|
3805
4018
|
function __vue2_injectStyles$r(context) {
|
|
3806
4019
|
for (let o in __cssModules$r) {
|
|
3807
4020
|
this[o] = __cssModules$r[o];
|
|
@@ -3890,7 +4103,16 @@ const __vue2_script$q = {
|
|
|
3890
4103
|
}
|
|
3891
4104
|
};
|
|
3892
4105
|
const __cssModules$q = {};
|
|
3893
|
-
var __component__$q = /* @__PURE__ */ normalizeComponent(
|
|
4106
|
+
var __component__$q = /* @__PURE__ */ normalizeComponent(
|
|
4107
|
+
__vue2_script$q,
|
|
4108
|
+
render$q,
|
|
4109
|
+
staticRenderFns$q,
|
|
4110
|
+
false,
|
|
4111
|
+
__vue2_injectStyles$q,
|
|
4112
|
+
null,
|
|
4113
|
+
null,
|
|
4114
|
+
null
|
|
4115
|
+
);
|
|
3894
4116
|
function __vue2_injectStyles$q(context) {
|
|
3895
4117
|
for (let o in __cssModules$q) {
|
|
3896
4118
|
this[o] = __cssModules$q[o];
|
|
@@ -3914,7 +4136,16 @@ const __vue2_script$p = {
|
|
|
3914
4136
|
data: () => ({})
|
|
3915
4137
|
};
|
|
3916
4138
|
const __cssModules$p = {};
|
|
3917
|
-
var __component__$p = /* @__PURE__ */ normalizeComponent(
|
|
4139
|
+
var __component__$p = /* @__PURE__ */ normalizeComponent(
|
|
4140
|
+
__vue2_script$p,
|
|
4141
|
+
render$p,
|
|
4142
|
+
staticRenderFns$p,
|
|
4143
|
+
false,
|
|
4144
|
+
__vue2_injectStyles$p,
|
|
4145
|
+
null,
|
|
4146
|
+
null,
|
|
4147
|
+
null
|
|
4148
|
+
);
|
|
3918
4149
|
function __vue2_injectStyles$p(context) {
|
|
3919
4150
|
for (let o in __cssModules$p) {
|
|
3920
4151
|
this[o] = __cssModules$p[o];
|
|
@@ -4004,7 +4235,16 @@ const __vue2_script$o = {
|
|
|
4004
4235
|
}
|
|
4005
4236
|
};
|
|
4006
4237
|
const __cssModules$o = {};
|
|
4007
|
-
var __component__$o = /* @__PURE__ */ normalizeComponent(
|
|
4238
|
+
var __component__$o = /* @__PURE__ */ normalizeComponent(
|
|
4239
|
+
__vue2_script$o,
|
|
4240
|
+
render$o,
|
|
4241
|
+
staticRenderFns$o,
|
|
4242
|
+
false,
|
|
4243
|
+
__vue2_injectStyles$o,
|
|
4244
|
+
null,
|
|
4245
|
+
null,
|
|
4246
|
+
null
|
|
4247
|
+
);
|
|
4008
4248
|
function __vue2_injectStyles$o(context) {
|
|
4009
4249
|
for (let o in __cssModules$o) {
|
|
4010
4250
|
this[o] = __cssModules$o[o];
|
|
@@ -4107,7 +4347,16 @@ const __vue2_script$n = {
|
|
|
4107
4347
|
}
|
|
4108
4348
|
};
|
|
4109
4349
|
const __cssModules$n = {};
|
|
4110
|
-
var __component__$n = /* @__PURE__ */ normalizeComponent(
|
|
4350
|
+
var __component__$n = /* @__PURE__ */ normalizeComponent(
|
|
4351
|
+
__vue2_script$n,
|
|
4352
|
+
render$n,
|
|
4353
|
+
staticRenderFns$n,
|
|
4354
|
+
false,
|
|
4355
|
+
__vue2_injectStyles$n,
|
|
4356
|
+
null,
|
|
4357
|
+
null,
|
|
4358
|
+
null
|
|
4359
|
+
);
|
|
4111
4360
|
function __vue2_injectStyles$n(context) {
|
|
4112
4361
|
for (let o in __cssModules$n) {
|
|
4113
4362
|
this[o] = __cssModules$n[o];
|
|
@@ -4158,7 +4407,8 @@ const __vue2_script$m = {
|
|
|
4158
4407
|
}),
|
|
4159
4408
|
computed: {
|
|
4160
4409
|
radioItems() {
|
|
4161
|
-
return (this.items || []).map((item, i) =>
|
|
4410
|
+
return (this.items || []).map((item, i) => ({
|
|
4411
|
+
...item,
|
|
4162
4412
|
_index: i,
|
|
4163
4413
|
label: item[this.itemLabelKey],
|
|
4164
4414
|
value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
|
|
@@ -4184,7 +4434,16 @@ const __vue2_script$m = {
|
|
|
4184
4434
|
}
|
|
4185
4435
|
};
|
|
4186
4436
|
const __cssModules$m = {};
|
|
4187
|
-
var __component__$m = /* @__PURE__ */ normalizeComponent(
|
|
4437
|
+
var __component__$m = /* @__PURE__ */ normalizeComponent(
|
|
4438
|
+
__vue2_script$m,
|
|
4439
|
+
render$m,
|
|
4440
|
+
staticRenderFns$m,
|
|
4441
|
+
false,
|
|
4442
|
+
__vue2_injectStyles$m,
|
|
4443
|
+
null,
|
|
4444
|
+
null,
|
|
4445
|
+
null
|
|
4446
|
+
);
|
|
4188
4447
|
function __vue2_injectStyles$m(context) {
|
|
4189
4448
|
for (let o in __cssModules$m) {
|
|
4190
4449
|
this[o] = __cssModules$m[o];
|
|
@@ -4319,7 +4578,16 @@ const __vue2_script$l = {
|
|
|
4319
4578
|
}
|
|
4320
4579
|
};
|
|
4321
4580
|
const __cssModules$l = {};
|
|
4322
|
-
var __component__$l = /* @__PURE__ */ normalizeComponent(
|
|
4581
|
+
var __component__$l = /* @__PURE__ */ normalizeComponent(
|
|
4582
|
+
__vue2_script$l,
|
|
4583
|
+
render$l,
|
|
4584
|
+
staticRenderFns$l,
|
|
4585
|
+
false,
|
|
4586
|
+
__vue2_injectStyles$l,
|
|
4587
|
+
null,
|
|
4588
|
+
null,
|
|
4589
|
+
null
|
|
4590
|
+
);
|
|
4323
4591
|
function __vue2_injectStyles$l(context) {
|
|
4324
4592
|
for (let o in __cssModules$l) {
|
|
4325
4593
|
this[o] = __cssModules$l[o];
|
|
@@ -4423,7 +4691,7 @@ const __vue2_script$k = {
|
|
|
4423
4691
|
computed: {
|
|
4424
4692
|
selectItems() {
|
|
4425
4693
|
return this.items.map((item, i) => {
|
|
4426
|
-
const obj =
|
|
4694
|
+
const obj = { ...item };
|
|
4427
4695
|
obj.value = obj[this.itemValueKey] === void 0 ? obj[this.itemLabelKey] || i : obj[this.itemValueKey];
|
|
4428
4696
|
obj.index = i;
|
|
4429
4697
|
return obj;
|
|
@@ -4439,7 +4707,9 @@ const __vue2_script$k = {
|
|
|
4439
4707
|
return !this.staticLabel || !this.hasValue && !this.placeholder;
|
|
4440
4708
|
},
|
|
4441
4709
|
selectionString() {
|
|
4442
|
-
return this.inputValue && this.inputValue.map(
|
|
4710
|
+
return this.inputValue && this.inputValue.map(
|
|
4711
|
+
(item) => item[this.itemValueKey] !== void 0 ? item[this.itemLabelKey] : item[this.itemLabelKey] !== void 0 ? item[this.itemLabelKey] : item
|
|
4712
|
+
).join(", ");
|
|
4443
4713
|
},
|
|
4444
4714
|
classes() {
|
|
4445
4715
|
return {
|
|
@@ -4560,7 +4830,16 @@ const __vue2_script$k = {
|
|
|
4560
4830
|
}
|
|
4561
4831
|
};
|
|
4562
4832
|
const __cssModules$k = {};
|
|
4563
|
-
var __component__$k = /* @__PURE__ */ normalizeComponent(
|
|
4833
|
+
var __component__$k = /* @__PURE__ */ normalizeComponent(
|
|
4834
|
+
__vue2_script$k,
|
|
4835
|
+
render$k,
|
|
4836
|
+
staticRenderFns$k,
|
|
4837
|
+
false,
|
|
4838
|
+
__vue2_injectStyles$k,
|
|
4839
|
+
null,
|
|
4840
|
+
null,
|
|
4841
|
+
null
|
|
4842
|
+
);
|
|
4564
4843
|
function __vue2_injectStyles$k(context) {
|
|
4565
4844
|
for (let o in __cssModules$k) {
|
|
4566
4845
|
this[o] = __cssModules$k[o];
|
|
@@ -4769,7 +5048,16 @@ const __vue2_script$j = {
|
|
|
4769
5048
|
}
|
|
4770
5049
|
};
|
|
4771
5050
|
const __cssModules$j = {};
|
|
4772
|
-
var __component__$j = /* @__PURE__ */ normalizeComponent(
|
|
5051
|
+
var __component__$j = /* @__PURE__ */ normalizeComponent(
|
|
5052
|
+
__vue2_script$j,
|
|
5053
|
+
render$j,
|
|
5054
|
+
staticRenderFns$j,
|
|
5055
|
+
false,
|
|
5056
|
+
__vue2_injectStyles$j,
|
|
5057
|
+
null,
|
|
5058
|
+
null,
|
|
5059
|
+
null
|
|
5060
|
+
);
|
|
4773
5061
|
function __vue2_injectStyles$j(context) {
|
|
4774
5062
|
for (let o in __cssModules$j) {
|
|
4775
5063
|
this[o] = __cssModules$j[o];
|
|
@@ -4826,7 +5114,16 @@ const __vue2_script$i = {
|
|
|
4826
5114
|
}
|
|
4827
5115
|
};
|
|
4828
5116
|
const __cssModules$i = {};
|
|
4829
|
-
var __component__$i = /* @__PURE__ */ normalizeComponent(
|
|
5117
|
+
var __component__$i = /* @__PURE__ */ normalizeComponent(
|
|
5118
|
+
__vue2_script$i,
|
|
5119
|
+
render$i,
|
|
5120
|
+
staticRenderFns$i,
|
|
5121
|
+
false,
|
|
5122
|
+
__vue2_injectStyles$i,
|
|
5123
|
+
null,
|
|
5124
|
+
null,
|
|
5125
|
+
null
|
|
5126
|
+
);
|
|
4830
5127
|
function __vue2_injectStyles$i(context) {
|
|
4831
5128
|
for (let o in __cssModules$i) {
|
|
4832
5129
|
this[o] = __cssModules$i[o];
|
|
@@ -4850,7 +5147,16 @@ const __vue2_script$h = {
|
|
|
4850
5147
|
data: () => ({})
|
|
4851
5148
|
};
|
|
4852
5149
|
const __cssModules$h = {};
|
|
4853
|
-
var __component__$h = /* @__PURE__ */ normalizeComponent(
|
|
5150
|
+
var __component__$h = /* @__PURE__ */ normalizeComponent(
|
|
5151
|
+
__vue2_script$h,
|
|
5152
|
+
render$h,
|
|
5153
|
+
staticRenderFns$h,
|
|
5154
|
+
false,
|
|
5155
|
+
__vue2_injectStyles$h,
|
|
5156
|
+
null,
|
|
5157
|
+
null,
|
|
5158
|
+
null
|
|
5159
|
+
);
|
|
4854
5160
|
function __vue2_injectStyles$h(context) {
|
|
4855
5161
|
for (let o in __cssModules$h) {
|
|
4856
5162
|
this[o] = __cssModules$h[o];
|
|
@@ -4957,7 +5263,16 @@ const __vue2_script$g = {
|
|
|
4957
5263
|
}
|
|
4958
5264
|
};
|
|
4959
5265
|
const __cssModules$g = {};
|
|
4960
|
-
var __component__$g = /* @__PURE__ */ normalizeComponent(
|
|
5266
|
+
var __component__$g = /* @__PURE__ */ normalizeComponent(
|
|
5267
|
+
__vue2_script$g,
|
|
5268
|
+
render$g,
|
|
5269
|
+
staticRenderFns$g,
|
|
5270
|
+
false,
|
|
5271
|
+
__vue2_injectStyles$g,
|
|
5272
|
+
null,
|
|
5273
|
+
null,
|
|
5274
|
+
null
|
|
5275
|
+
);
|
|
4961
5276
|
function __vue2_injectStyles$g(context) {
|
|
4962
5277
|
for (let o in __cssModules$g) {
|
|
4963
5278
|
this[o] = __cssModules$g[o];
|
|
@@ -4975,7 +5290,16 @@ var render$f = function() {
|
|
|
4975
5290
|
var staticRenderFns$f = [];
|
|
4976
5291
|
const __vue2_script$f = {};
|
|
4977
5292
|
const __cssModules$f = {};
|
|
4978
|
-
var __component__$f = /* @__PURE__ */ normalizeComponent(
|
|
5293
|
+
var __component__$f = /* @__PURE__ */ normalizeComponent(
|
|
5294
|
+
__vue2_script$f,
|
|
5295
|
+
render$f,
|
|
5296
|
+
staticRenderFns$f,
|
|
5297
|
+
false,
|
|
5298
|
+
__vue2_injectStyles$f,
|
|
5299
|
+
null,
|
|
5300
|
+
null,
|
|
5301
|
+
null
|
|
5302
|
+
);
|
|
4979
5303
|
function __vue2_injectStyles$f(context) {
|
|
4980
5304
|
for (let o in __cssModules$f) {
|
|
4981
5305
|
this[o] = __cssModules$f[o];
|
|
@@ -5054,10 +5378,11 @@ const __vue2_script$e = {
|
|
|
5054
5378
|
},
|
|
5055
5379
|
tabsItems() {
|
|
5056
5380
|
const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items;
|
|
5057
|
-
return items.map((item, _index) => new Vue.observable(
|
|
5381
|
+
return items.map((item, _index) => new Vue.observable({
|
|
5382
|
+
...item,
|
|
5058
5383
|
_index,
|
|
5059
5384
|
_disabled: !!item.disabled
|
|
5060
|
-
}))
|
|
5385
|
+
}));
|
|
5061
5386
|
},
|
|
5062
5387
|
activeTab() {
|
|
5063
5388
|
return this.tabsItems[this.activeTabIndex] || this.tabsItems[0] || {};
|
|
@@ -5174,7 +5499,16 @@ const __vue2_script$e = {
|
|
|
5174
5499
|
}
|
|
5175
5500
|
};
|
|
5176
5501
|
const __cssModules$e = {};
|
|
5177
|
-
var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
5502
|
+
var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
5503
|
+
__vue2_script$e,
|
|
5504
|
+
render$e,
|
|
5505
|
+
staticRenderFns$e,
|
|
5506
|
+
false,
|
|
5507
|
+
__vue2_injectStyles$e,
|
|
5508
|
+
null,
|
|
5509
|
+
null,
|
|
5510
|
+
null
|
|
5511
|
+
);
|
|
5178
5512
|
function __vue2_injectStyles$e(context) {
|
|
5179
5513
|
for (let o in __cssModules$e) {
|
|
5180
5514
|
this[o] = __cssModules$e[o];
|
|
@@ -5207,7 +5541,8 @@ var render$d = function() {
|
|
|
5207
5541
|
}, "classes": { "w-table__row": true, "w-table__row--selected": _vm.selectedRowsByUid[item._uid] !== void 0, "w-table__row--expanded": _vm.expandedRowsByUid[item._uid] !== void 0 } }) : _c("tr", { key: i, staticClass: "w-table__row", class: { "w-table__row--selected": _vm.selectedRowsByUid[item._uid] !== void 0, "w-table__row--expanded": _vm.expandedRowsByUid[item._uid] !== void 0 }, on: { "click": function($event) {
|
|
5208
5542
|
return _vm.doSelectRow(item, i);
|
|
5209
5543
|
} } }, [_vm._l(_vm.headers, function(header, j) {
|
|
5210
|
-
|
|
5544
|
+
var _obj, _obj$1;
|
|
5545
|
+
return [_vm.$scopedSlots["item-cell." + header.key] || _vm.$scopedSlots["item-cell." + (j + 1)] || _vm.$scopedSlots["item-cell"] ? _c("td", { key: j + "-a", staticClass: "w-table__cell", class: (_obj = {}, _obj["text-" + (header.align || "left")] = true, _obj["w-table__cell--sticky"] = header.sticky, _obj), attrs: { "data-label": header.label } }, [_vm.$scopedSlots["item-cell." + header.key] ? _vm._t("item-cell." + header.key, null, { "header": header, "item": item, "label": item[header.key] || "", "index": i + 1 }) : _vm.$scopedSlots["item-cell." + (j + 1)] ? _vm._t("item-cell." + (j + 1), null, { "header": header, "item": item, "label": item[header.key] || "", "index": i + 1 }) : _vm.$scopedSlots["item-cell"] ? _vm._t("item-cell", null, { "header": header, "item": item, "label": item[header.key] || "", "index": i + 1 }) : _vm._e(), j < _vm.headers.length - 1 && _vm.resizableColumns ? _c("span", { staticClass: "w-table__col-resizer", class: { "w-table__col-resizer--hover": _vm.colResizing.hover === j, "w-table__col-resizer--active": _vm.colResizing.columnIndex === j } }) : _vm._e()], 2) : _c("td", { key: j + "-b", staticClass: "w-table__cell", class: (_obj$1 = {}, _obj$1["text-" + (header.align || "left")] = true, _obj$1["w-table__cell--sticky"] = header.sticky, _obj$1), attrs: { "data-label": header.label } }, [_c("div", { domProps: { "innerHTML": _vm._s(item[header.key] || "") } }), j < _vm.headers.length - 1 && _vm.resizableColumns ? _c("span", { staticClass: "w-table__col-resizer", class: { "w-table__col-resizer--hover": _vm.colResizing.hover === j, "w-table__col-resizer--active": _vm.colResizing.columnIndex === j } }) : _vm._e()])];
|
|
5211
5546
|
})], 2), _vm.expandedRowsByUid[item._uid] ? _c("tr", { staticClass: "w-table__row w-table__row--expansion" }, [_c("td", { staticClass: "w-table__cell", attrs: { "colspan": _vm.headers.length } }, [_c("w-transition-expand", { attrs: { "y": "" } }, [_vm.expandedRowsByUid[item._uid] ? _c("div", [_vm._t("row-expansion", null, { "item": item, "index": i + 1 })], 2) : _vm._e(), i < _vm.headers.length - 1 && _vm.resizableColumns ? _c("span", { staticClass: "w-table__col-resizer", class: { "w-table__col-resizer--hover": _vm.colResizing.hover === i, "w-table__col-resizer--active": _vm.colResizing.columnIndex === _vm.j } }) : _vm._e()])], 1)]) : _vm._e()];
|
|
5212
5547
|
})], _vm.$slots["extra-row"] ? _c("div", { staticClass: "w-table__extra-row" }, [_vm._t("extra-row")], 2) : _vm._e()], 2), _vm.$slots.footer || _vm.$slots["footer-row"] ? _c("tfoot", { staticClass: "w-table__footer" }, [_vm.$slots["footer-row"] ? _vm._t("footer-row") : _c("tr", { staticClass: "w-table__row" }, [_c("td", { staticClass: "w-table__cell", attrs: { "colspan": _vm.headers.length } }, [_vm._t("footer")], 2)])], 2) : _vm._e()])]);
|
|
5213
5548
|
};
|
|
@@ -5220,6 +5555,7 @@ const __vue2_script$d = {
|
|
|
5220
5555
|
items: { type: Array, required: true },
|
|
5221
5556
|
headers: { type: Array, required: true },
|
|
5222
5557
|
noHeaders: { type: Boolean },
|
|
5558
|
+
fixedLayout: { type: Boolean },
|
|
5223
5559
|
fixedHeaders: { type: Boolean },
|
|
5224
5560
|
fixedFooter: { type: Boolean },
|
|
5225
5561
|
loading: { type: Boolean },
|
|
@@ -5227,7 +5563,9 @@ const __vue2_script$d = {
|
|
|
5227
5563
|
expandableRows: {
|
|
5228
5564
|
validator: (value) => {
|
|
5229
5565
|
if (![void 0, true, false, 1, "1", ""].includes(value)) {
|
|
5230
|
-
consoleError(
|
|
5566
|
+
consoleError(
|
|
5567
|
+
`Wrong value for the w-table's \`expandableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
|
|
5568
|
+
);
|
|
5231
5569
|
}
|
|
5232
5570
|
return true;
|
|
5233
5571
|
}
|
|
@@ -5236,7 +5574,9 @@ const __vue2_script$d = {
|
|
|
5236
5574
|
selectableRows: {
|
|
5237
5575
|
validator: (value) => {
|
|
5238
5576
|
if (![void 0, true, false, 1, "1", ""].includes(value)) {
|
|
5239
|
-
consoleError(
|
|
5577
|
+
consoleError(
|
|
5578
|
+
`Wrong value for the w-table's \`selectableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
|
|
5579
|
+
);
|
|
5240
5580
|
}
|
|
5241
5581
|
return true;
|
|
5242
5582
|
}
|
|
@@ -5310,16 +5650,21 @@ const __vue2_script$d = {
|
|
|
5310
5650
|
},
|
|
5311
5651
|
classes() {
|
|
5312
5652
|
return {
|
|
5653
|
+
"w-table--fixed-layout": this.fixedLayout || this.resizableColumns || this.hasStickyColumn,
|
|
5313
5654
|
"w-table--mobile": this.isMobile || null,
|
|
5314
5655
|
"w-table--resizable-cols": this.resizableColumns || null,
|
|
5315
5656
|
"w-table--resizing": this.colResizing.dragging,
|
|
5316
5657
|
"w-table--fixed-header": this.fixedHeaders,
|
|
5317
|
-
"w-table--fixed-footer": this.fixedFooter
|
|
5658
|
+
"w-table--fixed-footer": this.fixedFooter,
|
|
5659
|
+
"w-table--sticky-column": this.hasStickyColumn
|
|
5318
5660
|
};
|
|
5319
5661
|
},
|
|
5320
5662
|
isMobile() {
|
|
5321
5663
|
return ~~this.mobileBreakpoint && this.$waveui.breakpoint.width <= ~~this.mobileBreakpoint;
|
|
5322
5664
|
},
|
|
5665
|
+
hasStickyColumn() {
|
|
5666
|
+
return this.headers.find((header) => header.sticky);
|
|
5667
|
+
},
|
|
5323
5668
|
selectedRowsByUid() {
|
|
5324
5669
|
return this.selectedRowsInternal.reduce((obj, uid) => (obj[uid] = true) && obj, {});
|
|
5325
5670
|
},
|
|
@@ -5331,6 +5676,7 @@ const __vue2_script$d = {
|
|
|
5331
5676
|
headerClasses(header) {
|
|
5332
5677
|
return {
|
|
5333
5678
|
"w-table__header--sortable": header.sortable !== false,
|
|
5679
|
+
"w-table__header--sticky": header.sticky,
|
|
5334
5680
|
"w-table__header--resizable": !!this.resizableColumns,
|
|
5335
5681
|
[`text-${header.align || "left"}`]: true
|
|
5336
5682
|
};
|
|
@@ -5364,12 +5710,15 @@ const __vue2_script$d = {
|
|
|
5364
5710
|
this.expandedRowsInternal.push(item._uid);
|
|
5365
5711
|
} else
|
|
5366
5712
|
this.expandedRowsInternal = this.expandedRowsInternal.filter((uid) => uid !== item._uid);
|
|
5367
|
-
this.$emit(
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5713
|
+
this.$emit(
|
|
5714
|
+
"row-expand",
|
|
5715
|
+
{
|
|
5716
|
+
item,
|
|
5717
|
+
index: index2,
|
|
5718
|
+
expanded: isExpanding,
|
|
5719
|
+
expandedRows: this.expandedRowsInternal.map((uid) => this.filteredItems[uid])
|
|
5720
|
+
}
|
|
5721
|
+
);
|
|
5373
5722
|
this.$emit("update:expanded-rows", this.expandedRowsInternal);
|
|
5374
5723
|
} else if (selectable) {
|
|
5375
5724
|
let updated = false;
|
|
@@ -5385,12 +5734,15 @@ const __vue2_script$d = {
|
|
|
5385
5734
|
updated = true;
|
|
5386
5735
|
}
|
|
5387
5736
|
if (updated) {
|
|
5388
|
-
this.$emit(
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5737
|
+
this.$emit(
|
|
5738
|
+
"row-select",
|
|
5739
|
+
{
|
|
5740
|
+
item,
|
|
5741
|
+
index: index2,
|
|
5742
|
+
selected: isSelecting,
|
|
5743
|
+
selectedRows: this.selectedRowsInternal.map((uid) => this.filteredItems[uid])
|
|
5744
|
+
}
|
|
5745
|
+
);
|
|
5394
5746
|
this.$emit("update:selected-rows", this.selectedRowsInternal);
|
|
5395
5747
|
}
|
|
5396
5748
|
}
|
|
@@ -5494,7 +5846,16 @@ const __vue2_script$d = {
|
|
|
5494
5846
|
}
|
|
5495
5847
|
};
|
|
5496
5848
|
const __cssModules$d = {};
|
|
5497
|
-
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
5849
|
+
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
5850
|
+
__vue2_script$d,
|
|
5851
|
+
render$d,
|
|
5852
|
+
staticRenderFns$d,
|
|
5853
|
+
false,
|
|
5854
|
+
__vue2_injectStyles$d,
|
|
5855
|
+
null,
|
|
5856
|
+
null,
|
|
5857
|
+
null
|
|
5858
|
+
);
|
|
5498
5859
|
function __vue2_injectStyles$d(context) {
|
|
5499
5860
|
for (let o in __cssModules$d) {
|
|
5500
5861
|
this[o] = __cssModules$d[o];
|
|
@@ -5573,7 +5934,16 @@ const __vue2_script$c = {
|
|
|
5573
5934
|
}
|
|
5574
5935
|
};
|
|
5575
5936
|
const __cssModules$c = {};
|
|
5576
|
-
var __component__$c = /* @__PURE__ */ normalizeComponent(
|
|
5937
|
+
var __component__$c = /* @__PURE__ */ normalizeComponent(
|
|
5938
|
+
__vue2_script$c,
|
|
5939
|
+
render$c,
|
|
5940
|
+
staticRenderFns$c,
|
|
5941
|
+
false,
|
|
5942
|
+
__vue2_injectStyles$c,
|
|
5943
|
+
null,
|
|
5944
|
+
null,
|
|
5945
|
+
null
|
|
5946
|
+
);
|
|
5577
5947
|
function __vue2_injectStyles$c(context) {
|
|
5578
5948
|
for (let o in __cssModules$c) {
|
|
5579
5949
|
this[o] = __cssModules$c[o];
|
|
@@ -5645,7 +6015,7 @@ const __vue2_script$b = {
|
|
|
5645
6015
|
},
|
|
5646
6016
|
computed: {
|
|
5647
6017
|
listeners() {
|
|
5648
|
-
const
|
|
6018
|
+
const { input, focus, blur, ...listeners } = this.$listeners;
|
|
5649
6019
|
return listeners;
|
|
5650
6020
|
},
|
|
5651
6021
|
hasValue() {
|
|
@@ -5714,10 +6084,10 @@ const __vue2_script$b = {
|
|
|
5714
6084
|
this.$refs.textarea.style.height = height + "px";
|
|
5715
6085
|
},
|
|
5716
6086
|
getLineHeight() {
|
|
5717
|
-
const
|
|
5718
|
-
this.lineHeight = parseFloat(
|
|
5719
|
-
this.paddingY = parseFloat(
|
|
5720
|
-
this.paddingY += parseFloat(
|
|
6087
|
+
const computedStyles = window.getComputedStyle(this.$refs.textarea, null);
|
|
6088
|
+
this.lineHeight = parseFloat(computedStyles.getPropertyValue("line-height"));
|
|
6089
|
+
this.paddingY = parseFloat(computedStyles.getPropertyValue("padding-top"));
|
|
6090
|
+
this.paddingY += parseFloat(computedStyles.getPropertyValue("padding-bottom"));
|
|
5721
6091
|
}
|
|
5722
6092
|
},
|
|
5723
6093
|
mounted() {
|
|
@@ -5746,7 +6116,16 @@ const __vue2_script$b = {
|
|
|
5746
6116
|
}
|
|
5747
6117
|
};
|
|
5748
6118
|
const __cssModules$b = {};
|
|
5749
|
-
var __component__$b = /* @__PURE__ */ normalizeComponent(
|
|
6119
|
+
var __component__$b = /* @__PURE__ */ normalizeComponent(
|
|
6120
|
+
__vue2_script$b,
|
|
6121
|
+
render$b,
|
|
6122
|
+
staticRenderFns$b,
|
|
6123
|
+
false,
|
|
6124
|
+
__vue2_injectStyles$b,
|
|
6125
|
+
null,
|
|
6126
|
+
null,
|
|
6127
|
+
null
|
|
6128
|
+
);
|
|
5750
6129
|
function __vue2_injectStyles$b(context) {
|
|
5751
6130
|
for (let o in __cssModules$b) {
|
|
5752
6131
|
this[o] = __cssModules$b[o];
|
|
@@ -5783,7 +6162,16 @@ const __vue2_script$a = {
|
|
|
5783
6162
|
emits: []
|
|
5784
6163
|
};
|
|
5785
6164
|
const __cssModules$a = {};
|
|
5786
|
-
var __component__$a = /* @__PURE__ */ normalizeComponent(
|
|
6165
|
+
var __component__$a = /* @__PURE__ */ normalizeComponent(
|
|
6166
|
+
__vue2_script$a,
|
|
6167
|
+
render$a,
|
|
6168
|
+
staticRenderFns$a,
|
|
6169
|
+
false,
|
|
6170
|
+
__vue2_injectStyles$a,
|
|
6171
|
+
null,
|
|
6172
|
+
null,
|
|
6173
|
+
null
|
|
6174
|
+
);
|
|
5787
6175
|
function __vue2_injectStyles$a(context) {
|
|
5788
6176
|
for (let o in __cssModules$a) {
|
|
5789
6177
|
this[o] = __cssModules$a[o];
|
|
@@ -5847,7 +6235,16 @@ const __vue2_script$9 = {
|
|
|
5847
6235
|
}
|
|
5848
6236
|
};
|
|
5849
6237
|
const __cssModules$9 = {};
|
|
5850
|
-
var __component__$9 = /* @__PURE__ */ normalizeComponent(
|
|
6238
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(
|
|
6239
|
+
__vue2_script$9,
|
|
6240
|
+
render$9,
|
|
6241
|
+
staticRenderFns$9,
|
|
6242
|
+
false,
|
|
6243
|
+
__vue2_injectStyles$9,
|
|
6244
|
+
null,
|
|
6245
|
+
null,
|
|
6246
|
+
null
|
|
6247
|
+
);
|
|
5851
6248
|
function __vue2_injectStyles$9(context) {
|
|
5852
6249
|
for (let o in __cssModules$9) {
|
|
5853
6250
|
this[o] = __cssModules$9[o];
|
|
@@ -5901,10 +6298,10 @@ const __vue2_script$8 = {
|
|
|
5901
6298
|
return this.transition || `w-tooltip-slide-fade-${direction}`;
|
|
5902
6299
|
},
|
|
5903
6300
|
classes() {
|
|
5904
|
-
return
|
|
6301
|
+
return {
|
|
5905
6302
|
[this.color]: this.color,
|
|
5906
|
-
[`${this.bgColor}--bg`]: this.bgColor
|
|
5907
|
-
|
|
6303
|
+
[`${this.bgColor}--bg`]: this.bgColor,
|
|
6304
|
+
...this.tooltipClasses,
|
|
5908
6305
|
[`w-tooltip--${this.position}`]: !this.noPosition,
|
|
5909
6306
|
[`w-tooltip--align-${this.alignment}`]: !this.noPosition && this.alignment,
|
|
5910
6307
|
"w-tooltip--tile": this.tile,
|
|
@@ -5913,7 +6310,7 @@ const __vue2_script$8 = {
|
|
|
5913
6310
|
"w-tooltip--fixed": this.fixed,
|
|
5914
6311
|
"w-tooltip--no-border": this.noBorder || this.bgColor,
|
|
5915
6312
|
"w-tooltip--custom-transition": this.transition
|
|
5916
|
-
}
|
|
6313
|
+
};
|
|
5917
6314
|
},
|
|
5918
6315
|
styles() {
|
|
5919
6316
|
return {
|
|
@@ -5981,7 +6378,16 @@ const __vue2_script$8 = {
|
|
|
5981
6378
|
}
|
|
5982
6379
|
};
|
|
5983
6380
|
const __cssModules$8 = {};
|
|
5984
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(
|
|
6381
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(
|
|
6382
|
+
__vue2_script$8,
|
|
6383
|
+
render$8,
|
|
6384
|
+
staticRenderFns$8,
|
|
6385
|
+
false,
|
|
6386
|
+
__vue2_injectStyles$8,
|
|
6387
|
+
null,
|
|
6388
|
+
null,
|
|
6389
|
+
null
|
|
6390
|
+
);
|
|
5985
6391
|
function __vue2_injectStyles$8(context) {
|
|
5986
6392
|
for (let o in __cssModules$8) {
|
|
5987
6393
|
this[o] = __cssModules$8[o];
|
|
@@ -6005,7 +6411,16 @@ const __vue2_script$7 = {
|
|
|
6005
6411
|
}
|
|
6006
6412
|
};
|
|
6007
6413
|
const __cssModules$7 = {};
|
|
6008
|
-
var __component__$7 = /* @__PURE__ */ normalizeComponent(
|
|
6414
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(
|
|
6415
|
+
__vue2_script$7,
|
|
6416
|
+
render$7,
|
|
6417
|
+
staticRenderFns$7,
|
|
6418
|
+
false,
|
|
6419
|
+
__vue2_injectStyles$7,
|
|
6420
|
+
null,
|
|
6421
|
+
null,
|
|
6422
|
+
null
|
|
6423
|
+
);
|
|
6009
6424
|
function __vue2_injectStyles$7(context) {
|
|
6010
6425
|
for (let o in __cssModules$7) {
|
|
6011
6426
|
this[o] = __cssModules$7[o];
|
|
@@ -6149,24 +6564,24 @@ const __vue2_script$6 = {
|
|
|
6149
6564
|
this.el.originalStyles = el.style.cssText;
|
|
6150
6565
|
},
|
|
6151
6566
|
show(el, done) {
|
|
6152
|
-
const
|
|
6567
|
+
const computedStyles = window.getComputedStyle(el, null);
|
|
6153
6568
|
if (this.animX) {
|
|
6154
6569
|
this.el.width = el.offsetWidth;
|
|
6155
|
-
this.el.marginLeft =
|
|
6156
|
-
this.el.marginRight =
|
|
6157
|
-
this.el.paddingLeft =
|
|
6158
|
-
this.el.paddingRight =
|
|
6159
|
-
this.el.borderLeftWidth =
|
|
6160
|
-
this.el.borderRightWidth =
|
|
6570
|
+
this.el.marginLeft = computedStyles.getPropertyValue("marginLeft");
|
|
6571
|
+
this.el.marginRight = computedStyles.getPropertyValue("marginRight");
|
|
6572
|
+
this.el.paddingLeft = computedStyles.getPropertyValue("paddingLeft");
|
|
6573
|
+
this.el.paddingRight = computedStyles.getPropertyValue("paddingRight");
|
|
6574
|
+
this.el.borderLeftWidth = computedStyles.getPropertyValue("borderLeftWidth");
|
|
6575
|
+
this.el.borderRightWidth = computedStyles.getPropertyValue("borderRightWidth");
|
|
6161
6576
|
}
|
|
6162
6577
|
if (this.animY) {
|
|
6163
6578
|
this.el.height = el.offsetHeight;
|
|
6164
|
-
this.el.marginTop =
|
|
6165
|
-
this.el.marginBottom =
|
|
6166
|
-
this.el.paddingTop =
|
|
6167
|
-
this.el.paddingBottom =
|
|
6168
|
-
this.el.borderTopWidth =
|
|
6169
|
-
this.el.borderBottomWidth =
|
|
6579
|
+
this.el.marginTop = computedStyles.getPropertyValue("marginTop");
|
|
6580
|
+
this.el.marginBottom = computedStyles.getPropertyValue("marginBottom");
|
|
6581
|
+
this.el.paddingTop = computedStyles.getPropertyValue("paddingTop");
|
|
6582
|
+
this.el.paddingBottom = computedStyles.getPropertyValue("paddingBottom");
|
|
6583
|
+
this.el.borderTopWidth = computedStyles.getPropertyValue("borderTopWidth");
|
|
6584
|
+
this.el.borderBottomWidth = computedStyles.getPropertyValue("borderBottomWidth");
|
|
6170
6585
|
}
|
|
6171
6586
|
this.applyHideStyles(el);
|
|
6172
6587
|
setTimeout(() => this.applyShowStyles(el), 20);
|
|
@@ -6182,7 +6597,16 @@ const __vue2_script$6 = {
|
|
|
6182
6597
|
}
|
|
6183
6598
|
};
|
|
6184
6599
|
const __cssModules$6 = {};
|
|
6185
|
-
var __component__$6 = /* @__PURE__ */ normalizeComponent(
|
|
6600
|
+
var __component__$6 = /* @__PURE__ */ normalizeComponent(
|
|
6601
|
+
__vue2_script$6,
|
|
6602
|
+
render$6,
|
|
6603
|
+
staticRenderFns$6,
|
|
6604
|
+
false,
|
|
6605
|
+
__vue2_injectStyles$6,
|
|
6606
|
+
null,
|
|
6607
|
+
null,
|
|
6608
|
+
null
|
|
6609
|
+
);
|
|
6186
6610
|
function __vue2_injectStyles$6(context) {
|
|
6187
6611
|
for (let o in __cssModules$6) {
|
|
6188
6612
|
this[o] = __cssModules$6[o];
|
|
@@ -6206,7 +6630,16 @@ const __vue2_script$5 = {
|
|
|
6206
6630
|
}
|
|
6207
6631
|
};
|
|
6208
6632
|
const __cssModules$5 = {};
|
|
6209
|
-
var __component__$5 = /* @__PURE__ */ normalizeComponent(
|
|
6633
|
+
var __component__$5 = /* @__PURE__ */ normalizeComponent(
|
|
6634
|
+
__vue2_script$5,
|
|
6635
|
+
render$5,
|
|
6636
|
+
staticRenderFns$5,
|
|
6637
|
+
false,
|
|
6638
|
+
__vue2_injectStyles$5,
|
|
6639
|
+
null,
|
|
6640
|
+
null,
|
|
6641
|
+
null
|
|
6642
|
+
);
|
|
6210
6643
|
function __vue2_injectStyles$5(context) {
|
|
6211
6644
|
for (let o in __cssModules$5) {
|
|
6212
6645
|
this[o] = __cssModules$5[o];
|
|
@@ -6230,7 +6663,16 @@ const __vue2_script$4 = {
|
|
|
6230
6663
|
}
|
|
6231
6664
|
};
|
|
6232
6665
|
const __cssModules$4 = {};
|
|
6233
|
-
var __component__$4 = /* @__PURE__ */ normalizeComponent(
|
|
6666
|
+
var __component__$4 = /* @__PURE__ */ normalizeComponent(
|
|
6667
|
+
__vue2_script$4,
|
|
6668
|
+
render$4,
|
|
6669
|
+
staticRenderFns$4,
|
|
6670
|
+
false,
|
|
6671
|
+
__vue2_injectStyles$4,
|
|
6672
|
+
null,
|
|
6673
|
+
null,
|
|
6674
|
+
null
|
|
6675
|
+
);
|
|
6234
6676
|
function __vue2_injectStyles$4(context) {
|
|
6235
6677
|
for (let o in __cssModules$4) {
|
|
6236
6678
|
this[o] = __cssModules$4[o];
|
|
@@ -6254,7 +6696,16 @@ const __vue2_script$3 = {
|
|
|
6254
6696
|
}
|
|
6255
6697
|
};
|
|
6256
6698
|
const __cssModules$3 = {};
|
|
6257
|
-
var __component__$3 = /* @__PURE__ */ normalizeComponent(
|
|
6699
|
+
var __component__$3 = /* @__PURE__ */ normalizeComponent(
|
|
6700
|
+
__vue2_script$3,
|
|
6701
|
+
render$3,
|
|
6702
|
+
staticRenderFns$3,
|
|
6703
|
+
false,
|
|
6704
|
+
__vue2_injectStyles$3,
|
|
6705
|
+
null,
|
|
6706
|
+
null,
|
|
6707
|
+
null
|
|
6708
|
+
);
|
|
6258
6709
|
function __vue2_injectStyles$3(context) {
|
|
6259
6710
|
for (let o in __cssModules$3) {
|
|
6260
6711
|
this[o] = __cssModules$3[o];
|
|
@@ -6290,7 +6741,16 @@ const __vue2_script$2 = {
|
|
|
6290
6741
|
}
|
|
6291
6742
|
};
|
|
6292
6743
|
const __cssModules$2 = {};
|
|
6293
|
-
var __component__$2 = /* @__PURE__ */ normalizeComponent(
|
|
6744
|
+
var __component__$2 = /* @__PURE__ */ normalizeComponent(
|
|
6745
|
+
__vue2_script$2,
|
|
6746
|
+
render$2,
|
|
6747
|
+
staticRenderFns$2,
|
|
6748
|
+
false,
|
|
6749
|
+
__vue2_injectStyles$2,
|
|
6750
|
+
null,
|
|
6751
|
+
null,
|
|
6752
|
+
null
|
|
6753
|
+
);
|
|
6294
6754
|
function __vue2_injectStyles$2(context) {
|
|
6295
6755
|
for (let o in __cssModules$2) {
|
|
6296
6756
|
this[o] = __cssModules$2[o];
|
|
@@ -6326,7 +6786,16 @@ const __vue2_script$1 = {
|
|
|
6326
6786
|
}
|
|
6327
6787
|
};
|
|
6328
6788
|
const __cssModules$1 = {};
|
|
6329
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
6789
|
+
var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
6790
|
+
__vue2_script$1,
|
|
6791
|
+
render$1,
|
|
6792
|
+
staticRenderFns$1,
|
|
6793
|
+
false,
|
|
6794
|
+
__vue2_injectStyles$1,
|
|
6795
|
+
null,
|
|
6796
|
+
null,
|
|
6797
|
+
null
|
|
6798
|
+
);
|
|
6330
6799
|
function __vue2_injectStyles$1(context) {
|
|
6331
6800
|
for (let o in __cssModules$1) {
|
|
6332
6801
|
this[o] = __cssModules$1[o];
|
|
@@ -6350,7 +6819,16 @@ const __vue2_script = {
|
|
|
6350
6819
|
}
|
|
6351
6820
|
};
|
|
6352
6821
|
const __cssModules = {};
|
|
6353
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
6822
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
6823
|
+
__vue2_script,
|
|
6824
|
+
render,
|
|
6825
|
+
staticRenderFns,
|
|
6826
|
+
false,
|
|
6827
|
+
__vue2_injectStyles,
|
|
6828
|
+
null,
|
|
6829
|
+
null,
|
|
6830
|
+
null
|
|
6831
|
+
);
|
|
6354
6832
|
function __vue2_injectStyles(context) {
|
|
6355
6833
|
for (let o in __cssModules) {
|
|
6356
6834
|
this[o] = __cssModules[o];
|
|
@@ -6413,7 +6891,7 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
6413
6891
|
WTransitionTwist: wTransitionTwist
|
|
6414
6892
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6415
6893
|
const install = WaveUI.install;
|
|
6416
|
-
WaveUI.install = (Vue2, options = {}) => install.call(WaveUI, Vue2,
|
|
6894
|
+
WaveUI.install = (Vue2, options = {}) => install.call(WaveUI, Vue2, { components, ...options });
|
|
6417
6895
|
if (typeof window !== "undefined" && window.Vue)
|
|
6418
6896
|
window.Vue.use(WaveUI);
|
|
6419
6897
|
export { WaveUI as default };
|