@opentiny/vue-search-box 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,30 +1,39 @@
1
- # TinySearchBox comprehensive search
1
+ # TinySearchBox
2
2
 
3
- <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
3
+ TinySearchBox is a comprehensive search component based on Vue3. It uses the TinyVue component library and follows the OpenTiny design specifications. It is easy to use and powerful. It supports single selection, multiple selection, time, time range and so on.
4
4
 
5
- [![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)
5
+ English | [简体中文](README.zh-CN.md)
6
6
 
7
- <!-- ALL-CONTRIBUTORS-BADGE:END -->
7
+ ## Advantages
8
8
 
9
- TinySearchBox is a powerful and easy-to-use comprehensive search component developed based on tiny Vue. Support multiple criteria filtering such as single choice, multiple choice, time, and time interval.
9
+ TinySearchBox has the following advantages:
10
10
 
11
- [English](README.md) | 简体中文
11
+ - Gather the filtering criteria into one input box for higher filtering efficiency and a better user experience
12
+ - Supports multiple types of conditional filtering such as single selection, multiple selection, time, time interval, number size, and number interval
13
+ - Powerful search functions, supporting fuzzy search, custom search, etc.
12
14
 
13
- ## Project advantages
15
+ ![TinySearchBox](TinySearchBox.png)
14
16
 
15
- TinySearchBox has the following characteristics and advantages:
17
+ ## Quick Start
16
18
 
17
- -Contains multiple types of conditional filtering, ready to use out of the box.
18
- -Powerful search function, supporting fuzzy search, single choice, multiple choice, time, time interval, number size, number interval, as well as custom search, etc.
19
-
20
- ## quick start
21
-
22
- install TinySearchBox
19
+ Install TinySearchBox:
23
20
 
24
21
  ```shell
25
22
  npm i @opentiny/vue-search-box
26
23
  ```
27
24
 
25
+ Import TinySearchBox:
26
+
27
+ ```javascript
28
+ import TinySearchBox from '@opentiny/vue-search-box';
29
+ ```
30
+
31
+ Import styles:
32
+
33
+ ```css
34
+ @import '@opentiny/vue-search-box/index.css';
35
+ ```
36
+
28
37
  html:
29
38
 
30
39
  ```html
@@ -81,19 +90,7 @@ html:
81
90
  </template>
82
91
  ```
83
92
 
84
- import styles:
85
-
86
- ```css
87
- @import '@opentiny/vue-search-box/index.css';
88
- ```
89
-
90
- Initialize TinySearchBox:
91
-
92
- ```javascript
93
- import TinySearchBox from '@opentiny/vue-search-box';
94
- ```
95
-
96
- ## Local development
93
+ ## Development
97
94
 
98
95
  ```shell
99
96
  git clone git@github.com:opentiny/tiny-search-box.git
@@ -102,7 +99,7 @@ pnpm i
102
99
  pnpm dev
103
100
  ```
104
101
 
105
- Open a browser to access:[http://localhost:5173/](http://localhost:5173/)
102
+ Open a browser to access:[http://localhost:5173/tiny-search-box/](http://localhost:5173/tiny-search-box/)
106
103
 
107
104
  ## License
108
105
 
package/es/index.es.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import "./index.vue.es.js";
2
+ import { zhCN } from "./utils/zh_CN.es.js";
3
+ import { enUS } from "./utils/en_US.es.js";
2
4
  /* empty css */
3
5
  import "./index.type.es.js";
4
6
  import _sfc_main from "./index.vue.es2.js";
@@ -6,5 +8,7 @@ _sfc_main.install = function(app) {
6
8
  app.component(_sfc_main.name, _sfc_main);
7
9
  };
8
10
  export {
9
- _sfc_main as default
11
+ _sfc_main as default,
12
+ enUS,
13
+ zhCN
10
14
  };
@@ -15,7 +15,7 @@ import TinyPopover from "@opentiny/vue-popover";
15
15
  import TinySelect from "@opentiny/vue-select";
16
16
  import TinyOption from "@opentiny/vue-option";
17
17
  import { iconSearch, iconClose, iconHelpQuery } from "@opentiny/vue-icon";
18
- import locale, { t } from "@opentiny/vue-locale";
18
+ import { t } from "@opentiny/vue-locale";
19
19
  import { useTag } from "./composables/use-tag.es.js";
20
20
  import { useDropdown } from "./composables/use-dropdown.es.js";
21
21
  import { useMatch } from "./composables/use-match.es.js";
@@ -30,9 +30,6 @@ import { showPopover, showDropdown } from "./utils/dropdown.es.js";
30
30
  /* empty css */
31
31
  import { deepClone } from "./utils/clone.es.js";
32
32
  import { format } from "./utils/date.es.js";
33
- import { zhCN } from "./utils/zh_CN.es.js";
34
- import { enUS } from "./utils/en_US.es.js";
35
- import { createI18n } from "vue-i18n";
36
33
  const _hoisted_1 = { class: "tvp-search-box__tag-value" };
37
34
  const _hoisted_2 = {
38
35
  key: 0,
@@ -223,14 +220,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
223
220
  "first-level-select"
224
221
  ],
225
222
  setup(__props, { expose: __expose, emit: __emit }) {
226
- locale.initI18n({
227
- i18n: "zhCN",
228
- createI18n,
229
- messages: {
230
- zhCN: { ...zhCN },
231
- enUS: { ...enUS }
232
- }
233
- });
234
223
  const props = __props;
235
224
  const emits = __emit;
236
225
  const state = reactive({
package/lib/index.cjs.js CHANGED
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  require("./index.vue.cjs.js");
4
+ const zh_CN = require("./utils/zh_CN.cjs.js");
5
+ const en_US = require("./utils/en_US.cjs.js");
4
6
  ;/* empty css */
5
7
  require("./index.type.cjs.js");
6
8
  const index_vue_vue_type_script_setup_true_lang = require("./index.vue.cjs2.js");
7
9
  index_vue_vue_type_script_setup_true_lang.default.install = function(app) {
8
10
  app.component(index_vue_vue_type_script_setup_true_lang.default.name, index_vue_vue_type_script_setup_true_lang.default);
9
11
  };
12
+ exports.zhCN = zh_CN.zhCN;
13
+ exports.enUS = en_US.enUS;
10
14
  exports.default = index_vue_vue_type_script_setup_true_lang.default;
@@ -17,7 +17,7 @@ const TinyPopover = require("@opentiny/vue-popover");
17
17
  const TinySelect = require("@opentiny/vue-select");
18
18
  const TinyOption = require("@opentiny/vue-option");
19
19
  const vueIcon = require("@opentiny/vue-icon");
20
- const locale = require("@opentiny/vue-locale");
20
+ const vueLocale = require("@opentiny/vue-locale");
21
21
  const useTag = require("./composables/use-tag.cjs.js");
22
22
  const useDropdown = require("./composables/use-dropdown.cjs.js");
23
23
  const useMatch = require("./composables/use-match.cjs.js");
@@ -32,9 +32,6 @@ const dropdown = require("./utils/dropdown.cjs.js");
32
32
  ;/* empty css */
33
33
  const clone = require("./utils/clone.cjs.js");
34
34
  const date = require("./utils/date.cjs.js");
35
- const zh_CN = require("./utils/zh_CN.cjs.js");
36
- const en_US = require("./utils/en_US.cjs.js");
37
- const vueI18n = require("vue-i18n");
38
35
  const _hoisted_1 = { class: "tvp-search-box__tag-value" };
39
36
  const _hoisted_2 = {
40
37
  key: 0,
@@ -171,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
171
168
  },
172
169
  emptyPlaceholder: {
173
170
  type: String,
174
- default: locale.t("tvp.tvpSearchbox.defaultPlaceholder")
171
+ default: vueLocale.t("tvp.tvpSearchbox.defaultPlaceholder")
175
172
  },
176
173
  potentialOptions: {
177
174
  type: Object,
@@ -225,14 +222,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
225
222
  "first-level-select"
226
223
  ],
227
224
  setup(__props, { expose: __expose, emit: __emit }) {
228
- locale.initI18n({
229
- i18n: "zhCN",
230
- createI18n: vueI18n.createI18n,
231
- messages: {
232
- zhCN: { ...zh_CN.zhCN },
233
- enUS: { ...en_US.enUS }
234
- }
235
- });
236
225
  const props = __props;
237
226
  const emits = __emit;
238
227
  const state = vue.reactive({
@@ -264,7 +253,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
264
253
  popoverVisible: false,
265
254
  selectValue: "",
266
255
  allTypeAttri: {
267
- label: locale.t("tvp.tvpSearchbox.rulekeyword1"),
256
+ label: vueLocale.t("tvp.tvpSearchbox.rulekeyword1"),
268
257
  field: "tvpKeyword",
269
258
  type: "radio"
270
259
  },
@@ -303,7 +292,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
303
292
  props,
304
293
  emits,
305
294
  state,
306
- t: locale.t,
295
+ t: vueLocale.t,
307
296
  format: date.format
308
297
  });
309
298
  const { deleteTag, clearTag, backspaceDeleteTag } = useTag.useTag({
@@ -314,7 +303,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
314
303
  const { editTag, confirmEditTag, selectPropChange, selectItemIsDisable } = useEdit.useEdit({
315
304
  props,
316
305
  state,
317
- t: locale.t,
306
+ t: vueLocale.t,
318
307
  nextTick: vue.nextTick,
319
308
  format: date.format,
320
309
  emits
@@ -324,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
324
313
  state,
325
314
  emits
326
315
  });
327
- const { placeholder, setPlaceholder } = usePlaceholder.usePlaceholder({ props, state, t: locale.t });
316
+ const { placeholder, setPlaceholder } = usePlaceholder.usePlaceholder({ props, state, t: vueLocale.t });
328
317
  const { selectCheckbox, isIndeterminate, checkAll, isShowClose } = useCheckbox.useCheckbox({
329
318
  props,
330
319
  state,
@@ -338,7 +327,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
338
327
  const { sizeChange, initFormRule } = useNumRange.useNumRange({
339
328
  props,
340
329
  state,
341
- t: locale.t,
330
+ t: vueLocale.t,
342
331
  emits
343
332
  });
344
333
  const { handleConfirm, handleEditConfirm } = useCustom.useCustom({ state, emits });
@@ -488,7 +477,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
488
477
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(state.matchItems, (value, key) => {
489
478
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key }, [
490
479
  value["attr"].length ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
491
- vue.createElementVNode("span", _hoisted_6, vue.toDisplayString(key === "0" ? vue.unref(locale.t)("tvp.tvpSearchbox.attributeType") : key), 1),
480
+ vue.createElementVNode("span", _hoisted_6, vue.toDisplayString(key === "0" ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.attributeType") : key), 1),
492
481
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value["attr"], (item, index) => {
493
482
  return vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), {
494
483
  key: item.label + index,
@@ -511,8 +500,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
511
500
  }), 128))
512
501
  ], 64)) : vue.createCommentVNode("", true),
513
502
  value["attrValue"].length ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
514
- vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.propertyValue", [
515
- key === "0" ? vue.unref(locale.t)("tvp.tvpSearchbox.attributeType") : key
503
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.propertyValue", [
504
+ key === "0" ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.attributeType") : key
516
505
  ])), 1),
517
506
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value["attrValue"], (item, index) => {
518
507
  return vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), {
@@ -540,12 +529,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
540
529
  }), 128)),
541
530
  __props.showNoDataTip && !state.isShowDropdown ? (vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), { key: 0 }, {
542
531
  default: vue.withCtx(() => [
543
- vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.noData")), 1)
532
+ vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.noData")), 1)
544
533
  ]),
545
534
  _: 1
546
535
  })) : vue.createCommentVNode("", true),
