yahee-components 0.0.63 → 0.0.65

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.
@@ -1,13 +1,13 @@
1
- import { defineComponent as l, createElementBlock as a, openBlock as m, createVNode as e, unref as o, withCtx as t, createElementVNode as i, renderSlot as f } from "vue";
2
- import { ElTooltip as u, ElIcon as d, ElMessage as _ } from "element-plus";
1
+ import { defineComponent as a, createElementBlock as l, openBlock as m, createVNode as e, unref as o, withCtx as t, createElementVNode as i, renderSlot as f } from "vue";
2
+ import { ElTooltip as u, ElIcon as d, ElMessage as y } from "element-plus";
3
3
  import "element-plus/theme-chalk/src/base.scss";
4
4
  import "element-plus/theme-chalk/src/tooltip.scss";
5
5
  import "element-plus/theme-chalk/src/popper.scss";
6
6
  import "element-plus/theme-chalk/src/badge.scss";
7
7
  import "element-plus/theme-chalk/src/message.scss";
8
8
  import { DocumentCopy as h } from "@element-plus/icons-vue";
9
- import { useClipboard as y } from "../packages/components/hooks/useClipboard.js";
10
- const C = { class: "yahee-copy" }, z = /* @__PURE__ */ l({
9
+ import { useClipboard as _ } from "../packages/components/hooks/useClipboard.js";
10
+ const C = { class: "yahee-copy" }, z = /* @__PURE__ */ a({
11
11
  name: "YaheeCopy",
12
12
  __name: "copy",
13
13
  props: {
@@ -15,26 +15,26 @@ const C = { class: "yahee-copy" }, z = /* @__PURE__ */ l({
15
15
  message: { default: "复制成功" }
16
16
  },
17
17
  setup(c) {
18
- const s = c, { copyUrl: r } = y(), p = () => {
19
- r(s.content), _({
18
+ const s = c, { copyUrl: p } = _(), r = () => {
19
+ p(s.content), y({
20
20
  message: s.message,
21
21
  type: "success"
22
22
  });
23
23
  };
24
- return (n, g) => (m(), a("div", C, [
24
+ return (n, g) => (m(), l("div", C, [
25
25
  e(o(u), {
26
26
  placement: "right",
27
27
  effect: "light",
28
28
  offset: -5,
29
29
  "show-arrow": !1,
30
- "popper-class": "custom-popper-class"
30
+ "popper-class": "yahee-copy-custom-popper-class"
31
31
  }, {
32
32
  content: t(() => [
33
33
  e(o(d), {
34
34
  color: "#3366cc",
35
35
  size: "18",
36
36
  class: "icon",
37
- onClick: p
37
+ onClick: r
38
38
  }, {
39
39
  default: t(() => [
40
40
  e(o(h))
@@ -1,7 +1,12 @@
1
- .yahee-copy .custom-popper-class {
1
+ .yahee-copy .el-tooltip__trigger {
2
+ width: -moz-fit-content !important;
3
+ width: fit-content !important;
4
+ }
5
+
6
+ .yahee-copy-custom-popper-class {
2
7
  background: transparent !important;
3
8
  border: none !important;
4
9
  }
5
- .yahee-copy .custom-popper-class .icon {
10
+ .yahee-copy-custom-popper-class .icon {
6
11
  cursor: pointer;
7
12
  }
@@ -1,67 +1,38 @@
1
- import { defineComponent as c, ref as f, onMounted as d, createBlock as y, openBlock as N } from "vue";
2
- import h from "../left-condition/left-condition.vue.js";
3
- import { storage as a } from "../utils/storage.js";
4
- const C = /* @__PURE__ */ c({
1
+ import { defineComponent as c, toRefs as d, ref as h, onMounted as N, createBlock as p, openBlock as y, unref as k } from "vue";
2
+ import C from "../left-condition/left-condition.vue.js";
3
+ import { storage as s } from "../utils/storage.js";
4
+ const v = /* @__PURE__ */ c({
5
5
  name: "YaheeLeftConditionEnum",
6
6
  __name: "left-condition-enum",
7
7
  props: {
8
- selectList: {
9
- type: Array,
10
- default: () => []
11
- },
12
- countList: {
13
- type: Array,
14
- required: !1
15
- },
16
- enumEntity: {
17
- type: String,
18
- default: ""
19
- },
20
- filterKey: {
21
- type: String,
22
- default: ""
23
- },
24
- totalCount: {
25
- type: Number,
26
- required: !1
27
- },
28
- noNeedRefreshNumFilterName: {
29
- type: String,
30
- required: !1
31
- },
32
- allIsCheckbox: {
33
- type: Boolean,
34
- required: !1
35
- },
36
- allIsEmpty: {
37
- type: Boolean,
38
- required: !1
39
- },
40
- translateUserId: {
41
- type: Boolean,
42
- required: !1
43
- },
44
- initFilters: {
45
- type: Function,
46
- required: !0
47
- }
8
+ selectList: { default: () => [] },
9
+ countList: { default: () => [] },
10
+ enumEntity: { default: "" },
11
+ filterKey: { default: "" },
12
+ totalCount: { default: 0 },
13
+ noNeedRefreshNumFilterName: { default: "" },
14
+ allIsCheckbox: { type: Boolean },
15
+ allIsEmpty: { type: Boolean },
16
+ translateUserId: { type: Boolean },
17
+ initFilters: {},
18
+ defaultValues: { default: () => [] }
48
19
  },
49
20
  emits: ["filterChange", "setNoNeedRefreshNumFilterName"],
50
- setup(e, { emit: s }) {
51
- const t = e, o = s, n = f(t.selectList), u = (l) => {
52
- o("filterChange", l);
21
+ setup(i, { emit: r }) {
22
+ const t = i, { defaultValues: u } = d(t), a = r, l = h(t.selectList), f = (e) => {
23
+ a("filterChange", e);
53
24
  }, m = () => {
54
- o("setNoNeedRefreshNumFilterName", t.filterKey);
25
+ a("setNoNeedRefreshNumFilterName", t.filterKey);
55
26
  };
56
- return d(() => {
57
- const l = `filter-key-${t.enumEntity}`, r = a.getWithExpireTime(l);
58
- r ? n.value = r : (console.log(t.enumEntity), t.initFilters(t.enumEntity).then((i) => {
59
- n.value = i.data, a.setWithExpireTime(l, n.value, 1200 * 1e3), console.log(i);
60
- }).catch((i) => {
61
- console.log(i);
27
+ return N(() => {
28
+ const e = `filter-key-${t.enumEntity}`, o = s.getWithExpireTime(e);
29
+ o ? l.value = o : (console.log(t.enumEntity), t.initFilters(t.enumEntity).then((n) => {
30
+ l.value = n.data, s.setWithExpireTime(e, l.value, 1200 * 1e3), console.log(n);
31
+ }).catch((n) => {
32
+ console.log(n);
62
33
  }));
63
- }), (l, r) => (N(), y(h, {
64
- "select-list": n.value,
34
+ }), (e, o) => (y(), p(C, {
35
+ "select-list": l.value,
65
36
  "count-list": e.countList,
66
37
  "total-count": e.totalCount,
67
38
  "filter-key": e.filterKey,
@@ -69,11 +40,12 @@ const C = /* @__PURE__ */ c({
69
40
  "all-is-checkbox": e.allIsCheckbox,
70
41
  "translate-user-id": e.translateUserId,
71
42
  "all-is-empty": e.allIsEmpty,
72
- onFilterChange: u,
43
+ "default-values": k(u),
44
+ onFilterChange: f,
73
45
  onSetNoNeedRefreshNumFilterName: m
74
- }, null, 8, ["select-list", "count-list", "total-count", "filter-key", "no-need-refresh-num-filter-name", "all-is-checkbox", "translate-user-id", "all-is-empty"]));
46
+ }, null, 8, ["select-list", "count-list", "total-count", "filter-key", "no-need-refresh-num-filter-name", "all-is-checkbox", "translate-user-id", "all-is-empty", "default-values"]));
75
47
  }
76
48
  });
77
49
  export {
78
- C as default
50
+ v as default
79
51
  };
package/es/style.css CHANGED
@@ -3,11 +3,16 @@
3
3
  border: 1px solid red;
4
4
  }
5
5
 
6
- .yahee-copy .custom-popper-class {
6
+ .yahee-copy .el-tooltip__trigger {
7
+ width: -moz-fit-content !important;
8
+ width: fit-content !important;
9
+ }
10
+
11
+ .yahee-copy-custom-popper-class {
7
12
  background: transparent !important;
8
13
  border: none !important;
9
14
  }
10
- .yahee-copy .custom-popper-class .icon {
15
+ .yahee-copy-custom-popper-class .icon {
11
16
  cursor: pointer;
12
17
  }
13
18
 
@@ -1,7 +1,12 @@
1
- .yahee-copy .custom-popper-class {
1
+ .yahee-copy .el-tooltip__trigger {
2
+ width: -moz-fit-content !important;
3
+ width: fit-content !important;
4
+ }
5
+
6
+ .yahee-copy-custom-popper-class {
2
7
  background: transparent !important;
3
8
  border: none !important;
4
9
  }
5
- .yahee-copy .custom-popper-class .icon {
10
+ .yahee-copy-custom-popper-class .icon {
6
11
  cursor: pointer;
7
12
  }
package/lib/style.css CHANGED
@@ -3,11 +3,16 @@
3
3
  border: 1px solid red;
4
4
  }
5
5
 
6
- .yahee-copy .custom-popper-class {
6
+ .yahee-copy .el-tooltip__trigger {
7
+ width: -moz-fit-content !important;
8
+ width: fit-content !important;
9
+ }
10
+
11
+ .yahee-copy-custom-popper-class {
7
12
  background: transparent !important;
8
13
  border: none !important;
9
14
  }
10
- .yahee-copy .custom-popper-class .icon {
15
+ .yahee-copy-custom-popper-class .icon {
11
16
  cursor: pointer;
12
17
  }
13
18
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yahee-components",
3
3
  "private": false,
4
- "version": "0.0.63",
4
+ "version": "0.0.65",
5
5
  "description": "深圳前海亚讯前端组件库",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -27,8 +27,8 @@
27
27
  "gulp-sass": "^5.1.0",
28
28
  "sass": "^1.78.0",
29
29
  "shelljs": "^0.8.5",
30
- "typedoc": "0.28.2",
31
- "typedoc-plugin-markdown": "^4.6.2",
30
+ "typedoc": "0.28.5",
31
+ "typedoc-plugin-markdown": "^4.6.4",
32
32
  "unplugin-element-plus": "^0.8.0",
33
33
  "vite": "^6.0.1"
34
34
  },
@@ -1,12 +1,2 @@
1
1
  import { default as copy } from './copy.vue';
2
- /**
3
- * 定义props类型
4
- */
5
- export interface CopyProps {
6
- content: string;
7
- message?: string;
8
- }
9
- /**
10
- * 定义instance类型
11
- */
12
2
  export type CopyInstance = InstanceType<typeof copy>;
@@ -1,4 +1,4 @@
1
- import { CopyProps } from './copy';
1
+ import { CopyProps } from './props';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1,6 +1,6 @@
1
1
  import { SFCWithInstall } from '../utils/typescript';
2
2
  import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
- import { CopyProps } from './copy';
3
+ import { CopyProps } from './props';
4
4
  export declare const YaheeCopy: SFCWithInstall<{
5
5
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
6
6
  message: string;
@@ -29,4 +29,5 @@ export declare const YaheeCopy: SFCWithInstall<{
29
29
  })> & Record<string, any>;
30
30
  export default YaheeCopy;
31
31
  export * from './copy.vue';
32
+ export * from './props';
32
33
  export * from './copy';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 定义props类型
3
+ */
4
+ export interface CopyProps {
5
+ content: string;
6
+ message?: string;
7
+ }
@@ -1566,162 +1566,45 @@ declare const _default: (( SFCWithInstall<DefineComponent<InputProps, {
1566
1566
  allIsCheckbox: boolean;
1567
1567
  translateUserId: boolean;
1568
1568
  }>[];
1569
- }, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<ExtractPropTypes<{
1570
- selectList: {
1571
- type: {
1572
- (arrayLength: number): Option[];
1573
- (...items: Option[]): Option[];
1574
- new (arrayLength: number): Option[];
1575
- new (...items: Option[]): Option[];
1576
- isArray(arg: any): arg is any[];
1577
- readonly prototype: any[];
1578
- from<T>(arrayLike: ArrayLike<T>): T[];
1579
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1580
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
1581
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1582
- of<T>(...items: T[]): T[];
1583
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1584
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1585
- readonly [Symbol.species]: ArrayConstructor;
1586
- };
1587
- default: () => Option[];
1588
- };
1589
- countList: {
1590
- type: {
1591
- (arrayLength: number): any[];
1592
- (...items: any[]): any[];
1593
- new (arrayLength: number): any[];
1594
- new (...items: any[]): any[];
1595
- isArray(arg: any): arg is any[];
1596
- readonly prototype: any[];
1597
- from<T>(arrayLike: ArrayLike<T>): T[];
1598
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1599
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
1600
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1601
- of<T>(...items: T[]): T[];
1602
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1603
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1604
- readonly [Symbol.species]: ArrayConstructor;
1605
- };
1606
- required: false;
1607
- };
1608
- enumEntity: {
1609
- type: StringConstructor;
1610
- default: string;
1611
- };
1612
- filterKey: {
1613
- type: StringConstructor;
1614
- default: string;
1615
- };
1616
- totalCount: {
1617
- type: NumberConstructor;
1618
- required: false;
1619
- };
1620
- noNeedRefreshNumFilterName: {
1621
- type: StringConstructor;
1622
- required: false;
1623
- };
1624
- allIsCheckbox: {
1625
- type: BooleanConstructor;
1626
- required: false;
1627
- };
1628
- allIsEmpty: {
1629
- type: BooleanConstructor;
1630
- required: false;
1631
- };
1632
- translateUserId: {
1633
- type: BooleanConstructor;
1634
- required: false;
1635
- };
1636
- initFilters: {
1637
- type: FunctionConstructor;
1638
- required: true;
1639
- };
1640
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1569
+ }, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
1570
+ selectList: Option[];
1571
+ countList?: any[];
1572
+ enumEntity: string;
1573
+ filterKey: string;
1574
+ totalCount?: number;
1575
+ noNeedRefreshNumFilterName?: string;
1576
+ allIsCheckbox?: boolean;
1577
+ allIsEmpty?: boolean;
1578
+ translateUserId?: boolean;
1579
+ initFilters: (...args: any[]) => any;
1580
+ defaultValues?: (string | boolean | number)[];
1581
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1641
1582
  filterChange: (...args: any[]) => void;
1642
1583
  setNoNeedRefreshNumFilterName: (...args: any[]) => void;
1643
- }, string, PublicProps, Readonly< ExtractPropTypes<{
1644
- selectList: {
1645
- type: {
1646
- (arrayLength: number): Option[];
1647
- (...items: Option[]): Option[];
1648
- new (arrayLength: number): Option[];
1649
- new (...items: Option[]): Option[];
1650
- isArray(arg: any): arg is any[];
1651
- readonly prototype: any[];
1652
- from<T>(arrayLike: ArrayLike<T>): T[];
1653
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1654
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
1655
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1656
- of<T>(...items: T[]): T[];
1657
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1658
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1659
- readonly [Symbol.species]: ArrayConstructor;
1660
- };
1661
- default: () => Option[];
1662
- };
1663
- countList: {
1664
- type: {
1665
- (arrayLength: number): any[];
1666
- (...items: any[]): any[];
1667
- new (arrayLength: number): any[];
1668
- new (...items: any[]): any[];
1669
- isArray(arg: any): arg is any[];
1670
- readonly prototype: any[];
1671
- from<T>(arrayLike: ArrayLike<T>): T[];
1672
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1673
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
1674
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1675
- of<T>(...items: T[]): T[];
1676
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1677
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1678
- readonly [Symbol.species]: ArrayConstructor;
1679
- };
1680
- required: false;
1681
- };
1682
- enumEntity: {
1683
- type: StringConstructor;
1684
- default: string;
1685
- };
1686
- filterKey: {
1687
- type: StringConstructor;
1688
- default: string;
1689
- };
1690
- totalCount: {
1691
- type: NumberConstructor;
1692
- required: false;
1693
- };
1694
- noNeedRefreshNumFilterName: {
1695
- type: StringConstructor;
1696
- required: false;
1697
- };
1698
- allIsCheckbox: {
1699
- type: BooleanConstructor;
1700
- required: false;
1701
- };
1702
- allIsEmpty: {
1703
- type: BooleanConstructor;
1704
- required: false;
1705
- };
1706
- translateUserId: {
1707
- type: BooleanConstructor;
1708
- required: false;
1709
- };
1710
- initFilters: {
1711
- type: FunctionConstructor;
1712
- required: true;
1713
- };
1714
- }>> & Readonly<{
1584
+ }, string, PublicProps, Readonly<{
1585
+ selectList: Option[];
1586
+ countList?: any[];
1587
+ enumEntity: string;
1588
+ filterKey: string;
1589
+ totalCount?: number;
1590
+ noNeedRefreshNumFilterName?: string;
1591
+ allIsCheckbox?: boolean;
1592
+ allIsEmpty?: boolean;
1593
+ translateUserId?: boolean;
1594
+ initFilters: (...args: any[]) => any;
1595
+ defaultValues?: (string | boolean | number)[];
1596
+ }> & Readonly<{
1715
1597
  onFilterChange?: (...args: any[]) => any;
1716
1598
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
1717
1599
  }>, {
1718
1600
  filterKey: string;
1719
- allIsCheckbox: boolean;
1720
- translateUserId: boolean;
1601
+ countList: any[];
1721
1602
  selectList: Option[];
1722
- allIsEmpty: boolean;
1603
+ totalCount: number;
1604
+ noNeedRefreshNumFilterName: string;
1605
+ defaultValues: (string | boolean | number)[];
1723
1606
  enumEntity: string;
1724
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
1607
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
1725
1608
  filterList?: Array< DropdownEntity>;
1726
1609
  totalCount?: number;
1727
1610
  level1Count?: Array<{
@@ -1,161 +1,44 @@
1
1
  import { SFCWithInstall } from '../utils/typescript';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Option } from '../static/CommonObject';
4
- export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<ExtractPropTypes<{
5
- selectList: {
6
- type: {
7
- (arrayLength: number): Option[];
8
- (...items: Option[]): Option[];
9
- new (arrayLength: number): Option[];
10
- new (...items: Option[]): Option[];
11
- isArray(arg: any): arg is any[];
12
- readonly prototype: any[];
13
- from<T>(arrayLike: ArrayLike<T>): T[];
14
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
15
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
16
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
17
- of<T>(...items: T[]): T[];
18
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
19
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
20
- readonly [Symbol.species]: ArrayConstructor;
21
- };
22
- default: () => Option[];
23
- };
24
- countList: {
25
- type: {
26
- (arrayLength: number): any[];
27
- (...items: any[]): any[];
28
- new (arrayLength: number): any[];
29
- new (...items: any[]): any[];
30
- isArray(arg: any): arg is any[];
31
- readonly prototype: any[];
32
- from<T>(arrayLike: ArrayLike<T>): T[];
33
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
34
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
35
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
36
- of<T>(...items: T[]): T[];
37
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
38
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
39
- readonly [Symbol.species]: ArrayConstructor;
40
- };
41
- required: false;
42
- };
43
- enumEntity: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- filterKey: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- totalCount: {
52
- type: NumberConstructor;
53
- required: false;
54
- };
55
- noNeedRefreshNumFilterName: {
56
- type: StringConstructor;
57
- required: false;
58
- };
59
- allIsCheckbox: {
60
- type: BooleanConstructor;
61
- required: false;
62
- };
63
- allIsEmpty: {
64
- type: BooleanConstructor;
65
- required: false;
66
- };
67
- translateUserId: {
68
- type: BooleanConstructor;
69
- required: false;
70
- };
71
- initFilters: {
72
- type: FunctionConstructor;
73
- required: true;
74
- };
75
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<{
5
+ selectList: Option[];
6
+ countList?: any[];
7
+ enumEntity: string;
8
+ filterKey: string;
9
+ totalCount?: number;
10
+ noNeedRefreshNumFilterName?: string;
11
+ allIsCheckbox?: boolean;
12
+ allIsEmpty?: boolean;
13
+ translateUserId?: boolean;
14
+ initFilters: (...args: any[]) => any;
15
+ defaultValues?: (string | boolean | number)[];
16
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
76
17
  filterChange: (...args: any[]) => void;
77
18
  setNoNeedRefreshNumFilterName: (...args: any[]) => void;
78
- }, string, PublicProps, Readonly< ExtractPropTypes<{
79
- selectList: {
80
- type: {
81
- (arrayLength: number): Option[];
82
- (...items: Option[]): Option[];
83
- new (arrayLength: number): Option[];
84
- new (...items: Option[]): Option[];
85
- isArray(arg: any): arg is any[];
86
- readonly prototype: any[];
87
- from<T>(arrayLike: ArrayLike<T>): T[];
88
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
89
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
90
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
91
- of<T>(...items: T[]): T[];
92
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
93
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
94
- readonly [Symbol.species]: ArrayConstructor;
95
- };
96
- default: () => Option[];
97
- };
98
- countList: {
99
- type: {
100
- (arrayLength: number): any[];
101
- (...items: any[]): any[];
102
- new (arrayLength: number): any[];
103
- new (...items: any[]): any[];
104
- isArray(arg: any): arg is any[];
105
- readonly prototype: any[];
106
- from<T>(arrayLike: ArrayLike<T>): T[];
107
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
108
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
109
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
110
- of<T>(...items: T[]): T[];
111
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
112
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
113
- readonly [Symbol.species]: ArrayConstructor;
114
- };
115
- required: false;
116
- };
117
- enumEntity: {
118
- type: StringConstructor;
119
- default: string;
120
- };
121
- filterKey: {
122
- type: StringConstructor;
123
- default: string;
124
- };
125
- totalCount: {
126
- type: NumberConstructor;
127
- required: false;
128
- };
129
- noNeedRefreshNumFilterName: {
130
- type: StringConstructor;
131
- required: false;
132
- };
133
- allIsCheckbox: {
134
- type: BooleanConstructor;
135
- required: false;
136
- };
137
- allIsEmpty: {
138
- type: BooleanConstructor;
139
- required: false;
140
- };
141
- translateUserId: {
142
- type: BooleanConstructor;
143
- required: false;
144
- };
145
- initFilters: {
146
- type: FunctionConstructor;
147
- required: true;
148
- };
149
- }>> & Readonly<{
19
+ }, string, PublicProps, Readonly<{
20
+ selectList: Option[];
21
+ countList?: any[];
22
+ enumEntity: string;
23
+ filterKey: string;
24
+ totalCount?: number;
25
+ noNeedRefreshNumFilterName?: string;
26
+ allIsCheckbox?: boolean;
27
+ allIsEmpty?: boolean;
28
+ translateUserId?: boolean;
29
+ initFilters: (...args: any[]) => any;
30
+ defaultValues?: (string | boolean | number)[];
31
+ }> & Readonly<{
150
32
  onFilterChange?: (...args: any[]) => any;
151
33
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
152
34
  }>, {
153
35
  filterKey: string;
154
- allIsCheckbox: boolean;
155
- translateUserId: boolean;
36
+ countList: any[];
156
37
  selectList: Option[];
157
- allIsEmpty: boolean;
38
+ totalCount: number;
39
+ noNeedRefreshNumFilterName: string;
40
+ defaultValues: (string | boolean | number)[];
158
41
  enumEntity: string;
159
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>> & Record<string, any>;
42
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
160
43
  export default YaheeLeftConditionEnum;
161
44
  export * from './left-condition-enum.vue';
@@ -1,159 +1,31 @@
1
1
  import { Option } from '../static/CommonObject';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
4
- selectList: {
5
- type: {
6
- (arrayLength: number): Option[];
7
- (...items: Option[]): Option[];
8
- new (arrayLength: number): Option[];
9
- new (...items: Option[]): Option[];
10
- isArray(arg: any): arg is any[];
11
- readonly prototype: any[];
12
- from<T>(arrayLike: ArrayLike<T>): T[];
13
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
14
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
15
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
- of<T>(...items: T[]): T[];
17
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
18
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
19
- readonly [Symbol.species]: ArrayConstructor;
20
- };
21
- default: () => Option[];
22
- };
23
- countList: {
24
- type: {
25
- (arrayLength: number): any[];
26
- (...items: any[]): any[];
27
- new (arrayLength: number): any[];
28
- new (...items: any[]): any[];
29
- isArray(arg: any): arg is any[];
30
- readonly prototype: any[];
31
- from<T>(arrayLike: ArrayLike<T>): T[];
32
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
33
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
34
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
35
- of<T>(...items: T[]): T[];
36
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
37
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
38
- readonly [Symbol.species]: ArrayConstructor;
39
- };
40
- required: false;
41
- };
42
- enumEntity: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- filterKey: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- totalCount: {
51
- type: NumberConstructor;
52
- required: false;
53
- };
54
- noNeedRefreshNumFilterName: {
55
- type: StringConstructor;
56
- required: false;
57
- };
58
- allIsCheckbox: {
59
- type: BooleanConstructor;
60
- required: false;
61
- };
62
- allIsEmpty: {
63
- type: BooleanConstructor;
64
- required: false;
65
- };
66
- translateUserId: {
67
- type: BooleanConstructor;
68
- required: false;
69
- };
70
- initFilters: {
71
- type: FunctionConstructor;
72
- required: true;
73
- };
74
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ selectList: Option[];
5
+ countList?: any[];
6
+ enumEntity: string;
7
+ filterKey: string;
8
+ totalCount?: number;
9
+ noNeedRefreshNumFilterName?: string;
10
+ allIsCheckbox?: boolean;
11
+ allIsEmpty?: boolean;
12
+ translateUserId?: boolean;
13
+ initFilters: (...args: any[]) => any;
14
+ defaultValues?: (string | boolean | number)[];
15
+ };
16
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
75
17
  filterChange: (...args: any[]) => void;
76
18
  setNoNeedRefreshNumFilterName: (...args: any[]) => void;
77
- }, string, PublicProps, Readonly< ExtractPropTypes<{
78
- selectList: {
79
- type: {
80
- (arrayLength: number): Option[];
81
- (...items: Option[]): Option[];
82
- new (arrayLength: number): Option[];
83
- new (...items: Option[]): Option[];
84
- isArray(arg: any): arg is any[];
85
- readonly prototype: any[];
86
- from<T>(arrayLike: ArrayLike<T>): T[];
87
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
88
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
89
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
90
- of<T>(...items: T[]): T[];
91
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
92
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
93
- readonly [Symbol.species]: ArrayConstructor;
94
- };
95
- default: () => Option[];
96
- };
97
- countList: {
98
- type: {
99
- (arrayLength: number): any[];
100
- (...items: any[]): any[];
101
- new (arrayLength: number): any[];
102
- new (...items: any[]): any[];
103
- isArray(arg: any): arg is any[];
104
- readonly prototype: any[];
105
- from<T>(arrayLike: ArrayLike<T>): T[];
106
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
107
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
108
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
109
- of<T>(...items: T[]): T[];
110
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
111
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
112
- readonly [Symbol.species]: ArrayConstructor;
113
- };
114
- required: false;
115
- };
116
- enumEntity: {
117
- type: StringConstructor;
118
- default: string;
119
- };
120
- filterKey: {
121
- type: StringConstructor;
122
- default: string;
123
- };
124
- totalCount: {
125
- type: NumberConstructor;
126
- required: false;
127
- };
128
- noNeedRefreshNumFilterName: {
129
- type: StringConstructor;
130
- required: false;
131
- };
132
- allIsCheckbox: {
133
- type: BooleanConstructor;
134
- required: false;
135
- };
136
- allIsEmpty: {
137
- type: BooleanConstructor;
138
- required: false;
139
- };
140
- translateUserId: {
141
- type: BooleanConstructor;
142
- required: false;
143
- };
144
- initFilters: {
145
- type: FunctionConstructor;
146
- required: true;
147
- };
148
- }>> & Readonly<{
19
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
149
20
  onFilterChange?: (...args: any[]) => any;
150
21
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
151
22
  }>, {
152
23
  filterKey: string;
153
- allIsCheckbox: boolean;
154
- translateUserId: boolean;
24
+ countList: any[];
155
25
  selectList: Option[];
156
- allIsEmpty: boolean;
26
+ totalCount: number;
27
+ noNeedRefreshNumFilterName: string;
28
+ defaultValues: (string | boolean | number)[];
157
29
  enumEntity: string;
158
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
159
31
  export default _default;