rappel-ui 1.0.7 → 1.0.8
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/cjs/components/button/src/types.d.ts +1 -1
- package/cjs/components/filter-panel/index.d.ts +78 -0
- package/cjs/components/filter-panel/index.js +1 -0
- package/cjs/components/filter-panel/src/constants.d.ts +1 -0
- package/cjs/components/filter-panel/src/filter-panel.vue.js +1 -0
- package/cjs/components/filter-panel/src/filter-panel.vue2.js +1 -0
- package/cjs/components/filter-panel/src/types.d.ts +18 -0
- package/cjs/components/filter-panel/style/css.d.ts +0 -0
- package/cjs/components/filter-panel/style/index.d.ts +0 -0
- package/cjs/components/index.d.ts +2 -0
- package/cjs/components/index.js +1 -1
- package/cjs/components/svg-icon/index.d.ts +3 -0
- package/cjs/components/svg-icon/index.js +1 -0
- package/cjs/components/svg-icon/src/svg-icon.vue.js +1 -0
- package/cjs/components/svg-icon/src/svg-icon.vue2.js +1 -0
- package/cjs/components/svg-icon/src/types.d.ts +7 -0
- package/cjs/components/svg-icon/style/css.d.ts +0 -0
- package/cjs/components/svg-icon/style/index.d.ts +0 -0
- package/cjs/index.d.ts +77 -0
- package/cjs/index.js +1 -1
- package/cjs/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
- package/cjs/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
- package/cjs/svg-icons/index.d.ts +0 -0
- package/cjs/theme-chalk/src/filter-panel.css +1 -0
- package/cjs/theme-chalk/src/svg-icon.css +1 -0
- package/es/components/button/src/types.d.ts +1 -1
- package/es/components/filter-panel/index.d.ts +78 -0
- package/es/components/filter-panel/index.mjs +7 -0
- package/es/components/filter-panel/src/constants.d.ts +1 -0
- package/es/components/filter-panel/src/filter-panel.vue.mjs +158 -0
- package/es/components/filter-panel/src/filter-panel.vue2.mjs +4 -0
- package/es/components/filter-panel/src/types.d.ts +18 -0
- package/es/components/filter-panel/style/css.d.ts +0 -0
- package/es/components/filter-panel/style/index.d.ts +0 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +12 -8
- package/es/components/svg-icon/index.d.ts +3 -0
- package/es/components/svg-icon/index.mjs +7 -0
- package/es/components/svg-icon/src/svg-icon.vue.mjs +33 -0
- package/es/components/svg-icon/src/svg-icon.vue2.mjs +4 -0
- package/es/components/svg-icon/src/types.d.ts +7 -0
- package/es/components/svg-icon/style/css.d.ts +0 -0
- package/es/components/svg-icon/style/index.d.ts +0 -0
- package/es/index.d.ts +77 -0
- package/es/index.mjs +13 -9
- package/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +119 -0
- package/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +24 -0
- package/es/svg-icons/index.d.ts +0 -0
- package/es/theme-chalk/src/filter-panel.css +1 -0
- package/es/theme-chalk/src/svg-icon.css +1 -0
- package/package.json +1 -1
- package/theme-chalk/index.css +35 -0
- package/theme-chalk/re-filter-panel.css +53 -0
- package/theme-chalk/re-svg-icon.css +50 -0
- package/theme-chalk/src/filter-panel.scss +21 -0
- package/theme-chalk/src/index.scss +2 -0
- package/theme-chalk/src/mixins/index.scss +11 -0
- package/theme-chalk/src/svg-icon.scss +19 -0
- package/umd/index.js +10 -10
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export * from './src/types.ts';
|
|
2
|
+
export declare const ReFilterPanel: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
isExpand?: boolean;
|
|
5
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
6
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
update: () => void;
|
|
12
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
13
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
14
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
15
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
16
|
+
maxH: import('vue').ComputedRef<number>;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
search: (...args: any[]) => void;
|
|
19
|
+
reset: (...args: any[]) => void;
|
|
20
|
+
"update:isExpand": (value: boolean) => void;
|
|
21
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
22
|
+
wrapper: HTMLDivElement;
|
|
23
|
+
inner: HTMLDivElement;
|
|
24
|
+
main: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
26
|
+
P: {};
|
|
27
|
+
B: {};
|
|
28
|
+
D: {};
|
|
29
|
+
C: {};
|
|
30
|
+
M: {};
|
|
31
|
+
Defaults: {};
|
|
32
|
+
}, Readonly<{
|
|
33
|
+
isExpand?: boolean;
|
|
34
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
35
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
toggle: () => void;
|
|
40
|
+
update: () => void;
|
|
41
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
42
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
43
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
44
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
45
|
+
maxH: import('vue').ComputedRef<number>;
|
|
46
|
+
}, {}, {}, {}, {}>;
|
|
47
|
+
__isFragment?: never;
|
|
48
|
+
__isTeleport?: never;
|
|
49
|
+
__isSuspense?: never;
|
|
50
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
51
|
+
isExpand?: boolean;
|
|
52
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
53
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
toggle: () => void;
|
|
58
|
+
update: () => void;
|
|
59
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
60
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
61
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
62
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
63
|
+
maxH: import('vue').ComputedRef<number>;
|
|
64
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
search: (...args: any[]) => void;
|
|
66
|
+
reset: (...args: any[]) => void;
|
|
67
|
+
"update:isExpand": (value: boolean) => void;
|
|
68
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
default?(_: {}): any;
|
|
71
|
+
main?(_: {}): any;
|
|
72
|
+
expand?(_: {}): any;
|
|
73
|
+
reset?(_: {}): any;
|
|
74
|
+
search?(_: {}): any;
|
|
75
|
+
extra?(_: {}): any;
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
export default ReFilterPanel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../utils/vue/index.js"),l=require("./src/filter-panel.vue.js"),e=t.withInstall(l.default);exports.ReFilterPanel=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */const d=require("../../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js"),m=require("../../button/index.js");require("../../input/index.js");require("../../tabs/index.js");require("../../colors/index.js");require("../index.js");require("../../svg-icon/index.js");const M=require("../../../composables/use-namespace/index.js"),q=e.defineComponent({name:"ReFilterPanel",__name:"filter-panel",props:e.mergeModels({selector:{default:"> *"},maxHeight:{default:0},itemMinw:{default:240},exclude:{default:"[exclude]"},loading:{type:Boolean,default:!1},enableObserver:{type:Boolean,default:!1},observerOptions:{default:()=>({})}},{isExpand:{type:Boolean,default:!1},isExpandModifiers:{}}),emits:e.mergeModels(["reset","search"],["update:isExpand"]),setup(n,{expose:y,emit:E}){const{n:$,ns:s}=M.useNamespace("filter-panel"),p=e.useTemplateRef("main"),{height:S}=d.useElementSize(p),a=e.computed(()=>n.maxHeight||S.value),v=E,h=e.useTemplateRef("wrapper"),o=e.useTemplateRef("inner"),l=e.useModel(n,"isExpand"),k=e.computed(()=>i.value>a.value),x=()=>{l.value=!l.value},{height:i,width:c}=d.useElementSize(o,{width:0,height:a.value}),{width:w}=d.useElementSize(h,{width:0,height:a.value}),u=()=>{if(!o.value)return;const t=o.value.querySelectorAll(`.${s("","inner")} ${n.selector}:not(${n.exclude})`),r=Math.floor(c.value/n.itemMinw);t.forEach(f=>{f.style.width=`${100/r}%`})},b=e.effectScope();b.run(()=>{e.watchEffect(()=>{c.value&&w.value&&u()}),e.watch(()=>i.value,t=>{t>a.value&&(l.value=!1)})});const C=()=>{const{stop:t}=d.useMutationObserver(o.value,()=>{u()},Object.assign({childList:!0,subtree:!0,attributes:!0,characterData:!0},n.observerOptions||{}));return{stop:t}};let g;return n.enableObserver&&(g=C().stop),e.onUnmounted(()=>{b.stop(),g?.()}),e.onMounted(()=>{u()}),y({toggle:x,update:u,isExpand:l,innerH:i,innerW:c,wrapperW:w,maxH:a}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref($)("")]),style:e.normalizeStyle({"max-height":`${l.value?e.unref(i):a.value}px`}),ref_key:"wrapper",ref:h},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(s)("","inner")]),ref_key:"inner",ref:o},[e.renderSlot(t.$slots,"default")],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(s)("","operator")])},[e.createElementVNode("div",{ref_key:"main",ref:p,class:e.normalizeClass([e.unref(s)("","main")])},[e.renderSlot(t.$slots,"main",{},()=>[e.renderSlot(t.$slots,"expand",{},()=>[k.value?(e.openBlock(),e.createBlock(e.unref(m.ReButton),{key:0,type:"primary",onClick:e.withModifiers(x,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value?"收起":"展开"),1)]),_:1})):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"reset",{},()=>[e.createVNode(e.unref(m.ReButton),{disabled:n.loading,onClick:r[0]||(r[0]=e.withModifiers(f=>v("reset"),["stop"]))},{default:e.withCtx(()=>[...r[2]||(r[2]=[e.createTextVNode("重置",-1)])]),_:1},8,["disabled"])]),e.renderSlot(t.$slots,"search",{},()=>[e.createVNode(e.unref(m.ReButton),{type:"primary",disabled:n.loading,onClick:r[1]||(r[1]=e.withModifiers(f=>v("search"),["stop"]))},{default:e.withCtx(()=>[...r[3]||(r[3]=[e.createTextVNode(" 查询 ",-1)])]),_:1},8,["disabled"])])])],2),t.$slots.extra?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(s)("","extra")])},[e.renderSlot(t.$slots,"extra")],2)):e.createCommentVNode("",!0)],2)],6))}});exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./filter-panel.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface FilterPanelProps {
|
|
2
|
+
selector?: string;
|
|
3
|
+
maxHeight?: number;
|
|
4
|
+
itemMinw?: number;
|
|
5
|
+
exclude?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
enableObserver?: boolean;
|
|
8
|
+
observerOptions?: {
|
|
9
|
+
attributeFilter?: string[];
|
|
10
|
+
attributeOldValue?: boolean;
|
|
11
|
+
attributes?: boolean;
|
|
12
|
+
characterData?: boolean;
|
|
13
|
+
characterDataOldValue?: boolean;
|
|
14
|
+
childList?: boolean;
|
|
15
|
+
subtree?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export type { FilterPanelProps };
|
|
File without changes
|
|
File without changes
|
package/cjs/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./button/index.js"),r=require("./input/index.js"),t=require("./tabs/index.js"),o=require("./colors/index.js"),u=require("./colors/src/primary-color.vue.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./button/index.js"),r=require("./input/index.js"),t=require("./tabs/index.js"),o=require("./colors/index.js"),u=require("./filter-panel/index.js"),n=require("./svg-icon/index.js"),i=require("./colors/src/primary-color.vue.js"),l=require("./colors/src/secondary-color.vue.js"),s=require("./colors/src/neutral-color.vue.js");exports.ReButton=e.ReButton;exports.ReInput=r.ReInput;exports.ReTabs=t.ReTabs;exports.ReColors=o.ReColors;exports.ReFilterPanel=u.ReFilterPanel;exports.ReSvgIcon=n.ReSvgIcon;exports.RePrimaryColor=i.default;exports.ReSecondaryColor=l.default;exports.ReNeutralColor=s.default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './src/types';
|
|
2
|
+
export declare const ReSvgIcon: import('vue').DefineComponent<import('.').SvgIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('.').SvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
3
|
+
export default ReSvgIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../utils/vue/index.js"),u=require("./src/svg-icon.vue.js"),e=t.withInstall(u.default);exports.ReSvgIcon=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");;/* empty css */;/* empty css */const u=require("../../../composables/use-namespace/index.js"),c=["d","fill"],a=t.defineComponent({name:"ReSvgIcon",__name:"svg-icon",props:{path:{default:""},size:{default:16},color:{default:"currentColor"},spin:{type:Boolean,default:!1}},setup(e){const{n,ns:o}=u.useNamespace("svg-icon"),l=t.computed(()=>typeof e.size=="number"?`${e.size}px`:e.size),r=t.computed(()=>typeof e.size=="number"?`${e.size}px`:e.size),i=t.computed(()=>e.color==="currentColor"?"currentColor":e.color);return(s,d)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([t.unref(n)(""),{[t.unref(o)("","spinner")]:e.spin}]),style:t.normalizeStyle({width:l.value,height:r.value,color:e.color}),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[t.createElementVNode("path",{d:e.path,fill:i.value},null,8,c)],6))}});exports.default=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./svg-icon.vue.js");exports.default=e.default;
|
|
File without changes
|
|
File without changes
|
package/cjs/index.d.ts
CHANGED
|
@@ -80,6 +80,83 @@ declare const _default: {
|
|
|
80
80
|
RePrimaryColor: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
ReSecondaryColor: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
82
|
ReNeutralColor: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
83
|
+
ReFilterPanel: {
|
|
84
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
85
|
+
isExpand?: boolean;
|
|
86
|
+
} & components.FilterPanelProps> & Readonly<{
|
|
87
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
toggle: () => void;
|
|
92
|
+
update: () => void;
|
|
93
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
94
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
95
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
96
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
97
|
+
maxH: import('vue').ComputedRef<number>;
|
|
98
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
+
search: (...args: any[]) => void;
|
|
100
|
+
reset: (...args: any[]) => void;
|
|
101
|
+
"update:isExpand": (value: boolean) => void;
|
|
102
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
103
|
+
wrapper: HTMLDivElement;
|
|
104
|
+
inner: HTMLDivElement;
|
|
105
|
+
main: HTMLDivElement;
|
|
106
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
107
|
+
P: {};
|
|
108
|
+
B: {};
|
|
109
|
+
D: {};
|
|
110
|
+
C: {};
|
|
111
|
+
M: {};
|
|
112
|
+
Defaults: {};
|
|
113
|
+
}, Readonly<{
|
|
114
|
+
isExpand?: boolean;
|
|
115
|
+
} & components.FilterPanelProps> & Readonly<{
|
|
116
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
119
|
+
}>, {
|
|
120
|
+
toggle: () => void;
|
|
121
|
+
update: () => void;
|
|
122
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
123
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
124
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
125
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
126
|
+
maxH: import('vue').ComputedRef<number>;
|
|
127
|
+
}, {}, {}, {}, {}>;
|
|
128
|
+
__isFragment?: never;
|
|
129
|
+
__isTeleport?: never;
|
|
130
|
+
__isSuspense?: never;
|
|
131
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
132
|
+
isExpand?: boolean;
|
|
133
|
+
} & components.FilterPanelProps> & Readonly<{
|
|
134
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
137
|
+
}>, {
|
|
138
|
+
toggle: () => void;
|
|
139
|
+
update: () => void;
|
|
140
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
141
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
142
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
143
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
144
|
+
maxH: import('vue').ComputedRef<number>;
|
|
145
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
146
|
+
search: (...args: any[]) => void;
|
|
147
|
+
reset: (...args: any[]) => void;
|
|
148
|
+
"update:isExpand": (value: boolean) => void;
|
|
149
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
150
|
+
$slots: {
|
|
151
|
+
default?(_: {}): any;
|
|
152
|
+
main?(_: {}): any;
|
|
153
|
+
expand?(_: {}): any;
|
|
154
|
+
reset?(_: {}): any;
|
|
155
|
+
search?(_: {}): any;
|
|
156
|
+
extra?(_: {}): any;
|
|
157
|
+
};
|
|
158
|
+
});
|
|
159
|
+
ReSvgIcon: import('vue').DefineComponent<components.SvgIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<components.SvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
83
160
|
install: (app: import('vue').App) => void;
|
|
84
161
|
version: string;
|
|
85
162
|
};
|
package/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./components/index.js"),n=require("./constants/svgLoading.js"),i=require("./directives/vDraggable.js"),a=require("./directives/vResizable.js"),u=require("./directives/vSvgLoading.js"),c=require("./composables/useDraggable.js"),d=require("./composables/useDateFormat.js"),g=require("./composables/useOnceFn.js"),v=require("./composables/useTimeNodes.js"),p=require("./composables/useWaterFallLayout.js"),R=require("./composables/use-namespace/index.js"),r=require("./utils/vue/index.js"),e=require("./utils/util.js"),m=require("./components/colors/src/primary-color.vue.js"),q=require("./components/colors/src/secondary-color.vue.js"),y=require("./components/colors/src/neutral-color.vue.js"),_=require("./components/button/index.js"),C=require("./components/input/index.js"),b=require("./components/tabs/index.js"),L=require("./components/colors/index.js"),T=require("./components/filter-panel/index.js"),F=require("./components/svg-icon/index.js"),I=require("./rappel-ui/resolver.js"),o=r.createGlobalInstaller(Object.values(t)),s=o.install,l=o.version,x={install:s,version:l,...t};exports.svgLoadingContent=n.svgLoadingContent;exports.vDraggable=i.vDraggable;exports.applyResizable=a.applyResizable;exports.vResizable=a.vResizable;exports.vSvgLoading=u.vSvgLoading;exports.useDraggable=c.useDraggable;exports.useDateFormat=d.useDateFormat;exports.useOnceFn=g.useOnceFn;exports.useTimeNodes=v.useTimeNodes;exports.useWaterFallLayout=p.useWaterFallLayout;exports.useNamespace=R.useNamespace;exports.INSTALLED_KEY=r.INSTALLED_KEY;exports.createGlobalInstaller=r.createGlobalInstaller;exports.toLowerCase=r.toLowerCase;exports.withInstall=r.withInstall;exports.withMultiInstall=r.withMultiInstall;exports.autoCalcFileSize=e.autoCalcFileSize;exports.buildTree=e.buildTree;exports.createColors=e.createColors;exports.createOverload=e.createOverload;exports.darkenColor=e.darkenColor;exports.deepClone=e.deepClone;exports.deleteKeys=e.deleteKeys;exports.flatArr=e.flatArr;exports.getEqualOpacityColor=e.getEqualOpacityColor;exports.hasOwnProperty=e.hasOwnProperty;exports.isPlainObject=e.isPlainObject;exports.joinURLs=e.joinURLs;exports.lineBreakToComma=e.lineBreakToComma;exports.omitEmptyKeys=e.omitEmptyKeys;exports.paramsToFormData=e.paramsToFormData;exports.readTxtByEncodes=e.readTxtByEncodes;exports.readTxtFile=e.readTxtFile;exports.setURLSearchParams=e.setURLSearchParams;exports.singleton=e.singleton;exports.RePrimaryColor=m.default;exports.ReSecondaryColor=q.default;exports.ReNeutralColor=y.default;exports.ReButton=_.ReButton;exports.ReInput=C.ReInput;exports.ReTabs=b.ReTabs;exports.ReColors=L.ReColors;exports.ReFilterPanel=T.ReFilterPanel;exports.ReSvgIcon=F.ReSvgIcon;exports.RappelUIResolver=I.RappelUIResolver;exports.default=x;exports.install=s;exports.version=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../../../@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js"),s=require("vue"),m=i.isClient?window:void 0;function a(o){var t;const c=s.toValue(o);return(t=c?.$el)!==null&&t!==void 0?t:c}function S(){const o=s.shallowRef(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{o.value=!0},t),o}function g(o){const t=S();return s.computed(()=>(t.value,!!o()))}function M(o,t,c={}){const{window:d=m,...v}=c;let n;const u=g(()=>d&&"MutationObserver"in d),r=()=>{n&&(n.disconnect(),n=void 0)},p=s.watch(s.computed(()=>{const e=i.toArray(s.toValue(o)).map(a).filter(i.notNullish);return new Set(e)}),e=>{r(),u.value&&e.size&&(n=new MutationObserver(t),e.forEach(b=>n.observe(b,v)))},{immediate:!0,flush:"post"}),f=()=>n?.takeRecords(),l=()=>{p(),r()};return i.tryOnScopeDispose(l),{isSupported:u,stop:l,takeRecords:f}}function y(o,t,c={}){const{window:d=m,...v}=c;let n;const u=g(()=>d&&"ResizeObserver"in d),r=()=>{n&&(n.disconnect(),n=void 0)},p=s.watch(s.computed(()=>{const l=s.toValue(o);return Array.isArray(l)?l.map(e=>a(e)):[a(l)]}),l=>{if(r(),u.value&&d){n=new ResizeObserver(t);for(const e of l)e&&n.observe(e,v)}},{immediate:!0,flush:"post"}),f=()=>{r(),p()};return i.tryOnScopeDispose(f),{isSupported:u,stop:f}}function R(o,t={width:0,height:0},c={}){const{window:d=m,box:v="content-box"}=c,n=s.computed(()=>{var e;return(e=a(o))===null||e===void 0||(e=e.namespaceURI)===null||e===void 0?void 0:e.includes("svg")}),u=s.shallowRef(t.width),r=s.shallowRef(t.height),{stop:p}=y(o,([e])=>{const b=v==="border-box"?e.borderBoxSize:v==="content-box"?e.contentBoxSize:e.devicePixelContentBoxSize;if(d&&n.value){const w=a(o);if(w){const h=w.getBoundingClientRect();u.value=h.width,r.value=h.height}}else if(b){const w=i.toArray(b);u.value=w.reduce((h,{inlineSize:O})=>h+O,0),r.value=w.reduce((h,{blockSize:O})=>h+O,0)}else u.value=e.contentRect.width,r.value=e.contentRect.height},c);i.tryOnMounted(()=>{const e=a(o);e&&(u.value="offsetWidth"in e?e.offsetWidth:t.width,r.value="offsetHeight"in e?e.offsetHeight:t.height)});const f=s.watch(()=>a(o),e=>{u.value=e?t.width:0,r.value=e?t.height:0});function l(){p(),f()}return{width:u,height:r,stop:l}}exports.getLifeCycleTarget=i.getLifeCycleTarget;exports.isClient=i.isClient;exports.notNullish=i.notNullish;exports.toArray=i.toArray;exports.tryOnMounted=i.tryOnMounted;exports.tryOnScopeDispose=i.tryOnScopeDispose;exports.defaultWindow=m;exports.unrefElement=a;exports.useElementSize=R;exports.useMounted=S;exports.useMutationObserver=M;exports.useResizeObserver=y;exports.useSupported=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");function i(e,n){return t.getCurrentScope()?(t.onScopeDispose(e,n),!0):!1}const u=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const s=e=>e!=null;function c(e){return Array.isArray(e)?e:[e]}function o(e){return t.getCurrentInstance()}function l(e,n=!0,r){o()?t.onMounted(e,r):n?e():t.nextTick(e)}exports.getLifeCycleTarget=o;exports.isClient=u;exports.notNullish=s;exports.toArray=c;exports.tryOnMounted=l;exports.tryOnScopeDispose=i;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.re-filter-panel{display:flex;align-items:start;overflow:hidden;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;border-radius:4px}.re-filter-panel__inner{flex:1;min-width:0;display:flex;flex-wrap:wrap}.re-filter-panel__extra{margin-top:1em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.re-svg-icon{display:inline-block;vertical-align:middle}.re-svg-icon__spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export * from './src/types.ts';
|
|
2
|
+
export declare const ReFilterPanel: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
isExpand?: boolean;
|
|
5
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
6
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
update: () => void;
|
|
12
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
13
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
14
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
15
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
16
|
+
maxH: import('vue').ComputedRef<number>;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
search: (...args: any[]) => void;
|
|
19
|
+
reset: (...args: any[]) => void;
|
|
20
|
+
"update:isExpand": (value: boolean) => void;
|
|
21
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
22
|
+
wrapper: HTMLDivElement;
|
|
23
|
+
inner: HTMLDivElement;
|
|
24
|
+
main: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
26
|
+
P: {};
|
|
27
|
+
B: {};
|
|
28
|
+
D: {};
|
|
29
|
+
C: {};
|
|
30
|
+
M: {};
|
|
31
|
+
Defaults: {};
|
|
32
|
+
}, Readonly<{
|
|
33
|
+
isExpand?: boolean;
|
|
34
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
35
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
toggle: () => void;
|
|
40
|
+
update: () => void;
|
|
41
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
42
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
43
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
44
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
45
|
+
maxH: import('vue').ComputedRef<number>;
|
|
46
|
+
}, {}, {}, {}, {}>;
|
|
47
|
+
__isFragment?: never;
|
|
48
|
+
__isTeleport?: never;
|
|
49
|
+
__isSuspense?: never;
|
|
50
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
51
|
+
isExpand?: boolean;
|
|
52
|
+
} & import('./index.ts').FilterPanelProps> & Readonly<{
|
|
53
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
"onUpdate:isExpand"?: ((value: boolean) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
toggle: () => void;
|
|
58
|
+
update: () => void;
|
|
59
|
+
isExpand: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
60
|
+
innerH: import('vue').ShallowRef<number, number>;
|
|
61
|
+
innerW: import('vue').ShallowRef<number, number>;
|
|
62
|
+
wrapperW: import('vue').ShallowRef<number, number>;
|
|
63
|
+
maxH: import('vue').ComputedRef<number>;
|
|
64
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
+
search: (...args: any[]) => void;
|
|
66
|
+
reset: (...args: any[]) => void;
|
|
67
|
+
"update:isExpand": (value: boolean) => void;
|
|
68
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: {
|
|
70
|
+
default?(_: {}): any;
|
|
71
|
+
main?(_: {}): any;
|
|
72
|
+
expand?(_: {}): any;
|
|
73
|
+
reset?(_: {}): any;
|
|
74
|
+
search?(_: {}): any;
|
|
75
|
+
extra?(_: {}): any;
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
export default ReFilterPanel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { defineComponent as A, mergeModels as S, useTemplateRef as c, computed as H, useModel as F, effectScope as L, watchEffect as P, watch as U, onUnmounted as G, onMounted as I, createElementBlock as N, openBlock as v, normalizeStyle as J, normalizeClass as u, unref as o, createElementVNode as h, renderSlot as l, createCommentVNode as V, createBlock as K, withModifiers as b, withCtx as y, createTextVNode as w, toDisplayString as Q, createVNode as z } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { useElementSize as x, useMutationObserver as X } from "../../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
|
|
5
|
+
import { ReButton as g } from "../../button/index.mjs";
|
|
6
|
+
import "../../input/index.mjs";
|
|
7
|
+
import "../../tabs/index.mjs";
|
|
8
|
+
import "../../colors/index.mjs";
|
|
9
|
+
import "../index.mjs";
|
|
10
|
+
import "../../svg-icon/index.mjs";
|
|
11
|
+
import { useNamespace as Y } from "../../../composables/use-namespace/index.mjs";
|
|
12
|
+
const ue = /* @__PURE__ */ A({
|
|
13
|
+
name: "ReFilterPanel",
|
|
14
|
+
__name: "filter-panel",
|
|
15
|
+
props: /* @__PURE__ */ S({
|
|
16
|
+
selector: { default: "> *" },
|
|
17
|
+
maxHeight: { default: 0 },
|
|
18
|
+
itemMinw: { default: 240 },
|
|
19
|
+
exclude: { default: "[exclude]" },
|
|
20
|
+
loading: { type: Boolean, default: !1 },
|
|
21
|
+
enableObserver: { type: Boolean, default: !1 },
|
|
22
|
+
observerOptions: { default: () => ({}) }
|
|
23
|
+
}, {
|
|
24
|
+
isExpand: { type: Boolean, default: !1 },
|
|
25
|
+
isExpandModifiers: {}
|
|
26
|
+
}),
|
|
27
|
+
emits: /* @__PURE__ */ S(["reset", "search"], ["update:isExpand"]),
|
|
28
|
+
setup(a, { expose: R, emit: D }) {
|
|
29
|
+
const { n: T, ns: n } = Y("filter-panel"), $ = c("main"), { height: W } = x($), s = H(() => a.maxHeight || W.value), k = D, E = c("wrapper"), i = c("inner"), r = F(a, "isExpand"), j = H(() => d.value > s.value), M = () => {
|
|
30
|
+
r.value = !r.value;
|
|
31
|
+
}, { height: d, width: p } = x(i, {
|
|
32
|
+
width: 0,
|
|
33
|
+
height: s.value
|
|
34
|
+
}), { width: B } = x(E, {
|
|
35
|
+
width: 0,
|
|
36
|
+
height: s.value
|
|
37
|
+
}), m = () => {
|
|
38
|
+
if (!i.value) return;
|
|
39
|
+
const e = i.value.querySelectorAll(
|
|
40
|
+
`.${n("", "inner")} ${a.selector}:not(${a.exclude})`
|
|
41
|
+
), t = Math.floor(p.value / a.itemMinw);
|
|
42
|
+
e.forEach((f) => {
|
|
43
|
+
f.style.width = `${100 / t}%`;
|
|
44
|
+
});
|
|
45
|
+
}, C = L();
|
|
46
|
+
C.run(() => {
|
|
47
|
+
P(() => {
|
|
48
|
+
p.value && B.value && m();
|
|
49
|
+
}), U(
|
|
50
|
+
() => d.value,
|
|
51
|
+
(e) => {
|
|
52
|
+
e > s.value && (r.value = !1);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
});
|
|
56
|
+
const q = () => {
|
|
57
|
+
const { stop: e } = X(
|
|
58
|
+
i.value,
|
|
59
|
+
() => {
|
|
60
|
+
m();
|
|
61
|
+
},
|
|
62
|
+
Object.assign(
|
|
63
|
+
{
|
|
64
|
+
childList: !0,
|
|
65
|
+
subtree: !0,
|
|
66
|
+
attributes: !0,
|
|
67
|
+
characterData: !0
|
|
68
|
+
},
|
|
69
|
+
a.observerOptions || {}
|
|
70
|
+
)
|
|
71
|
+
);
|
|
72
|
+
return { stop: e };
|
|
73
|
+
};
|
|
74
|
+
let O;
|
|
75
|
+
return a.enableObserver && (O = q().stop), G(() => {
|
|
76
|
+
C.stop(), O?.();
|
|
77
|
+
}), I(() => {
|
|
78
|
+
m();
|
|
79
|
+
}), R({
|
|
80
|
+
toggle: M,
|
|
81
|
+
update: m,
|
|
82
|
+
isExpand: r,
|
|
83
|
+
innerH: d,
|
|
84
|
+
innerW: p,
|
|
85
|
+
wrapperW: B,
|
|
86
|
+
maxH: s
|
|
87
|
+
}), (e, t) => (v(), N("div", {
|
|
88
|
+
class: u([o(T)("")]),
|
|
89
|
+
style: J({ "max-height": `${r.value ? o(d) : s.value}px` }),
|
|
90
|
+
ref_key: "wrapper",
|
|
91
|
+
ref: E
|
|
92
|
+
}, [
|
|
93
|
+
h("div", {
|
|
94
|
+
class: u([o(n)("", "inner")]),
|
|
95
|
+
ref_key: "inner",
|
|
96
|
+
ref: i
|
|
97
|
+
}, [
|
|
98
|
+
l(e.$slots, "default")
|
|
99
|
+
], 2),
|
|
100
|
+
h("div", {
|
|
101
|
+
class: u([o(n)("", "operator")])
|
|
102
|
+
}, [
|
|
103
|
+
h("div", {
|
|
104
|
+
ref_key: "main",
|
|
105
|
+
ref: $,
|
|
106
|
+
class: u([o(n)("", "main")])
|
|
107
|
+
}, [
|
|
108
|
+
l(e.$slots, "main", {}, () => [
|
|
109
|
+
l(e.$slots, "expand", {}, () => [
|
|
110
|
+
j.value ? (v(), K(o(g), {
|
|
111
|
+
key: 0,
|
|
112
|
+
type: "primary",
|
|
113
|
+
onClick: b(M, ["stop"])
|
|
114
|
+
}, {
|
|
115
|
+
default: y(() => [
|
|
116
|
+
w(Q(r.value ? "收起" : "展开"), 1)
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
})) : V("", !0)
|
|
120
|
+
]),
|
|
121
|
+
l(e.$slots, "reset", {}, () => [
|
|
122
|
+
z(o(g), {
|
|
123
|
+
disabled: a.loading,
|
|
124
|
+
onClick: t[0] || (t[0] = b((f) => k("reset"), ["stop"]))
|
|
125
|
+
}, {
|
|
126
|
+
default: y(() => [...t[2] || (t[2] = [
|
|
127
|
+
w("重置", -1)
|
|
128
|
+
])]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["disabled"])
|
|
131
|
+
]),
|
|
132
|
+
l(e.$slots, "search", {}, () => [
|
|
133
|
+
z(o(g), {
|
|
134
|
+
type: "primary",
|
|
135
|
+
disabled: a.loading,
|
|
136
|
+
onClick: t[1] || (t[1] = b((f) => k("search"), ["stop"]))
|
|
137
|
+
}, {
|
|
138
|
+
default: y(() => [...t[3] || (t[3] = [
|
|
139
|
+
w(" 查询 ", -1)
|
|
140
|
+
])]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 8, ["disabled"])
|
|
143
|
+
])
|
|
144
|
+
])
|
|
145
|
+
], 2),
|
|
146
|
+
e.$slots.extra ? (v(), N("div", {
|
|
147
|
+
key: 0,
|
|
148
|
+
class: u([o(n)("", "extra")])
|
|
149
|
+
}, [
|
|
150
|
+
l(e.$slots, "extra")
|
|
151
|
+
], 2)) : V("", !0)
|
|
152
|
+
], 2)
|
|
153
|
+
], 6));
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
export {
|
|
157
|
+
ue as default
|
|
158
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface FilterPanelProps {
|
|
2
|
+
selector?: string;
|
|
3
|
+
maxHeight?: number;
|
|
4
|
+
itemMinw?: number;
|
|
5
|
+
exclude?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
enableObserver?: boolean;
|
|
8
|
+
observerOptions?: {
|
|
9
|
+
attributeFilter?: string[];
|
|
10
|
+
attributeOldValue?: boolean;
|
|
11
|
+
attributes?: boolean;
|
|
12
|
+
characterData?: boolean;
|
|
13
|
+
characterDataOldValue?: boolean;
|
|
14
|
+
childList?: boolean;
|
|
15
|
+
subtree?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export type { FilterPanelProps };
|
|
File without changes
|
|
File without changes
|
package/es/components/index.d.ts
CHANGED
package/es/components/index.mjs
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { ReButton as e } from "./button/index.mjs";
|
|
2
|
-
import { ReInput as
|
|
2
|
+
import { ReInput as f } from "./input/index.mjs";
|
|
3
3
|
import { ReTabs as l } from "./tabs/index.mjs";
|
|
4
4
|
import { ReColors as p } from "./colors/index.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { default as
|
|
5
|
+
import { ReFilterPanel as R } from "./filter-panel/index.mjs";
|
|
6
|
+
import { ReSvgIcon as n } from "./svg-icon/index.mjs";
|
|
7
|
+
import { default as d } from "./colors/src/primary-color.vue.mjs";
|
|
8
|
+
import { default as c } from "./colors/src/secondary-color.vue.mjs";
|
|
9
|
+
import { default as y } from "./colors/src/neutral-color.vue.mjs";
|
|
8
10
|
export {
|
|
9
11
|
e as ReButton,
|
|
10
12
|
p as ReColors,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
R as ReFilterPanel,
|
|
14
|
+
f as ReInput,
|
|
15
|
+
y as ReNeutralColor,
|
|
16
|
+
d as RePrimaryColor,
|
|
17
|
+
c as ReSecondaryColor,
|
|
18
|
+
n as ReSvgIcon,
|
|
15
19
|
l as ReTabs
|
|
16
20
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './src/types';
|
|
2
|
+
export declare const ReSvgIcon: import('vue').DefineComponent<import('.').SvgIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('.').SvgIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
3
|
+
export default ReSvgIcon;
|