@privyid/persona 1.2.1-rc.2 → 1.2.2-dev.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/components/card/Card.vue.d.ts +3 -3
- package/dist/components/carousel/Carousel.vue.d.ts +1 -1
- package/dist/components/datepicker/Datepicker.vue.d.ts +4 -4
- package/dist/components/input-range/InputRange.vue.d.ts +1 -1
- package/dist/components/label/Label.vue.d.ts +1 -1
- package/dist/components/meta.json +34 -34
- package/dist/components/modal/Modal.vue.d.ts +1 -1
- package/dist/components/pdf-viewer/utils/pdfjs.d.ts +1 -0
- package/dist/components/pdf-viewer/utils/pdfjs.mjs +22 -0
- package/dist/components/pdf-viewer/utils/use-viewer.mjs +2 -0
- package/dist/components/popover/Popover.vue.d.ts +6 -6
- package/dist/components/ringbar/Ringbar.vue.d.ts +1 -1
- package/dist/components/table-flex/TableFlex.vue.d.ts +3 -3
- package/dist/components/table-static/TableStatic.vue.d.ts +3 -3
- package/dist/components/timepicker/Timepicker.vue.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -0
- package/package.json +1 -1
|
@@ -102,12 +102,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
102
102
|
title: string;
|
|
103
103
|
disabled: boolean;
|
|
104
104
|
dismissable: boolean;
|
|
105
|
-
element: ElementVariant;
|
|
106
|
-
sectioned: boolean;
|
|
107
105
|
readonly: boolean;
|
|
108
|
-
|
|
106
|
+
element: ElementVariant;
|
|
109
107
|
bodyClass: string | unknown[];
|
|
110
108
|
spacing: SpacingVariant;
|
|
109
|
+
sectioned: boolean;
|
|
110
|
+
callout: boolean;
|
|
111
111
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
113
113
|
export default _default;
|
|
@@ -106,9 +106,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
106
106
|
modelValue: number;
|
|
107
107
|
width: string | number;
|
|
108
108
|
height: string | number;
|
|
109
|
-
direction: DirectionVariant;
|
|
110
109
|
align: AlignmentVariant;
|
|
111
110
|
autoplay: boolean;
|
|
111
|
+
direction: DirectionVariant;
|
|
112
112
|
loop: boolean;
|
|
113
113
|
autoplayInterval: string | number;
|
|
114
114
|
splideOptions: Options;
|
|
@@ -169,13 +169,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
169
169
|
start: Date;
|
|
170
170
|
end: Date;
|
|
171
171
|
readonly: boolean;
|
|
172
|
-
min: Date;
|
|
173
|
-
range: boolean;
|
|
174
|
-
minRange: string;
|
|
175
|
-
maxRange: string;
|
|
176
172
|
clearable: boolean;
|
|
177
173
|
containerClass: string | unknown[] | Record<string, any>;
|
|
178
174
|
placeholder: string;
|
|
175
|
+
min: Date;
|
|
179
176
|
format: string;
|
|
177
|
+
range: boolean;
|
|
178
|
+
minRange: string;
|
|
179
|
+
maxRange: string;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
181
|
export default _default;
|
|
@@ -100,7 +100,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
100
100
|
start: number;
|
|
101
101
|
end: number;
|
|
102
102
|
readonly: boolean;
|
|
103
|
-
min: string | number;
|
|
104
103
|
step: string | number;
|
|
104
|
+
min: string | number;
|
|
105
105
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
106
|
export default _default;
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
51
51
|
}>, {
|
|
52
52
|
size: SizeVariant;
|
|
53
53
|
variant: StyleVariant;
|
|
54
|
-
color: ColorVariant;
|
|
55
54
|
dismissable: boolean;
|
|
55
|
+
color: ColorVariant;
|
|
56
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
57
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
58
58
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"PAvatar": "components/avatar/Avatar.vue",
|
|
3
|
-
"PAvatarGroup": "components/avatar/AvatarGroup.vue",
|
|
4
|
-
"PAvatarTruncate": "components/avatar/AvatarTruncate.vue",
|
|
5
2
|
"PAccordion": "components/accordion/Accordion.vue",
|
|
6
3
|
"PAccordionItem": "components/accordion/AccordionItem.vue",
|
|
7
4
|
"PAccordionItems": "components/accordion/AccordionItems.vue",
|
|
8
5
|
"PBadge": "components/badge/Badge.vue",
|
|
9
6
|
"PBanner": "components/banner/Banner.vue",
|
|
7
|
+
"PAvatar": "components/avatar/Avatar.vue",
|
|
8
|
+
"PAvatarGroup": "components/avatar/AvatarGroup.vue",
|
|
9
|
+
"PAvatarTruncate": "components/avatar/AvatarTruncate.vue",
|
|
10
10
|
"PBreadcrumb": "components/breadcrumbs/Breadcrumb.vue",
|
|
11
11
|
"PBreadcrumbItem": "components/breadcrumbs/BreadcrumbItem.vue",
|
|
12
12
|
"PBreadcrumbItemDropdown": "components/breadcrumbs/BreadcrumbItemDropdown.vue",
|
|
@@ -20,44 +20,40 @@
|
|
|
20
20
|
"PCarousel": "components/carousel/Carousel.vue",
|
|
21
21
|
"PCarouselBody": "components/carousel/CarouselBody.vue",
|
|
22
22
|
"PCarouselItem": "components/carousel/CarouselItem.vue",
|
|
23
|
-
"PCheckbox": "components/checkbox/Checkbox.vue",
|
|
24
23
|
"PChart": "components/chart/Chart.vue",
|
|
25
24
|
"PChartSet": "components/chart/ChartSet.vue",
|
|
26
25
|
"PChartVal": "components/chart/ChartVal.vue",
|
|
27
26
|
"PCollapse": "components/collapse/Collapse.vue",
|
|
28
|
-
"
|
|
27
|
+
"PCheckbox": "components/checkbox/Checkbox.vue",
|
|
29
28
|
"PCropper": "components/cropper/Cropper.vue",
|
|
30
|
-
"
|
|
29
|
+
"PContextualBar": "components/contextual-bar/ContextualBar.vue",
|
|
31
30
|
"PDialog": "components/dialog/Dialog.vue",
|
|
32
31
|
"PDialogFooter": "components/dialog/DialogFooter.vue",
|
|
33
32
|
"PDivider": "components/divider/Divider.vue",
|
|
34
33
|
"PDot": "components/dot/Dot.vue",
|
|
35
|
-
"
|
|
34
|
+
"PDatepicker": "components/datepicker/Datepicker.vue",
|
|
36
35
|
"PDropdown": "components/dropdown/Dropdown.vue",
|
|
37
36
|
"PDropdownHeader": "components/dropdown/DropdownHeader.vue",
|
|
38
37
|
"PDropdownItem": "components/dropdown/DropdownItem.vue",
|
|
39
38
|
"PDropdownText": "components/dropdown/DropdownText.vue",
|
|
40
39
|
"PDropzone": "components/dropzone/Dropzone.vue",
|
|
40
|
+
"PDropdownSubitem": "components/dropdown-subitem/DropdownSubitem.vue",
|
|
41
41
|
"PFilterbar": "components/filterbar/Filterbar.vue",
|
|
42
42
|
"PFormGroup": "components/form-group/FormGroup.vue",
|
|
43
43
|
"PHeading": "components/heading/Heading.vue",
|
|
44
44
|
"PInput": "components/input/Input.vue",
|
|
45
|
-
"PInputFile": "components/input-file/InputFile.vue",
|
|
46
45
|
"PinputColor": "components/input-color/inputColor.vue",
|
|
47
|
-
"
|
|
46
|
+
"PInputFile": "components/input-file/InputFile.vue",
|
|
48
47
|
"PInputGroup": "components/input-group/InputGroup.vue",
|
|
49
48
|
"PInputGroupAddon": "components/input-group/InputGroupAddon.vue",
|
|
50
49
|
"PInputPin": "components/input-pin/InputPin.vue",
|
|
50
|
+
"PInputPassword": "components/input-password/InputPassword.vue",
|
|
51
51
|
"PInputRange": "components/input-range/InputRange.vue",
|
|
52
|
+
"PLabel": "components/label/Label.vue",
|
|
52
53
|
"PListGroup": "components/list-group/ListGroup.vue",
|
|
53
54
|
"PListGroupItem": "components/list-group/ListGroupItem.vue",
|
|
54
|
-
"PLabel": "components/label/Label.vue",
|
|
55
55
|
"PMain": "components/main/Main.vue",
|
|
56
56
|
"PModal": "components/modal/Modal.vue",
|
|
57
|
-
"PNavbar": "components/navbar/Navbar.vue",
|
|
58
|
-
"PNavbarBrand": "components/navbar/NavbarBrand.vue",
|
|
59
|
-
"PNavbarNav": "components/navbar/NavbarNav.vue",
|
|
60
|
-
"PNavbarToggle": "components/navbar/NavbarToggle.vue",
|
|
61
57
|
"PNav": "components/nav/Nav.vue",
|
|
62
58
|
"PNavCollapse": "components/nav/NavCollapse.vue",
|
|
63
59
|
"PNavForm": "components/nav/NavForm.vue",
|
|
@@ -66,14 +62,22 @@
|
|
|
66
62
|
"PNavSubItem": "components/nav/NavSubItem.vue",
|
|
67
63
|
"PNavText": "components/nav/NavText.vue",
|
|
68
64
|
"PNavbarNavMenu": "components/navbar-menu/NavbarNavMenu.vue",
|
|
65
|
+
"PNavbar": "components/navbar/Navbar.vue",
|
|
66
|
+
"PNavbarBrand": "components/navbar/NavbarBrand.vue",
|
|
67
|
+
"PNavbarNav": "components/navbar/NavbarNav.vue",
|
|
68
|
+
"PNavbarToggle": "components/navbar/NavbarToggle.vue",
|
|
69
69
|
"PNotify": "components/notify/Notify.vue",
|
|
70
70
|
"PNotifyGroup": "components/notify/NotifyGroup.vue",
|
|
71
71
|
"PNotifyItem": "components/notify/NotifyItem.vue",
|
|
72
72
|
"POverlay": "components/overlay/Overlay.vue",
|
|
73
73
|
"PPage": "components/page/Page.vue",
|
|
74
74
|
"PPagination": "components/pagination/Pagination.vue",
|
|
75
|
-
"PPdfText": "components/pdf-text/PdfText.vue",
|
|
76
75
|
"PPdfHelipad": "components/pdf-helipad/PdfHelipad.vue",
|
|
76
|
+
"PPdfText": "components/pdf-text/PdfText.vue",
|
|
77
|
+
"PPdfError": "components/pdf-viewer/PdfError.vue",
|
|
78
|
+
"PPdfLoading": "components/pdf-viewer/PdfLoading.vue",
|
|
79
|
+
"PPdfNavigation": "components/pdf-viewer/PdfNavigation.vue",
|
|
80
|
+
"PPdfViewer": "components/pdf-viewer/PdfViewer.vue",
|
|
77
81
|
"PPdfObject": "components/pdf-object/PdfObject.vue",
|
|
78
82
|
"PPdfObjectAddon": "components/pdf-object/PdfObjectAddon.vue",
|
|
79
83
|
"PPdfObjectDebugger": "components/pdf-object/PdfObjectDebugger.vue",
|
|
@@ -82,10 +86,6 @@
|
|
|
82
86
|
"PPopup": "components/popup/Popup.vue",
|
|
83
87
|
"PProgress": "components/progress/Progress.vue",
|
|
84
88
|
"PProgressItem": "components/progress/ProgressItem.vue",
|
|
85
|
-
"PPdfError": "components/pdf-viewer/PdfError.vue",
|
|
86
|
-
"PPdfLoading": "components/pdf-viewer/PdfLoading.vue",
|
|
87
|
-
"PPdfNavigation": "components/pdf-viewer/PdfNavigation.vue",
|
|
88
|
-
"PPdfViewer": "components/pdf-viewer/PdfViewer.vue",
|
|
89
89
|
"PProgressIndicator": "components/progress-indicator/ProgressIndicator.vue",
|
|
90
90
|
"PProgressbar": "components/progressbar/Progressbar.vue",
|
|
91
91
|
"PQrcode": "components/qrcode/Qrcode.vue",
|
|
@@ -99,22 +99,21 @@
|
|
|
99
99
|
"PRichtextToolbarAdvance": "components/richtext/RichtextToolbarAdvance.vue",
|
|
100
100
|
"PRichtextToolbarSimple": "components/richtext/RichtextToolbarSimple.vue",
|
|
101
101
|
"PRingbar": "components/ringbar/Ringbar.vue",
|
|
102
|
-
"PSheet": "components/sheet/Sheet.vue",
|
|
103
102
|
"PSelect": "components/select/Select.vue",
|
|
104
103
|
"PSelectInput": "components/select/SelectInput.vue",
|
|
105
104
|
"PSelectTags": "components/select/SelectTags.vue",
|
|
105
|
+
"PSheet": "components/sheet/Sheet.vue",
|
|
106
106
|
"PShimmer": "components/shimmer/Shimmer.vue",
|
|
107
|
-
"PSidebarMenu": "components/sidebar-menu/SidebarMenu.vue",
|
|
108
|
-
"PSidebarMenuItem": "components/sidebar-menu/SidebarMenuItem.vue",
|
|
109
|
-
"PSignatureDraw": "components/signature-draw/SignatureDraw.vue",
|
|
110
|
-
"PSignatureDrawDesktop": "components/signature-draw/SignatureDrawDesktop.vue",
|
|
111
|
-
"PSignatureDrawMobile": "components/signature-draw/SignatureDrawMobile.vue",
|
|
112
107
|
"PSidebar": "components/sidebar/Sidebar.vue",
|
|
113
108
|
"PSidebarBrand": "components/sidebar/SidebarBrand.vue",
|
|
114
109
|
"PSidebarContent": "components/sidebar/SidebarContent.vue",
|
|
115
110
|
"PSidebarNav": "components/sidebar/SidebarNav.vue",
|
|
116
|
-
"PSpread": "components/spread/Spread.vue",
|
|
117
111
|
"PSignatureText": "components/signature-text/SignatureText.vue",
|
|
112
|
+
"PSidebarMenu": "components/sidebar-menu/SidebarMenu.vue",
|
|
113
|
+
"PSidebarMenuItem": "components/sidebar-menu/SidebarMenuItem.vue",
|
|
114
|
+
"PSignatureDraw": "components/signature-draw/SignatureDraw.vue",
|
|
115
|
+
"PSignatureDrawDesktop": "components/signature-draw/SignatureDrawDesktop.vue",
|
|
116
|
+
"PSignatureDrawMobile": "components/signature-draw/SignatureDrawMobile.vue",
|
|
118
117
|
"PSpinner": "components/spinner/Spinner.vue",
|
|
119
118
|
"PSpinnerRing": "components/spinner/SpinnerRing.vue",
|
|
120
119
|
"PSpinnerRinggo": "components/spinner/SpinnerRinggo.vue",
|
|
@@ -122,28 +121,29 @@
|
|
|
122
121
|
"PStep": "components/steps/Step.vue",
|
|
123
122
|
"PStepSlider": "components/steps/StepSlider.vue",
|
|
124
123
|
"PSteps": "components/steps/Steps.vue",
|
|
124
|
+
"PSpread": "components/spread/Spread.vue",
|
|
125
125
|
"PSubheading": "components/subheading/Subheading.vue",
|
|
126
126
|
"PTable": "components/table/Table.vue",
|
|
127
127
|
"PTableFlex": "components/table-flex/TableFlex.vue",
|
|
128
|
-
"PTableStatic": "components/table-static/TableStatic.vue",
|
|
129
|
-
"PTableStaticRoot": "components/table-static/TableStaticRoot.vue",
|
|
130
|
-
"PTableStaticSort": "components/table-static/TableStaticSort.vue",
|
|
131
128
|
"PTab": "components/tabs/Tab.vue",
|
|
132
129
|
"PTabContent": "components/tabs/TabContent.vue",
|
|
133
130
|
"PTabs": "components/tabs/Tabs.vue",
|
|
131
|
+
"PTextarea": "components/textarea/Textarea.vue",
|
|
132
|
+
"PTableStatic": "components/table-static/TableStatic.vue",
|
|
133
|
+
"PTableStaticRoot": "components/table-static/TableStaticRoot.vue",
|
|
134
|
+
"PTableStaticSort": "components/table-static/TableStaticSort.vue",
|
|
134
135
|
"PText": "components/text/Text.vue",
|
|
135
136
|
"PTime": "components/time/Time.vue",
|
|
136
137
|
"PTimeItem": "components/time/TimeItem.vue",
|
|
137
|
-
"PTextarea": "components/textarea/Textarea.vue",
|
|
138
|
-
"PToast": "components/toast/Toast.vue",
|
|
139
138
|
"PTimepicker": "components/timepicker/Timepicker.vue",
|
|
140
|
-
"PTruncate": "components/truncate/Truncate.vue",
|
|
141
|
-
"PTooltip": "components/tooltip/Tooltip.vue",
|
|
142
|
-
"PTooltipContainer": "components/tooltip/TooltipContainer.vue",
|
|
143
139
|
"PToggle": "components/toggle/Toggle.vue",
|
|
140
|
+
"PToast": "components/toast/Toast.vue",
|
|
144
141
|
"PTour": "components/tour/Tour.vue",
|
|
145
142
|
"PTourDialog": "components/tour/TourDialog.vue",
|
|
146
143
|
"PTourHighlight": "components/tour/TourHighlight.vue",
|
|
144
|
+
"PTruncate": "components/truncate/Truncate.vue",
|
|
145
|
+
"PTooltip": "components/tooltip/Tooltip.vue",
|
|
146
|
+
"PTooltipContainer": "components/tooltip/TooltipContainer.vue",
|
|
147
147
|
"PWizard": "components/wizard/Wizard.vue",
|
|
148
148
|
"PWizardBody": "components/wizard/WizardBody.vue",
|
|
149
149
|
"PWizardHeader": "components/wizard/WizardHeader.vue",
|
|
@@ -177,7 +177,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
177
177
|
dismissable: boolean;
|
|
178
178
|
banner: boolean;
|
|
179
179
|
noAnimation: boolean;
|
|
180
|
-
bodyClass: string | unknown[] | Record<string, any>;
|
|
181
180
|
noCloseOnEsc: boolean;
|
|
182
181
|
noCloseOnBackdrop: boolean;
|
|
183
182
|
modalBodyScrollable: boolean;
|
|
@@ -185,6 +184,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
185
184
|
freeDistraction: boolean;
|
|
186
185
|
headerClass: string | unknown[] | Record<string, any>;
|
|
187
186
|
dialogClass: string | unknown[] | Record<string, any>;
|
|
187
|
+
bodyClass: string | unknown[] | Record<string, any>;
|
|
188
188
|
footerClass: string | unknown[] | Record<string, any>;
|
|
189
189
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
190
190
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2,6 +2,7 @@ import type * as PDFJS from 'pdfjs-dist';
|
|
|
2
2
|
import type * as PDFJSViewer from 'pdfjs-dist/legacy/web/pdf_viewer.mjs';
|
|
3
3
|
export declare function getDocument(...params: Parameters<typeof PDFJS['getDocument']>): Promise<import("pdfjs-dist/types/src/display/api").PDFDocumentLoadingTask>;
|
|
4
4
|
export declare function getCMAPUri(): Promise<string>;
|
|
5
|
+
export declare function getWasmUri(): Promise<string>;
|
|
5
6
|
export declare function getVersion(): Promise<string>;
|
|
6
7
|
export declare function createEventBus(): Promise<PDFJSViewer.EventBus>;
|
|
7
8
|
export declare function createViewer(...params: ConstructorParameters<typeof PDFJSViewer['PDFViewer']>): Promise<PDFJSViewer.PDFViewer>;
|
|
@@ -2,8 +2,27 @@ import { withBase } from "ufo";
|
|
|
2
2
|
import { getCDN } from "../../global/store.mjs";
|
|
3
3
|
let pdfjsLib;
|
|
4
4
|
let pdfjsViewer;
|
|
5
|
+
function polyfillPromiseWithResolvers() {
|
|
6
|
+
const PromiseCtor = Promise;
|
|
7
|
+
if (typeof PromiseCtor.withResolvers !== "function") {
|
|
8
|
+
PromiseCtor.withResolvers = function() {
|
|
9
|
+
let resolve;
|
|
10
|
+
let reject;
|
|
11
|
+
const promise = new Promise((resolve_, reject_) => {
|
|
12
|
+
resolve = resolve_;
|
|
13
|
+
reject = reject_;
|
|
14
|
+
});
|
|
15
|
+
return {
|
|
16
|
+
promise,
|
|
17
|
+
resolve,
|
|
18
|
+
reject
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
5
23
|
async function importPdfJS() {
|
|
6
24
|
if (!pdfjsLib) {
|
|
25
|
+
polyfillPromiseWithResolvers();
|
|
7
26
|
const pdfjs = await import("pdfjs-dist");
|
|
8
27
|
if (typeof window !== "undefined" && "Worker" in window)
|
|
9
28
|
pdfjs.GlobalWorkerOptions.workerSrc = withBase(`pdfjs-dist@${pdfjs.version}/legacy/build/pdf.worker.min.mjs`, getCDN());
|
|
@@ -24,6 +43,9 @@ export async function getDocument(...params) {
|
|
|
24
43
|
export async function getCMAPUri() {
|
|
25
44
|
return withBase(`pdfjs-dist@${await getVersion()}/cmaps/`, getCDN());
|
|
26
45
|
}
|
|
46
|
+
export async function getWasmUri() {
|
|
47
|
+
return withBase(`pdfjs-dist@${await getVersion()}/wasm/`, getCDN());
|
|
48
|
+
}
|
|
27
49
|
export async function getVersion() {
|
|
28
50
|
await importPdfJS();
|
|
29
51
|
return pdfjsLib.version;
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
createViewer,
|
|
12
12
|
getCMAPUri,
|
|
13
13
|
getDocument,
|
|
14
|
+
getWasmUri,
|
|
14
15
|
normalizeRect
|
|
15
16
|
} from "./pdfjs.mjs";
|
|
16
17
|
import useLoading from "../../overlay/utils/use-loading.mjs";
|
|
@@ -43,6 +44,7 @@ export function useViewer(container, viewer) {
|
|
|
43
44
|
password,
|
|
44
45
|
cMapUrl: await getCMAPUri(),
|
|
45
46
|
cMapPacked: true,
|
|
47
|
+
wasmUrl: await getWasmUri(),
|
|
46
48
|
disableStream: config.disableStream,
|
|
47
49
|
disableRange: config.disableRange,
|
|
48
50
|
httpHeaders: config.httpHeaders
|
|
@@ -40,17 +40,17 @@ declare function __VLS_template(): {
|
|
|
40
40
|
$data: {};
|
|
41
41
|
$props: Partial<{
|
|
42
42
|
target: HTMLElement;
|
|
43
|
-
color: ColorVariant;
|
|
44
43
|
show: boolean;
|
|
44
|
+
color: ColorVariant;
|
|
45
45
|
placement: Placement;
|
|
46
46
|
}> & Omit<{
|
|
47
|
-
readonly color: ColorVariant;
|
|
48
47
|
readonly show: boolean;
|
|
48
|
+
readonly color: ColorVariant;
|
|
49
49
|
readonly placement: Placement;
|
|
50
50
|
readonly target?: HTMLElement | undefined;
|
|
51
51
|
readonly onShow?: ((args_0: HTMLElement) => any) | undefined;
|
|
52
52
|
readonly onHide?: ((args_0: HTMLElement) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "
|
|
53
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "show" | "color" | "placement">;
|
|
54
54
|
$attrs: {
|
|
55
55
|
[x: string]: unknown;
|
|
56
56
|
};
|
|
@@ -90,8 +90,8 @@ declare function __VLS_template(): {
|
|
|
90
90
|
hide: (args_0: HTMLElement) => void;
|
|
91
91
|
}, string, {
|
|
92
92
|
target: HTMLElement;
|
|
93
|
-
color: ColorVariant;
|
|
94
93
|
show: boolean;
|
|
94
|
+
color: ColorVariant;
|
|
95
95
|
placement: Placement;
|
|
96
96
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
97
97
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -115,8 +115,8 @@ declare function __VLS_template(): {
|
|
|
115
115
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
116
116
|
} & Readonly<{
|
|
117
117
|
target: HTMLElement;
|
|
118
|
-
color: ColorVariant;
|
|
119
118
|
show: boolean;
|
|
119
|
+
color: ColorVariant;
|
|
120
120
|
placement: Placement;
|
|
121
121
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
122
122
|
show: {
|
|
@@ -138,7 +138,7 @@ declare function __VLS_template(): {
|
|
|
138
138
|
}>> & Readonly<{
|
|
139
139
|
onShow?: ((args_0: HTMLElement) => any) | undefined;
|
|
140
140
|
onHide?: ((args_0: HTMLElement) => any) | undefined;
|
|
141
|
-
}>, "target" | "
|
|
141
|
+
}>, "target" | "show" | "color" | "placement"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
142
142
|
$slots: {
|
|
143
143
|
default?(_: {}): any;
|
|
144
144
|
};
|
|
@@ -55,8 +55,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
55
|
size: SizeVariant;
|
|
56
56
|
value: string | number;
|
|
57
57
|
max: string | number;
|
|
58
|
-
min: string | number;
|
|
59
58
|
direction: DirectionVariant;
|
|
59
|
+
min: string | number;
|
|
60
60
|
indeterminate: boolean;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
62
|
export default _default;
|
|
@@ -6,10 +6,10 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
6
6
|
items: T[];
|
|
7
7
|
draggable: boolean;
|
|
8
8
|
selectable: boolean;
|
|
9
|
-
apperance: ApperanceVariant;
|
|
10
9
|
fields: TableField<T>[];
|
|
11
10
|
emptyLabel: string;
|
|
12
11
|
noLabel: boolean;
|
|
12
|
+
apperance: ApperanceVariant;
|
|
13
13
|
tableClass: any;
|
|
14
14
|
trClass: any;
|
|
15
15
|
}> & Omit<{
|
|
@@ -17,15 +17,15 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
17
17
|
readonly items: T[];
|
|
18
18
|
readonly draggable: boolean;
|
|
19
19
|
readonly selectable: boolean;
|
|
20
|
-
readonly apperance: ApperanceVariant;
|
|
21
20
|
readonly fields: TableField<T>[];
|
|
22
21
|
readonly emptyLabel: string;
|
|
23
22
|
readonly noLabel: boolean;
|
|
23
|
+
readonly apperance: ApperanceVariant;
|
|
24
24
|
readonly tableClass?: any;
|
|
25
25
|
readonly trClass?: any;
|
|
26
26
|
readonly "onUpdate:modelValue"?: ((args_0: T[]) => any) | undefined;
|
|
27
27
|
readonly "onUpdate:items"?: ((args_0: T[]) => any) | undefined;
|
|
28
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "items" | "draggable" | "selectable" | "
|
|
28
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "items" | "draggable" | "selectable" | "fields" | "emptyLabel" | "noLabel" | "apperance" | "tableClass" | "trClass">, "onUpdate:modelValue" | "onUpdate:items" | ("modelValue" | "items" | "draggable" | "selectable" | "fields" | "emptyLabel" | "noLabel" | "apperance" | "tableClass" | "trClass")> & Partial<{}> & {}> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
29
29
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
30
30
|
attrs: any;
|
|
31
31
|
slots: Readonly<{
|
|
@@ -9,10 +9,10 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
9
9
|
sortable: boolean | "multiple" | "single";
|
|
10
10
|
sortBy: Record<string, any>;
|
|
11
11
|
selectable: boolean;
|
|
12
|
-
apperance: ApperanceVariant;
|
|
13
12
|
fields: TableField<T>[];
|
|
14
13
|
emptyLabel: string;
|
|
15
14
|
noLabel: boolean;
|
|
15
|
+
apperance: ApperanceVariant;
|
|
16
16
|
tableClass: any;
|
|
17
17
|
trClass: any;
|
|
18
18
|
scrollable: boolean;
|
|
@@ -23,10 +23,10 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
23
23
|
readonly sortable: boolean | "multiple" | "single";
|
|
24
24
|
readonly sortBy: Record<string, any>;
|
|
25
25
|
readonly selectable: boolean;
|
|
26
|
-
readonly apperance: ApperanceVariant;
|
|
27
26
|
readonly fields: TableField<T>[];
|
|
28
27
|
readonly emptyLabel: string;
|
|
29
28
|
readonly noLabel: boolean;
|
|
29
|
+
readonly apperance: ApperanceVariant;
|
|
30
30
|
readonly scrollable: boolean;
|
|
31
31
|
readonly tableClass?: any;
|
|
32
32
|
readonly trClass?: any;
|
|
@@ -34,7 +34,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
34
34
|
readonly onSort?: ((args_0: Record<string, SortValue>) => any) | undefined;
|
|
35
35
|
readonly "onUpdate:items"?: ((args_0: T[]) => any) | undefined;
|
|
36
36
|
readonly "onUpdate:sortBy"?: ((args_0: Record<string, SortValue>) => any) | undefined;
|
|
37
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "items" | "draggable" | "sortable" | "sortBy" | "selectable" | "
|
|
37
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "items" | "draggable" | "sortable" | "sortBy" | "selectable" | "fields" | "emptyLabel" | "noLabel" | "apperance" | "tableClass" | "trClass" | "scrollable">, "onUpdate:modelValue" | "onUpdate:items" | "onSort" | "onUpdate:sortBy" | ("modelValue" | "items" | "draggable" | "sortable" | "sortBy" | "selectable" | "fields" | "emptyLabel" | "noLabel" | "apperance" | "tableClass" | "trClass" | "scrollable")> & Partial<{}> & {}> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
38
38
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
39
39
|
attrs: any;
|
|
40
40
|
slots: Readonly<{
|
|
@@ -164,8 +164,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
164
164
|
dismissable: boolean;
|
|
165
165
|
max: Date;
|
|
166
166
|
readonly: boolean;
|
|
167
|
-
min: Date;
|
|
168
167
|
placeholder: string;
|
|
168
|
+
min: Date;
|
|
169
169
|
timeSeparator: string;
|
|
170
170
|
is12Hour: boolean;
|
|
171
171
|
hourInterval: number;
|
|
@@ -55,8 +55,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
55
55
|
onHide?: ((args_0: HTMLElement) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
target: HTMLElement;
|
|
58
|
-
color: ColorVariant;
|
|
59
58
|
show: boolean;
|
|
59
|
+
color: ColorVariant;
|
|
60
60
|
placement: Placement;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
62
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -83,6 +83,11 @@ const module = defineNuxtModule({
|
|
|
83
83
|
dir: join(pdfjsDir, "cmaps"),
|
|
84
84
|
maxAge: assetsMaxAge
|
|
85
85
|
},
|
|
86
|
+
{
|
|
87
|
+
baseURL: joinURL(pdfjsBaseURL, "wasm"),
|
|
88
|
+
dir: join(pdfjsDir, "wasm"),
|
|
89
|
+
maxAge: assetsMaxAge
|
|
90
|
+
},
|
|
86
91
|
{
|
|
87
92
|
baseURL: joinURL(pspdfBaseURL, "dist"),
|
|
88
93
|
dir: join(pspdfDir, "dist"),
|