547
536
  vue.withDirectives(vue.createElementVNode("div", null, [
548
- vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.matched")), 1),
537
+ vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.matched")), 1),
549
538
  vue.createElementVNode("div", _hoisted_11, [
550
539
  state.potentialOptions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
551
540
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(state.potentialOptions, (item, index) => {
@@ -575,7 +564,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
575
564
  vue.withDirectives(vue.createElementVNode("div", _hoisted_14, [
576
565
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(state.groupItems, (group, key) => {
577
566
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key }, [
578
- group.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(key === "0" ? vue.unref(locale.t)("tvp.tvpSearchbox.attributeType") : key), 1)) : vue.createCommentVNode("", true),
567
+ group.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(key === "0" ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.attributeType") : key), 1)) : vue.createCommentVNode("", true),
579
568
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(group, (item, index) => {
580
569
  return vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), {
581
570
  key: (item.field || item.label) + index,
@@ -600,7 +589,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
600
589
  ]),
601
590
  vue.withDirectives(vue.createElementVNode("div", null, [
602
591
  ((_a = state.currentOperators) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
603
- vue.createElementVNode("span", _hoisted_18, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.operator")), 1),
592
+ vue.createElementVNode("span", _hoisted_18, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.operator")), 1),
604
593
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(state.currentOperators, (item, index) => {
605
594
  return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), {
606
595
  key: item + index,
@@ -661,7 +650,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
661
650
  indeterminate: vue.unref(isIndeterminate)
662
651
  }, {
663
652
  default: vue.withCtx(() => [
664
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.selectAll")), 1)
653
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.selectAll")), 1)
665
654
  ]),
666
655
  _: 1
667
656
  }, 8, ["modelValue", "indeterminate"])
@@ -709,7 +698,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
709
698
  onClick: _cache[5] || (_cache[5] = ($event) => vue.unref(selectCheckbox)(true))
710
699
  }, {
711
700
  default: vue.withCtx(() => [
712
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.confirm")), 1)
701
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.confirm")), 1)
713
702
  ]),
714
703
  _: 1
715
704
  }),
@@ -718,15 +707,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
718
707
  onClick: _cache[6] || (_cache[6] = ($event) => vue.unref(selectCheckbox)(false))
719
708
  }, {
720
709
  default: vue.withCtx(() => [
721
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.cancel")), 1)
710
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.cancel")), 1)
722
711
  ]),
723
712
  _: 1
724
713
  })
725
714
  ])
726
715
  ])) : state.prevItem.type === "numRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_26, [
727
716
  vue.createElementVNode("div", _hoisted_27, [
728
- vue.createElementVNode("div", _hoisted_28, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeNumberTitle")), 1),
729
- vue.createElementVNode("div", _hoisted_29, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.minValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
717
+ vue.createElementVNode("div", _hoisted_28, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeNumberTitle")), 1),
718
+ vue.createElementVNode("div", _hoisted_29, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.minValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
730
719
  vue.createVNode(vue.unref(TinyFormItem), {
731
720
  prop: state.curMinNumVar,
732
721
  class: "tvp-search-box__number-item",
@@ -742,7 +731,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
742
731
  ]),
743
732
  _: 1
744
733
  }, 8, ["prop", "show-message"]),
745
- vue.createElementVNode("div", _hoisted_30, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.maxValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
734
+ vue.createElementVNode("div", _hoisted_30, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.maxValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
746
735
  vue.createVNode(vue.unref(TinyFormItem), {
747
736
  prop: state.curMaxNumVar,
748
737
  class: "tvp-search-box__number-item"
@@ -764,7 +753,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
764
753
  onClick: _cache[9] || (_cache[9] = vue.withModifiers(($event) => vue.unref(sizeChange)(true), ["stop"]))
765
754
  }, {
766
755
  default: vue.withCtx(() => [
767
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.confirm")), 1)
756
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.confirm")), 1)
768
757
  ]),
769
758
  _: 1
770
759
  }),
@@ -773,17 +762,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
773
762
  onClick: _cache[10] || (_cache[10] = ($event) => vue.unref(sizeChange)(false))
774
763
  }, {
775
764
  default: vue.withCtx(() => [
776
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.cancel")), 1)
765
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.cancel")), 1)
777
766
  ]),
778
767
  _: 1
779
768
  })
780
769
  ])
781
770
  ])) : state.prevItem.type === "dateRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_32, [
782
771
  vue.createElementVNode("div", _hoisted_33, [
783
- vue.createElementVNode("div", _hoisted_34, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(locale.t)("tvp.tvpSearchbox.timeLengthTitle", {
772
+ vue.createElementVNode("div", _hoisted_34, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.timeLengthTitle", {
784
773
  value: (state.prevItem.maxTimeLength / 864e5).toFixed(1)
785
- }) : vue.unref(locale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
786
- vue.createElementVNode("div", _hoisted_35, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
774
+ }) : vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
775
+ vue.createElementVNode("div", _hoisted_35, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
787
776
  vue.createVNode(vue.unref(TinyFormItem), {
788
777
  prop: "startDate",
789
778
  "show-message": Boolean(state.prevItem.maxTimeLength),
@@ -803,7 +792,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
803
792
  ]),
804
793
  _: 1
805
794
  }, 8, ["show-message"]),
806
- vue.createElementVNode("div", _hoisted_36, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
795
+ vue.createElementVNode("div", _hoisted_36, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
807
796
  vue.createVNode(vue.unref(TinyFormItem), {
808
797
  prop: "endDate",
809
798
  class: "tvp-search-box__date-item"
@@ -829,7 +818,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
829
818
  onClick: _cache[13] || (_cache[13] = ($event) => vue.unref(onConfirmDate)(true))
830
819
  }, {
831
820
  default: vue.withCtx(() => [
832
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.confirm")), 1)
821
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.confirm")), 1)
833
822
  ]),
834
823
  _: 1
835
824
  }),
@@ -838,17 +827,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
838
827
  onClick: _cache[14] || (_cache[14] = ($event) => vue.unref(onConfirmDate)(false))
839
828
  }, {
840
829
  default: vue.withCtx(() => [
841
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.cancel")), 1)
830
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.cancel")), 1)
842
831
  ]),
843
832
  _: 1
844
833
  })
845
834
  ])
846
835
  ])) : state.prevItem.type === "datetimeRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_38, [
847
836
  vue.createElementVNode("div", _hoisted_39, [
848
- vue.createElementVNode("div", _hoisted_40, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(locale.t)("tvp.tvpSearchbox.timeLengthTitle", {
837
+ vue.createElementVNode("div", _hoisted_40, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.timeLengthTitle", {
849
838
  value: (state.prevItem.maxTimeLength / 864e5).toFixed(1)
850
- }) : vue.unref(locale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
851
- vue.createElementVNode("div", _hoisted_41, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
839
+ }) : vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
840
+ vue.createElementVNode("div", _hoisted_41, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
852
841
  vue.createVNode(vue.unref(TinyFormItem), {
853
842
  prop: "startDateTime",
854
843
  "show-message": Boolean(state.prevItem.maxTimeLength),
@@ -870,7 +859,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
870
859
  ]),
871
860
  _: 1
872
861
  }, 8, ["show-message"]),
873
- vue.createElementVNode("div", _hoisted_42, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
862
+ vue.createElementVNode("div", _hoisted_42, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
874
863
  vue.createVNode(vue.unref(TinyFormItem), {
875
864
  prop: "endDateTime",
876
865
  class: "tvp-search-box__date-item"
@@ -898,7 +887,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
898
887
  onClick: _cache[17] || (_cache[17] = ($event) => vue.unref(onConfirmDate)(true, true))
899
888
  }, {
900
889
  default: vue.withCtx(() => [
901
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.confirm")), 1)
890
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.confirm")), 1)
902
891
  ]),
903
892
  _: 1
904
893
  }),
@@ -907,13 +896,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
907
896
  onClick: _cache[18] || (_cache[18] = ($event) => vue.unref(onConfirmDate)(false, true))
908
897
  }, {
909
898
  default: vue.withCtx(() => [
910
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.cancel")), 1)
899
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.cancel")), 1)
911
900
  ]),
912
901
  _: 1
913
902
  })
914
903
  ])
915
904
  ])) : state.prevItem.type === "map" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_44, [
916
- state.isShowTagKey ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_45, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.tagKey")), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_46, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.tagValue")), 1)),
905
+ state.isShowTagKey ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_45, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.tagKey")), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_46, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.tagValue")), 1)),
917
906
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(state.backupList, (item, index) => {
918
907
  return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), {
919
908
  key: item.label + item.value + index,
@@ -946,7 +935,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
946
935
  ])) : vue.createCommentVNode("", true),
