@wujies/components 0.0.0-stage → 5.6.2
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/dist/host/api/config.d.ts +2 -0
- package/dist/host/api/oss.d.ts +2 -0
- package/dist/host/api/types.d.ts +11 -0
- package/dist/host/api/user.d.ts +1 -0
- package/dist/host/components/ImagePreview.vue.d.ts +54 -0
- package/dist/host/components/ImageUpload.vue.d.ts +129 -0
- package/dist/host/components/KCard.vue.d.ts +16 -0
- package/dist/host/components/KDictTag.vue.d.ts +24 -0
- package/dist/host/components/KPlainButton.vue.d.ts +18 -0
- package/dist/host/components/KSearchBar.vue.d.ts +194 -0
- package/dist/host/components/KSelectedAlert.vue.d.ts +9 -0
- package/dist/host/components/KTable.vue.d.ts +81 -0
- package/dist/host/components/KTableHeader.vue.d.ts +42 -0
- package/dist/host/components/ModuleBusinessSettings.vue.d.ts +7 -0
- package/dist/host/components/ModuleWebsiteSettings.vue.d.ts +7 -0
- package/dist/host/components/SettingForm.vue.d.ts +40 -0
- package/dist/host/components/SettingTabs.vue.d.ts +25 -0
- package/dist/host/components/UserDetail.vue.d.ts +10 -0
- package/dist/host/contact.d.ts +5 -0
- package/dist/host/propTypes.d.ts +29 -0
- package/dist/host/request.d.ts +4 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +5049 -0
- package/dist/index.js.map +1 -0
- package/dist/names.d.ts +9 -0
- package/dist/names.js +19 -0
- package/dist/names.js.map +1 -0
- package/dist/style.css +614 -0
- package/dist/types.d.ts +38 -0
- package/package.json +61 -3
- package/README.md +0 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Tab {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
icon: any;
|
|
5
|
+
}
|
|
6
|
+
interface Props {
|
|
7
|
+
modelValue: string;
|
|
8
|
+
tabs: Tab[];
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_9: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
userId?: number | string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function isContactBound(value?: string | null): boolean;
|
|
2
|
+
export declare function sanitizeContactValue(value?: string | null): string;
|
|
3
|
+
export declare function formatContactDisplay(value?: string | null, fallback?: string): string;
|
|
4
|
+
export declare function maskPhone(value?: string | null, fallback?: string): string;
|
|
5
|
+
export declare function maskEmail(value?: string | null, fallback?: string): string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type PropDef<T, C> = {
|
|
2
|
+
type: C;
|
|
3
|
+
default: T;
|
|
4
|
+
};
|
|
5
|
+
interface SimplePropTypes {
|
|
6
|
+
string: {
|
|
7
|
+
def: (value?: string) => PropDef<string, StringConstructor>;
|
|
8
|
+
};
|
|
9
|
+
number: {
|
|
10
|
+
def: (value?: number) => PropDef<number, NumberConstructor>;
|
|
11
|
+
};
|
|
12
|
+
integer: {
|
|
13
|
+
def: (value?: number) => PropDef<number, NumberConstructor>;
|
|
14
|
+
};
|
|
15
|
+
bool: {
|
|
16
|
+
def: (value?: boolean) => PropDef<boolean, BooleanConstructor>;
|
|
17
|
+
};
|
|
18
|
+
array: {
|
|
19
|
+
def: <T>(value?: T[]) => PropDef<T[], ArrayConstructor>;
|
|
20
|
+
};
|
|
21
|
+
object: {
|
|
22
|
+
def: <T>(value?: T) => PropDef<T, ObjectConstructor>;
|
|
23
|
+
};
|
|
24
|
+
func: {
|
|
25
|
+
def: (value?: (...args: any[]) => any) => PropDef<(...args: any[]) => any, FunctionConstructor>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
declare const propTypes: SimplePropTypes;
|
|
29
|
+
export { propTypes };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 真实组件库入口。
|
|
3
|
+
*
|
|
4
|
+
* 源码由 `pnpm sync:host` 从宿主 plus-ui 同步(见 scripts/sync-host-components.mjs),
|
|
5
|
+
* 构建后是可直接 import 的 Vue 组件。宿主运行时仍通过 Import Map 指向自己的那份实例,
|
|
6
|
+
* 所以插件与宿主共享同一个 Vue / Element Plus,不会出现双实例。
|
|
7
|
+
*/
|
|
8
|
+
export { default as ImagePreview } from './host/components/ImagePreview.vue';
|
|
9
|
+
export { default as ImageUpload } from './host/components/ImageUpload.vue';
|
|
10
|
+
export { default as KCard } from './host/components/KCard.vue';
|
|
11
|
+
export { default as KDictTag } from './host/components/KDictTag.vue';
|
|
12
|
+
export { default as KPlainButton } from './host/components/KPlainButton.vue';
|
|
13
|
+
export { default as KSearchBar } from './host/components/KSearchBar.vue';
|
|
14
|
+
export { default as KSelectedAlert } from './host/components/KSelectedAlert.vue';
|
|
15
|
+
export { default as KTable } from './host/components/KTable.vue';
|
|
16
|
+
export { default as KTableHeader } from './host/components/KTableHeader.vue';
|
|
17
|
+
export { default as ModuleBusinessSettings } from './host/components/ModuleBusinessSettings.vue';
|
|
18
|
+
export { default as ModuleWebsiteSettings } from './host/components/ModuleWebsiteSettings.vue';
|
|
19
|
+
export { default as SettingTabs } from './host/components/SettingTabs.vue';
|
|
20
|
+
export { default as UserDetail } from './host/components/UserDetail.vue';
|
|
21
|
+
export { WUJIES_COMPONENT_NAMES } from './names';
|
|
22
|
+
export type { WujiesComponentName } from './names';
|
|
23
|
+
export type { KSearchBarItem, KSearchBarOption, KTableColumn, WujiesComponent } from './types';
|