fluency-v8-components 1.4.5 → 1.4.7

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.
@@ -3756,12 +3756,10 @@ function rj(e, t, n, r, i, a) {
3756
3756
  "input-icon cursor-pointer",
3757
3757
  { "pb-5": n.error },
3758
3758
  { hidden: n.readonly }
3759
- ])
3759
+ ]),
3760
+ onClick: t[2] || (t[2] = (...o) => a.generateToken && a.generateToken(...o))
3760
3761
  }, [
3761
- he(s, {
3762
- class: "icon-md",
3763
- onClick: a.generateToken
3764
- }, null, 8, ["onClick"])
3762
+ he(s, { class: "icon-md" })
3765
3763
  ], 2),
3766
3764
  n.error ? (K(), fe("div", nj, ze(n.error), 1)) : At("", !0)
3767
3765
  ]);
@@ -6794,10 +6792,6 @@ const vv = /* @__PURE__ */ V2(sV), oV = { class: "flex items-center" }, lV = { c
6794
6792
  }
6795
6793
  }, uV = {
6796
6794
  props: {
6797
- error: {
6798
- type: String,
6799
- default: ""
6800
- },
6801
6795
  radioValue: {
6802
6796
  type: String,
6803
6797
  required: !0
@@ -18655,8 +18649,9 @@ const FU = {
18655
18649
  }
18656
18650
  return (a, s) => (K(), fe("button", {
18657
18651
  class: st([
18658
- "circle-btn std-btn-blue relative",
18652
+ "circle-btn relative",
18659
18653
  { "p-1.5": e.dense },
18654
+ { "std-btn-blue": e.color === "blue" },
18660
18655
  { "std-btn-red": e.color === "red" },
18661
18656
  { "std-btn-green": e.color === "green" }
18662
18657
  ]),
@@ -35495,6 +35490,14 @@ const Lge = /* @__PURE__ */ wr(Cge, [["render", Fge]]), Uge = {
35495
35490
  legend: null
35496
35491
  };
35497
35492
  },
35493
+ watch: {
35494
+ theme: {
35495
+ handler() {
35496
+ this.svg && this.createChart();
35497
+ },
35498
+ immediate: !0
35499
+ }
35500
+ },
35498
35501
  mounted() {
35499
35502
  this.initializeChart(), this.createChart();
35500
35503
  },
@@ -40841,6 +40844,8 @@ const Fye = { class: "col items-center" }, Lye = { class: "text-center" }, Uye =
40841
40844
  const t = e, n = _e(null), r = _e(null);
40842
40845
  dn([() => t.buckets], () => {
40843
40846
  i();
40847
+ }), dn([() => t.theme], () => {
40848
+ i();
40844
40849
  });
40845
40850
  function i() {
40846
40851
  if (!t.buckets) return;
@@ -41118,6 +41123,12 @@ const Oye = /* @__PURE__ */ wr(Iye, [["render", Nye]]), Mye = {
41118
41123
  this.getMaxDepthAndY(this.chartData), this.drawChart();
41119
41124
  },
41120
41125
  deep: !0
41126
+ },
41127
+ theme: {
41128
+ handler(e) {
41129
+ this.svg && (this.svg.selectAll("*").remove(), this.getMaxDepthAndY(this.chartData), this.drawChart());
41130
+ },
41131
+ immediate: !0
41121
41132
  }
41122
41133
  },
41123
41134
  mounted() {
@@ -41935,7 +41946,7 @@ const eke = /* @__PURE__ */ wr($ye, [["render", Kye]]), zye = { class: "w-full s
41935
41946
  }, {
41936
41947
  default: Oe(() => [
41937
41948
  he(J(Q2), {
41938
- class: "w-full text-sm bg-transparent px-2 border-0 outline-none focus:outline-none focus:ring-0",
41949
+ class: "w-full text-sm bg-transparent px-2 pr-10 border-0 outline-none focus:outline-none focus:ring-0",
41939
41950
  onChange: l[0] || (l[0] = (A) => a.value = A.target.value),
41940
41951
  displayValue: (A) => A.label
41941
41952
  }, null, 8, ["displayValue"]),
@@ -42059,7 +42070,7 @@ const eke = /* @__PURE__ */ wr($ye, [["render", Kye]]), zye = { class: "w-full s
42059
42070
  });
42060
42071
  };
42061
42072
  }
42062
- }, vbe = { class: "py-1 px-2 std-white std-white-text" }, ybe = { key: 1 }, bbe = { class: "relative rounded-lg p-4 text-sm leading-6 hover:white-bg-hover hover:dark:dark-bg-hover" }, wbe = { class: "relative row text-sm" }, Bbe = { class: "menu" }, xbe = { class: "menu-button" }, Ake = {
42073
+ }, vbe = { class: "py-1 px-2 std-white std-white-text" }, ybe = { key: 1 }, bbe = { class: "relative rounded-lg p-4 text-sm leading-6 hover:white-bg-hover hover:dark:dark-bg-hover" }, wbe = { class: "relative row text-sm" }, Bbe = { class: "menu hover:opacity-50" }, xbe = { class: "menu-button" }, Ake = {
42063
42074
  __name: "MenuDesktop",
42064
42075
  props: {
42065
42076
  navigation: Array,
@@ -62834,7 +62845,7 @@ function(e) {
62834
62845
  var A = l.getContext("2d");
62835
62846
  A.fillStyle = "#fff", A.fillRect(0, 0, l.width, l.height);
62836
62847
  var u = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
62837
- return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-BL37nGHt.mjs")).catch(function(f) {
62848
+ return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-B6Z5McD1.mjs")).catch(function(f) {
62838
62849
  return Promise.reject(new Error("Could not load canvg: " + f));
62839
62850
  }).then(function(f) {
62840
62851
  return f.default ? f.default : f;
@@ -63847,7 +63858,7 @@ export {
63847
63858
  NJ as Z,
63848
63859
  kr as _,
63849
63860
  NSe as a,
63850
- lke as a$,
63861
+ oke as a$,
63851
63862
  CEe as a0,
63852
63863
  xEe as a1,
63853
63864
  $J as a2,
@@ -63858,94 +63869,95 @@ export {
63858
63869
  UU as a7,
63859
63870
  Tc as a8,
63860
63871
  EEe as a9,
63861
- VEe as aA,
63862
- FU as aB,
63863
- ZSe as aC,
63864
- XSe as aD,
63865
- JSe as aE,
63866
- eEe as aF,
63867
- MZ as aG,
63868
- RM as aH,
63869
- zEe as aI,
63870
- $y as aJ,
63871
- GEe as aK,
63872
- Age as aL,
63873
- hge as aM,
63874
- Ry as aN,
63875
- YEe as aO,
63876
- Lge as aP,
63877
- WEe as aQ,
63878
- JEe as aR,
63879
- Oye as aS,
63880
- eke as aT,
63881
- tke as aU,
63882
- nke as aV,
63883
- rke as aW,
63884
- ike as aX,
63885
- ake as aY,
63886
- ske as aZ,
63887
- oke as a_,
63872
+ jEe as aA,
63873
+ VEe as aB,
63874
+ FU as aC,
63875
+ ZSe as aD,
63876
+ XSe as aE,
63877
+ JSe as aF,
63878
+ eEe as aG,
63879
+ MZ as aH,
63880
+ RM as aI,
63881
+ zEe as aJ,
63882
+ $y as aK,
63883
+ GEe as aL,
63884
+ Age as aM,
63885
+ hge as aN,
63886
+ Ry as aO,
63887
+ YEe as aP,
63888
+ Lge as aQ,
63889
+ WEe as aR,
63890
+ JEe as aS,
63891
+ Oye as aT,
63892
+ eke as aU,
63893
+ tke as aV,
63894
+ nke as aW,
63895
+ rke as aX,
63896
+ ike as aY,
63897
+ ake as aZ,
63898
+ ske as a_,
63888
63899
  KEe as aa,
63889
- kEe as ab,
63890
- xee as ac,
63891
- FEe as ad,
63892
- LEe as ae,
63893
- UEe as af,
63894
- IEe as ag,
63895
- Ele as ah,
63896
- qEe as ai,
63897
- tte as aj,
63898
- ey as ak,
63899
- ua as al,
63900
- yi as am,
63901
- TEe as an,
63902
- NEe as ao,
63903
- vL as ap,
63904
- Ul as aq,
63905
- OEe as ar,
63906
- MEe as as,
63907
- QEe as at,
63908
- DEe as au,
63909
- PEe as av,
63910
- $Ee as aw,
63911
- REe as ax,
63912
- HEe as ay,
63913
- jEe as az,
63900
+ QX as ab,
63901
+ kEe as ac,
63902
+ xee as ad,
63903
+ FEe as ae,
63904
+ LEe as af,
63905
+ UEe as ag,
63906
+ IEe as ah,
63907
+ Ele as ai,
63908
+ qEe as aj,
63909
+ tte as ak,
63910
+ ey as al,
63911
+ ua as am,
63912
+ yi as an,
63913
+ TEe as ao,
63914
+ NEe as ap,
63915
+ vL as aq,
63916
+ Ul as ar,
63917
+ OEe as as,
63918
+ MEe as at,
63919
+ QEe as au,
63920
+ DEe as av,
63921
+ PEe as aw,
63922
+ $Ee as ax,
63923
+ REe as ay,
63924
+ HEe as az,
63914
63925
  kH as b,
63915
- Ake as b0,
63916
- uke as b1,
63917
- cke as b2,
63918
- fke as b3,
63919
- Fbe as b4,
63920
- Lbe as b5,
63921
- Ube as b6,
63922
- Tbe as b7,
63923
- Gwe as b8,
63924
- Ywe as b9,
63925
- Zwe as ba,
63926
- Xwe as bb,
63927
- Jwe as bc,
63928
- i5e as bd,
63929
- a5e as be,
63930
- A5e as bf,
63931
- c5e as bg,
63932
- f5e as bh,
63933
- d5e as bi,
63934
- g5e as bj,
63935
- m5e as bk,
63936
- v5e as bl,
63937
- y5e as bm,
63938
- b5e as bn,
63939
- H5e as bo,
63940
- j5e as bp,
63941
- V5e as bq,
63942
- q5e as br,
63943
- K5e as bs,
63944
- W5e as bt,
63945
- Z5e as bu,
63946
- X5e as bv,
63947
- mke as bw,
63948
- vke as bx,
63926
+ lke as b0,
63927
+ Ake as b1,
63928
+ uke as b2,
63929
+ cke as b3,
63930
+ fke as b4,
63931
+ Fbe as b5,
63932
+ Lbe as b6,
63933
+ Ube as b7,
63934
+ Tbe as b8,
63935
+ Gwe as b9,
63936
+ Ywe as ba,
63937
+ Zwe as bb,
63938
+ Xwe as bc,
63939
+ Jwe as bd,
63940
+ i5e as be,
63941
+ a5e as bf,
63942
+ A5e as bg,
63943
+ c5e as bh,
63944
+ f5e as bi,
63945
+ d5e as bj,
63946
+ g5e as bk,
63947
+ m5e as bl,
63948
+ v5e as bm,
63949
+ y5e as bn,
63950
+ b5e as bo,
63951
+ H5e as bp,
63952
+ j5e as bq,
63953
+ V5e as br,
63954
+ q5e as bs,
63955
+ K5e as bt,
63956
+ W5e as bu,
63957
+ Z5e as bv,
63958
+ X5e as bw,
63959
+ mke as bx,
63960
+ vke as by,
63949
63961
  $i as c,
63950
63962
  OSe as d,
63951
63963
  MSe as e,
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DVmLdvgq.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-bYQpvhTw.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluency-v8-components",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "main": "dist/fluency-v8-components.umd.js",
5
5
  "module": "dist/fluency-v8-components.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,8 +1,9 @@
1
1
  <template>
2
2
  <button
3
3
  :class="[
4
- 'circle-btn std-btn-blue relative',
4
+ 'circle-btn relative',
5
5
  { 'p-1.5': dense },
6
+ { 'std-btn-blue': color === 'blue' },
6
7
  { 'std-btn-red': color === 'red' },
7
8
  { 'std-btn-green': color === 'green' },
8
9
  ]"
@@ -34,6 +34,16 @@ export default {
34
34
  legend: null,
35
35
  };
36
36
  },
37
+ watch: {
38
+ theme: {
39
+ handler() {
40
+ if (this.svg) {
41
+ this.createChart();
42
+ }
43
+ },
44
+ immediate: true,
45
+ },
46
+ },
37
47
  mounted() {
38
48
  this.initializeChart();
39
49
  this.createChart();
@@ -39,6 +39,9 @@ const myplotLegend = ref(null);
39
39
  watch([() => props.buckets], () => {
40
40
  plotGraph();
41
41
  });
42
+ watch([() => props.theme], () => {
43
+ plotGraph();
44
+ });
42
45
 
43
46
  // function defs
44
47
  function plotGraph() {
@@ -176,6 +176,16 @@ export default {
176
176
  },
177
177
  deep: true,
178
178
  },
179
+ theme: {
180
+ handler(newVal) {
181
+ if (this.svg) {
182
+ this.svg.selectAll("*").remove(); // Clear existing SVG content
183
+ this.getMaxDepthAndY(this.chartData);
184
+ this.drawChart();
185
+ }
186
+ },
187
+ immediate: true,
188
+ },
179
189
  },
180
190
  mounted() {
181
191
  this.initializeChart();
@@ -37,7 +37,7 @@
37
37
  <script setup>
38
38
  import { ref, watch } from "vue";
39
39
  import { Dialog, TextButton } from "@/components";
40
- import Stepper from "./wizard/Stepper.vue";
40
+ import Stepper from "../common/Stepper.vue";
41
41
 
42
42
  const props = defineProps({
43
43
  open: Boolean,
@@ -17,10 +17,10 @@
17
17
  { 'pb-5': error },
18
18
  { hidden: readonly },
19
19
  ]"
20
+ @click="generateToken"
20
21
  >
21
22
  <CurrencyDollarIcon
22
23
  class="icon-md"
23
- @click="generateToken"
24
24
  />
25
25
  </span>
26
26
  <div v-if="error" class="std-red-text text-sm">
@@ -16,10 +16,6 @@
16
16
  <script>
17
17
  export default {
18
18
  props: {
19
- error: {
20
- type: String,
21
- default: "",
22
- },
23
19
  radioValue: {
24
20
  type: String,
25
21
  required: true,
@@ -105,6 +105,7 @@ export { default as CodeEditor } from "./common/CodeEditor.vue";
105
105
  export { default as Sort } from "./common/Sort.vue";
106
106
  export { default as Flag } from "./common/Flag.vue";
107
107
  export { default as ThreeHomePanel } from "./common/ThreeHomePanel.vue";
108
+ export { default as Stepper } from "./common/Stepper.vue";
108
109
 
109
110
  // charts
110
111
  export { default as AlertChart } from "./charts/AlertChart.vue";
@@ -6,7 +6,7 @@
6
6
  @update:model-value="emits('update', $event)"
7
7
  >
8
8
  <ComboboxInput
9
- class="w-full text-sm bg-transparent px-2 border-0 outline-none focus:outline-none focus:ring-0"
9
+ class="w-full text-sm bg-transparent px-2 pr-10 border-0 outline-none focus:outline-none focus:ring-0"
10
10
  @change="query = $event.target.value"
11
11
  :displayValue="(option) => option.label"
12
12
  />
@@ -61,7 +61,7 @@
61
61
  </transition>
62
62
  </Menu>
63
63
  <router-link v-else :to="{ name: item.route }">
64
- <div class="menu">
64
+ <div class="menu hover:opacity-50">
65
65
  <div class="menu-button">
66
66
  <component :is="item.icon" class="menu-icon" aria-hidden="true" />
67
67
  {{ item.name }}