947
936
  __props.showNoDataTip && !state.isShowDropdown ? (vue.openBlock(), vue.createBlock(vue.unref(TinyDropdownItem), { key: 8 }, {
948
937
  default: vue.withCtx(() => [
949
- vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.noData")), 1)
938
+ vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.noData")), 1)
950
939
  ]),
951
940
  _: 1
952
941
  })) : vue.createCommentVNode("", true)
@@ -987,7 +976,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
987
976
  __props.showHelp ? (vue.openBlock(), vue.createBlock(vue.unref(TinyTooltip), {
988
977
  key: 0,
989
978
  effect: "dark",
990
- content: vue.unref(locale.t)("tvp.tvpSearchbox.help"),
979
+ content: vue.unref(vueLocale.t)("tvp.tvpSearchbox.help"),
991
980
  placement: "top"
992
981
  }, {
993
982
  default: vue.withCtx(() => [
@@ -1023,7 +1012,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1023
1012
  default: vue.withCtx(() => [
1024
1013
  state.prevItem.type !== "custom" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
1025
1014
  vue.createElementVNode("div", _hoisted_48, [
1026
- vue.createElementVNode("div", _hoisted_49, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.attributeType")), 1),
1015
+ vue.createElementVNode("div", _hoisted_49, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.attributeType")), 1),
1027
1016
  vue.createVNode(vue.unref(TinyFormItem), { class: "tvp-search-box__number-item" }, {
1028
1017
  default: vue.withCtx(() => [
1029
1018
  vue.createVNode(vue.unref(TinySelect), {
@@ -1035,7 +1024,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1035
1024
  default: vue.withCtx(() => [
1036
1025
  (vue.openBlock(), vue.createBlock(vue.unref(TinyOption), {
1037
1026
  key: state.allTypeAttri.label,
1038
- label: vue.unref(locale.t)("tvp.tvpSearchbox.allProperty"),
1027
+ label: vue.unref(vueLocale.t)("tvp.tvpSearchbox.allProperty"),
1039
1028
  value: state.allTypeAttri.label,
1040
1029
  disabled: vue.unref(selectItemIsDisable)(state.allTypeAttri),
1041
1030
  onClick: _cache[21] || (_cache[21] = ($event) => vue.unref(selectPropChange)(
@@ -1058,7 +1047,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1058
1047
  ]),
1059
1048
  _: 1
1060
1049
  }),
1061
- state.prevItem.operators ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_50, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.operator")), 1)) : vue.createCommentVNode("", true),
1050
+ state.prevItem.operators ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_50, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.operator")), 1)) : vue.createCommentVNode("", true),
1062
1051
  state.prevItem.operators ? (vue.openBlock(), vue.createBlock(vue.unref(TinyFormItem), {
1063
1052
  key: 1,
1064
1053
  class: "tvp-search-box__number-item"
@@ -1082,7 +1071,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1082
1071
  ]),
1083
1072
  _: 1
1084
1073
  })) : vue.createCommentVNode("", true),
1085
- state.prevItem.type !== "numRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_51, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.tagValue")), 1)) : vue.createCommentVNode("", true),
1074
+ state.prevItem.type !== "numRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_51, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.tagValue")), 1)) : vue.createCommentVNode("", true),
1086
1075
  ![
1087
1076
  "numRange",
1088
1077
  "dateRange",
@@ -1128,7 +1117,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1128
1117
  _: 1
1129
1118
  })) : vue.createCommentVNode("", true),
1130
1119
  state.prevItem.type === "numRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_52, [
1131
- vue.createElementVNode("div", _hoisted_53, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.minValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
1120
+ vue.createElementVNode("div", _hoisted_53, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.minValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
1132
1121
  vue.createVNode(vue.unref(TinyFormItem), {
1133
1122
  prop: state.curMinNumVar,
1134
1123
  class: "tvp-search-box__number-item",
@@ -1144,7 +1133,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1144
1133
  ]),
1145
1134
  _: 1
1146
1135
  }, 8, ["prop", "show-message"]),
1147
- vue.createElementVNode("div", _hoisted_54, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.maxValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
1136
+ vue.createElementVNode("div", _hoisted_54, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.maxValueText")) + "(" + vue.toDisplayString(state.prevItem.unit) + ") ", 1),
1148
1137
  vue.createVNode(vue.unref(TinyFormItem), {
1149
1138
  prop: state.curMaxNumVar,
1150
1139
  class: "tvp-search-box__number-item"
@@ -1161,10 +1150,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1161
1150
  }, 8, ["prop"])
1162
1151
  ])) : vue.createCommentVNode("", true),
1163
1152
  state.prevItem.type === "dateRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_55, [
1164
- vue.createElementVNode("div", _hoisted_56, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(locale.t)("tvp.tvpSearchbox.timeLengthTitle", {
1153
+ vue.createElementVNode("div", _hoisted_56, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.timeLengthTitle", {
1165
1154
  value: (state.prevItem.maxTimeLength / 864e5).toFixed(1)
1166
- }) : vue.unref(locale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
1167
- vue.createElementVNode("div", _hoisted_57, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
1155
+ }) : vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
1156
+ vue.createElementVNode("div", _hoisted_57, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
1168
1157
  vue.createVNode(vue.unref(TinyFormItem), {
1169
1158
  prop: "startDate",
1170
1159
  "show-message": Boolean(state.prevItem.maxTimeLength),
@@ -1182,7 +1171,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1182
1171
  ]),
1183
1172
  _: 1
1184
1173
  }, 8, ["show-message"]),
1185
- vue.createElementVNode("div", _hoisted_58, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
1174
+ vue.createElementVNode("div", _hoisted_58, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
1186
1175
  vue.createVNode(vue.unref(TinyFormItem), {
1187
1176
  prop: "endDate",
1188
1177
  class: "tvp-search-box__date-item"
@@ -1201,10 +1190,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1201
1190
  })
1202
1191
  ])) : vue.createCommentVNode("", true),
1203
1192
  state.prevItem.type === "datetimeRange" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_59, [
1204
- vue.createElementVNode("div", _hoisted_60, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(locale.t)("tvp.tvpSearchbox.timeLengthTitle", {
1193
+ vue.createElementVNode("div", _hoisted_60, vue.toDisplayString(state.prevItem.maxTimeLength > 0 ? vue.unref(vueLocale.t)("tvp.tvpSearchbox.timeLengthTitle", {
1205
1194
  value: (state.prevItem.maxTimeLength / 864e5).toFixed(1)
1206
- }) : vue.unref(locale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
1207
- vue.createElementVNode("div", _hoisted_61, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
1195
+ }) : vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeDateTitle")), 1),
1196
+ vue.createElementVNode("div", _hoisted_61, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeBeginLabel")), 1),
1208
1197
  vue.createVNode(vue.unref(TinyFormItem), {
1209
1198
  prop: "startDateTime",
1210
1199
  "show-message": Boolean(state.prevItem.maxTimeLength),
@@ -1224,7 +1213,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1224
1213
  ]),
1225
1214
  _: 1
1226
1215
  }, 8, ["show-message"]),
1227
- vue.createElementVNode("div", _hoisted_62, vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
1216
+ vue.createElementVNode("div", _hoisted_62, vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.rangeEndLabel")), 1),
1228
1217
  vue.createVNode(vue.unref(TinyFormItem), {
1229
1218
  prop: "endDateTime",
1230
1219
  class: "tvp-search-box__date-item"
@@ -1251,7 +1240,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1251
1240
  onClick: _cache[32] || (_cache[32] = ($event) => vue.unref(confirmEditTag)(true))
1252
1241
  }, {
1253
1242
  default: vue.withCtx(() => [
1254
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.confirm")), 1)
1243
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.confirm")), 1)
1255
1244
  ]),
1256
1245
  _: 1
1257
1246
  }),
@@ -1260,7 +1249,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1260
1249
  onClick: _cache[33] || (_cache[33] = ($event) => vue.unref(confirmEditTag)(false))
1261
1250
  }, {
1262
1251
  default: vue.withCtx(() => [
1263
- vue.createTextVNode(vue.toDisplayString(vue.unref(locale.t)("tvp.tvpSearchbox.cancel")), 1)
1252
+ vue.createTextVNode(vue.toDisplayString(vue.unref(vueLocale.t)("tvp.tvpSearchbox.cancel")), 1)
1264
1253
  ]),
1265
1254
  _: 1
1266
1255
  })
package/package.json CHANGED
@@ -1,65 +1,63 @@
1
- {
2
- "name": "@opentiny/vue-search-box",
3
- "version": "0.0.2",
4
- "description": "",
5
- "homepage": "https://github.com/opentiny/tiny-search-box#readme",
6
- "bugs": {
7
- "url": "https://github.com/opentiny/tiny-search-box/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/opentiny/tiny-search-box.git"
12
- },
13
- "license": "MIT",
14
- "author": "",
15
- "type": "module",
16
- "main": "lib/index.cjs.js",
17
- "module": "es/index.es.js",
18
- "types": "types/index.d.ts",
19
- "style": "src/index.less",
20
- "keywords": [
21
- "search",
22
- "comprehensive search",
23
- "opentiny"
24
- ],
25
- "scripts": {
26
- "build": "pnpm build:theme && vite build && node scripts/pre-release.cjs",
27
- "build:theme": "vite build --config vite.config.theme.ts",
28
- "prepublish": "pnpm run build"
29
- },
30
- "peerDependencies": {
31
- "vue": "^3.0.0"
32
- },
33
- "dependencies": {
34
- "@opentiny/vue-button": "^3.21.0",
35
- "@opentiny/vue-checkbox": "^3.21.0",
36
- "@opentiny/vue-checkbox-group": "^3.21.0",
37
- "@opentiny/vue-date-picker": "^3.21.0",
38
- "@opentiny/vue-dropdown": "^3.21.0",
39
- "@opentiny/vue-dropdown-item": "^3.21.0",
40
- "@opentiny/vue-dropdown-menu": "^3.21.0",
41
- "@opentiny/vue-form": "^3.21.0",
42
- "@opentiny/vue-form-item": "^3.21.0",
43
- "@opentiny/vue-icon": "^3.21.0",
44
- "@opentiny/vue-input": "^3.21.0",
45
- "@opentiny/vue-loading": "^3.21.0",
46
- "@opentiny/vue-locale": "^3.21.0",
47
- "@opentiny/vue-option": "^3.21.0",
48
- "@opentiny/vue-popover": "^3.21.0",
49
- "@opentiny/vue-select": "^3.21.0",
50
- "@opentiny/vue-tag": "^3.21.0",
51
- "@opentiny/vue-tooltip": "^3.21.0",
52
- "vue": "^3.0.0",
53
- "vue-i18n": "^11.1.2"
54
- },
55
- "devDependencies": {
56
- "@vitejs/plugin-vue": "^4.0.0",
57
- "commander": "^6.2.0",
58
- "glob": "^11.0.0",
59
- "less": "^4.2.2",
60
- "shelljs": "^0.8.4",
61
- "typescript": "^5.8.2",
62
- "vite": "^6.2.2",
63
- "vite-plugin-dts": "^4.3.0"
64
- }
1
+ {
2
+ "name": "@opentiny/vue-search-box",
3
+ "version": "0.1.0",
4
+ "description": "",
5
+ "homepage": "https://github.com/opentiny/tiny-search-box#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/opentiny/tiny-search-box/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/opentiny/tiny-search-box.git"
12
+ },
13
+ "license": "MIT",
14
+ "author": "",
15
+ "type": "module",
16
+ "main": "lib/index.cjs.js",
17
+ "module": "es/index.es.js",
18
+ "types": "types/index.d.ts",
19
+ "style": "src/index.less",
20
+ "keywords": [
21
+ "search",
22
+ "comprehensive search",
23
+ "opentiny"
24
+ ],
25
+ "peerDependencies": {
26
+ "vue": "^3.0.0"
27
+ },
28
+ "dependencies": {
29
+ "@opentiny/vue-button": "^3.21.0",
30
+ "@opentiny/vue-checkbox": "^3.21.0",
31
+ "@opentiny/vue-checkbox-group": "^3.21.0",
32
+ "@opentiny/vue-date-picker": "^3.21.0",
33
+ "@opentiny/vue-dropdown": "^3.21.0",
34
+ "@opentiny/vue-dropdown-item": "^3.21.0",
35
+ "@opentiny/vue-dropdown-menu": "^3.21.0",
36
+ "@opentiny/vue-form": "^3.21.0",
37
+ "@opentiny/vue-form-item": "^3.21.0",
38
+ "@opentiny/vue-icon": "^3.21.0",
39
+ "@opentiny/vue-input": "^3.21.0",
40
+ "@opentiny/vue-loading": "^3.21.0",
41
+ "@opentiny/vue-locale": "^3.21.0",
42
+ "@opentiny/vue-option": "^3.21.0",
43
+ "@opentiny/vue-popover": "^3.21.0",
44
+ "@opentiny/vue-select": "^3.21.0",
45
+ "@opentiny/vue-tag": "^3.21.0",
46
+ "@opentiny/vue-tooltip": "^3.21.0"
47
+ },
48
+ "devDependencies": {
49
+ "@vitejs/plugin-vue": "^4.0.0",
50
+ "commander": "^6.2.0",
51
+ "glob": "^11.0.0",
52
+ "vue": "^3.0.0",
53
+ "less": "^4.2.2",
54
+ "shelljs": "^0.8.4",
55
+ "typescript": "^5.8.2",
56
+ "vite": "^6.2.2",
57
+ "vite-plugin-dts": "^4.3.0"
58
+ },
59
+ "scripts": {
60
+ "build": "pnpm build:theme && vite build && node scripts/pre-release.cjs",
61
+ "build:theme": "vite build --config vite.config.theme.ts"
62
+ }
65
63
  }