ranui 0.1.9 → 0.1.10-alpha.1
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/_commonjs-dynamic-modules-DLbDWi6a.js +12 -0
- package/dist/arrow-down-C9jBUUt3.js +30 -0
- package/dist/assets/image/failImage.d.ts +2 -0
- package/dist/button.js +7 -0
- package/dist/checkbox.js +7 -0
- package/dist/colorpicker.js +13 -0
- package/dist/{colz-746223ab.js → colz-CRDozfZA.js} +1 -5
- package/dist/components/button/index.d.ts +7 -3
- package/dist/components/checkbox/index.d.ts +27 -0
- package/dist/components/colorpicker/index.d.ts +122 -0
- package/dist/components/content/index.d.ts +15 -0
- package/dist/components/input/index.d.ts +65 -41
- package/dist/components/message/index.d.ts +2 -0
- package/dist/components/option/index.d.ts +2 -1
- package/dist/components/player/index.d.ts +31 -6
- package/dist/components/popover/index.d.ts +39 -0
- package/dist/components/preview/docx.d.ts +1 -1
- package/dist/components/preview/index.d.ts +2 -0
- package/dist/components/preview/pptx/process_pptx.d.ts +1 -1
- package/dist/components/progress/index.d.ts +11 -5
- package/dist/components/radar/index.d.ts +1 -1
- package/dist/components/scratch/index.d.ts +5 -1
- package/dist/components/select/index.d.ts +15 -7
- package/dist/content.js +6 -0
- package/dist/docx-ajDUtnbM.js +3665 -0
- package/dist/global-DOfcrQ2N.js +4 -0
- package/dist/icon.js +6 -0
- package/dist/iconShadowless.js +6 -0
- package/dist/image.js +4 -0
- package/dist/index-0fvHQjmN.js +298 -0
- package/dist/{index-1b73beee.js → index-BLepXisd.js} +55 -90
- package/dist/{index-e2e5d725.js → index-BOoNI-Al.js} +113 -305
- package/dist/{index-2d16a084.js → index-BPBRPxND.js} +8 -10
- package/dist/{index-e03d23e7.js → index-BpOERe9M.js} +1 -1
- package/dist/index-Bv6Z6rIe.js +498 -0
- package/dist/index-ByJ7zZdQ.js +65641 -0
- package/dist/{index-b7790662.js → index-C1x9Popy.js} +1 -1
- package/dist/index-CCNK5H8T.js +103 -0
- package/dist/{index-458debf7.js → index-CD09p_mF.js} +7 -31
- package/dist/{index-1048a998.js → index-CFnsLnrb.js} +68 -19
- package/dist/{index-4443363f.js → index-CJZp9lE4.js} +29 -50
- package/dist/{index-57492b9b.js → index-CSnBqUsQ.js} +48 -1
- package/dist/index-CWWI8SHO.js +206 -0
- package/dist/{index-7b8840f9.js → index-CZlEoE62.js} +220 -1010
- package/dist/index-CbyMC6Yz.js +59 -0
- package/dist/index-CiBVH-oH.js +258 -0
- package/dist/{index-3cf72afd.js → index-DUMmFdJ7.js} +9 -23
- package/dist/{index-01b17e26.js → index-Du-Biu-I.js} +1 -1
- package/dist/index-EnzWG8R0.js +521 -0
- package/dist/index-F2RO3OU4.js +501 -0
- package/dist/{index-7216d6b0.js → index-GavQwMDL.js} +11 -29
- package/dist/{index-0d5b9435.js → index-suip9eAw.js} +2 -2
- package/dist/index.d.ts +18 -14
- package/dist/index.js +23 -19
- package/dist/info-circle-fill-CFeVMdci.js +4 -0
- package/dist/input.js +6 -0
- package/dist/inputShadowless.js +6 -0
- package/dist/jszip.min-Ca6PjkYs.js +2674 -0
- package/dist/message.js +5 -0
- package/dist/modal.js +4 -0
- package/dist/{components/option/index.js → option.js} +3 -6
- package/dist/{pdf-bdb7818a.js → pdf-B2a6ll8f.js} +1 -1
- package/dist/player.js +8 -0
- package/dist/popover.js +6 -0
- package/dist/preview.js +7 -0
- package/dist/progress.js +7 -0
- package/dist/radar.js +6 -0
- package/dist/select.js +10 -0
- package/dist/selectShadowless.js +10 -0
- package/dist/{umd/components/image → shadowless/icon}/index.d.ts +1 -0
- package/dist/{umd/components → shadowless}/input/index.d.ts +33 -8
- package/dist/{umd/components → shadowless}/select/index.d.ts +16 -12
- package/dist/shadowless/shadowless/index.js +14 -0
- package/dist/shadowless.d.ts +3 -0
- package/dist/skeleton.js +4 -0
- package/dist/sprite-CH2zLtZy.js +141 -0
- package/dist/style.css +1 -1
- package/dist/tab.js +6 -0
- package/dist/tabpane.js +4 -0
- package/dist/tsconfig.json +29 -0
- package/dist/umd/index.umd.cjs +21 -32
- package/dist/umd/shadowless/shadowless.umd.cjs +1 -0
- package/dist/umd/shadowless/style.css +1 -0
- package/dist/umd/style.css +1 -1
- package/dist/utils/color.d.ts +52 -0
- package/dist/utils/index.d.ts +9 -1
- package/dist/{index-7913ec46.js → utils-BMBEcoPj.js} +279 -162
- package/dist/vite.config.d.ts +1 -0
- package/package.json +61 -36
- package/readme.md +14 -14
- package/typings.d.ts +101 -0
- package/dist/components/button/index.js +0 -8
- package/dist/components/icon/index.js +0 -6
- package/dist/components/image/index.js +0 -4
- package/dist/components/input/index.js +0 -6
- package/dist/components/message/index.js +0 -4
- package/dist/components/modal/index.js +0 -4
- package/dist/components/player/index.js +0 -12
- package/dist/components/preview/index.js +0 -8
- package/dist/components/progress/index.js +0 -8
- package/dist/components/radar/index.js +0 -7
- package/dist/components/select/index.js +0 -11
- package/dist/components/skeleton/index.js +0 -4
- package/dist/components/tab/index.js +0 -7
- package/dist/components/tabpane/index.js +0 -4
- package/dist/docx-c5d02d8c.js +0 -21
- package/dist/index-73ce455b.js +0 -264
- package/dist/index-c14450a9.js +0 -662
- package/dist/info-circle-fill-90ec9aa9.js +0 -14
- package/dist/umd/build/config.d.ts +0 -3
- package/dist/umd/build/config.umd.d.ts +0 -2
- package/dist/umd/components/button/index.d.ts +0 -35
- package/dist/umd/components/form/index.d.ts +0 -2
- package/dist/umd/components/icon/index.d.ts +0 -2
- package/dist/umd/components/message/index.d.ts +0 -14
- package/dist/umd/components/modal/index.d.ts +0 -2
- package/dist/umd/components/option/index.d.ts +0 -2
- package/dist/umd/components/player/index.d.ts +0 -213
- package/dist/umd/components/preview/colz.d.ts +0 -72
- package/dist/umd/components/preview/docx.d.ts +0 -8
- package/dist/umd/components/preview/excel/excel.d.ts +0 -2
- package/dist/umd/components/preview/excel/index.d.ts +0 -1
- package/dist/umd/components/preview/excel/media.d.ts +0 -37
- package/dist/umd/components/preview/index.d.ts +0 -6
- package/dist/umd/components/preview/pdf.d.ts +0 -1
- package/dist/umd/components/preview/pptx/index.d.ts +0 -16
- package/dist/umd/components/preview/pptx/process_pptx.d.ts +0 -23
- package/dist/umd/components/preview/pptx/t_xml.d.ts +0 -1
- package/dist/umd/components/preview/pptx/worker.d.ts +0 -1
- package/dist/umd/components/progress/index.d.ts +0 -36
- package/dist/umd/components/radar/index.d.ts +0 -2
- package/dist/umd/components/scratch/index.d.ts +0 -19
- package/dist/umd/components/skeleton/index.d.ts +0 -2
- package/dist/umd/components/tab/index.d.ts +0 -408
- package/dist/umd/components/tabpane/index.d.ts +0 -352
- package/dist/umd/index.d.ts +0 -14
- package/dist/umd/playwright.config.d.ts +0 -9
- package/dist/umd/plugins/auto-import-file.d.ts +0 -0
- package/dist/umd/plugins/load-style.d.ts +0 -6
- package/dist/umd/plugins/load-svg.d.ts +0 -9
- package/dist/umd/tests/button.spec.d.ts +0 -1
- package/dist/umd/utils/image.d.ts +0 -32
- package/dist/umd/utils/index.d.ts +0 -64
- package/dist/umd/utils/math.d.ts +0 -26
- package/dist/umd/utils/tween.d.ts +0 -21
- package/dist/umd/vite.config.d.ts +0 -6
- package/dist/vendor-f71e6f68.js +0 -92126
- /package/dist/{add-user-b2bed3e7.js → add-user-BN1JlY7e.js} +0 -0
- /package/dist/{book-b11a68eb.js → book-nTEFXU2x.js} +0 -0
- /package/dist/{umd/build/config.es.d.ts → build/config.sha.d.ts} +0 -0
- /package/dist/{check-circle-fill-dc284144.js → check-circle-fill-B_pd8ZSs.js} +0 -0
- /package/dist/{check-circle-74bd09c3.js → check-circle-szyAJiap.js} +0 -0
- /package/dist/{close-20925345.js → close-CFnkhudp.js} +0 -0
- /package/dist/{close-circle-720c18be.js → close-circle-CwmuN2C6.js} +0 -0
- /package/dist/{close-circle-fill-238a66b1.js → close-circle-fill-jSqPPw9i.js} +0 -0
- /package/dist/{eye-5e742329.js → eye-D_mEt17f.js} +0 -0
- /package/dist/{eye-close-3874f1ae.js → eye-close-BVr3NJtg.js} +0 -0
- /package/dist/{home-c4a05e8b.js → home-BUQ4USMk.js} +0 -0
- /package/dist/{index-8e1e2573.js → index-CQTJoWhb.js} +0 -0
- /package/dist/{info-circle-5826decc.js → info-circle-COnL5bTJ.js} +0 -0
- /package/dist/{loading-09ca52df.js → loading-Dcc5RApI.js} +0 -0
- /package/dist/{lock-1d2487c9.js → lock-Cr7BnmWN.js} +0 -0
- /package/dist/{message-b2bfdea7.js → message-D36_Zo2l.js} +0 -0
- /package/dist/{power-off-6ade5a91.js → power-off-lQRbiBak.js} +0 -0
- /package/dist/{preview-b291aea8.js → preview-CJbz9GjO.js} +0 -0
- /package/dist/{setting-1e5ccb6d.js → setting-DemlgzVC.js} +0 -0
- /package/dist/{team-ca6a12e1.js → team-tl4NJXPC.js} +0 -0
- /package/dist/{unlock-f56086fd.js → unlock-CeU74z9n.js} +0 -0
- /package/dist/{user-5c01e665.js → user-B-eVXwuk.js} +0 -0
- /package/dist/{warning-circle-035e025c.js → warning-circle-DDUgEDIv.js} +0 -0
- /package/dist/{warning-circle-fill-d17c37c9.js → warning-circle-fill-lODUKz0i.js} +0 -0
|
@@ -4,5 +4,5 @@ interface DocxOptions {
|
|
|
4
4
|
buffer: Blob;
|
|
5
5
|
docxOptions?: Partial<Record<string, string | boolean>>;
|
|
6
6
|
}
|
|
7
|
-
export declare const renderDocx: (options: DocxOptions) => Promise<void
|
|
7
|
+
export declare const renderDocx: (options: DocxOptions) => Promise<void | undefined>;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import './index.less';
|
|
2
|
+
declare const Progress_base: {
|
|
3
|
+
new (): HTMLElement;
|
|
4
|
+
prototype: HTMLElement;
|
|
5
|
+
};
|
|
6
|
+
declare class Progress extends Progress_base {
|
|
2
7
|
_progress: HTMLDivElement;
|
|
3
8
|
_progressWrap: HTMLDivElement;
|
|
4
9
|
_progressWrapValue: HTMLDivElement;
|
|
@@ -8,9 +13,9 @@ export declare class Progress extends HTMLElement {
|
|
|
8
13
|
};
|
|
9
14
|
constructor();
|
|
10
15
|
static get observedAttributes(): string[];
|
|
11
|
-
get percent():
|
|
12
|
-
set percent(value:
|
|
13
|
-
get total():
|
|
16
|
+
get percent(): string;
|
|
17
|
+
set percent(value: string);
|
|
18
|
+
get total(): string;
|
|
14
19
|
set total(value: string);
|
|
15
20
|
get type(): string;
|
|
16
21
|
set type(value: string);
|
|
@@ -32,5 +37,6 @@ export declare class Progress extends HTMLElement {
|
|
|
32
37
|
disconnectCallback(): void;
|
|
33
38
|
attributeChangedCallback(k: string, o: string, n: string): void;
|
|
34
39
|
}
|
|
35
|
-
declare const _default: import(
|
|
40
|
+
declare const _default: import("@/utils/index").CustomErrorType;
|
|
36
41
|
export default _default;
|
|
42
|
+
export { Progress };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("@/utils/index").CustomErrorType;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const ScratchTicket_base: {
|
|
2
|
+
new (): HTMLElement;
|
|
3
|
+
prototype: HTMLElement;
|
|
4
|
+
};
|
|
5
|
+
declare class ScratchTicket extends ScratchTicket_base {
|
|
2
6
|
scratchTicketContainer: HTMLDivElement;
|
|
3
7
|
scratchTicket: HTMLCanvasElement;
|
|
4
8
|
state: {
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import
|
|
2
|
+
import '@/components/option';
|
|
3
|
+
import '@/components/icon';
|
|
4
|
+
import '@/components/input';
|
|
5
|
+
import type { Input } from '@/components/input';
|
|
3
6
|
interface Option {
|
|
4
7
|
label: string | number;
|
|
5
8
|
value: string | number;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
declare const Select_base: {
|
|
11
|
+
new (): HTMLElement;
|
|
12
|
+
prototype: HTMLElement;
|
|
13
|
+
};
|
|
14
|
+
export declare class Select extends Select_base {
|
|
8
15
|
removeTimeId?: NodeJS.Timeout;
|
|
9
16
|
_slot: HTMLSlotElement;
|
|
10
17
|
_shadowDom: ShadowRoot;
|
|
@@ -22,7 +29,7 @@ export declare class Select extends HTMLElement {
|
|
|
22
29
|
_activeOption?: HTMLElement;
|
|
23
30
|
_text: HTMLSpanElement;
|
|
24
31
|
_selector: HTMLDivElement;
|
|
25
|
-
onSearch:
|
|
32
|
+
onSearch?: (this: HTMLElement, ev: Event) => unknown;
|
|
26
33
|
static get observedAttributes(): string[];
|
|
27
34
|
constructor();
|
|
28
35
|
get value(): string;
|
|
@@ -41,8 +48,8 @@ export declare class Select extends HTMLElement {
|
|
|
41
48
|
set getPopupContainerId(value: string);
|
|
42
49
|
get dropdownclass(): string;
|
|
43
50
|
set dropdownclass(value: string);
|
|
44
|
-
get
|
|
45
|
-
set
|
|
51
|
+
get trigger(): string;
|
|
52
|
+
set trigger(value: string);
|
|
46
53
|
get disabled(): boolean;
|
|
47
54
|
set disabled(value: boolean | string | undefined | null);
|
|
48
55
|
handlerExternalCss(): void;
|
|
@@ -61,7 +68,7 @@ export declare class Select extends HTMLElement {
|
|
|
61
68
|
* @description: 设置下拉框
|
|
62
69
|
* @return {*}
|
|
63
70
|
*/
|
|
64
|
-
selectMouseDown: () => void;
|
|
71
|
+
selectMouseDown: (e: Event) => void;
|
|
65
72
|
removeDropDownTimeId: () => void;
|
|
66
73
|
/**
|
|
67
74
|
* @description: 焦点移除的情况,需要移除select 下拉框
|
|
@@ -97,9 +104,10 @@ export declare class Select extends HTMLElement {
|
|
|
97
104
|
listenSlotChange: () => void;
|
|
98
105
|
removeListenSlotChange: () => void;
|
|
99
106
|
listenActionEvent: () => void;
|
|
107
|
+
clickRemoveSelect: (e: Event) => void;
|
|
100
108
|
connectedCallback(): void;
|
|
101
109
|
disconnectCallback(): void;
|
|
102
110
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
103
111
|
}
|
|
104
|
-
declare const _default: import(
|
|
112
|
+
declare const _default: import("@/utils/index").CustomErrorType;
|
|
105
113
|
export default _default;
|