@delta-comic/ui 0.0.0-semantically-released
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/LICENSE +661 -0
- package/README.md +42 -0
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.js +9771 -0
- package/dist/index.js.map +1 -0
- package/dist/index2.cjs +2 -0
- package/dist/index2.cjs.map +1 -0
- package/dist/index2.js +14 -0
- package/dist/index2.js.map +1 -0
- package/dist/lib/components/DcAwait.vue.d.ts +26 -0
- package/dist/lib/components/DcContent.vue.d.ts +43 -0
- package/dist/lib/components/DcFloatPopup.vue.d.ts +39 -0
- package/dist/lib/components/DcImage.vue.d.ts +1158 -0
- package/dist/lib/components/DcList.vue.d.ts +55 -0
- package/dist/lib/components/DcLoading.vue.d.ts +18 -0
- package/dist/lib/components/DcPopup.vue.d.ts +41 -0
- package/dist/lib/components/DcRouterTab.vue.d.ts +34 -0
- package/dist/lib/components/DcText.vue.d.ts +23 -0
- package/dist/lib/components/DcToggleIcon.vue.d.ts +42 -0
- package/dist/lib/components/DcVar.vue.d.ts +23 -0
- package/dist/lib/components/DcWaterfall.vue.d.ts +54 -0
- package/dist/lib/components/icons.d.ts +6 -0
- package/dist/lib/form/components/DcForm.vue.d.ts +38 -0
- package/dist/lib/form/components/DcFormCheckbox.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormDate.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormDateRange.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormItem.vue.d.ts +21 -0
- package/dist/lib/form/components/DcFormNumber.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormPairs.vue.d.ts +19 -0
- package/dist/lib/form/components/DcFormRadio.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormString.vue.d.ts +13 -0
- package/dist/lib/form/components/DcFormSwitch.vue.d.ts +13 -0
- package/dist/lib/form/row.d.ts +73 -0
- package/dist/lib/form/type.d.ts +10 -0
- package/dist/lib/index.d.ts +40 -0
- package/dist/lib/message/dialog.d.ts +9 -0
- package/dist/lib/message/download.d.ts +13 -0
- package/dist/lib/message/index.d.ts +3 -0
- package/dist/lib/message/loading.d.ts +14 -0
- package/dist/lib/utils/image.d.ts +5 -0
- package/dist/lib/utils/index.d.ts +3 -0
- package/dist/lib/utils/layout.d.ts +8 -0
- package/dist/pack.tgz +0 -0
- package/dist/vite/index.d.ts +2 -0
- package/package.json +79 -0
package/dist/index2.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index2.cjs","names":[],"sources":["../vite/index.ts"],"sourcesContent":["import type { ComponentResolver } from 'unplugin-vue-components'\n\nexport function DeltaComicUiResolver(): ComponentResolver {\n return {\n type: 'component',\n resolve: (name: string) => {\n if (name.match(/^(Dc[A-Z]|dc-[a-z])/)) return { name, from: '@delta-comic/ui' }\n }\n }\n}"],"mappings":"mEAEA,SAAgB,GAA0C,CACxD,MAAO,CACL,KAAM,YACN,QAAU,GAAiB,CACzB,GAAI,EAAK,MAAM,sBAAsB,CAAE,MAAO,CAAE,OAAM,KAAM,kBAAmB,EAElF"}
|
package/dist/index2.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function DeltaComicUiResolver() {
|
|
2
|
+
return {
|
|
3
|
+
type: "component",
|
|
4
|
+
resolve: (e) => {
|
|
5
|
+
if (e.match(/^(Dc[A-Z]|dc-[a-z])/)) return {
|
|
6
|
+
name: e,
|
|
7
|
+
from: "@delta-comic/ui"
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export { DeltaComicUiResolver };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=index2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index2.js","names":[],"sources":["../vite/index.ts"],"sourcesContent":["import type { ComponentResolver } from 'unplugin-vue-components'\n\nexport function DeltaComicUiResolver(): ComponentResolver {\n return {\n type: 'component',\n resolve: (name: string) => {\n if (name.match(/^(Dc[A-Z]|dc-[a-z])/)) return { name, from: '@delta-comic/ui' }\n }\n }\n}"],"mappings":"AAEA,SAAgB,uBAA0C;AACxD,QAAO;EACL,MAAM;EACN,UAAU,MAAiB;AACzB,OAAI,EAAK,MAAM,sBAAsB,CAAE,QAAO;IAAE;IAAM,MAAM;IAAmB;;EAElF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: <T extends PromiseLike<unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
3
|
+
promise: () => T;
|
|
4
|
+
autoLoad?: boolean;
|
|
5
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
7
|
+
attrs: any;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
default(arg: {
|
|
10
|
+
result: Awaited<T> | undefined;
|
|
11
|
+
load: () => Promise<T>;
|
|
12
|
+
}): any;
|
|
13
|
+
}> & {
|
|
14
|
+
default(arg: {
|
|
15
|
+
result: Awaited<T> | undefined;
|
|
16
|
+
load: () => Promise<T>;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
emit: {};
|
|
20
|
+
}>) => import('vue').VNode & {
|
|
21
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PromiseContent, Stream } from '@delta-comic/model';
|
|
2
|
+
import { StyleValue } from 'vue';
|
|
3
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onRetry?: (() => any) | undefined;
|
|
6
|
+
readonly onResetRetry?: (() => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onRetry" | "onResetRetry"> & ({
|
|
8
|
+
retriable?: boolean;
|
|
9
|
+
hideError?: boolean;
|
|
10
|
+
hideEmpty?: boolean;
|
|
11
|
+
hideLoading?: boolean;
|
|
12
|
+
source: PromiseContent<any, T[]> | Stream<T> | T[] | T;
|
|
13
|
+
} & {
|
|
14
|
+
class?: any;
|
|
15
|
+
classError?: any;
|
|
16
|
+
classEmpty?: any;
|
|
17
|
+
classLoading?: any;
|
|
18
|
+
style?: StyleValue;
|
|
19
|
+
styleError?: StyleValue;
|
|
20
|
+
styleEmpty?: StyleValue;
|
|
21
|
+
styleLoading?: StyleValue;
|
|
22
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
23
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
24
|
+
cont: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
|
|
25
|
+
}>): void;
|
|
26
|
+
attrs: any;
|
|
27
|
+
slots: Readonly<{
|
|
28
|
+
default(data: {
|
|
29
|
+
data?: T;
|
|
30
|
+
}): any;
|
|
31
|
+
}> & {
|
|
32
|
+
default(data: {
|
|
33
|
+
data?: T;
|
|
34
|
+
}): any;
|
|
35
|
+
};
|
|
36
|
+
emit: ((evt: "retry") => void) & ((evt: "resetRetry") => void);
|
|
37
|
+
}>) => import('vue').VNode & {
|
|
38
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_PrettifyLocal<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
anchors?: 'high' | 'low' | number[];
|
|
4
|
+
lockScroll?: boolean;
|
|
5
|
+
class?: any;
|
|
6
|
+
style?: StyleValue;
|
|
7
|
+
overlay?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: Readonly<{
|
|
12
|
+
default(arg: {
|
|
13
|
+
height: number;
|
|
14
|
+
}): void;
|
|
15
|
+
}> & {
|
|
16
|
+
default(arg: {
|
|
17
|
+
height: number;
|
|
18
|
+
}): void;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: any;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
25
|
+
show(node?: number): void;
|
|
26
|
+
close(): void;
|
|
27
|
+
isShowing: Readonly<import('vue').ShallowRef<boolean, boolean>>;
|
|
28
|
+
height: Readonly<import('vue').ShallowRef<number, number>>;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
|
+
anchors: "high" | "low" | number[];
|
|
31
|
+
lockScroll: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|