@pubinfo/core 2.1.10-beta.1 → 2.1.10

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.
Files changed (83) hide show
  1. package/dist/{AppSetting-Dl8pVkN4.js → AppSetting-7jlhUzze.js} +42 -42
  2. package/dist/{HButton-CzYSwI6a.js → HButton-Dt6qGhhR.js} +7 -7
  3. package/dist/{HCheckList-CHR-lWIq.js → HCheckList-cPBgATmv.js} +15 -15
  4. package/dist/{HDivider-CXS9rl4C.js → HDivider-BwvBr5OE.js} +3 -3
  5. package/dist/{HInput-CSVwTg1Q.js → HInput-KJ5nFBpF.js} +10 -10
  6. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  7. package/dist/{HToggle-C_iVIpxv.js → HToggle-Ce_2-yhZ.js} +8 -8
  8. package/dist/{HTooltip-BHBHfrCD.js → HTooltip-DjAU-Evn.js} +6 -6
  9. package/dist/PreferencesContent-BAIH81yS.js +701 -0
  10. package/dist/SettingBreadcrumb-O9-PhAFT.js +45 -0
  11. package/dist/SettingCopyright-DIKsWTuf.js +45 -0
  12. package/dist/{SettingEnableTransition-BBH52KKl.js → SettingEnableTransition-61O7W00b.js} +19 -19
  13. package/dist/SettingHome-Sv65TPH8.js +31 -0
  14. package/dist/SettingMenu-BvwJOUZV.js +111 -0
  15. package/dist/{SettingMode-BwhhUYlz.js → SettingMode-B8H_eQc8.js} +14 -14
  16. package/dist/SettingNavSearch-BHsmYBA7.js +31 -0
  17. package/dist/SettingOther-CyyNnaDX.js +48 -0
  18. package/dist/SettingPage-B82lW41P.js +22 -0
  19. package/dist/{SettingTabbar-DuqQVRnz.js → SettingTabbar-Bky2xvH-.js} +58 -58
  20. package/dist/{SettingThemes-Doo6Ax3u.js → SettingThemes-CkdzS1xt.js} +44 -44
  21. package/dist/SettingToolbar-CD4qns1J.js +50 -0
  22. package/dist/SettingTopbar-1shjoe3s.js +49 -0
  23. package/dist/{SettingWidthMode-VaN0CrBa.js → SettingWidthMode-DlG6lXjA.js} +14 -14
  24. package/dist/auth-BLGKOyc5.js +4432 -0
  25. package/dist/{change-organization-OjxZhWST.js → change-organization-hsqeSzDu.js} +38 -38
  26. package/dist/{change-password-B6kO54-d.js → change-password-EtccCDRX.js} +73 -73
  27. package/dist/{chunk-EsrJ1IKw.js → chunk-CD4vhpVs.js} +3 -3
  28. package/dist/{components-DVIyiEVI.js → components-DFNyaAb9.js} +1584 -1584
  29. package/dist/core/request.d.ts +1 -1
  30. package/dist/core-DJIGzMMM.js +4885 -0
  31. package/dist/dist-7OjQvlya.js +468 -0
  32. package/dist/engine-oniguruma-CaNXwGSv.js +243 -0
  33. package/dist/features/settings/index.d.ts +90 -1
  34. package/dist/{form-EQ9eL9hv.js → form-C3VHofnN.js} +923 -443
  35. package/dist/index.js +4401 -3895
  36. package/dist/{modal-CSWipFvB.js → modal-Bl5xHbxa.js} +15510 -15790
  37. package/dist/{not-found-DBe-djEg.js → not-found-BCjngLzt.js} +19 -19
  38. package/dist/{not-permission-DQzWCpOK.js → not-permission-C26vTMvf.js} +19 -19
  39. package/dist/{profile-DJ3gpjsS.js → profile-BVXIFuBG.js} +3340 -3277
  40. package/dist/{question-line-BKVlJGUb.js → question-line-BG__Ycfv.js} +2 -2
  41. package/dist/{reload-DAR8dVYw.js → reload-DHx5Vwus.js} +4 -4
  42. package/dist/{right-VKgVtqD5.js → right-BxBlFUwj.js} +6 -6
  43. package/dist/style.css +1 -1
  44. package/dist/{tree-select-CTjWj5WT.js → tree-select-B8cTcGLa.js} +2575 -2256
  45. package/dist/watchDiff-CPZFtaOC.js +655 -0
  46. package/package.json +41 -41
  47. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
  48. package/src/built-in/layout-component/composables/useLayoutVisible.ts +1 -1
  49. package/src/built-in/system-info/components/SystemInfo.vue +68 -66
  50. package/src/built-in/system-info/index.ts +4 -4
  51. package/src/core/ctx.ts +2 -2
  52. package/src/core/request.ts +1 -1
  53. package/src/features/components/PubinfoApp/index.vue +1 -0
  54. package/types/auto-imports.d.ts +63 -63
  55. package/types/components.d.ts +45 -1
  56. package/dist/HSlideover-Bc6OHPHe.js +0 -1695
  57. package/dist/HeaderFullMenu-BRhGliRJ.js +0 -6
  58. package/dist/HeaderFullMenu-DCF-gTCZ.js +0 -249
  59. package/dist/HeaderThinMenu-B_7vLcQX.js +0 -6
  60. package/dist/HeaderThinMenu-PA12XAvb.js +0 -437
  61. package/dist/PreferencesContent-cll4nwwl.js +0 -695
  62. package/dist/SettingBreadcrumb-BvSc7VUo.js +0 -45
  63. package/dist/SettingCopyright-DcWLKM5d.js +0 -45
  64. package/dist/SettingHome-Cd43oJmB.js +0 -31
  65. package/dist/SettingMenu-CJsN4F1l.js +0 -111
  66. package/dist/SettingNavSearch-BhHUWem3.js +0 -31
  67. package/dist/SettingOther-CDY0jSVT.js +0 -48
  68. package/dist/SettingPage-B0WNvUlj.js +0 -22
  69. package/dist/SettingToolbar-CHV_dVJ9.js +0 -50
  70. package/dist/SettingTopbar-CF1K_XIt.js +0 -49
  71. package/dist/auth-CPSkJwBz.js +0 -3968
  72. package/dist/core-Bg2PEcZK.js +0 -4884
  73. package/dist/dist-DAb-7mqe.js +0 -468
  74. package/dist/engine-oniguruma-CUfGsBrF.js +0 -243
  75. package/dist/overlayscrollbars-vue-BOGU2FK-.js +0 -1436
  76. package/dist/pick-C42gkI1h.js +0 -10
  77. package/dist/watchDiff-C4eGkl9e.js +0 -397
  78. /package/dist/{_plugin-vue_export-helper-DaPiLSxE.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
  79. /package/dist/{json-S7wVLDnW.js → json-Bu_Zprin.js} +0 -0
  80. /package/dist/{useContext-D6pJCZez.js → useContext-DLtu9F7E.js} +0 -0
  81. /package/dist/{vitesse-dark-BsnBIHGG.js → vitesse-dark-CTe40QT_.js} +0 -0
  82. /package/dist/{vitesse-light-Cs_6DF7j.js → vitesse-light-BWXC_WeB.js} +0 -0
  83. /package/dist/{wasm-EvDQvzqp.js → wasm-2zDVqo-C.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { n as useClipboard } from "./dist-DAb-7mqe.js";
2
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-DaPiLSxE.js";
3
- import { n as useContext } from "./useContext-D6pJCZez.js";
4
- import { t as HButton_default } from "./HButton-CzYSwI6a.js";
5
- import { t as HSlideover_default } from "./HSlideover-Bc6OHPHe.js";
1
+ import { n as useClipboard } from "./dist-7OjQvlya.js";
2
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
3
+ import { n as useContext } from "./useContext-DLtu9F7E.js";
4
+ import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
5
+ import { t as HSlideover_default } from "./HSlideover-DVQDc9q6.js";
6
6
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, markRaw, openBlock, renderList, resolveComponent, resolveDynamicComponent, unref, useModel, watch, withCtx } from "vue";
7
7
  import { useRoute } from "vue-router";
8
8
  import Message from "vue-m-message";
@@ -11,8 +11,8 @@ var _hoisted_1$1 = {
11
11
  width: "1.2em",
12
12
  height: "1.2em"
13
13
  };
14
- function render$1(r, x) {
15
- return openBlock(), createElementBlock("svg", _hoisted_1$1, [...x[0] ||= [createElementVNode("path", {
14
+ function render$1(e, t) {
15
+ return openBlock(), createElementBlock("svg", _hoisted_1$1, [...t[0] ||= [createElementVNode("path", {
16
16
  fill: "currentColor",
17
17
  d: "M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"
18
18
  }, null, -1)]]);
@@ -23,20 +23,20 @@ var document_copy_default = markRaw({
23
23
  }), _hoisted_1 = { class: "settong-warp" }, AppSetting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
24
24
  name: "AppSetting",
25
25
  components: {
26
- SettingThemes: defineAsyncComponent(() => import("./SettingThemes-Doo6Ax3u.js")),
27
- SettingsMode: defineAsyncComponent(() => import("./SettingMode-BwhhUYlz.js")),
28
- SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-VaN0CrBa.js")),
29
- SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-BBH52KKl.js")),
30
- SettingMenu: defineAsyncComponent(() => import("./SettingMenu-CJsN4F1l.js")),
31
- SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-CF1K_XIt.js")),
32
- SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-DuqQVRnz.js")),
33
- SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-CHV_dVJ9.js")),
34
- SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-BvSc7VUo.js")),
35
- SettingPage: defineAsyncComponent(() => import("./SettingPage-B0WNvUlj.js")),
36
- SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-BhHUWem3.js")),
37
- SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-DcWLKM5d.js")),
38
- SettingHome: defineAsyncComponent(() => import("./SettingHome-Cd43oJmB.js")),
39
- SettingOther: defineAsyncComponent(() => import("./SettingOther-CDY0jSVT.js"))
26
+ SettingThemes: defineAsyncComponent(() => import("./SettingThemes-CkdzS1xt.js")),
27
+ SettingsMode: defineAsyncComponent(() => import("./SettingMode-B8H_eQc8.js")),
28
+ SettingWidthMode: defineAsyncComponent(() => import("./SettingWidthMode-DlG6lXjA.js")),
29
+ SettingEnableTransition: defineAsyncComponent(() => import("./SettingEnableTransition-61O7W00b.js")),
30
+ SettingMenu: defineAsyncComponent(() => import("./SettingMenu-BvwJOUZV.js")),
31
+ SettingTopbar: defineAsyncComponent(() => import("./SettingTopbar-1shjoe3s.js")),
32
+ SettingTabbar: defineAsyncComponent(() => import("./SettingTabbar-Bky2xvH-.js")),
33
+ SettingToolbar: defineAsyncComponent(() => import("./SettingToolbar-CD4qns1J.js")),
34
+ SettingBreadcrumb: defineAsyncComponent(() => import("./SettingBreadcrumb-O9-PhAFT.js")),
35
+ SettingPage: defineAsyncComponent(() => import("./SettingPage-B82lW41P.js")),
36
+ SettingNavSearch: defineAsyncComponent(() => import("./SettingNavSearch-BHsmYBA7.js")),
37
+ SettingCopyright: defineAsyncComponent(() => import("./SettingCopyright-DIKsWTuf.js")),
38
+ SettingHome: defineAsyncComponent(() => import("./SettingHome-Sv65TPH8.js")),
39
+ SettingOther: defineAsyncComponent(() => import("./SettingOther-CyyNnaDX.js"))
40
40
  },
41
41
  __name: "AppSetting",
42
42
  props: {
@@ -44,8 +44,8 @@ var document_copy_default = markRaw({
44
44
  openModifiers: {}
45
45
  },
46
46
  emits: ["update:open"],
47
- setup(x) {
48
- let w = useModel(x, "open"), T = useRoute(), { settingsStore: E, menuStore: D } = useContext(), O = computed(() => E.mode !== "pc"), k = computed(() => P([
47
+ setup(t) {
48
+ let i = useModel(t, "open"), a = useRoute(), { settingsStore: o, menuStore: s } = useContext(), c = computed(() => o.mode !== "pc"), l = computed(() => m([
49
49
  "SettingThemes",
50
50
  "SettingsMode",
51
51
  "SettingWidthMode",
@@ -66,35 +66,35 @@ var document_copy_default = markRaw({
66
66
  "SettingEnableTransition",
67
67
  "SettingBreadcrumb"
68
68
  ]));
69
- watch(() => E.settings.menu.menuMode, (r) => {
70
- r === "single" ? D.setActived(0) : D.setActived(T.fullPath);
69
+ watch(() => o.settings.menu.menuMode, (e) => {
70
+ e === "single" ? s.setActived(0) : s.setActived(a.fullPath);
71
71
  });
72
- let { copy: A, copied: j, isSupported: M } = useClipboard();
73
- watch(j, (r) => {
74
- r && Message.success("复制成功,请粘贴到 src/settings.ts 文件中!", { zIndex: 2e3 });
72
+ let { copy: u, copied: d, isSupported: f } = useClipboard();
73
+ watch(d, (e) => {
74
+ e && Message.success("复制成功,请粘贴到 src/settings.ts 文件中!", { zIndex: 2e3 });
75
75
  });
76
- function N() {
77
- A(JSON.stringify(E.settings, null, 2));
76
+ function p() {
77
+ u(JSON.stringify(o.settings, null, 2));
78
78
  }
79
- function P(r, x) {
80
- return r.filter((r) => O.value ? !x.includes(r) : r);
79
+ function m(e, t) {
80
+ return e.filter((e) => c.value ? !t.includes(e) : e);
81
81
  }
82
- return (r, x) => {
83
- let S = HButton_default, C = HSlideover_default;
84
- return openBlock(), createBlock(C, {
85
- modelValue: w.value,
86
- "onUpdate:modelValue": x[0] ||= (r) => w.value = r,
82
+ return (e, t) => {
83
+ let n = HButton_default, r = HSlideover_default;
84
+ return openBlock(), createBlock(r, {
85
+ modelValue: i.value,
86
+ "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
87
87
  title: "应用配置"
88
88
  }, createSlots({
89
- default: withCtx(() => [createElementVNode("div", _hoisted_1, [x[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(k), (r) => (openBlock(), createBlock(resolveDynamicComponent(r), { key: r }))), 128))])]),
89
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [t[1] ||= createElementVNode("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [createElementVNode("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "), createElementVNode("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")], -1), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(l), (e) => (openBlock(), createBlock(resolveDynamicComponent(e), { key: e }))), 128))])]),
90
90
  _: 2
91
- }, [unref(M) ? {
91
+ }, [unref(f) ? {
92
92
  name: "footer",
93
- fn: withCtx(() => [createVNode(S, {
93
+ fn: withCtx(() => [createVNode(n, {
94
94
  block: "",
95
- onClick: N
95
+ onClick: p
96
96
  }, {
97
- default: withCtx(() => [createVNode(unref(document_copy_default)), x[2] ||= createTextVNode(" 复制配置 ", -1)]),
97
+ default: withCtx(() => [createVNode(unref(document_copy_default)), t[2] ||= createTextVNode(" 复制配置 ", -1)]),
98
98
  _: 1
99
99
  })]),
100
100
  key: "0"
@@ -15,15 +15,15 @@ var _hoisted_1 = ["disabled"], HButton_default = /* @__PURE__ */ defineComponent
15
15
  default: !1
16
16
  }
17
17
  },
18
- setup(s) {
19
- let c = s, l = computed(() => [
18
+ setup(t) {
19
+ let n = t, r = computed(() => [
20
20
  "focus:outline-none focus-visible:outline-0 cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",
21
- c.block ? "w-full flex justify-center items-center" : "inline-flex items-center",
22
- c.outline ? "shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark:bg-dark hover:not-disabled:bg-ui-primary/10 dark:hover:not-disabled:bg-ui-primary/10 focus-visible:ring-2" : "shadow-sm text-ui-text bg-ui-primary hover:bg-ui-primary/75 disabled:bg-ui-primary/90 focus-visible:ring-inset focus-visible:ring-2"
21
+ n.block ? "w-full flex justify-center items-center" : "inline-flex items-center",
22
+ n.outline ? "shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark:bg-dark hover:not-disabled:bg-ui-primary/10 dark:hover:not-disabled:bg-ui-primary/10 focus-visible:ring-2" : "shadow-sm text-ui-text bg-ui-primary hover:bg-ui-primary/75 disabled:bg-ui-primary/90 focus-visible:ring-inset focus-visible:ring-2"
23
23
  ]);
24
- return (e, c) => (openBlock(), createElementBlock("button", {
25
- disabled: s.disabled,
26
- class: normalizeClass(unref(l))
24
+ return (e, n) => (openBlock(), createElementBlock("button", {
25
+ disabled: t.disabled,
26
+ class: normalizeClass(unref(r))
27
27
  }, [renderSlot(e.$slots, "default")], 10, _hoisted_1));
28
28
  }
29
29
  });
@@ -1,4 +1,4 @@
1
- import { a as PubinfoIcon_default } from "./components-DVIyiEVI.js";
1
+ import { a as PubinfoIcon_default } from "./components-DFNyaAb9.js";
2
2
  import { Fragment, createBlock, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref, watch } from "vue";
3
3
  var _hoisted_1 = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, _hoisted_2 = ["disabled", "onClick"], HCheckList_default = /* @__PURE__ */ defineComponent({
4
4
  __name: "HCheckList",
@@ -11,23 +11,23 @@ var _hoisted_1 = { class: "inline-flex select-none items-center justify-center o
11
11
  }
12
12
  },
13
13
  emits: ["update:modelValue", "change"],
14
- setup(d, { emit: m }) {
15
- let h = d, g = m;
16
- watch(() => h.modelValue, (e) => {
17
- g("change", e);
14
+ setup(t, { emit: i }) {
15
+ let a = t, o = i;
16
+ watch(() => a.modelValue, (e) => {
17
+ o("change", e);
18
18
  });
19
- function _(e) {
20
- g("update:modelValue", e);
19
+ function s(e) {
20
+ o("update:modelValue", e);
21
21
  }
22
- return (p, m) => (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(!0), createElementBlock(Fragment, null, renderList(d.options, (f) => (openBlock(), createElementBlock("button", {
23
- key: f.value,
24
- disabled: d.disabled || f.disabled,
25
- class: normalizeClass(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)", { "text-ui-text bg-ui-primary": d.modelValue === f.value }]),
26
- onClick: (e) => _(f.value)
27
- }, [f.icon ? (openBlock(), createBlock(unref(PubinfoIcon_default), {
22
+ return (r, i) => (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(!0), createElementBlock(Fragment, null, renderList(t.options, (n) => (openBlock(), createElementBlock("button", {
23
+ key: n.value,
24
+ disabled: t.disabled || n.disabled,
25
+ class: normalizeClass(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)", { "text-ui-text bg-ui-primary": t.modelValue === n.value }]),
26
+ onClick: (e) => s(n.value)
27
+ }, [n.icon ? (openBlock(), createBlock(unref(PubinfoIcon_default), {
28
28
  key: 0,
29
- name: f.icon
30
- }, null, 8, ["name"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(f.label), 1)], 64))], 10, _hoisted_2))), 128))]));
29
+ name: n.icon
30
+ }, null, 8, ["name"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(n.label), 1)], 64))], 10, _hoisted_2))), 128))]));
31
31
  }
32
32
  });
33
33
  export { HCheckList_default as t };
@@ -3,9 +3,9 @@ var _hoisted_1 = { "w-full": "" }, _hoisted_2 = { class: "flex items-center just
3
3
  name: "HDivider",
4
4
  __name: "HDivider",
5
5
  props: { title: {} },
6
- setup(c) {
7
- let l = c;
8
- return (c, u) => (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, toDisplayString(l.title), 1)]), renderSlot(c.$slots, "default")]));
6
+ setup(e) {
7
+ let t = e;
8
+ return (e, n) => (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, toDisplayString(t.title), 1)]), renderSlot(e.$slots, "default")]));
9
9
  }
10
10
  });
11
11
  export { HDivider_default as t };
@@ -14,20 +14,20 @@ var _hoisted_1 = { class: "relative w-full lg:w-48" }, _hoisted_2 = [
14
14
  }
15
15
  },
16
16
  emits: ["update:modelValue"],
17
- setup(a, { expose: s, emit: c }) {
18
- let l = c, u = ref();
19
- function d(e) {
20
- l("update:modelValue", e.target.value);
17
+ setup(t, { expose: r, emit: i }) {
18
+ let a = i, o = ref();
19
+ function s(e) {
20
+ a("update:modelValue", e.target.value);
21
21
  }
22
- return s({ ref: u }), (o, s) => (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("input", {
22
+ return r({ ref: o }), (n, r) => (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("input", {
23
23
  ref_key: "inputRef",
24
- ref: u,
24
+ ref: o,
25
25
  type: "text",
26
- value: a.modelValue,
27
- placeholder: a.placeholder,
28
- disabled: a.disabled,
26
+ value: t.modelValue,
27
+ placeholder: t.placeholder,
28
+ disabled: t.disabled,
29
29
  class: "relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled:cursor-not-allowed dark:bg-dark disabled:opacity-50 focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary placeholder-stone-4 dark:placeholder-stone-5",
30
- onInput: d
30
+ onInput: s
31
31
  }, null, 40, _hoisted_2)]));
32
32
  }
33
33
  });