wave-ui 1.56.2 → 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 +687 -214
- 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-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];
|
|
@@ -3806,7 +4005,16 @@ const __vue2_script$r = {
|
|
|
3806
4005
|
}
|
|
3807
4006
|
};
|
|
3808
4007
|
const __cssModules$r = {};
|
|
3809
|
-
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
|
+
);
|
|
3810
4018
|
function __vue2_injectStyles$r(context) {
|
|
3811
4019
|
for (let o in __cssModules$r) {
|
|
3812
4020
|
this[o] = __cssModules$r[o];
|
|
@@ -3895,7 +4103,16 @@ const __vue2_script$q = {
|
|
|
3895
4103
|
}
|
|
3896
4104
|
};
|
|
3897
4105
|
const __cssModules$q = {};
|
|
3898
|
-
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
|
+
);
|
|
3899
4116
|
function __vue2_injectStyles$q(context) {
|
|
3900
4117
|
for (let o in __cssModules$q) {
|
|
3901
4118
|
this[o] = __cssModules$q[o];
|
|
@@ -3919,7 +4136,16 @@ const __vue2_script$p = {
|
|
|
3919
4136
|
data: () => ({})
|
|
3920
4137
|
};
|
|
3921
4138
|
const __cssModules$p = {};
|
|
3922
|
-
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
|
+
);
|
|
3923
4149
|
function __vue2_injectStyles$p(context) {
|
|
3924
4150
|
for (let o in __cssModules$p) {
|
|
3925
4151
|
this[o] = __cssModules$p[o];
|
|
@@ -4009,7 +4235,16 @@ const __vue2_script$o = {
|
|
|
4009
4235
|
}
|
|
4010
4236
|
};
|
|
4011
4237
|
const __cssModules$o = {};
|
|
4012
|
-
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
|
+
);
|
|
4013
4248
|
function __vue2_injectStyles$o(context) {
|
|
4014
4249
|
for (let o in __cssModules$o) {
|
|
4015
4250
|
this[o] = __cssModules$o[o];
|
|
@@ -4112,7 +4347,16 @@ const __vue2_script$n = {
|
|
|
4112
4347
|
}
|
|
4113
4348
|
};
|
|
4114
4349
|
const __cssModules$n = {};
|
|
4115
|
-
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
|
+
);
|
|
4116
4360
|
function __vue2_injectStyles$n(context) {
|
|
4117
4361
|
for (let o in __cssModules$n) {
|
|
4118
4362
|
this[o] = __cssModules$n[o];
|
|
@@ -4163,7 +4407,8 @@ const __vue2_script$m = {
|
|
|
4163
4407
|
}),
|
|
4164
4408
|
computed: {
|
|
4165
4409
|
radioItems() {
|
|
4166
|
-
return (this.items || []).map((item, i) =>
|
|
4410
|
+
return (this.items || []).map((item, i) => ({
|
|
4411
|
+
...item,
|
|
4167
4412
|
_index: i,
|
|
4168
4413
|
label: item[this.itemLabelKey],
|
|
4169
4414
|
value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
|
|
@@ -4189,7 +4434,16 @@ const __vue2_script$m = {
|
|
|
4189
4434
|
}
|
|
4190
4435
|
};
|
|
4191
4436
|
const __cssModules$m = {};
|
|
4192
|
-
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
|
+
);
|
|
4193
4447
|
function __vue2_injectStyles$m(context) {
|
|
4194
4448
|
for (let o in __cssModules$m) {
|
|
4195
4449
|
this[o] = __cssModules$m[o];
|
|
@@ -4324,7 +4578,16 @@ const __vue2_script$l = {
|
|
|
4324
4578
|
}
|
|
4325
4579
|
};
|
|
4326
4580
|
const __cssModules$l = {};
|
|
4327
|
-
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
|
+
);
|
|
4328
4591
|
function __vue2_injectStyles$l(context) {
|
|
4329
4592
|
for (let o in __cssModules$l) {
|
|
4330
4593
|
this[o] = __cssModules$l[o];
|
|
@@ -4428,7 +4691,7 @@ const __vue2_script$k = {
|
|
|
4428
4691
|
computed: {
|
|
4429
4692
|
selectItems() {
|
|
4430
4693
|
return this.items.map((item, i) => {
|
|
4431
|
-
const obj =
|
|
4694
|
+
const obj = { ...item };
|
|
4432
4695
|
obj.value = obj[this.itemValueKey] === void 0 ? obj[this.itemLabelKey] || i : obj[this.itemValueKey];
|
|
4433
4696
|
obj.index = i;
|
|
4434
4697
|
return obj;
|
|
@@ -4444,7 +4707,9 @@ const __vue2_script$k = {
|
|
|
4444
4707
|
return !this.staticLabel || !this.hasValue && !this.placeholder;
|
|
4445
4708
|
},
|
|
4446
4709
|
selectionString() {
|
|
4447
|
-
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(", ");
|
|
4448
4713
|
},
|
|
4449
4714
|
classes() {
|
|
4450
4715
|
return {
|
|
@@ -4565,7 +4830,16 @@ const __vue2_script$k = {
|
|
|
4565
4830
|
}
|
|
4566
4831
|
};
|
|
4567
4832
|
const __cssModules$k = {};
|
|
4568
|
-
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
|
+
);
|
|
4569
4843
|
function __vue2_injectStyles$k(context) {
|
|
4570
4844
|
for (let o in __cssModules$k) {
|
|
4571
4845
|
this[o] = __cssModules$k[o];
|
|
@@ -4774,7 +5048,16 @@ const __vue2_script$j = {
|
|
|
4774
5048
|
}
|
|
4775
5049
|
};
|
|
4776
5050
|
const __cssModules$j = {};
|
|
4777
|
-
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
|
+
);
|
|
4778
5061
|
function __vue2_injectStyles$j(context) {
|
|
4779
5062
|
for (let o in __cssModules$j) {
|
|
4780
5063
|
this[o] = __cssModules$j[o];
|
|
@@ -4831,7 +5114,16 @@ const __vue2_script$i = {
|
|
|
4831
5114
|
}
|
|
4832
5115
|
};
|
|
4833
5116
|
const __cssModules$i = {};
|
|
4834
|
-
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
|
+
);
|
|
4835
5127
|
function __vue2_injectStyles$i(context) {
|
|
4836
5128
|
for (let o in __cssModules$i) {
|
|
4837
5129
|
this[o] = __cssModules$i[o];
|
|
@@ -4855,7 +5147,16 @@ const __vue2_script$h = {
|
|
|
4855
5147
|
data: () => ({})
|
|
4856
5148
|
};
|
|
4857
5149
|
const __cssModules$h = {};
|
|
4858
|
-
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
|
+
);
|
|
4859
5160
|
function __vue2_injectStyles$h(context) {
|
|
4860
5161
|
for (let o in __cssModules$h) {
|
|
4861
5162
|
this[o] = __cssModules$h[o];
|
|
@@ -4962,7 +5263,16 @@ const __vue2_script$g = {
|
|
|
4962
5263
|
}
|
|
4963
5264
|
};
|
|
4964
5265
|
const __cssModules$g = {};
|
|
4965
|
-
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
|
+
);
|
|
4966
5276
|
function __vue2_injectStyles$g(context) {
|
|
4967
5277
|
for (let o in __cssModules$g) {
|
|
4968
5278
|
this[o] = __cssModules$g[o];
|
|
@@ -4980,7 +5290,16 @@ var render$f = function() {
|
|
|
4980
5290
|
var staticRenderFns$f = [];
|
|
4981
5291
|
const __vue2_script$f = {};
|
|
4982
5292
|
const __cssModules$f = {};
|
|
4983
|
-
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
|
+
);
|
|
4984
5303
|
function __vue2_injectStyles$f(context) {
|
|
4985
5304
|
for (let o in __cssModules$f) {
|
|
4986
5305
|
this[o] = __cssModules$f[o];
|
|
@@ -5059,10 +5378,11 @@ const __vue2_script$e = {
|
|
|
5059
5378
|
},
|
|
5060
5379
|
tabsItems() {
|
|
5061
5380
|
const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items;
|
|
5062
|
-
return items.map((item, _index) => new Vue.observable(
|
|
5381
|
+
return items.map((item, _index) => new Vue.observable({
|
|
5382
|
+
...item,
|
|
5063
5383
|
_index,
|
|
5064
5384
|
_disabled: !!item.disabled
|
|
5065
|
-
}))
|
|
5385
|
+
}));
|
|
5066
5386
|
},
|
|
5067
5387
|
activeTab() {
|
|
5068
5388
|
return this.tabsItems[this.activeTabIndex] || this.tabsItems[0] || {};
|
|
@@ -5179,7 +5499,16 @@ const __vue2_script$e = {
|
|
|
5179
5499
|
}
|
|
5180
5500
|
};
|
|
5181
5501
|
const __cssModules$e = {};
|
|
5182
|
-
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
|
+
);
|
|
5183
5512
|
function __vue2_injectStyles$e(context) {
|
|
5184
5513
|
for (let o in __cssModules$e) {
|
|
5185
5514
|
this[o] = __cssModules$e[o];
|
|
@@ -5212,7 +5541,8 @@ var render$d = function() {
|
|
|
5212
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) {
|
|
5213
5542
|
return _vm.doSelectRow(item, i);
|
|
5214
5543
|
} } }, [_vm._l(_vm.headers, function(header, j) {
|
|
5215
|
-
|
|
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()])];
|
|
5216
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()];
|
|
5217
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()])]);
|
|
5218
5548
|
};
|
|
@@ -5225,6 +5555,7 @@ const __vue2_script$d = {
|
|
|
5225
5555
|
items: { type: Array, required: true },
|
|
5226
5556
|
headers: { type: Array, required: true },
|
|
5227
5557
|
noHeaders: { type: Boolean },
|
|
5558
|
+
fixedLayout: { type: Boolean },
|
|
5228
5559
|
fixedHeaders: { type: Boolean },
|
|
5229
5560
|
fixedFooter: { type: Boolean },
|
|
5230
5561
|
loading: { type: Boolean },
|
|
@@ -5232,7 +5563,9 @@ const __vue2_script$d = {
|
|
|
5232
5563
|
expandableRows: {
|
|
5233
5564
|
validator: (value) => {
|
|
5234
5565
|
if (![void 0, true, false, 1, "1", ""].includes(value)) {
|
|
5235
|
-
consoleError(
|
|
5566
|
+
consoleError(
|
|
5567
|
+
`Wrong value for the w-table's \`expandableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
|
|
5568
|
+
);
|
|
5236
5569
|
}
|
|
5237
5570
|
return true;
|
|
5238
5571
|
}
|
|
@@ -5241,7 +5574,9 @@ const __vue2_script$d = {
|
|
|
5241
5574
|
selectableRows: {
|
|
5242
5575
|
validator: (value) => {
|
|
5243
5576
|
if (![void 0, true, false, 1, "1", ""].includes(value)) {
|
|
5244
|
-
consoleError(
|
|
5577
|
+
consoleError(
|
|
5578
|
+
`Wrong value for the w-table's \`selectableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
|
|
5579
|
+
);
|
|
5245
5580
|
}
|
|
5246
5581
|
return true;
|
|
5247
5582
|
}
|
|
@@ -5315,16 +5650,21 @@ const __vue2_script$d = {
|
|
|
5315
5650
|
},
|
|
5316
5651
|
classes() {
|
|
5317
5652
|
return {
|
|
5653
|
+
"w-table--fixed-layout": this.fixedLayout || this.resizableColumns || this.hasStickyColumn,
|
|
5318
5654
|
"w-table--mobile": this.isMobile || null,
|
|
5319
5655
|
"w-table--resizable-cols": this.resizableColumns || null,
|
|
5320
5656
|
"w-table--resizing": this.colResizing.dragging,
|
|
5321
5657
|
"w-table--fixed-header": this.fixedHeaders,
|
|
5322
|
-
"w-table--fixed-footer": this.fixedFooter
|
|
5658
|
+
"w-table--fixed-footer": this.fixedFooter,
|
|
5659
|
+
"w-table--sticky-column": this.hasStickyColumn
|
|
5323
5660
|
};
|
|
5324
5661
|
},
|
|
5325
5662
|
isMobile() {
|
|
5326
5663
|
return ~~this.mobileBreakpoint && this.$waveui.breakpoint.width <= ~~this.mobileBreakpoint;
|
|
5327
5664
|
},
|
|
5665
|
+
hasStickyColumn() {
|
|
5666
|
+
return this.headers.find((header) => header.sticky);
|
|
5667
|
+
},
|
|
5328
5668
|
selectedRowsByUid() {
|
|
5329
5669
|
return this.selectedRowsInternal.reduce((obj, uid) => (obj[uid] = true) && obj, {});
|
|
5330
5670
|
},
|
|
@@ -5336,6 +5676,7 @@ const __vue2_script$d = {
|
|
|
5336
5676
|
headerClasses(header) {
|
|
5337
5677
|
return {
|
|
5338
5678
|
"w-table__header--sortable": header.sortable !== false,
|
|
5679
|
+
"w-table__header--sticky": header.sticky,
|
|
5339
5680
|
"w-table__header--resizable": !!this.resizableColumns,
|
|
5340
5681
|
[`text-${header.align || "left"}`]: true
|
|
5341
5682
|
};
|
|
@@ -5369,12 +5710,15 @@ const __vue2_script$d = {
|
|
|
5369
5710
|
this.expandedRowsInternal.push(item._uid);
|
|
5370
5711
|
} else
|
|
5371
5712
|
this.expandedRowsInternal = this.expandedRowsInternal.filter((uid) => uid !== item._uid);
|
|
5372
|
-
this.$emit(
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
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
|
+
);
|
|
5378
5722
|
this.$emit("update:expanded-rows", this.expandedRowsInternal);
|
|
5379
5723
|
} else if (selectable) {
|
|
5380
5724
|
let updated = false;
|
|
@@ -5390,12 +5734,15 @@ const __vue2_script$d = {
|
|
|
5390
5734
|
updated = true;
|
|
5391
5735
|
}
|
|
5392
5736
|
if (updated) {
|
|
5393
|
-
this.$emit(
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
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
|
+
);
|
|
5399
5746
|
this.$emit("update:selected-rows", this.selectedRowsInternal);
|
|
5400
5747
|
}
|
|
5401
5748
|
}
|
|
@@ -5499,7 +5846,16 @@ const __vue2_script$d = {
|
|
|
5499
5846
|
}
|
|
5500
5847
|
};
|
|
5501
5848
|
const __cssModules$d = {};
|
|
5502
|
-
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
|
+
);
|
|
5503
5859
|
function __vue2_injectStyles$d(context) {
|
|
5504
5860
|
for (let o in __cssModules$d) {
|
|
5505
5861
|
this[o] = __cssModules$d[o];
|
|
@@ -5578,7 +5934,16 @@ const __vue2_script$c = {
|
|
|
5578
5934
|
}
|
|
5579
5935
|
};
|
|
5580
5936
|
const __cssModules$c = {};
|
|
5581
|
-
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
|
+
);
|
|
5582
5947
|
function __vue2_injectStyles$c(context) {
|
|
5583
5948
|
for (let o in __cssModules$c) {
|
|
5584
5949
|
this[o] = __cssModules$c[o];
|
|
@@ -5650,7 +6015,7 @@ const __vue2_script$b = {
|
|
|
5650
6015
|
},
|
|
5651
6016
|
computed: {
|
|
5652
6017
|
listeners() {
|
|
5653
|
-
const
|
|
6018
|
+
const { input, focus, blur, ...listeners } = this.$listeners;
|
|
5654
6019
|
return listeners;
|
|
5655
6020
|
},
|
|
5656
6021
|
hasValue() {
|
|
@@ -5719,10 +6084,10 @@ const __vue2_script$b = {
|
|
|
5719
6084
|
this.$refs.textarea.style.height = height + "px";
|
|
5720
6085
|
},
|
|
5721
6086
|
getLineHeight() {
|
|
5722
|
-
const
|
|
5723
|
-
this.lineHeight = parseFloat(
|
|
5724
|
-
this.paddingY = parseFloat(
|
|
5725
|
-
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"));
|
|
5726
6091
|
}
|
|
5727
6092
|
},
|
|
5728
6093
|
mounted() {
|
|
@@ -5751,7 +6116,16 @@ const __vue2_script$b = {
|
|
|
5751
6116
|
}
|
|
5752
6117
|
};
|
|
5753
6118
|
const __cssModules$b = {};
|
|
5754
|
-
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
|
+
);
|
|
5755
6129
|
function __vue2_injectStyles$b(context) {
|
|
5756
6130
|
for (let o in __cssModules$b) {
|
|
5757
6131
|
this[o] = __cssModules$b[o];
|
|
@@ -5788,7 +6162,16 @@ const __vue2_script$a = {
|
|
|
5788
6162
|
emits: []
|
|
5789
6163
|
};
|
|
5790
6164
|
const __cssModules$a = {};
|
|
5791
|
-
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
|
+
);
|
|
5792
6175
|
function __vue2_injectStyles$a(context) {
|
|
5793
6176
|
for (let o in __cssModules$a) {
|
|
5794
6177
|
this[o] = __cssModules$a[o];
|
|
@@ -5852,7 +6235,16 @@ const __vue2_script$9 = {
|
|
|
5852
6235
|
}
|
|
5853
6236
|
};
|
|
5854
6237
|
const __cssModules$9 = {};
|
|
5855
|
-
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
|
+
);
|
|
5856
6248
|
function __vue2_injectStyles$9(context) {
|
|
5857
6249
|
for (let o in __cssModules$9) {
|
|
5858
6250
|
this[o] = __cssModules$9[o];
|
|
@@ -5906,10 +6298,10 @@ const __vue2_script$8 = {
|
|
|
5906
6298
|
return this.transition || `w-tooltip-slide-fade-${direction}`;
|
|
5907
6299
|
},
|
|
5908
6300
|
classes() {
|
|
5909
|
-
return
|
|
6301
|
+
return {
|
|
5910
6302
|
[this.color]: this.color,
|
|
5911
|
-
[`${this.bgColor}--bg`]: this.bgColor
|
|
5912
|
-
|
|
6303
|
+
[`${this.bgColor}--bg`]: this.bgColor,
|
|
6304
|
+
...this.tooltipClasses,
|
|
5913
6305
|
[`w-tooltip--${this.position}`]: !this.noPosition,
|
|
5914
6306
|
[`w-tooltip--align-${this.alignment}`]: !this.noPosition && this.alignment,
|
|
5915
6307
|
"w-tooltip--tile": this.tile,
|
|
@@ -5918,7 +6310,7 @@ const __vue2_script$8 = {
|
|
|
5918
6310
|
"w-tooltip--fixed": this.fixed,
|
|
5919
6311
|
"w-tooltip--no-border": this.noBorder || this.bgColor,
|
|
5920
6312
|
"w-tooltip--custom-transition": this.transition
|
|
5921
|
-
}
|
|
6313
|
+
};
|
|
5922
6314
|
},
|
|
5923
6315
|
styles() {
|
|
5924
6316
|
return {
|
|
@@ -5986,7 +6378,16 @@ const __vue2_script$8 = {
|
|
|
5986
6378
|
}
|
|
5987
6379
|
};
|
|
5988
6380
|
const __cssModules$8 = {};
|
|
5989
|
-
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
|
+
);
|
|
5990
6391
|
function __vue2_injectStyles$8(context) {
|
|
5991
6392
|
for (let o in __cssModules$8) {
|
|
5992
6393
|
this[o] = __cssModules$8[o];
|
|
@@ -6010,7 +6411,16 @@ const __vue2_script$7 = {
|
|
|
6010
6411
|
}
|
|
6011
6412
|
};
|
|
6012
6413
|
const __cssModules$7 = {};
|
|
6013
|
-
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
|
+
);
|
|
6014
6424
|
function __vue2_injectStyles$7(context) {
|
|
6015
6425
|
for (let o in __cssModules$7) {
|
|
6016
6426
|
this[o] = __cssModules$7[o];
|
|
@@ -6154,24 +6564,24 @@ const __vue2_script$6 = {
|
|
|
6154
6564
|
this.el.originalStyles = el.style.cssText;
|
|
6155
6565
|
},
|
|
6156
6566
|
show(el, done) {
|
|
6157
|
-
const
|
|
6567
|
+
const computedStyles = window.getComputedStyle(el, null);
|
|
6158
6568
|
if (this.animX) {
|
|
6159
6569
|
this.el.width = el.offsetWidth;
|
|
6160
|
-
this.el.marginLeft =
|
|
6161
|
-
this.el.marginRight =
|
|
6162
|
-
this.el.paddingLeft =
|
|
6163
|
-
this.el.paddingRight =
|
|
6164
|
-
this.el.borderLeftWidth =
|
|
6165
|
-
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");
|
|
6166
6576
|
}
|
|
6167
6577
|
if (this.animY) {
|
|
6168
6578
|
this.el.height = el.offsetHeight;
|
|
6169
|
-
this.el.marginTop =
|
|
6170
|
-
this.el.marginBottom =
|
|
6171
|
-
this.el.paddingTop =
|
|
6172
|
-
this.el.paddingBottom =
|
|
6173
|
-
this.el.borderTopWidth =
|
|
6174
|
-
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");
|
|
6175
6585
|
}
|
|
6176
6586
|
this.applyHideStyles(el);
|
|
6177
6587
|
setTimeout(() => this.applyShowStyles(el), 20);
|
|
@@ -6187,7 +6597,16 @@ const __vue2_script$6 = {
|
|
|
6187
6597
|
}
|
|
6188
6598
|
};
|
|
6189
6599
|
const __cssModules$6 = {};
|
|
6190
|
-
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
|
+
);
|
|
6191
6610
|
function __vue2_injectStyles$6(context) {
|
|
6192
6611
|
for (let o in __cssModules$6) {
|
|
6193
6612
|
this[o] = __cssModules$6[o];
|
|
@@ -6211,7 +6630,16 @@ const __vue2_script$5 = {
|
|
|
6211
6630
|
}
|
|
6212
6631
|
};
|
|
6213
6632
|
const __cssModules$5 = {};
|
|
6214
|
-
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
|
+
);
|
|
6215
6643
|
function __vue2_injectStyles$5(context) {
|
|
6216
6644
|
for (let o in __cssModules$5) {
|
|
6217
6645
|
this[o] = __cssModules$5[o];
|
|
@@ -6235,7 +6663,16 @@ const __vue2_script$4 = {
|
|
|
6235
6663
|
}
|
|
6236
6664
|
};
|
|
6237
6665
|
const __cssModules$4 = {};
|
|
6238
|
-
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
|
+
);
|
|
6239
6676
|
function __vue2_injectStyles$4(context) {
|
|
6240
6677
|
for (let o in __cssModules$4) {
|
|
6241
6678
|
this[o] = __cssModules$4[o];
|
|
@@ -6259,7 +6696,16 @@ const __vue2_script$3 = {
|
|
|
6259
6696
|
}
|
|
6260
6697
|
};
|
|
6261
6698
|
const __cssModules$3 = {};
|
|
6262
|
-
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
|
+
);
|
|
6263
6709
|
function __vue2_injectStyles$3(context) {
|
|
6264
6710
|
for (let o in __cssModules$3) {
|
|
6265
6711
|
this[o] = __cssModules$3[o];
|
|
@@ -6295,7 +6741,16 @@ const __vue2_script$2 = {
|
|
|
6295
6741
|
}
|
|
6296
6742
|
};
|
|
6297
6743
|
const __cssModules$2 = {};
|
|
6298
|
-
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
|
+
);
|
|
6299
6754
|
function __vue2_injectStyles$2(context) {
|
|
6300
6755
|
for (let o in __cssModules$2) {
|
|
6301
6756
|
this[o] = __cssModules$2[o];
|
|
@@ -6331,7 +6786,16 @@ const __vue2_script$1 = {
|
|
|
6331
6786
|
}
|
|
6332
6787
|
};
|
|
6333
6788
|
const __cssModules$1 = {};
|
|
6334
|
-
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
|
+
);
|
|
6335
6799
|
function __vue2_injectStyles$1(context) {
|
|
6336
6800
|
for (let o in __cssModules$1) {
|
|
6337
6801
|
this[o] = __cssModules$1[o];
|
|
@@ -6355,7 +6819,16 @@ const __vue2_script = {
|
|
|
6355
6819
|
}
|
|
6356
6820
|
};
|
|
6357
6821
|
const __cssModules = {};
|
|
6358
|
-
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
|
+
);
|
|
6359
6832
|
function __vue2_injectStyles(context) {
|
|
6360
6833
|
for (let o in __cssModules) {
|
|
6361
6834
|
this[o] = __cssModules[o];
|
|
@@ -6418,7 +6891,7 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
6418
6891
|
WTransitionTwist: wTransitionTwist
|
|
6419
6892
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6420
6893
|
const install = WaveUI.install;
|
|
6421
|
-
WaveUI.install = (Vue2, options = {}) => install.call(WaveUI, Vue2,
|
|
6894
|
+
WaveUI.install = (Vue2, options = {}) => install.call(WaveUI, Vue2, { components, ...options });
|
|
6422
6895
|
if (typeof window !== "undefined" && window.Vue)
|
|
6423
6896
|
window.Vue.use(WaveUI);
|
|
6424
6897
|
export { WaveUI as default };
|