@otwb/ui 2.0.13 → 2.0.15

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 +1 @@
1
- # @otwb/ui
1
+ # @otwb/ui
package/auto-imports.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- export declare const UIDirectives: {
2
- type: 'directive'
3
- resolve: (name: string) => string | undefined
4
- }[]
5
-
6
- export declare const UIComponents: {
7
- type: 'component'
8
- resolve: (name: string) => string | undefined
9
- }[]
10
-
11
- export declare const UI: {
12
- from: string
13
- imports: (string | { name: string, type: boolean })[]
14
- }[]
15
- export default UI
1
+ export declare const UIDirectives: {
2
+ type: 'directive'
3
+ resolve: (name: string) => string | undefined
4
+ }[]
5
+
6
+ export declare const UIComponents: {
7
+ type: 'component'
8
+ resolve: (name: string) => string | undefined
9
+ }[]
10
+
11
+ export declare const UI: {
12
+ from: string
13
+ imports: (string | { name: string, type: boolean })[]
14
+ }[]
15
+ export default UI
package/auto-imports.js CHANGED
@@ -1,34 +1,34 @@
1
- export const UIDirectives = [
2
- {
3
- type: 'directive',
4
- resolve(name) {
5
- return ['Spin', 'Tooltip'].includes(name)
6
- ? { name: `v${name}`, from: '@otwb/ui/directives' }
7
- : undefined
8
- },
9
- },
10
- ]
11
-
12
- export const UIComponents = [
13
- {
14
- type: 'component',
15
- resolve(name) {
16
- return ['DataTable', 'DataForm', 'DataCustom', 'DataFilter', 'DataSelection', 'DataPagination'].includes(name)
17
- ? { name, from: '@otwb/ui/components' }
18
- : undefined
19
- },
20
- },
21
- ]
22
-
23
- export const UI = [
24
- {
25
- from: '@otwb/ui/directives',
26
- imports: ['vSpin', 'vTooltip'],
27
- },
28
- {
29
- from: '@otwb/ui/components',
30
- imports: ['DataTable', 'DataForm', 'DataCustom', 'DataFilter', 'DataSelection', 'DataPagination'],
31
- },
32
- ]
33
-
34
- export default UI
1
+ export const UIDirectives = [
2
+ {
3
+ type: 'directive',
4
+ resolve(name) {
5
+ return ['Spin', 'Tooltip'].includes(name)
6
+ ? { name: `v${name}`, from: '@otwb/ui/directives' }
7
+ : undefined
8
+ },
9
+ },
10
+ ]
11
+
12
+ export const UIComponents = [
13
+ {
14
+ type: 'component',
15
+ resolve(name) {
16
+ return ['DataTable', 'DataForm', 'DataCustom', 'DataFilter', 'DataSelection', 'DataPagination'].includes(name)
17
+ ? { name, from: '@otwb/ui/components' }
18
+ : undefined
19
+ },
20
+ },
21
+ ]
22
+
23
+ export const UI = [
24
+ {
25
+ from: '@otwb/ui/directives',
26
+ imports: ['vSpin', 'vTooltip'],
27
+ },
28
+ {
29
+ from: '@otwb/ui/components',
30
+ imports: ['DataTable', 'DataForm', 'DataCustom', 'DataFilter', 'DataSelection', 'DataPagination'],
31
+ },
32
+ ]
33
+
34
+ export default UI
@@ -1530,6 +1530,7 @@ const DtUserDept = /* @__PURE__ */ defineComponent({
1530
1530
  options: e,
1531
1531
  multiple: b.multiple,
1532
1532
  size: b.size,
1533
+ clearable: !0,
1533
1534
  placeholder: b.placeholder,
1534
1535
  disabled: b.disabled || void 0,
1535
1536
  value: b.modelValue,
@@ -1,5 +1,5 @@
1
1
  import "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-mcRUKEL_.js";
4
+ import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-Da6YLAnC.js";
5
5
  export { DataActions, DataCustom, DataFilter, DataForm, DataLocaleInput, DataPagination, DataSelection, DataTable, DtDeptRender, DtUserDept, DtUserRender, NCheckboxes, NRadios, renderUsers, useDataTableDrag, useLocaleEdit };
package/dist/page.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { n as useI18n } from "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-mcRUKEL_.js";
4
+ import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-Da6YLAnC.js";
5
5
  import { computed, createVNode, defineComponent, h, isVNode, mergeProps, nextTick, ref, shallowRef, unref } from "vue";
6
6
  import { until } from "@vueuse/core";
7
7
  import { NButton, NCheckbox, NColorPicker, NDatePicker, NDrawer, NDrawerContent, NFlex, NInput, NInputNumber, NModal, NScrollbar, NSelect, NText, NUpload, useMessage } from "ithinkdt-ui";