@creatorsn/vfluent3 0.3.31 → 0.3.32

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.
@@ -14,12 +14,16 @@ export declare const FvBreadcrumb: import("../../types/plugins/component-plugin"
14
14
  readonly showRoot?: boolean | undefined;
15
15
  readonly rootIcon?: string | undefined;
16
16
  readonly readOnly?: boolean | undefined;
17
+ readonly debounceDelay?: number | undefined;
17
18
  };
18
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
19
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
19
20
  }, {
20
21
  mode: string;
21
22
  thisValue: Function;
22
23
  tempValue: string;
24
+ timer: {
25
+ debounce: null;
26
+ };
23
27
  }, {
24
28
  separatorIcon(): boolean;
25
29
  routeList(): any;
@@ -53,12 +57,16 @@ export declare const FvBreadcrumb: import("../../types/plugins/component-plugin"
53
57
  readonly showRoot?: boolean | undefined;
54
58
  readonly rootIcon?: string | undefined;
55
59
  readonly readOnly?: boolean | undefined;
60
+ readonly debounceDelay?: number | undefined;
56
61
  };
57
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
62
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
58
63
  }, {
59
64
  mode: string;
60
65
  thisValue: Function;
61
66
  tempValue: string;
67
+ timer: {
68
+ debounce: null;
69
+ };
62
70
  }, {
63
71
  separatorIcon(): boolean;
64
72
  routeList(): any;
@@ -89,12 +97,16 @@ export declare const FvBreadcrumb: import("../../types/plugins/component-plugin"
89
97
  readonly showRoot?: boolean | undefined;
90
98
  readonly rootIcon?: string | undefined;
91
99
  readonly readOnly?: boolean | undefined;
100
+ readonly debounceDelay?: number | undefined;
92
101
  };
93
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
102
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
94
103
  }, {
95
104
  mode: string;
96
105
  thisValue: Function;
97
106
  tempValue: string;
107
+ timer: {
108
+ debounce: null;
109
+ };
98
110
  }, {
99
111
  separatorIcon(): boolean;
100
112
  routeList(): any;
@@ -13,12 +13,16 @@ declare const _default: {
13
13
  readonly showRoot?: boolean | undefined;
14
14
  readonly rootIcon?: string | undefined;
15
15
  readonly readOnly?: boolean | undefined;
16
+ readonly debounceDelay?: number | undefined;
16
17
  };
17
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
18
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
18
19
  }, {
19
20
  mode: string;
20
21
  thisValue: Function;
21
22
  tempValue: string;
23
+ timer: {
24
+ debounce: null;
25
+ };
22
26
  }, {
23
27
  separatorIcon(): boolean;
24
28
  routeList(): any;
@@ -52,12 +56,16 @@ declare const _default: {
52
56
  readonly showRoot?: boolean | undefined;
53
57
  readonly rootIcon?: string | undefined;
54
58
  readonly readOnly?: boolean | undefined;
59
+ readonly debounceDelay?: number | undefined;
55
60
  };
56
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
61
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
57
62
  }, {
58
63
  mode: string;
59
64
  thisValue: Function;
60
65
  tempValue: string;
66
+ timer: {
67
+ debounce: null;
68
+ };
61
69
  }, {
62
70
  separatorIcon(): boolean;
63
71
  routeList(): any;
@@ -88,12 +96,16 @@ declare const _default: {
88
96
  readonly showRoot?: boolean | undefined;
89
97
  readonly rootIcon?: string | undefined;
90
98
  readonly readOnly?: boolean | undefined;
99
+ readonly debounceDelay?: number | undefined;
91
100
  };
92
- $emit: (event: "update:modelValue" | "root-click" | "item-click", ...args: any[]) => void;
101
+ $emit: (event: "change" | "update:modelValue" | "debounce-input" | "root-click" | "item-click", ...args: any[]) => void;
93
102
  }, {
94
103
  mode: string;
95
104
  thisValue: Function;
96
105
  tempValue: string;
106
+ timer: {
107
+ debounce: null;
108
+ };
97
109
  }, {
98
110
  separatorIcon(): boolean;
99
111
  routeList(): any;
@@ -16,6 +16,7 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
16
16
  readonly lang?: string | undefined;
17
17
  readonly modelValue?: string | undefined;
18
18
  readonly icon?: string | undefined;
19
+ readonly debounceDelay?: number | undefined;
19
20
  readonly foreground?: string | undefined;
20
21
  readonly isBoxShadow?: boolean | undefined;
21
22
  readonly placeholder?: string | undefined;
@@ -25,7 +26,6 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
25
26
  readonly focusBorderColor?: string | undefined;
26
27
  readonly revealBorder?: boolean | undefined;
27
28
  readonly status?: string | undefined;
28
- readonly debounceDelay?: number | undefined;
29
29
  readonly options?: never[] | undefined;
30
30
  readonly customFilter?: boolean | undefined;
31
31
  readonly resultPlaceholder?: boolean | undefined;
@@ -87,6 +87,7 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
87
87
  readonly lang?: string | undefined;
88
88
  readonly modelValue?: string | undefined;
89
89
  readonly icon?: string | undefined;
90
+ readonly debounceDelay?: number | undefined;
90
91
  readonly foreground?: string | undefined;
91
92
  readonly isBoxShadow?: boolean | undefined;
92
93
  readonly placeholder?: string | undefined;
@@ -96,7 +97,6 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
96
97
  readonly focusBorderColor?: string | undefined;
97
98
  readonly revealBorder?: boolean | undefined;
98
99
  readonly status?: string | undefined;
99
- readonly debounceDelay?: number | undefined;
100
100
  readonly options?: never[] | undefined;
101
101
  readonly customFilter?: boolean | undefined;
102
102
  readonly resultPlaceholder?: boolean | undefined;
@@ -155,6 +155,7 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
155
155
  readonly lang?: string | undefined;
156
156
  readonly modelValue?: string | undefined;
157
157
  readonly icon?: string | undefined;
158
+ readonly debounceDelay?: number | undefined;
158
159
  readonly foreground?: string | undefined;
159
160
  readonly isBoxShadow?: boolean | undefined;
160
161
  readonly placeholder?: string | undefined;
@@ -164,7 +165,6 @@ export declare const FvSearchBox: import("../../types/plugins/component-plugin")
164
165
  readonly focusBorderColor?: string | undefined;
165
166
  readonly revealBorder?: boolean | undefined;
166
167
  readonly status?: string | undefined;
167
- readonly debounceDelay?: number | undefined;
168
168
  readonly options?: never[] | undefined;
169
169
  readonly customFilter?: boolean | undefined;
170
170
  readonly resultPlaceholder?: boolean | undefined;
@@ -15,6 +15,7 @@ declare const _default: {
15
15
  readonly lang?: string | undefined;
16
16
  readonly modelValue?: string | undefined;
17
17
  readonly icon?: string | undefined;
18
+ readonly debounceDelay?: number | undefined;
18
19
  readonly foreground?: string | undefined;
19
20
  readonly isBoxShadow?: boolean | undefined;
20
21
  readonly placeholder?: string | undefined;
@@ -24,7 +25,6 @@ declare const _default: {
24
25
  readonly focusBorderColor?: string | undefined;
25
26
  readonly revealBorder?: boolean | undefined;
26
27
  readonly status?: string | undefined;
27
- readonly debounceDelay?: number | undefined;
28
28
  readonly options?: never[] | undefined;
29
29
  readonly customFilter?: boolean | undefined;
30
30
  readonly resultPlaceholder?: boolean | undefined;
@@ -86,6 +86,7 @@ declare const _default: {
86
86
  readonly lang?: string | undefined;
87
87
  readonly modelValue?: string | undefined;
88
88
  readonly icon?: string | undefined;
89
+ readonly debounceDelay?: number | undefined;
89
90
  readonly foreground?: string | undefined;
90
91
  readonly isBoxShadow?: boolean | undefined;
91
92
  readonly placeholder?: string | undefined;
@@ -95,7 +96,6 @@ declare const _default: {
95
96
  readonly focusBorderColor?: string | undefined;
96
97
  readonly revealBorder?: boolean | undefined;
97
98
  readonly status?: string | undefined;
98
- readonly debounceDelay?: number | undefined;
99
99
  readonly options?: never[] | undefined;
100
100
  readonly customFilter?: boolean | undefined;
101
101
  readonly resultPlaceholder?: boolean | undefined;
@@ -154,6 +154,7 @@ declare const _default: {
154
154
  readonly lang?: string | undefined;
155
155
  readonly modelValue?: string | undefined;
156
156
  readonly icon?: string | undefined;
157
+ readonly debounceDelay?: number | undefined;
157
158
  readonly foreground?: string | undefined;
158
159
  readonly isBoxShadow?: boolean | undefined;
159
160
  readonly placeholder?: string | undefined;
@@ -163,7 +164,6 @@ declare const _default: {
163
164
  readonly focusBorderColor?: string | undefined;
164
165
  readonly revealBorder?: boolean | undefined;
165
166
  readonly status?: string | undefined;
166
- readonly debounceDelay?: number | undefined;
167
167
  readonly options?: never[] | undefined;
168
168
  readonly customFilter?: boolean | undefined;
169
169
  readonly resultPlaceholder?: boolean | undefined;
@@ -20,6 +20,7 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
20
20
  readonly lang?: string | undefined;
21
21
  readonly modelValue?: string | undefined;
22
22
  readonly icon?: string | undefined;
23
+ readonly debounceDelay?: number | undefined;
23
24
  readonly foreground?: string | undefined;
24
25
  readonly revealBorderColor?: boolean | undefined;
25
26
  readonly revealBackgroundColor?: boolean | undefined;
@@ -38,7 +39,6 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
38
39
  readonly focusBorderColor?: string | undefined;
39
40
  readonly revealBorder?: boolean | undefined;
40
41
  readonly status?: string | undefined;
41
- readonly debounceDelay?: number | undefined;
42
42
  };
43
43
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
44
44
  }, {
@@ -82,6 +82,7 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
82
82
  readonly lang?: string | undefined;
83
83
  readonly modelValue?: string | undefined;
84
84
  readonly icon?: string | undefined;
85
+ readonly debounceDelay?: number | undefined;
85
86
  readonly foreground?: string | undefined;
86
87
  readonly revealBorderColor?: boolean | undefined;
87
88
  readonly revealBackgroundColor?: boolean | undefined;
@@ -100,7 +101,6 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
100
101
  readonly focusBorderColor?: string | undefined;
101
102
  readonly revealBorder?: boolean | undefined;
102
103
  readonly status?: string | undefined;
103
- readonly debounceDelay?: number | undefined;
104
104
  };
105
105
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
106
106
  }, {
@@ -141,6 +141,7 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
141
141
  readonly lang?: string | undefined;
142
142
  readonly modelValue?: string | undefined;
143
143
  readonly icon?: string | undefined;
144
+ readonly debounceDelay?: number | undefined;
144
145
  readonly foreground?: string | undefined;
145
146
  readonly revealBorderColor?: boolean | undefined;
146
147
  readonly revealBackgroundColor?: boolean | undefined;
@@ -159,7 +160,6 @@ export declare const FvTextBox: import("../../types/plugins/component-plugin").C
159
160
  readonly focusBorderColor?: string | undefined;
160
161
  readonly revealBorder?: boolean | undefined;
161
162
  readonly status?: string | undefined;
162
- readonly debounceDelay?: number | undefined;
163
163
  };
164
164
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
165
165
  }, {
@@ -19,6 +19,7 @@ declare const _default: {
19
19
  readonly lang?: string | undefined;
20
20
  readonly modelValue?: string | undefined;
21
21
  readonly icon?: string | undefined;
22
+ readonly debounceDelay?: number | undefined;
22
23
  readonly foreground?: string | undefined;
23
24
  readonly revealBorderColor?: boolean | undefined;
24
25
  readonly revealBackgroundColor?: boolean | undefined;
@@ -37,7 +38,6 @@ declare const _default: {
37
38
  readonly focusBorderColor?: string | undefined;
38
39
  readonly revealBorder?: boolean | undefined;
39
40
  readonly status?: string | undefined;
40
- readonly debounceDelay?: number | undefined;
41
41
  };
42
42
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
43
43
  }, {
@@ -81,6 +81,7 @@ declare const _default: {
81
81
  readonly lang?: string | undefined;
82
82
  readonly modelValue?: string | undefined;
83
83
  readonly icon?: string | undefined;
84
+ readonly debounceDelay?: number | undefined;
84
85
  readonly foreground?: string | undefined;
85
86
  readonly revealBorderColor?: boolean | undefined;
86
87
  readonly revealBackgroundColor?: boolean | undefined;
@@ -99,7 +100,6 @@ declare const _default: {
99
100
  readonly focusBorderColor?: string | undefined;
100
101
  readonly revealBorder?: boolean | undefined;
101
102
  readonly status?: string | undefined;
102
- readonly debounceDelay?: number | undefined;
103
103
  };
104
104
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
105
105
  }, {
@@ -140,6 +140,7 @@ declare const _default: {
140
140
  readonly lang?: string | undefined;
141
141
  readonly modelValue?: string | undefined;
142
142
  readonly icon?: string | undefined;
143
+ readonly debounceDelay?: number | undefined;
143
144
  readonly foreground?: string | undefined;
144
145
  readonly revealBorderColor?: boolean | undefined;
145
146
  readonly revealBackgroundColor?: boolean | undefined;
@@ -158,7 +159,6 @@ declare const _default: {
158
159
  readonly focusBorderColor?: string | undefined;
159
160
  readonly revealBorder?: boolean | undefined;
160
161
  readonly status?: string | undefined;
161
- readonly debounceDelay?: number | undefined;
162
162
  };
163
163
  $emit: (event: "change" | "click" | "keydown" | "keyup" | "paste" | "update:modelValue" | "debounce-input" | "left-icon-click" | "icon-click", ...args: any[]) => void;
164
164
  }, {
package/dist/vfluent3.js CHANGED
@@ -1906,7 +1906,10 @@ const Qa = ["onClick"], Za = { class: "fv-bc-separator-content" }, el = {
1906
1906
  return {
1907
1907
  mode: "default",
1908
1908
  thisValue: this.modelValue,
1909
- tempValue: ""
1909
+ tempValue: "",
1910
+ timer: {
1911
+ debounce: null
1912
+ }
1910
1913
  };
1911
1914
  },
1912
1915
  watch: {
@@ -1924,6 +1927,11 @@ const Qa = ["onClick"], Za = { class: "fv-bc-separator-content" }, el = {
1924
1927
  },
1925
1928
  thisValue(t) {
1926
1929
  this.$emit("update:modelValue", t);
1930
+ },
1931
+ tempValue(t) {
1932
+ this.$emit("change", t), this.timer.debounce && clearTimeout(this.timer.debounce), this.timer.debounce = setTimeout(() => {
1933
+ this.$emit("debounce-input", t);
1934
+ }, this.debounceDelay);
1927
1935
  }
1928
1936
  },
1929
1937
  computed: {
@@ -1970,16 +1978,17 @@ const Qa = ["onClick"], Za = { class: "fv-bc-separator-content" }, el = {
1970
1978
  t.keyCode === 13 && (this.mode = "default");
1971
1979
  },
1972
1980
  routeClick(t) {
1973
- if (t.stopPropagation(), this.isDisabled)
1981
+ if (this.isDisabled)
1974
1982
  return 0;
1975
- this.$emit("root-click", {
1983
+ t.stopPropagation(), this.$emit("root-click", {
1976
1984
  path: this.thisValue,
1977
1985
  pathList: this.routeList
1978
1986
  });
1979
1987
  },
1980
1988
  routeItemClick(t, i, e) {
1981
- if (e.stopPropagation(), this.isDisabled)
1989
+ if (this.isDisabled)
1982
1990
  return 0;
1991
+ e.stopPropagation();
1983
1992
  let s = "", n = [];
1984
1993
  for (let r = 0; r <= i; r++)
1985
1994
  n.push(this.routeList[r]);
@@ -2030,9 +2039,18 @@ const Qa = ["onClick"], Za = { class: "fv-bc-separator-content" }, el = {
2030
2039
  },
2031
2040
  borderRadius: {
2032
2041
  default: 6
2042
+ },
2043
+ debounceDelay: {
2044
+ default: 300
2033
2045
  }
2034
2046
  },
2035
- emits: ["update:modelValue", "root-click", "item-click"],
2047
+ emits: [
2048
+ "update:modelValue",
2049
+ "change",
2050
+ "debounce-input",
2051
+ "root-click",
2052
+ "item-click"
2053
+ ],
2036
2054
  setup(t, { emit: i }) {
2037
2055
  return (e, s) => (p(), $("div", {
2038
2056
  class: F(["fv-Breadcrumb", [
@@ -8,7 +8,7 @@ Only state can be modified.`);l[0]="$state",$t=!1,r.set(s,l,r.state.value),$t=!0
8
8
  state: () => new MyClass()
9
9
  Found in store "${V.$id}".`),g&&s&&e.hydrate&&e.hydrate(V.$state,g),h=!0,c=!0,V}function Hi(t,i,e){let r,o;const s=typeof i=="function";if(typeof t=="string")r=t,o=s?e:i;else if(o=t,r=t.id,process.env.NODE_ENV!=="production"&&typeof r!="string")throw new Error('[\u{1F34D}]: "defineStore()" must be passed a store id as its first argument.');function l(a,d){const h=n.hasInjectionContext();if(a=(process.env.NODE_ENV==="test"&&At&&At._testing?null:a)||(h?n.inject(Yn,null):null),a&&Wt(a),process.env.NODE_ENV!=="production"&&!At)throw new Error(`[\u{1F34D}]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
10
10
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
11
- This will fail in production.`);a=At,a._s.has(r)||(s?Wi(r,i,o,a):lr(r,o,a),process.env.NODE_ENV!=="production"&&(l._pinia=a));const c=a._s.get(r);if(process.env.NODE_ENV!=="production"&&d){const u="__hot:"+r,f=s?Wi(u,i,o,a,!0):lr(u,Te({},o),a,!0);d._hotUpdate(f),delete a.state.value[u],a._s.delete(u)}if(process.env.NODE_ENV!=="production"&&di){const u=n.getCurrentInstance();if(u&&u.proxy&&!d){const f=u.proxy,m="_pStores"in f?f._pStores:f._pStores={};m[r]=c}}return c}return l.$id=r,l}const ar=Hi("FvConfig",{state:()=>({theme:"light",variables:{}}),actions:{changeTheme(t){t?this.theme=t:this.theme=this.theme==="light"?"dark":"light"}}});function _(t){const i=ar();return{theme:n.computed(()=>t.theme==="global"&&t.theme!==void 0?i.theme:t.theme===void 0?"global":t.theme)}}function Gi(t){const{display:i,visibility:e,transition:r,animation:o}=t.style;return t.style.display="initial",t.style.visibility="hidden",t.style.transition="none",t.style.animation="none",{display:i,visibility:e,transition:r,animation:o}}function Ui(t,{display:i,visibility:e,transition:r,animation:o}){t.style.display=i,t.style.visibility=e,t.style.transition=r,t.style.animation=o}function ke(t){if(t===void 0)return new DOMRect(0,0,0,0);let{display:i}=getComputedStyle(t);if(i!=="none"){let o=t.getBoundingClientRect();if(o.height===0&&o.width===0){const s=[];let l=t.parentElement;for(;l!==null&&l!==document.body;){if(i=getComputedStyle(l).display,i==="none"){const a=Gi(l);s.push({el:l,style:a})}l=l.parentElement}o=t.getBoundingClientRect();for(const a of s)Ui(a.el,a.style)}return o}const e=Gi(t);let r=t.getBoundingClientRect();if(r.height===0&&r.width===0){const o=[];let s=t.parentElement;for(;s!==null&&s!==document.body;){if(i=getComputedStyle(s).display,i==="none"){const l=Gi(s);o.push({el:s,style:l})}s=s.parentElement}r=t.getBoundingClientRect();for(const l of o)Ui(l.el,l.style)}return Ui(t,e),r}function ve(t,i,e){return Math.max(i,Math.min(t,e))}const dr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};class Tt{constructor(i){vt(this,"channels",{rgb:[0,0,0],hsv:[0,0,0]});vt(this,"valpha",1);Vt(i)&&this.parse(i)}static new(i){return new Tt(i)}clone(){const i=new Tt;for(let e in this.channels)i.channels[e]=[...this.channels[e]];return i.valpha=this.valpha,i}parse(i){i=i.trim();let e=!0;if(/^#[0-9a-fA-F]{6}$/.test(i)){let[r,o,s]=[parseInt(i.substring(1,3),16),parseInt(i.substring(3,5),16),parseInt(i.substring(5,7),16)];this.channels.rgb=[r,o,s],this.valpha=1}else if(/^#[0-9a-fA-F]{8}$/.test(i)){let[r,o,s]=[parseInt(i.substring(1,3),16),parseInt(i.substring(3,5),16),parseInt(i.substring(5,7),16)];this.channels.rgb=[r,o,s],this.valpha=parseInt(i.substring(7,9),16)/255}else if(i.startsWith("rgb(")){i=i.substring(4,i.length-1);const r=i.split(",");r.length===3?this.channels.rgb=r.map(o=>parseInt(o)):e=!1}else if(i.startsWith("rgba(")){i=i.substring(5,i.length-1);const r=i.split(",");if(r.length===4){let[o,s,l,a]=r.map(d=>parseFloat(d));this.channels.rgb=[o,s,l],this.valpha=a}else e=!1}else if(i.toLowerCase()in dr)return i=dr[i.toLowerCase()],this.parse(i);return e===!1&&console.error(`color ${i} parse error`),this.updateRGB2HSV(),this}updateRGB2HSV(){let[i,e,r]=this.channels.rgb;i/=255,e/=255,r/=255;let o=Math.max(i,e,r),s=Math.min(i,e,r),[l,a,d]=this.channels.hsv;return o===s?l=0:s===r?l=60*(e-i)/(o-s)+60:s===i?l=60*(r-e)/(o-s)+180:l=60*(i-r)/(o-s)+300,o==0?a=0:a=(o-s)/o*100,d=o*100,l=ve(l,0,359),a=ve(a,0,100),d=ve(d,0,100),this.channels.hsv=[l,a,d],this}updateHSV2RGB(){let[i,e,r]=this.channels.hsv;e/=100,r/=100;let o=e,s=i/60,l=o*(1-Math.abs(s%2-1)),[a,d,h]=[r-o,r-o,r-o],c=[[o,l,0],[l,o,0],[0,o,l],[0,l,o],[l,0,o],[o,0,l]],[u,f,m]=c[Math.floor(s)];return a+=u,d+=f,h+=m,a=ve(a,0,1),d=ve(d,0,1),h=ve(h,0,1),a*=255,d*=255,h*=255,a=Math.round(a),h=Math.round(h),d=Math.round(d),this.channels.rgb=[a,d,h],this}red(i){return i!==void 0?(this.channels.rgb[0]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[0]}green(i){return i!==void 0?(this.channels.rgb[1]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[1]}blue(i){return i!==void 0?(this.channels.rgb[2]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[2]}hue(i){return i!==void 0?(this.channels.hsv[0]=ve(i,0,359),this.updateHSV2RGB()):this.channels.hsv[0]}saturation(i){return i!==void 0?(this.channels.hsv[1]=ve(i,0,100),this.updateHSV2RGB()):this.channels.hsv[1]}value(i){return i!==void 0?(this.channels.hsv[2]=ve(i,0,100),this.updateHSV2RGB()):this.channels.hsv[2]}alpha(i){return i!==void 0?(this.valpha=ve(i,0,1),this):this.valpha}hex(){let[i,e,r]=this.channels.rgb;return`#${i.toString(16).padStart(2,"0")}${e.toString(16).padStart(2,"0")}${r.toString(16).padStart(2,"0")}`.toUpperCase()}hexa(){return`${this.hex()}${Math.round(this.valpha*255).toString(16).padStart(2,"0")}`.toUpperCase()}cssrgb(){let[i,e,r]=this.channels.rgb;return`rgb(${i}, ${e}, ${r})`}cssrgba(){let[i,e,r]=this.channels.rgb;return`rgba(${i}, ${e}, ${r}, ${this.alpha()})`}isDark(){const[i,e,r]=this.channels.rgb;return .2126*i+.7152*e+.0722*r<128}isLight(){const[i,e,r]=this.channels.rgb;return .2126*i+.7152*e+.0722*r>=128}}function Yi(t,i){let e=!1;return function r(...o){e||(e=!0,window!==void 0&&i===void 0?window.requestAnimationFrame(()=>{t.apply(r,o),e=!1}):setTimeout(()=>{t.apply(r,o),e=!1},i===void 0?1/60:i))}}function tt(){let t=!1;return function(i){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}class ji{constructor(i){vt(this,"eventFunc");this.eventFunc=e=>{e==null||e.preventDefault(),i(e)}}listen(){if(window!==void 0){const i=this.destory();return tt()?(window.addEventListener("touchmove",this.eventFunc,{passive:!1}),window.addEventListener("touchend",i)):(window.addEventListener("mousemove",this.eventFunc),window.addEventListener("mouseup",i),window.addEventListener("mouseleave",i)),{destory:i}}return{destory:()=>{}}}destory(){const i=this.eventFunc;return function e(){window!==void 0&&(tt()?(window.removeEventListener("touchmove",i),window.removeEventListener("touchend",e)):(window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",e),window.removeEventListener("mouseleave",e)))}}}function jl(t){return n.defineComponent({setup(i,e){const r=n.ref(null);if(t.default&&t.default().length>0){const[o]=t.default();return e.expose({slotRef:r}),()=>n.h(o,{ref:r})}else return()=>n.h("div",{ref:r})}})}const Xl=Object.assign({name:"FvAffix",data(){return{parent:{left:0,top:0,right:0,bottom:0,width:0,height:0},current:{left:0,top:0,right:0,bottom:0,width:0,height:0},wrapper:{left:0,top:0,right:0,bottom:0,width:0,height:0},timer:null}},watch:{isFixed(){this.$emit("change",this.isFixed)}},computed:{leftValue(){return isNaN(parseFloat(this.left))?0:this.left.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.left)/100:parseFloat(this.left)},topValue(){return isNaN(parseFloat(this.top))?0:this.top.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.top)/100:parseFloat(this.top)},rightValue(){return isNaN(parseFloat(this.right))?0:this.right.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.right)/100:parseFloat(this.right)},bottomValue(){return isNaN(parseFloat(this.bottom))?0:this.bottom.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.bottom)/100:parseFloat(this.bottom)},computedLeft(){return isNaN(parseFloat(this.left))?"":this.parent.left+this.leftValue+"px"},computedTop(){return isNaN(parseFloat(this.top))?"":this.parent.top+this.topValue+"px"},computedRight(){return isNaN(parseFloat(this.right))?"":window.innerWidth-this.parent.right+this.rightValue+"px"},computedBottom(){return isNaN(parseFloat(this.bottom))?"":window.innerHeight-this.parent.bottom+this.bottomValue+"px"},computedWidth(){return this.current.width.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.current.width)/100+"px":parseFloat(this.current.width)+"px"},computedHeight(){return this.current.height.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.current.height)/100+"px":parseFloat(this.current.height)+"px"},isFixed(){return this.mode==="fixed"?!0:this.mode==="relative"?!1:!!(this.affixPos.includes("top")&&this.wrapper.top<this.parent.top+this.topValue||this.affixPos.includes("bottom")&&this.wrapper.bottom>this.parent.bottom+this.bottomValue||this.affixPos.includes("left")&&this.wrapper.left<this.parent.left+this.leftValue||this.affixPos.includes("right")&&this.wrapper.right>this.parent.right+this.rightValue)},$theme(){return _(this.$props).theme.value}},mounted(){this.wrapperPosInit()},methods:{getParentPos(){if(!this.valueTrigger(this.target))return;const{left:t,top:i,right:e,bottom:r,width:o,height:s}=this.valueTrigger(this.target).getBoundingClientRect();this.parent.left=t,this.parent.top=i,this.parent.right=e,this.parent.bottom=r,this.parent.width=o,this.parent.height=s},getCurrentPos(){if(!this.$refs.container)return;const{left:t,top:i,right:e,bottom:r,width:o,height:s}=this.$refs.container.getBoundingClientRect();this.current.left=t,this.current.top=i,this.current.right=e,this.current.bottom=r,this.current.width=o,this.current.height=s},getWrapperPos(){if(!this.$el)return;const{left:t,top:i,right:e,bottom:r}=this.$el.getBoundingClientRect(),o=e-t,s=r-i;this.wrapper.left=t,this.wrapper.top=i,this.wrapper.right=e,this.wrapper.bottom=r,this.wrapper.width=o,this.wrapper.height=s},wrapperPosInit(){this.timer=setInterval(()=>{window.requestAnimationFrame(()=>{this.getParentPos(),this.getCurrentPos(),this.getWrapperPos()})},10)},valueTrigger(t){return typeof t=="function"?t():t}},beforeUnmount(){clearInterval(this.timer)}},{props:{...A,left:{default:""},top:{default:""},right:{default:""},bottom:{default:""},target:{default:null},mode:{default:"fixed"},affixPos:{default:()=>["top"]},zIndex:{default:""}},emits:["change"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Affix",e.$theme]),style:n.normalizeStyle({position:t.mode==="fixed"?"absolute":"",width:e.isFixed?e.computedWidth:"auto",height:e.isFixed?e.computedHeight:"auto"})},[n.createElementVNode("div",{class:"fv-affix-container",ref:"container",style:n.normalizeStyle({position:e.isFixed?"fixed":"relative",left:e.isFixed?e.computedLeft:"",top:e.isFixed?e.computedTop:"",right:e.isFixed?e.computedRight:"",bottom:e.isFixed?e.computedBottom:"","z-index":t.zIndex})},[n.renderSlot(e.$slots,"default",{},()=>[n.createTextVNode(" Affix TEMPLATE ")])],4)],6))}}),hr=W(Xl),ry="",oy="",sy="",ql={class:"fv-animated-content-block"},Kl=Object.assign({name:"FvAnimatedIcon",data(){return{thisValue:this.modelValue,animations:{scaleDown:{down:{transform:"scale(0.8)",transition:"transform 0.2s"},up:[{transform:"scale(1.1)",transition:"transform 0.2s"},{transform:"scale(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scale(1)",transition:"transform 0.05s ease-out"}]},scaleXDown:{down:{transform:"scaleX(0.6)",transition:"transform 0.2s"},up:[{transform:"scaleX(1.1)",transition:"transform 0.2s"},{transform:"scaleX(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scaleX(1)",transition:"transform 0.05s ease-out"}]},scaleYDown:{down:{transform:"scaleY(0.6)",transition:"transform 0.2s"},up:[{transform:"scaleY(1.1)",transition:"transform 0.2s"},{transform:"scaleY(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scaleY(1)",transition:"transform 0.05s ease-out"}]},backScale:{down:{transform:"scale(0.8)","transform-origin":"100% 50%",transition:"transform 0.2s"},up:[{transform:"scale(1.1)","transform-origin":"100% 50%",transition:"transform 0.2s"},{transform:"scale(1)","transform-origin":"100% 50%",transition:"transform 0.05s ease-out"}],leave:[{transform:"scale(1)","transform-origin":"100% 50%",transition:"transform 0.05s ease-out"}]},bounceRotate:{down:{transform:"rotate(-15deg)",transition:"transform 0.1s"},up:[{transform:"rotate(360deg)",transition:"transform 0.3s"},{transform:"rotate(0deg)"}],leave:[{transform:"rotate(360deg)",transition:"transform 0.3s"},{transform:"rotate(0deg)"}]}},animatedStyle:{},animationsQueue:[]}},watch:{modelValue(t){this.thisValue=t},thisValue(t){this.$emit("update:modelValue",t)}},computed:{$theme(){return _(this.$props).theme.value}},mounted(){this.animationInit()},methods:{animationInit(){this.$el.addEventListener("transitionend",t=>{this.popAnimation()})},enter(){let t=this.getAnimation("enter");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},move(){let t=this.getAnimation("move");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},down(t){t.preventDefault();let i=this.getAnimation("down");if(!i)return!1;i.length||(i=[i]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(i),this.popAnimation()},up(t){t.preventDefault(),this.onClick(t);let i=this.getAnimation("up");if(!i)return!1;i.length||(i=[i]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(i),this.popAnimation()},leave(){let t=this.getAnimation("leave");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},getAnimation(t){if(this.customizeAnimation)return this.customizeAnimation[t]?this.customizeAnimation[t]:!1;if(!this.animations[this.thisValue])return!1;let i=this.animations[this.thisValue];return i[t]?i[t]:!1},popAnimation(){if(this.animationsQueue.length==0)return 0;let t=this.animationsQueue[0];this.animatedStyle=t,this.animationsQueue.splice(0,1)},onClick(t){this.$emit("click",t)}}},{props:{...A,modelValue:{default:"scaleDown"},icon:{default:"Search"},customizeAnimation:{default:!1},background:{default:""},fontSize:{default:16},hideContent:{default:!1}},emits:["update:modelValue","click"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-AnimatedIcon",[e.$theme]]),style:n.normalizeStyle([{width:`${t.fontSize*1+3}px`,background:t.background,fontSize:`${t.fontSize}px`}]),onMousedown:r[0]||(r[0]=(...o)=>e.down&&e.down(...o)),onMouseup:r[1]||(r[1]=(...o)=>e.up&&e.up(...o)),onTouchstart:r[2]||(r[2]=(...o)=>e.down&&e.down(...o)),onTouchend:r[3]||(r[3]=(...o)=>e.up&&e.up(...o)),onMouseenter:r[4]||(r[4]=(...o)=>e.enter&&e.enter(...o)),onMousemove:r[5]||(r[5]=(...o)=>e.move&&e.move(...o)),onTouchmove:r[6]||(r[6]=(...o)=>e.move&&e.move(...o)),onMouseleave:r[7]||(r[7]=(...o)=>e.leave&&e.leave(...o))},[n.createElementVNode("div",{draggable:"false",class:n.normalizeClass(["fv-animated-icon-container",[{hideContent:t.hideContent}]]),style:n.normalizeStyle([e.animatedStyle])},[n.renderSlot(e.$slots,"default",{},()=>[n.createElementVNode("i",{ref:"a",class:n.normalizeClass(["ms-Icon",[`ms-Icon--${t.icon}`]])},null,2)])],6),n.withDirectives(n.createElementVNode("div",ql,[n.renderSlot(e.$slots,"content")],512),[[n.vShow,!t.hideContent]])],38))}}),ur=W(Kl),ay="",dy="",hy="",Jl=n.createElementVNode("p",null,"Badge",-1),Ql={class:"badge-content"},Zl=Object.assign({name:"FvBadge",data(){return{thisValue:this.modelValue,colorList:{default:"#f56c6c",primary:"#409eff",success:"rgba(0, 204, 153, 1)",warning:"#e6a23c",danger:"#f56c6c",info:"#909399"}}},watch:{modelValue(t){this.thisValue=t},thisValue(t){this.$emit("update:modelValue",t)}},computed:{finalValue(){return this.thisValue*1>this.max*1?`${this.max}+`:this.thisValue},finalColor(){return this.colorList[this.type]?this.colorList[this.type]:this.type},$theme(){return _(this.$props).theme.value}}},{props:{...A,modelValue:{default:""},max:{default:1/0},isDot:{default:!1},hidden:{default:!1},type:{default:"default"}},emits:["update:modelValue"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Badge",[e.$theme]])},[n.renderSlot(e.$slots,"default",{},()=>[Jl]),n.withDirectives(n.createElementVNode("sup",{class:n.normalizeClass(["fv-badge-container",{dot:t.isDot}]),style:n.normalizeStyle({background:e.finalColor})},[n.createElementVNode("p",Ql,n.toDisplayString(e.finalValue),1)],6),[[n.vShow,!t.hidden]])],2))}}),cr=W(Zl),cy="",fy="",my="",ea=["onClick"],ta={class:"fv-bc-separator-content"},ia=Object.assign({name:"FvBreadcrumb",data(){return{mode:"default",thisValue:this.modelValue,tempValue:""}},watch:{modelValue(t){this.thisValue=t},mode(t){if(t=="editor"){let i=this.thisValue;i[0]==this.separatorChar&&(i=i.slice(1,i.length)),this.tempValue=i}else{let i=this.tempValue;i[0]==this.separatorChar&&(i=i.slice(1,i.length)),this.thisValue[0]==this.separatorChar?this.thisValue=`${this.separatorChar}${i}`:this.thisValue=i}},thisValue(t){this.$emit("update:modelValue",t)}},computed:{separatorIcon(){return this.separator.length>1},routeList(){let t=this.thisValue;return t[0]==this.separatorChar&&(t=t.slice(1,t.length)),t==""?[]:t.split(this.separatorChar)},isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""},$theme(){return _(this.$props).theme.value}},mounted(){this.outSideClickInit()},methods:{outSideClickInit(){window.addEventListener("click",this.outSideClickEvent)},outSideClickEvent(t){let i=t.target,e=!1;for(;i&&i.tagName&&i.tagName.toLowerCase()!="body";){if(i==this.$el){e=!0;break}i=i.parentNode}e||(this.mode="default")},editorMode(t){if(this.isDisabled||this.readOnly)return 0;t.preventDefault(),t.stopPropagation(),this.mode!=="editor"&&(this.mode="editor",this.$nextTick(()=>{this.$refs.editor.focus(),this.$refs.editor.select()}))},handleEnter(t){t.keyCode===13&&(this.mode="default")},routeClick(t){if(t.stopPropagation(),this.isDisabled)return 0;this.$emit("root-click",{path:this.thisValue,pathList:this.routeList})},routeItemClick(t,i,e){if(e.stopPropagation(),this.isDisabled)return 0;let r="",o=[];for(let s=0;s<=i;s++)o.push(this.routeList[s]);o.forEach(s=>{r==""?r=s:r+=`${this.separatorChar}${s}`}),this.$emit("item-click",{path:r,fullPath:`${this.separatorChar}${r}`,pathList:o,current:t})}},beforeUnmount(){window.removeEventListener("click",this.outSideClickEvent)}},{props:{...A,modelValue:{default:""},separator:{type:String,default:"/"},separatorChar:{type:String,default:"/"},showRoot:{default:!0},rootIcon:{default:"FolderHorizontal"},readOnly:{default:!0},fontSize:{default:"16px"},borderColor:{default:""},disabled:{default:!1},borderRadius:{default:6}},emits:["update:modelValue","root-click","item-click"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Breadcrumb",[e.$theme,{readOnly:t.readOnly,"editor-mode":e.mode==="editor",disabled:e.isDisabled}]]),style:n.normalizeStyle({"border-radius":`${t.borderRadius}px`,"border-color":e.mode==="editor"?t.borderColor:"","outline-color":e.mode==="editor"?t.borderColor:""})},[n.createElementVNode("div",{class:"fv-bc-route-list",ref:"main",onClick:r[4]||(r[4]=(...o)=>e.editorMode&&e.editorMode(...o))},[n.withDirectives(n.createElementVNode("div",{class:"fv-bc-route-item",style:n.normalizeStyle({"font-size":t.fontSize}),onClick:r[0]||(r[0]=(...o)=>e.routeClick&&e.routeClick(...o))},[n.renderSlot(e.$slots,"root",{rootIcon:t.rootIcon,separator:t.separator,separatorIcon:e.separatorIcon},()=>[n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-content ms-Icon",[`ms-Icon--${t.rootIcon}`]])},null,2),n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-icon ms-Icon",[e.separatorIcon?`ms-Icon--${t.separator}`:""]]),style:n.normalizeStyle({"font-family":e.separatorIcon?"":"Calibri"})},n.toDisplayString(e.separatorIcon?"":t.separator),7)])],4),[[n.vShow,t.showRoot]]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.routeList,(o,s)=>n.withDirectives((n.openBlock(),n.createElementBlock("div",{key:s,class:"fv-bc-route-item",style:n.normalizeStyle({"font-size":t.fontSize}),onClick:l=>e.routeItemClick(o,s,l),onDblclick:r[1]||(r[1]=(...l)=>e.editorMode&&e.editorMode(...l))},[n.renderSlot(e.$slots,"route-item",{item:o,index:s},()=>[n.createElementVNode("p",ta,n.toDisplayString(o),1),n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-icon ms-Icon",[e.separatorIcon?`ms-Icon--${t.separator}`:""]]),style:n.normalizeStyle({"font-family":e.separatorIcon?"":"Calibri"})},n.toDisplayString(e.separatorIcon?"":t.separator),7)])],44,ea)),[[n.vShow,e.mode=="default"]])),128)),n.withDirectives(n.createElementVNode("input",{"onUpdate:modelValue":r[2]||(r[2]=o=>e.tempValue=o),class:"fv-bc-route-text-box",type:"text",ref:"editor",style:n.normalizeStyle({"font-size":t.fontSize}),onKeyup:r[3]||(r[3]=(...o)=>e.handleEnter&&e.handleEnter(...o))},null,36),[[n.vShow,e.mode=="editor"],[n.vModelText,e.tempValue]])],512)],6))}}),fr=W(ia),py="",wy="",by="",na=["disabled"],ra=Object.assign({name:"FvButton",data(){return{}},watch:{},computed:{$theme(){return _(this.$props).theme.value},borderLightColor(){if(this.revealBorderColor)return this.revealBorderColor;if(this.$theme=="light")return"rgba(121, 119, 117, 0.6)";if(this.$theme=="dark"||this.$theme=="custom")return"rgba(255, 255, 255, 0.6)"},backgroundLightColor(){if(this.revealBackgroundColor)return this.revealBackgroundColor;if(this.$theme=="light")return"rgba(121, 119, 117, 0.1)";if(this.$theme=="dark"||this.$theme=="custom")return"rgba(255, 255, 255, 0.1)"},isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""}},mounted(){},methods:{onClick(t){if(t.preventDefault(),this.isDisabled)return 0;this.$emit("click",t)}},beforeUnmount(){}},{props:{...A,icon:{default:"",type:String},foreground:{default:"",type:String},background:{default:"",type:String},borderRadius:{default:3},borderColor:{default:""},fontSize:{default:13.3},fontWeight:{default:"normal",type:String},revealBorderColor:{default:!1},revealBackgroundColor:{default:!1},revealBorderGradientList:{default:()=>[]},revealBackgroundGradientList:{default:()=>[]},isBoxShadow:{default:!1},disabled:{default:!1},borderWidth:{default:1}},emits:["click"],setup(t,{emit:i}){return(e,r)=>{const o=n.resolveComponent("fv-reveal-container");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Button",[e.$theme]]),onClick:r[0]||(r[0]=(...s)=>e.onClick&&e.onClick(...s))},[n.createElementVNode("div",{class:n.normalizeClass(["fv-button-main-container",[{disabled:e.isDisabled},{shadow:t.isBoxShadow}]]),style:n.normalizeStyle({borderRadius:`${t.borderRadius}px`})},[n.createVNode(o,{parent:()=>e.$el,class:"fv-button-reveal-container",backgroundColor:e.backgroundLightColor,borderColor:e.borderLightColor,borderGradientSize:80,borderGradientList:t.revealBorderGradientList,backgroundGradientList:t.revealBackgroundGradientList,borderWidth:t.borderWidth,borderRadius:t.borderRadius,disabled:e.isDisabled},null,8,["parent","backgroundColor","borderColor","borderGradientList","backgroundGradientList","borderWidth","borderRadius","disabled"]),n.createElementVNode("div",{disabled:t.disabled,class:"fv-button-container",style:n.normalizeStyle({background:t.background,"background-repeat":"no-repeat","background-clip":"content-box",borderRadius:`${t.borderRadius}px`})},[n.createElementVNode("span",{class:"fv-btn-content-block",style:n.normalizeStyle({color:t.foreground,"font-size":`${t.fontSize}px`,"font-weight":t.fontWeight})},[n.createElementVNode("i",{class:n.normalizeClass(["ms-Icon",`ms-Icon--${t.icon}`]),style:n.normalizeStyle({"margin-right":t.icon!=""?"5px":""})},null,6),n.renderSlot(e.$slots,"default",{},()=>[n.createTextVNode("Button")])],4)],12,na),n.createElementVNode("div",{class:"fv-button-regular-border",style:n.normalizeStyle({borderColor:t.borderColor,borderWidth:`${t.borderWidth}px`,borderRadius:`${t.borderRadius}px`})},null,4)],6)],2)}}}),mr=W(ra),ky="",vy="",Cy="",oa={key:0,class:"calendar-container"},sa=Object.assign({name:"FvCalendarDatePicker",data(){return{thisValue:this.modelValue,displayContent:"",show:{calendar:!1}}},watch:{modelValue(){this.thisValue=this.modelValue},thisValue:{handler(){this.multiple==="single"&&(this.show.calendar=!1),this.$emit("update:modelValue",this.thisValue)},deep:!0},computedContent:{handler(){this.displayContent=this.computedContent},immediate:!0}},computed:{isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""},computedDate(){return this.thisValue.length===0?new Date:new Date(this.thisValue[0])},computedContent(){let t=[];return this.thisValue.forEach(i=>{t.push(this.$SDate.Format("YYYY-mm-dd",i))}),t.join(",")},$theme(){return _(this.$props).theme.value}},mounted(){this.outSideClickInit()},methods:{outSideClickInit(){window.addEventListener("click",this.outSideClickEvent),window.addEventListener("touchend",this.outSideClickEvent)},outSideClickEvent(t){t.composedPath().includes(this.$el)||(this.show.calendar=!1)},showCalendar(){this.isDisabled||(this.editable?this.show.calendar=!0:this.show.calendar=!this.show.calendar)},parseContent(){let t=[],i=this.displayContent.split(/[,,;;\.]/);for(let e of i){if(e=e.split(/[-\/]/),e.length===0||e.length>3)return;for(let r=0;r<e.length;r++){let o=parseInt(e[r]);if(o.toString()==="NaN"||o<0||o>9999)return;r==1?e[r]=o-1:e[r]=o}t.push(new Date(...e))}this.thisValue=t}},beforeUnmount(){window.removeEventListener("click",this.outSideClickEvent),window.removeEventListener("touchend",this.outSideClickEvent)}},{props:{...A,modelValue:{default:()=>[]},borderWidth:{default:1},placeholder:{default:"Pick a day"},dropDownBorderRadius:{default:6},inputForeground:{default:""},inputBackground:{default:""},dropDownIcon:{default:"CalendarDay"},dropDownIconForeground:{default:""},dropDownRevealBorder:{default:!0},dropDownIsBoxShadow:{default:!0},dropDownStyles:{default:()=>({})},editable:{default:!1},multiple:{default:"single"},choosenDates:{default:()=>[]},background:{default:""},borderRadius:{default:""},foreground:{default:""},nowDayColor:{default:""},rangeChooseColorFE:{default:""},rangeChooseColorMiddle:{default:""},disabled:{default:!1}},emits:["update:modelValue","choosen-dates","choosen-dates-obj"],setup(t,{emit:i}){return(e,r)=>{const o=n.resolveComponent("fv-text-box"),s=n.resolveComponent("fv-calendar-view");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-CalendarDatePicker",[e.$theme,{disabled:e.isDisabled}]]),style:n.normalizeStyle({zIndex:e.show.calendar?5:""})},[n.renderSlot(e.$slots,"default",{displayContent:e.displayContent,showCalendar:e.showCalendar,disabled:e.isDisabled},()=>[n.createVNode(o,{modelValue:e.displayContent,"onUpdate:modelValue":r[0]||(r[0]=l=>e.displayContent=l),placeholder:t.placeholder,theme:e.$theme,disabled:e.isDisabled,borderWidth:t.borderWidth,borderRadius:t.dropDownBorderRadius,foreground:t.inputForeground,background:t.inputBackground,readonly:!t.editable,icon:t.dropDownIcon,"icon-foreground":t.dropDownIconForeground,"reveal-border":t.dropDownRevealBorder,"is-box-shadow":t.dropDownIsBoxShadow,title:e.displayContent,cursor:t.editable?"":"default",style:n.normalizeStyle([{width:"100%"},{...t.dropDownStyles}]),onKeydown:n.withKeys(e.parseContent,["enter"]),onClick:e.showCalendar},null,8,["modelValue","placeholder","theme","disabled","borderWidth","borderRadius","foreground","background","readonly","icon","icon-foreground","reveal-border","is-box-shadow","title","cursor","style","onKeydown","onClick"])]),n.createVNode(n.Transition,{name:"fv-calendar-container"},{default:n.withCtx(()=>[e.show.calendar?(n.openBlock(),n.createElementBlock("div",oa,[n.createVNode(s,{modelValue:e.computedDate,multiple:t.multiple,"choosen-dates":e.thisValue,"onUpdate:choosenDates":r[1]||(r[1]=l=>e.thisValue=l),foreground:t.foreground,background:t.background,borderRadius:t.borderRadius,nowDayColor:t.nowDayColor,rangeChooseColorFE:t.rangeChooseColorFE,rangeChooseColorMiddle:t.rangeChooseColorMiddle,theme:e.theme,ref:"calendar",onChoosenDates:r[2]||(r[2]=l=>e.$emit("choosen-dates",l)),onChoosenDatesObj:r[3]||(r[3]=l=>e.$emit("choosen-dates-obj",l))},{statement:n.withCtx(l=>[n.renderSlot(e.$slots,"statement",{value:l.value,dayRange:l.dayRange},()=>[n.createTextVNode(n.toDisplayString(l.value),1)])]),weekday_content:n.withCtx(l=>[n.renderSlot(e.$slots,"weekday_content",{value:l.value},()=>[n.createTextVNode(n.toDisplayString(l.value),1)])]),_:3},8,["modelValue","multiple","choosen-dates","foreground","background","borderRadius","nowDayColor","rangeChooseColorFE","rangeChooseColorMiddle","theme"])])):n.createCommentVNode("",!0)]),_:3})],6)}}}),gr=W(sa),Sy="",$y="",Ey="",la=["title"],Xi={__name:"yearUnit",props:{modelValue:{default:new Date},hightlight:{default:new Date}},setup(t){const i=t,e=n.ref(i.modelValue),r=n.computed(()=>e.value.date.getFullYear()),o=n.computed(()=>parseInt(i.hightlight.getFullYear()/10)==parseInt(e.value.date.getFullYear()/10)),s=n.computed(()=>`${e.value.date.getFullYear()}`),l=n.computed(()=>{const a=new Date;return e.value.date.getFullYear()==a.getFullYear()});return(a,d)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(["picker-btn",{range:o.value,current:l.value}]),title:s.value},n.toDisplayString(r.value),11,la))}};function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pr(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i}/*!
11
+ This will fail in production.`);a=At,a._s.has(r)||(s?Wi(r,i,o,a):lr(r,o,a),process.env.NODE_ENV!=="production"&&(l._pinia=a));const c=a._s.get(r);if(process.env.NODE_ENV!=="production"&&d){const u="__hot:"+r,f=s?Wi(u,i,o,a,!0):lr(u,Te({},o),a,!0);d._hotUpdate(f),delete a.state.value[u],a._s.delete(u)}if(process.env.NODE_ENV!=="production"&&di){const u=n.getCurrentInstance();if(u&&u.proxy&&!d){const f=u.proxy,m="_pStores"in f?f._pStores:f._pStores={};m[r]=c}}return c}return l.$id=r,l}const ar=Hi("FvConfig",{state:()=>({theme:"light",variables:{}}),actions:{changeTheme(t){t?this.theme=t:this.theme=this.theme==="light"?"dark":"light"}}});function _(t){const i=ar();return{theme:n.computed(()=>t.theme==="global"&&t.theme!==void 0?i.theme:t.theme===void 0?"global":t.theme)}}function Gi(t){const{display:i,visibility:e,transition:r,animation:o}=t.style;return t.style.display="initial",t.style.visibility="hidden",t.style.transition="none",t.style.animation="none",{display:i,visibility:e,transition:r,animation:o}}function Ui(t,{display:i,visibility:e,transition:r,animation:o}){t.style.display=i,t.style.visibility=e,t.style.transition=r,t.style.animation=o}function ke(t){if(t===void 0)return new DOMRect(0,0,0,0);let{display:i}=getComputedStyle(t);if(i!=="none"){let o=t.getBoundingClientRect();if(o.height===0&&o.width===0){const s=[];let l=t.parentElement;for(;l!==null&&l!==document.body;){if(i=getComputedStyle(l).display,i==="none"){const a=Gi(l);s.push({el:l,style:a})}l=l.parentElement}o=t.getBoundingClientRect();for(const a of s)Ui(a.el,a.style)}return o}const e=Gi(t);let r=t.getBoundingClientRect();if(r.height===0&&r.width===0){const o=[];let s=t.parentElement;for(;s!==null&&s!==document.body;){if(i=getComputedStyle(s).display,i==="none"){const l=Gi(s);o.push({el:s,style:l})}s=s.parentElement}r=t.getBoundingClientRect();for(const l of o)Ui(l.el,l.style)}return Ui(t,e),r}function ve(t,i,e){return Math.max(i,Math.min(t,e))}const dr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};class Tt{constructor(i){vt(this,"channels",{rgb:[0,0,0],hsv:[0,0,0]});vt(this,"valpha",1);Vt(i)&&this.parse(i)}static new(i){return new Tt(i)}clone(){const i=new Tt;for(let e in this.channels)i.channels[e]=[...this.channels[e]];return i.valpha=this.valpha,i}parse(i){i=i.trim();let e=!0;if(/^#[0-9a-fA-F]{6}$/.test(i)){let[r,o,s]=[parseInt(i.substring(1,3),16),parseInt(i.substring(3,5),16),parseInt(i.substring(5,7),16)];this.channels.rgb=[r,o,s],this.valpha=1}else if(/^#[0-9a-fA-F]{8}$/.test(i)){let[r,o,s]=[parseInt(i.substring(1,3),16),parseInt(i.substring(3,5),16),parseInt(i.substring(5,7),16)];this.channels.rgb=[r,o,s],this.valpha=parseInt(i.substring(7,9),16)/255}else if(i.startsWith("rgb(")){i=i.substring(4,i.length-1);const r=i.split(",");r.length===3?this.channels.rgb=r.map(o=>parseInt(o)):e=!1}else if(i.startsWith("rgba(")){i=i.substring(5,i.length-1);const r=i.split(",");if(r.length===4){let[o,s,l,a]=r.map(d=>parseFloat(d));this.channels.rgb=[o,s,l],this.valpha=a}else e=!1}else if(i.toLowerCase()in dr)return i=dr[i.toLowerCase()],this.parse(i);return e===!1&&console.error(`color ${i} parse error`),this.updateRGB2HSV(),this}updateRGB2HSV(){let[i,e,r]=this.channels.rgb;i/=255,e/=255,r/=255;let o=Math.max(i,e,r),s=Math.min(i,e,r),[l,a,d]=this.channels.hsv;return o===s?l=0:s===r?l=60*(e-i)/(o-s)+60:s===i?l=60*(r-e)/(o-s)+180:l=60*(i-r)/(o-s)+300,o==0?a=0:a=(o-s)/o*100,d=o*100,l=ve(l,0,359),a=ve(a,0,100),d=ve(d,0,100),this.channels.hsv=[l,a,d],this}updateHSV2RGB(){let[i,e,r]=this.channels.hsv;e/=100,r/=100;let o=e,s=i/60,l=o*(1-Math.abs(s%2-1)),[a,d,h]=[r-o,r-o,r-o],c=[[o,l,0],[l,o,0],[0,o,l],[0,l,o],[l,0,o],[o,0,l]],[u,f,m]=c[Math.floor(s)];return a+=u,d+=f,h+=m,a=ve(a,0,1),d=ve(d,0,1),h=ve(h,0,1),a*=255,d*=255,h*=255,a=Math.round(a),h=Math.round(h),d=Math.round(d),this.channels.rgb=[a,d,h],this}red(i){return i!==void 0?(this.channels.rgb[0]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[0]}green(i){return i!==void 0?(this.channels.rgb[1]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[1]}blue(i){return i!==void 0?(this.channels.rgb[2]=Math.round(ve(i,0,255)),this.updateRGB2HSV()):this.channels.rgb[2]}hue(i){return i!==void 0?(this.channels.hsv[0]=ve(i,0,359),this.updateHSV2RGB()):this.channels.hsv[0]}saturation(i){return i!==void 0?(this.channels.hsv[1]=ve(i,0,100),this.updateHSV2RGB()):this.channels.hsv[1]}value(i){return i!==void 0?(this.channels.hsv[2]=ve(i,0,100),this.updateHSV2RGB()):this.channels.hsv[2]}alpha(i){return i!==void 0?(this.valpha=ve(i,0,1),this):this.valpha}hex(){let[i,e,r]=this.channels.rgb;return`#${i.toString(16).padStart(2,"0")}${e.toString(16).padStart(2,"0")}${r.toString(16).padStart(2,"0")}`.toUpperCase()}hexa(){return`${this.hex()}${Math.round(this.valpha*255).toString(16).padStart(2,"0")}`.toUpperCase()}cssrgb(){let[i,e,r]=this.channels.rgb;return`rgb(${i}, ${e}, ${r})`}cssrgba(){let[i,e,r]=this.channels.rgb;return`rgba(${i}, ${e}, ${r}, ${this.alpha()})`}isDark(){const[i,e,r]=this.channels.rgb;return .2126*i+.7152*e+.0722*r<128}isLight(){const[i,e,r]=this.channels.rgb;return .2126*i+.7152*e+.0722*r>=128}}function Yi(t,i){let e=!1;return function r(...o){e||(e=!0,window!==void 0&&i===void 0?window.requestAnimationFrame(()=>{t.apply(r,o),e=!1}):setTimeout(()=>{t.apply(r,o),e=!1},i===void 0?1/60:i))}}function tt(){let t=!1;return function(i){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}class ji{constructor(i){vt(this,"eventFunc");this.eventFunc=e=>{e==null||e.preventDefault(),i(e)}}listen(){if(window!==void 0){const i=this.destory();return tt()?(window.addEventListener("touchmove",this.eventFunc,{passive:!1}),window.addEventListener("touchend",i)):(window.addEventListener("mousemove",this.eventFunc),window.addEventListener("mouseup",i),window.addEventListener("mouseleave",i)),{destory:i}}return{destory:()=>{}}}destory(){const i=this.eventFunc;return function e(){window!==void 0&&(tt()?(window.removeEventListener("touchmove",i),window.removeEventListener("touchend",e)):(window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",e),window.removeEventListener("mouseleave",e)))}}}function jl(t){return n.defineComponent({setup(i,e){const r=n.ref(null);if(t.default&&t.default().length>0){const[o]=t.default();return e.expose({slotRef:r}),()=>n.h(o,{ref:r})}else return()=>n.h("div",{ref:r})}})}const Xl=Object.assign({name:"FvAffix",data(){return{parent:{left:0,top:0,right:0,bottom:0,width:0,height:0},current:{left:0,top:0,right:0,bottom:0,width:0,height:0},wrapper:{left:0,top:0,right:0,bottom:0,width:0,height:0},timer:null}},watch:{isFixed(){this.$emit("change",this.isFixed)}},computed:{leftValue(){return isNaN(parseFloat(this.left))?0:this.left.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.left)/100:parseFloat(this.left)},topValue(){return isNaN(parseFloat(this.top))?0:this.top.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.top)/100:parseFloat(this.top)},rightValue(){return isNaN(parseFloat(this.right))?0:this.right.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.right)/100:parseFloat(this.right)},bottomValue(){return isNaN(parseFloat(this.bottom))?0:this.bottom.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.bottom)/100:parseFloat(this.bottom)},computedLeft(){return isNaN(parseFloat(this.left))?"":this.parent.left+this.leftValue+"px"},computedTop(){return isNaN(parseFloat(this.top))?"":this.parent.top+this.topValue+"px"},computedRight(){return isNaN(parseFloat(this.right))?"":window.innerWidth-this.parent.right+this.rightValue+"px"},computedBottom(){return isNaN(parseFloat(this.bottom))?"":window.innerHeight-this.parent.bottom+this.bottomValue+"px"},computedWidth(){return this.current.width.toString().indexOf("%")>-1?this.parent.width*parseFloat(this.current.width)/100+"px":parseFloat(this.current.width)+"px"},computedHeight(){return this.current.height.toString().indexOf("%")>-1?this.parent.height*parseFloat(this.current.height)/100+"px":parseFloat(this.current.height)+"px"},isFixed(){return this.mode==="fixed"?!0:this.mode==="relative"?!1:!!(this.affixPos.includes("top")&&this.wrapper.top<this.parent.top+this.topValue||this.affixPos.includes("bottom")&&this.wrapper.bottom>this.parent.bottom+this.bottomValue||this.affixPos.includes("left")&&this.wrapper.left<this.parent.left+this.leftValue||this.affixPos.includes("right")&&this.wrapper.right>this.parent.right+this.rightValue)},$theme(){return _(this.$props).theme.value}},mounted(){this.wrapperPosInit()},methods:{getParentPos(){if(!this.valueTrigger(this.target))return;const{left:t,top:i,right:e,bottom:r,width:o,height:s}=this.valueTrigger(this.target).getBoundingClientRect();this.parent.left=t,this.parent.top=i,this.parent.right=e,this.parent.bottom=r,this.parent.width=o,this.parent.height=s},getCurrentPos(){if(!this.$refs.container)return;const{left:t,top:i,right:e,bottom:r,width:o,height:s}=this.$refs.container.getBoundingClientRect();this.current.left=t,this.current.top=i,this.current.right=e,this.current.bottom=r,this.current.width=o,this.current.height=s},getWrapperPos(){if(!this.$el)return;const{left:t,top:i,right:e,bottom:r}=this.$el.getBoundingClientRect(),o=e-t,s=r-i;this.wrapper.left=t,this.wrapper.top=i,this.wrapper.right=e,this.wrapper.bottom=r,this.wrapper.width=o,this.wrapper.height=s},wrapperPosInit(){this.timer=setInterval(()=>{window.requestAnimationFrame(()=>{this.getParentPos(),this.getCurrentPos(),this.getWrapperPos()})},10)},valueTrigger(t){return typeof t=="function"?t():t}},beforeUnmount(){clearInterval(this.timer)}},{props:{...A,left:{default:""},top:{default:""},right:{default:""},bottom:{default:""},target:{default:null},mode:{default:"fixed"},affixPos:{default:()=>["top"]},zIndex:{default:""}},emits:["change"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Affix",e.$theme]),style:n.normalizeStyle({position:t.mode==="fixed"?"absolute":"",width:e.isFixed?e.computedWidth:"auto",height:e.isFixed?e.computedHeight:"auto"})},[n.createElementVNode("div",{class:"fv-affix-container",ref:"container",style:n.normalizeStyle({position:e.isFixed?"fixed":"relative",left:e.isFixed?e.computedLeft:"",top:e.isFixed?e.computedTop:"",right:e.isFixed?e.computedRight:"",bottom:e.isFixed?e.computedBottom:"","z-index":t.zIndex})},[n.renderSlot(e.$slots,"default",{},()=>[n.createTextVNode(" Affix TEMPLATE ")])],4)],6))}}),hr=W(Xl),ry="",oy="",sy="",ql={class:"fv-animated-content-block"},Kl=Object.assign({name:"FvAnimatedIcon",data(){return{thisValue:this.modelValue,animations:{scaleDown:{down:{transform:"scale(0.8)",transition:"transform 0.2s"},up:[{transform:"scale(1.1)",transition:"transform 0.2s"},{transform:"scale(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scale(1)",transition:"transform 0.05s ease-out"}]},scaleXDown:{down:{transform:"scaleX(0.6)",transition:"transform 0.2s"},up:[{transform:"scaleX(1.1)",transition:"transform 0.2s"},{transform:"scaleX(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scaleX(1)",transition:"transform 0.05s ease-out"}]},scaleYDown:{down:{transform:"scaleY(0.6)",transition:"transform 0.2s"},up:[{transform:"scaleY(1.1)",transition:"transform 0.2s"},{transform:"scaleY(1)",transition:"transform 0.05s ease-out"}],leave:[{transform:"scaleY(1)",transition:"transform 0.05s ease-out"}]},backScale:{down:{transform:"scale(0.8)","transform-origin":"100% 50%",transition:"transform 0.2s"},up:[{transform:"scale(1.1)","transform-origin":"100% 50%",transition:"transform 0.2s"},{transform:"scale(1)","transform-origin":"100% 50%",transition:"transform 0.05s ease-out"}],leave:[{transform:"scale(1)","transform-origin":"100% 50%",transition:"transform 0.05s ease-out"}]},bounceRotate:{down:{transform:"rotate(-15deg)",transition:"transform 0.1s"},up:[{transform:"rotate(360deg)",transition:"transform 0.3s"},{transform:"rotate(0deg)"}],leave:[{transform:"rotate(360deg)",transition:"transform 0.3s"},{transform:"rotate(0deg)"}]}},animatedStyle:{},animationsQueue:[]}},watch:{modelValue(t){this.thisValue=t},thisValue(t){this.$emit("update:modelValue",t)}},computed:{$theme(){return _(this.$props).theme.value}},mounted(){this.animationInit()},methods:{animationInit(){this.$el.addEventListener("transitionend",t=>{this.popAnimation()})},enter(){let t=this.getAnimation("enter");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},move(){let t=this.getAnimation("move");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},down(t){t.preventDefault();let i=this.getAnimation("down");if(!i)return!1;i.length||(i=[i]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(i),this.popAnimation()},up(t){t.preventDefault(),this.onClick(t);let i=this.getAnimation("up");if(!i)return!1;i.length||(i=[i]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(i),this.popAnimation()},leave(){let t=this.getAnimation("leave");if(!t)return!1;t.length||(t=[t]),this.animationsQueue=[],this.animationsQueue=this.animationsQueue.concat(t),this.popAnimation()},getAnimation(t){if(this.customizeAnimation)return this.customizeAnimation[t]?this.customizeAnimation[t]:!1;if(!this.animations[this.thisValue])return!1;let i=this.animations[this.thisValue];return i[t]?i[t]:!1},popAnimation(){if(this.animationsQueue.length==0)return 0;let t=this.animationsQueue[0];this.animatedStyle=t,this.animationsQueue.splice(0,1)},onClick(t){this.$emit("click",t)}}},{props:{...A,modelValue:{default:"scaleDown"},icon:{default:"Search"},customizeAnimation:{default:!1},background:{default:""},fontSize:{default:16},hideContent:{default:!1}},emits:["update:modelValue","click"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-AnimatedIcon",[e.$theme]]),style:n.normalizeStyle([{width:`${t.fontSize*1+3}px`,background:t.background,fontSize:`${t.fontSize}px`}]),onMousedown:r[0]||(r[0]=(...o)=>e.down&&e.down(...o)),onMouseup:r[1]||(r[1]=(...o)=>e.up&&e.up(...o)),onTouchstart:r[2]||(r[2]=(...o)=>e.down&&e.down(...o)),onTouchend:r[3]||(r[3]=(...o)=>e.up&&e.up(...o)),onMouseenter:r[4]||(r[4]=(...o)=>e.enter&&e.enter(...o)),onMousemove:r[5]||(r[5]=(...o)=>e.move&&e.move(...o)),onTouchmove:r[6]||(r[6]=(...o)=>e.move&&e.move(...o)),onMouseleave:r[7]||(r[7]=(...o)=>e.leave&&e.leave(...o))},[n.createElementVNode("div",{draggable:"false",class:n.normalizeClass(["fv-animated-icon-container",[{hideContent:t.hideContent}]]),style:n.normalizeStyle([e.animatedStyle])},[n.renderSlot(e.$slots,"default",{},()=>[n.createElementVNode("i",{ref:"a",class:n.normalizeClass(["ms-Icon",[`ms-Icon--${t.icon}`]])},null,2)])],6),n.withDirectives(n.createElementVNode("div",ql,[n.renderSlot(e.$slots,"content")],512),[[n.vShow,!t.hideContent]])],38))}}),ur=W(Kl),ay="",dy="",hy="",Jl=n.createElementVNode("p",null,"Badge",-1),Ql={class:"badge-content"},Zl=Object.assign({name:"FvBadge",data(){return{thisValue:this.modelValue,colorList:{default:"#f56c6c",primary:"#409eff",success:"rgba(0, 204, 153, 1)",warning:"#e6a23c",danger:"#f56c6c",info:"#909399"}}},watch:{modelValue(t){this.thisValue=t},thisValue(t){this.$emit("update:modelValue",t)}},computed:{finalValue(){return this.thisValue*1>this.max*1?`${this.max}+`:this.thisValue},finalColor(){return this.colorList[this.type]?this.colorList[this.type]:this.type},$theme(){return _(this.$props).theme.value}}},{props:{...A,modelValue:{default:""},max:{default:1/0},isDot:{default:!1},hidden:{default:!1},type:{default:"default"}},emits:["update:modelValue"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Badge",[e.$theme]])},[n.renderSlot(e.$slots,"default",{},()=>[Jl]),n.withDirectives(n.createElementVNode("sup",{class:n.normalizeClass(["fv-badge-container",{dot:t.isDot}]),style:n.normalizeStyle({background:e.finalColor})},[n.createElementVNode("p",Ql,n.toDisplayString(e.finalValue),1)],6),[[n.vShow,!t.hidden]])],2))}}),cr=W(Zl),cy="",fy="",my="",ea=["onClick"],ta={class:"fv-bc-separator-content"},ia=Object.assign({name:"FvBreadcrumb",data(){return{mode:"default",thisValue:this.modelValue,tempValue:"",timer:{debounce:null}}},watch:{modelValue(t){this.thisValue=t},mode(t){if(t=="editor"){let i=this.thisValue;i[0]==this.separatorChar&&(i=i.slice(1,i.length)),this.tempValue=i}else{let i=this.tempValue;i[0]==this.separatorChar&&(i=i.slice(1,i.length)),this.thisValue[0]==this.separatorChar?this.thisValue=`${this.separatorChar}${i}`:this.thisValue=i}},thisValue(t){this.$emit("update:modelValue",t)},tempValue(t){this.$emit("change",t),this.timer.debounce&&clearTimeout(this.timer.debounce),this.timer.debounce=setTimeout(()=>{this.$emit("debounce-input",t)},this.debounceDelay)}},computed:{separatorIcon(){return this.separator.length>1},routeList(){let t=this.thisValue;return t[0]==this.separatorChar&&(t=t.slice(1,t.length)),t==""?[]:t.split(this.separatorChar)},isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""},$theme(){return _(this.$props).theme.value}},mounted(){this.outSideClickInit()},methods:{outSideClickInit(){window.addEventListener("click",this.outSideClickEvent)},outSideClickEvent(t){let i=t.target,e=!1;for(;i&&i.tagName&&i.tagName.toLowerCase()!="body";){if(i==this.$el){e=!0;break}i=i.parentNode}e||(this.mode="default")},editorMode(t){if(this.isDisabled||this.readOnly)return 0;t.preventDefault(),t.stopPropagation(),this.mode!=="editor"&&(this.mode="editor",this.$nextTick(()=>{this.$refs.editor.focus(),this.$refs.editor.select()}))},handleEnter(t){t.keyCode===13&&(this.mode="default")},routeClick(t){if(this.isDisabled)return 0;t.stopPropagation(),this.$emit("root-click",{path:this.thisValue,pathList:this.routeList})},routeItemClick(t,i,e){if(this.isDisabled)return 0;e.stopPropagation();let r="",o=[];for(let s=0;s<=i;s++)o.push(this.routeList[s]);o.forEach(s=>{r==""?r=s:r+=`${this.separatorChar}${s}`}),this.$emit("item-click",{path:r,fullPath:`${this.separatorChar}${r}`,pathList:o,current:t})}},beforeUnmount(){window.removeEventListener("click",this.outSideClickEvent)}},{props:{...A,modelValue:{default:""},separator:{type:String,default:"/"},separatorChar:{type:String,default:"/"},showRoot:{default:!0},rootIcon:{default:"FolderHorizontal"},readOnly:{default:!0},fontSize:{default:"16px"},borderColor:{default:""},disabled:{default:!1},borderRadius:{default:6},debounceDelay:{default:300}},emits:["update:modelValue","change","debounce-input","root-click","item-click"],setup(t,{emit:i}){return(e,r)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Breadcrumb",[e.$theme,{readOnly:t.readOnly,"editor-mode":e.mode==="editor",disabled:e.isDisabled}]]),style:n.normalizeStyle({"border-radius":`${t.borderRadius}px`,"border-color":e.mode==="editor"?t.borderColor:"","outline-color":e.mode==="editor"?t.borderColor:""})},[n.createElementVNode("div",{class:"fv-bc-route-list",ref:"main",onClick:r[4]||(r[4]=(...o)=>e.editorMode&&e.editorMode(...o))},[n.withDirectives(n.createElementVNode("div",{class:"fv-bc-route-item",style:n.normalizeStyle({"font-size":t.fontSize}),onClick:r[0]||(r[0]=(...o)=>e.routeClick&&e.routeClick(...o))},[n.renderSlot(e.$slots,"root",{rootIcon:t.rootIcon,separator:t.separator,separatorIcon:e.separatorIcon},()=>[n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-content ms-Icon",[`ms-Icon--${t.rootIcon}`]])},null,2),n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-icon ms-Icon",[e.separatorIcon?`ms-Icon--${t.separator}`:""]]),style:n.normalizeStyle({"font-family":e.separatorIcon?"":"Calibri"})},n.toDisplayString(e.separatorIcon?"":t.separator),7)])],4),[[n.vShow,t.showRoot]]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.routeList,(o,s)=>n.withDirectives((n.openBlock(),n.createElementBlock("div",{key:s,class:"fv-bc-route-item",style:n.normalizeStyle({"font-size":t.fontSize}),onClick:l=>e.routeItemClick(o,s,l),onDblclick:r[1]||(r[1]=(...l)=>e.editorMode&&e.editorMode(...l))},[n.renderSlot(e.$slots,"route-item",{item:o,index:s},()=>[n.createElementVNode("p",ta,n.toDisplayString(o),1),n.createElementVNode("i",{class:n.normalizeClass(["fv-bc-separator-icon ms-Icon",[e.separatorIcon?`ms-Icon--${t.separator}`:""]]),style:n.normalizeStyle({"font-family":e.separatorIcon?"":"Calibri"})},n.toDisplayString(e.separatorIcon?"":t.separator),7)])],44,ea)),[[n.vShow,e.mode=="default"]])),128)),n.withDirectives(n.createElementVNode("input",{"onUpdate:modelValue":r[2]||(r[2]=o=>e.tempValue=o),class:"fv-bc-route-text-box",type:"text",ref:"editor",style:n.normalizeStyle({"font-size":t.fontSize}),onKeyup:r[3]||(r[3]=(...o)=>e.handleEnter&&e.handleEnter(...o))},null,36),[[n.vShow,e.mode=="editor"],[n.vModelText,e.tempValue]])],512)],6))}}),fr=W(ia),py="",wy="",by="",na=["disabled"],ra=Object.assign({name:"FvButton",data(){return{}},watch:{},computed:{$theme(){return _(this.$props).theme.value},borderLightColor(){if(this.revealBorderColor)return this.revealBorderColor;if(this.$theme=="light")return"rgba(121, 119, 117, 0.6)";if(this.$theme=="dark"||this.$theme=="custom")return"rgba(255, 255, 255, 0.6)"},backgroundLightColor(){if(this.revealBackgroundColor)return this.revealBackgroundColor;if(this.$theme=="light")return"rgba(121, 119, 117, 0.1)";if(this.$theme=="dark"||this.$theme=="custom")return"rgba(255, 255, 255, 0.1)"},isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""}},mounted(){},methods:{onClick(t){if(t.preventDefault(),this.isDisabled)return 0;this.$emit("click",t)}},beforeUnmount(){}},{props:{...A,icon:{default:"",type:String},foreground:{default:"",type:String},background:{default:"",type:String},borderRadius:{default:3},borderColor:{default:""},fontSize:{default:13.3},fontWeight:{default:"normal",type:String},revealBorderColor:{default:!1},revealBackgroundColor:{default:!1},revealBorderGradientList:{default:()=>[]},revealBackgroundGradientList:{default:()=>[]},isBoxShadow:{default:!1},disabled:{default:!1},borderWidth:{default:1}},emits:["click"],setup(t,{emit:i}){return(e,r)=>{const o=n.resolveComponent("fv-reveal-container");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-Button",[e.$theme]]),onClick:r[0]||(r[0]=(...s)=>e.onClick&&e.onClick(...s))},[n.createElementVNode("div",{class:n.normalizeClass(["fv-button-main-container",[{disabled:e.isDisabled},{shadow:t.isBoxShadow}]]),style:n.normalizeStyle({borderRadius:`${t.borderRadius}px`})},[n.createVNode(o,{parent:()=>e.$el,class:"fv-button-reveal-container",backgroundColor:e.backgroundLightColor,borderColor:e.borderLightColor,borderGradientSize:80,borderGradientList:t.revealBorderGradientList,backgroundGradientList:t.revealBackgroundGradientList,borderWidth:t.borderWidth,borderRadius:t.borderRadius,disabled:e.isDisabled},null,8,["parent","backgroundColor","borderColor","borderGradientList","backgroundGradientList","borderWidth","borderRadius","disabled"]),n.createElementVNode("div",{disabled:t.disabled,class:"fv-button-container",style:n.normalizeStyle({background:t.background,"background-repeat":"no-repeat","background-clip":"content-box",borderRadius:`${t.borderRadius}px`})},[n.createElementVNode("span",{class:"fv-btn-content-block",style:n.normalizeStyle({color:t.foreground,"font-size":`${t.fontSize}px`,"font-weight":t.fontWeight})},[n.createElementVNode("i",{class:n.normalizeClass(["ms-Icon",`ms-Icon--${t.icon}`]),style:n.normalizeStyle({"margin-right":t.icon!=""?"5px":""})},null,6),n.renderSlot(e.$slots,"default",{},()=>[n.createTextVNode("Button")])],4)],12,na),n.createElementVNode("div",{class:"fv-button-regular-border",style:n.normalizeStyle({borderColor:t.borderColor,borderWidth:`${t.borderWidth}px`,borderRadius:`${t.borderRadius}px`})},null,4)],6)],2)}}}),mr=W(ra),ky="",vy="",Cy="",oa={key:0,class:"calendar-container"},sa=Object.assign({name:"FvCalendarDatePicker",data(){return{thisValue:this.modelValue,displayContent:"",show:{calendar:!1}}},watch:{modelValue(){this.thisValue=this.modelValue},thisValue:{handler(){this.multiple==="single"&&(this.show.calendar=!1),this.$emit("update:modelValue",this.thisValue)},deep:!0},computedContent:{handler(){this.displayContent=this.computedContent},immediate:!0}},computed:{isDisabled(){return this.disabled.toString()=="true"||this.disabled=="disabled"||this.disabled===""},computedDate(){return this.thisValue.length===0?new Date:new Date(this.thisValue[0])},computedContent(){let t=[];return this.thisValue.forEach(i=>{t.push(this.$SDate.Format("YYYY-mm-dd",i))}),t.join(",")},$theme(){return _(this.$props).theme.value}},mounted(){this.outSideClickInit()},methods:{outSideClickInit(){window.addEventListener("click",this.outSideClickEvent),window.addEventListener("touchend",this.outSideClickEvent)},outSideClickEvent(t){t.composedPath().includes(this.$el)||(this.show.calendar=!1)},showCalendar(){this.isDisabled||(this.editable?this.show.calendar=!0:this.show.calendar=!this.show.calendar)},parseContent(){let t=[],i=this.displayContent.split(/[,,;;\.]/);for(let e of i){if(e=e.split(/[-\/]/),e.length===0||e.length>3)return;for(let r=0;r<e.length;r++){let o=parseInt(e[r]);if(o.toString()==="NaN"||o<0||o>9999)return;r==1?e[r]=o-1:e[r]=o}t.push(new Date(...e))}this.thisValue=t}},beforeUnmount(){window.removeEventListener("click",this.outSideClickEvent),window.removeEventListener("touchend",this.outSideClickEvent)}},{props:{...A,modelValue:{default:()=>[]},borderWidth:{default:1},placeholder:{default:"Pick a day"},dropDownBorderRadius:{default:6},inputForeground:{default:""},inputBackground:{default:""},dropDownIcon:{default:"CalendarDay"},dropDownIconForeground:{default:""},dropDownRevealBorder:{default:!0},dropDownIsBoxShadow:{default:!0},dropDownStyles:{default:()=>({})},editable:{default:!1},multiple:{default:"single"},choosenDates:{default:()=>[]},background:{default:""},borderRadius:{default:""},foreground:{default:""},nowDayColor:{default:""},rangeChooseColorFE:{default:""},rangeChooseColorMiddle:{default:""},disabled:{default:!1}},emits:["update:modelValue","choosen-dates","choosen-dates-obj"],setup(t,{emit:i}){return(e,r)=>{const o=n.resolveComponent("fv-text-box"),s=n.resolveComponent("fv-calendar-view");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["fv-CalendarDatePicker",[e.$theme,{disabled:e.isDisabled}]]),style:n.normalizeStyle({zIndex:e.show.calendar?5:""})},[n.renderSlot(e.$slots,"default",{displayContent:e.displayContent,showCalendar:e.showCalendar,disabled:e.isDisabled},()=>[n.createVNode(o,{modelValue:e.displayContent,"onUpdate:modelValue":r[0]||(r[0]=l=>e.displayContent=l),placeholder:t.placeholder,theme:e.$theme,disabled:e.isDisabled,borderWidth:t.borderWidth,borderRadius:t.dropDownBorderRadius,foreground:t.inputForeground,background:t.inputBackground,readonly:!t.editable,icon:t.dropDownIcon,"icon-foreground":t.dropDownIconForeground,"reveal-border":t.dropDownRevealBorder,"is-box-shadow":t.dropDownIsBoxShadow,title:e.displayContent,cursor:t.editable?"":"default",style:n.normalizeStyle([{width:"100%"},{...t.dropDownStyles}]),onKeydown:n.withKeys(e.parseContent,["enter"]),onClick:e.showCalendar},null,8,["modelValue","placeholder","theme","disabled","borderWidth","borderRadius","foreground","background","readonly","icon","icon-foreground","reveal-border","is-box-shadow","title","cursor","style","onKeydown","onClick"])]),n.createVNode(n.Transition,{name:"fv-calendar-container"},{default:n.withCtx(()=>[e.show.calendar?(n.openBlock(),n.createElementBlock("div",oa,[n.createVNode(s,{modelValue:e.computedDate,multiple:t.multiple,"choosen-dates":e.thisValue,"onUpdate:choosenDates":r[1]||(r[1]=l=>e.thisValue=l),foreground:t.foreground,background:t.background,borderRadius:t.borderRadius,nowDayColor:t.nowDayColor,rangeChooseColorFE:t.rangeChooseColorFE,rangeChooseColorMiddle:t.rangeChooseColorMiddle,theme:e.theme,ref:"calendar",onChoosenDates:r[2]||(r[2]=l=>e.$emit("choosen-dates",l)),onChoosenDatesObj:r[3]||(r[3]=l=>e.$emit("choosen-dates-obj",l))},{statement:n.withCtx(l=>[n.renderSlot(e.$slots,"statement",{value:l.value,dayRange:l.dayRange},()=>[n.createTextVNode(n.toDisplayString(l.value),1)])]),weekday_content:n.withCtx(l=>[n.renderSlot(e.$slots,"weekday_content",{value:l.value},()=>[n.createTextVNode(n.toDisplayString(l.value),1)])]),_:3},8,["modelValue","multiple","choosen-dates","foreground","background","borderRadius","nowDayColor","rangeChooseColorFE","rangeChooseColorMiddle","theme"])])):n.createCommentVNode("",!0)]),_:3})],6)}}}),gr=W(sa),Sy="",$y="",Ey="",la=["title"],Xi={__name:"yearUnit",props:{modelValue:{default:new Date},hightlight:{default:new Date}},setup(t){const i=t,e=n.ref(i.modelValue),r=n.computed(()=>e.value.date.getFullYear()),o=n.computed(()=>parseInt(i.hightlight.getFullYear()/10)==parseInt(e.value.date.getFullYear()/10)),s=n.computed(()=>`${e.value.date.getFullYear()}`),l=n.computed(()=>{const a=new Date;return e.value.date.getFullYear()==a.getFullYear()});return(a,d)=>(n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(["picker-btn",{range:o.value,current:l.value}]),title:s.value},n.toDisplayString(r.value),11,la))}};function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pr(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i}/*!
12
12
  * GSAP 3.1.1
13
13
  * https://greensock.com
14
14
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creatorsn/vfluent3",
3
3
  "private": false,
4
- "version": "0.3.31",
4
+ "version": "0.3.32",
5
5
  "files": [
6
6
  "dist"
7
7
  ],