@quidgest/ui 0.14.15 → 0.14.16

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.
@@ -102,17 +102,16 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
102
102
  },
103
103
  [
104
104
  a("input", F({
105
+ id: i(k),
105
106
  ref_key: "fileInput",
106
107
  ref: f,
107
- id: i(k),
108
108
  type: "file",
109
109
  class: "q-file-input__file-input",
110
110
  accept: R.value,
111
111
  required: e.required,
112
112
  readonly: e.readonly,
113
- disabled: e.disabled,
114
- onChange: V
115
- }, l.$attrs), null, 16, K),
113
+ disabled: e.disabled
114
+ }, l.$attrs, { onChange: V }), null, 16, K),
116
115
  !t.value && p.value ? (n(), c("div", Y, [
117
116
  s(
118
117
  i(u),
@@ -168,9 +167,9 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
168
167
  ]),
169
168
  p.value ? (n(), c("div", se, [
170
169
  s(i(b), {
171
- onClick: B,
172
170
  title: e.texts.download,
173
- borderless: ""
171
+ borderless: "",
172
+ onClick: B
174
173
  }, {
175
174
  default: _(() => [
176
175
  s(
@@ -185,9 +184,9 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
185
184
  /* STABLE */
186
185
  }, 8, ["title"]),
187
186
  s(i(b), {
188
- onClick: D,
189
187
  title: e.texts.remove,
190
- borderless: ""
188
+ borderless: "",
189
+ onClick: D
191
190
  }, {
192
191
  default: _(() => [
193
192
  s(
@@ -1 +1 @@
1
- {"version":3,"file":"InlineSvg.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/InlineSvg.js"],"names":[],"mappings":";IAoCE;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASF,uBAAuB;iBAAb,UAAU;;;;;IAwCrB;;;OAGG;mBADQ,MAAM;IAoCjB;;;;OAIG;kBAFQ,MAAM,GACJ,gBAAgB,CAAC,OAAO,CAAC;;;;;;IA9HtC;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"InlineSvg.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/InlineSvg.js"],"names":[],"mappings":";IAWE;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAeF,uBAAuB;iBAAb,UAAU;;;;;IA+CrB;;;OAGG;mBADQ,MAAM;IAoCjB;;;;OAIG;kBAFQ,MAAM,GACJ,gBAAgB,CAAC,OAAO,CAAC;;;;;;IA3ItC;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -1,19 +1,7 @@
1
1
  import { defineComponent as a, h as s } from "vue";
2
2
  const o = {}, h = a({
3
3
  name: "InlineSvg",
4
- emits: {
5
- loaded: (t) => typeof t == "object",
6
- unloaded: () => !0,
7
- error: (t) => typeof t == "object"
8
- },
9
4
  inheritAttrs: !1,
10
- render() {
11
- if (!this.svgElSource) return null;
12
- const t = this.getSvgContent(this.svgElSource);
13
- if (!t) return s("div", this.$attrs);
14
- const e = {};
15
- return this.copySvgAttrs(e, this.svgElSource), this.copySvgAttrs(e, t), this.copyComponentAttrs(e, this.$attrs), e.innerHTML = t.innerHTML, s("svg", e);
16
- },
17
5
  props: {
18
6
  /**
19
7
  * The source URL of the SVG bundle.
@@ -53,12 +41,22 @@ const o = {}, h = a({
53
41
  default: !0
54
42
  }
55
43
  },
44
+ emits: {
45
+ loaded: (t) => typeof t == "object",
46
+ unloaded: () => !0,
47
+ error: (t) => typeof t == "object"
48
+ },
56
49
  data() {
57
50
  return {
58
51
  /** @type SVGElement */
59
52
  svgElSource: null
60
53
  };
61
54
  },
55
+ watch: {
56
+ src(t) {
57
+ this.getSource(t);
58
+ }
59
+ },
62
60
  async mounted() {
63
61
  await this.getSource(this.src);
64
62
  },
@@ -100,10 +98,12 @@ const o = {}, h = a({
100
98
  return i;
101
99
  }
102
100
  },
103
- watch: {
104
- src(t) {
105
- this.getSource(t);
106
- }
101
+ render() {
102
+ if (!this.svgElSource) return null;
103
+ const t = this.getSvgContent(this.svgElSource);
104
+ if (!t) return s("div", this.$attrs);
105
+ const e = {};
106
+ return this.copySvgAttrs(e, this.svgElSource), this.copySvgAttrs(e, t), this.copyComponentAttrs(e, this.$attrs), e.innerHTML = t.innerHTML, s("svg", e);
107
107
  },
108
108
  expose: []
109
109
  });
@@ -29,9 +29,9 @@ const k = {
29
29
  setup(a) {
30
30
  const e = a, r = u(a, "modelValue");
31
31
  return (o, n) => (t(), h(f(b), {
32
+ id: e.id,
32
33
  modelValue: r.value,
33
34
  "onUpdate:modelValue": n[0] || (n[0] = (c) => r.value = c),
34
- id: e.id,
35
35
  class: y(["q-popover", e.class]),
36
36
  trigger: "click",
37
37
  anchor: e.anchor,
@@ -66,7 +66,7 @@ const k = {
66
66
  ]),
67
67
  _: 3
68
68
  /* FORWARDED */
69
- }, 8, ["modelValue", "id", "class", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
69
+ }, 8, ["id", "modelValue", "class", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
70
70
  }
71
71
  });
72
72
  export {
@@ -54,9 +54,9 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
54
54
  props: { "aria-describedby": r(n) }
55
55
  }),
56
56
  w(r(H), {
57
+ id: r(n),
57
58
  modelValue: d.value,
58
59
  "onUpdate:modelValue": t[0] || (t[0] = (b) => d.value = b),
59
- id: r(n),
60
60
  anchor: e.anchor,
61
61
  role: "tooltip",
62
62
  "non-modal": "",
@@ -99,7 +99,7 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
99
99
  ]),
100
100
  _: 3
101
101
  /* FORWARDED */
102
- }, 8, ["modelValue", "id", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
102
+ }, 8, ["id", "modelValue", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
103
103
  ],
104
104
  64
105
105
  /* STABLE_FRAGMENT */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.14.15",
4
+ "version": "0.14.16",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",