@privyid/persona 1.1.1 → 1.1.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.
@@ -59,8 +59,8 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
59
59
  }>> & Readonly<{
60
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
61
  }>, {
62
- modelValue: Date;
63
62
  mode: "date" | "month" | "year";
63
+ modelValue: Date;
64
64
  min: Date;
65
65
  max: Date;
66
66
  format: string;
@@ -11,7 +11,7 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
11
11
  default: () => never[];
12
12
  };
13
13
  modelValue: {
14
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
14
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
15
15
  default: undefined;
16
16
  };
17
17
  }>, {
@@ -30,7 +30,7 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
30
30
  default: () => never[];
31
31
  };
32
32
  modelValue: {
33
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
33
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
34
34
  default: undefined;
35
35
  };
36
36
  }>> & Readonly<{
@@ -6,15 +6,15 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
6
6
  required: true;
7
7
  };
8
8
  modelValue: {
9
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
9
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
10
10
  default: boolean;
11
11
  };
12
12
  value: {
13
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
13
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
14
14
  default: boolean;
15
15
  };
16
16
  uncheckedValue: {
17
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
17
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
18
18
  default: boolean;
19
19
  };
20
20
  checked: {
@@ -24,21 +24,21 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
24
24
  }>, {
25
25
  model: import("vue-demi").Ref<boolean, boolean>;
26
26
  toggle: () => void;
27
- }, {}, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue-demi").PublicProps, Readonly<import("vue-demi").ExtractPropTypes<{
27
+ }, {}, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue-demi").PublicProps, Readonly<import("vue-demi").ExtractPropTypes<{
28
28
  schema: {
29
29
  type: PropType<FilterToggle>;
30
30
  required: true;
31
31
  };
32
32
  modelValue: {
33
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
33
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
34
34
  default: boolean;
35
35
  };
36
36
  value: {
37
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
37
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
38
38
  default: boolean;
39
39
  };
40
40
  uncheckedValue: {
41
- type: (BooleanConstructor | ArrayConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor)[];
41
+ type: (NumberConstructor | BooleanConstructor | ArrayConstructor | StringConstructor | ObjectConstructor | DateConstructor)[];
42
42
  default: boolean;
43
43
  };
44
44
  checked: {
@@ -46,11 +46,11 @@ declare const _default: import("vue-demi").DefineComponent<import("vue-demi").Ex
46
46
  default: boolean;
47
47
  };
48
48
  }>> & Readonly<{
49
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
49
  onChange?: ((...args: any[]) => any) | undefined;
50
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
51
  }>, {
52
- modelValue: string | number | boolean | Date | Record<string, any> | unknown[];
53
52
  value: string | number | boolean | Date | Record<string, any> | unknown[];
53
+ modelValue: string | number | boolean | Date | Record<string, any> | unknown[];
54
54
  checked: boolean;
55
55
  uncheckedValue: string | number | boolean | Date | Record<string, any> | unknown[];
56
56
  }, {}, {
@@ -4,6 +4,7 @@
4
4
  v-model="model"
5
5
  class="input-file"
6
6
  data-testid="input-file"
7
+ container-class="input-file__container"
7
8
  :class="classNames"
8
9
  :model-modifiers="modelModifiers"
9
10
  :multiple="multiple"
@@ -165,7 +166,7 @@ defineSlots<{
165
166
  </script>
166
167
 
167
168
  <style lang="postcss">
168
- .input-file {
169
+ .input-file__container {
169
170
  > .input-group > .input-group__addon {
170
171
  @apply py-1 pl-1 pr-2;
171
172
 
@@ -12,11 +12,11 @@
12
12
  "PBreadcrumbItemDropdown": "components/breadcrumbs/BreadcrumbItemDropdown.vue",
13
13
  "PButton": "components/button/Button.vue",
14
14
  "PButtonGroup": "components/button-group/ButtonGroup.vue",
15
- "PCalendar": "components/calendar/Calendar.vue",
16
15
  "PCamera": "components/camera/Camera.vue",
16
+ "PCaption": "components/caption/Caption.vue",
17
+ "PCalendar": "components/calendar/Calendar.vue",
17
18
  "PCard": "components/card/Card.vue",
18
19
  "PCardSection": "components/card/CardSection.vue",
19
- "PCaption": "components/caption/Caption.vue",
20
20
  "PCarousel": "components/carousel/Carousel.vue",
21
21
  "PCarouselBody": "components/carousel/CarouselBody.vue",
22
22
  "PCarouselItem": "components/carousel/CarouselItem.vue",
@@ -25,21 +25,21 @@
25
25
  "PChartVal": "components/chart/ChartVal.vue",
26
26
  "PCheckbox": "components/checkbox/Checkbox.vue",
27
27
  "PCollapse": "components/collapse/Collapse.vue",
28
- "PCropper": "components/cropper/Cropper.vue",
29
28
  "PContextualBar": "components/contextual-bar/ContextualBar.vue",
29
+ "PCropper": "components/cropper/Cropper.vue",
30
30
  "PDialog": "components/dialog/Dialog.vue",
31
31
  "PDialogFooter": "components/dialog/DialogFooter.vue",
32
32
  "PDatepicker": "components/datepicker/Datepicker.vue",
33
- "PDivider": "components/divider/Divider.vue",
34
- "PDot": "components/dot/Dot.vue",
35
33
  "PDropdown": "components/dropdown/Dropdown.vue",
36
34
  "PDropdownHeader": "components/dropdown/DropdownHeader.vue",
37
35
  "PDropdownItem": "components/dropdown/DropdownItem.vue",
38
36
  "PDropdownText": "components/dropdown/DropdownText.vue",
39
- "PDropzone": "components/dropzone/Dropzone.vue",
37
+ "PDivider": "components/divider/Divider.vue",
38
+ "PDot": "components/dot/Dot.vue",
40
39
  "PDropdownSubitem": "components/dropdown-subitem/DropdownSubitem.vue",
41
- "PFormGroup": "components/form-group/FormGroup.vue",
40
+ "PDropzone": "components/dropzone/Dropzone.vue",
42
41
  "PFilterbar": "components/filterbar/Filterbar.vue",
42
+ "PFormGroup": "components/form-group/FormGroup.vue",
43
43
  "PHeading": "components/heading/Heading.vue",
44
44
  "PInput": "components/input/Input.vue",
45
45
  "PinputColor": "components/input-color/inputColor.vue",
@@ -51,8 +51,13 @@
51
51
  "PInputRange": "components/input-range/InputRange.vue",
52
52
  "PLabel": "components/label/Label.vue",
53
53
  "PMain": "components/main/Main.vue",
54
+ "PModal": "components/modal/Modal.vue",
54
55
  "PListGroup": "components/list-group/ListGroup.vue",
55
56
  "PListGroupItem": "components/list-group/ListGroupItem.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",
56
61
  "PNav": "components/nav/Nav.vue",
57
62
  "PNavCollapse": "components/nav/NavCollapse.vue",
58
63
  "PNavForm": "components/nav/NavForm.vue",
@@ -60,30 +65,25 @@
60
65
  "PNavItemDropdown": "components/nav/NavItemDropdown.vue",
61
66
  "PNavSubItem": "components/nav/NavSubItem.vue",
62
67
  "PNavText": "components/nav/NavText.vue",
63
- "PModal": "components/modal/Modal.vue",
64
- "PNavbar": "components/navbar/Navbar.vue",
65
- "PNavbarBrand": "components/navbar/NavbarBrand.vue",
66
- "PNavbarNav": "components/navbar/NavbarNav.vue",
67
- "PNavbarToggle": "components/navbar/NavbarToggle.vue",
68
- "PNavbarNavMenu": "components/navbar-menu/NavbarNavMenu.vue",
68
+ "POverlay": "components/overlay/Overlay.vue",
69
69
  "PNotify": "components/notify/Notify.vue",
70
70
  "PNotifyGroup": "components/notify/NotifyGroup.vue",
71
71
  "PNotifyItem": "components/notify/NotifyItem.vue",
72
- "POverlay": "components/overlay/Overlay.vue",
72
+ "PNavbarNavMenu": "components/navbar-menu/NavbarNavMenu.vue",
73
73
  "PPage": "components/page/Page.vue",
74
74
  "PPagination": "components/pagination/Pagination.vue",
75
- "PPdfHelipad": "components/pdf-helipad/PdfHelipad.vue",
76
75
  "PPdfObject": "components/pdf-object/PdfObject.vue",
77
76
  "PPdfObjectAddon": "components/pdf-object/PdfObjectAddon.vue",
78
77
  "PPdfObjectDebugger": "components/pdf-object/PdfObjectDebugger.vue",
79
78
  "PPdfObjects": "components/pdf-object/PdfObjects.vue",
79
+ "PPdfHelipad": "components/pdf-helipad/PdfHelipad.vue",
80
+ "PPdfText": "components/pdf-text/PdfText.vue",
81
+ "PPopover": "components/popover/Popover.vue",
82
+ "PPopup": "components/popup/Popup.vue",
80
83
  "PPdfError": "components/pdf-viewer/PdfError.vue",
81
84
  "PPdfLoading": "components/pdf-viewer/PdfLoading.vue",
82
85
  "PPdfNavigation": "components/pdf-viewer/PdfNavigation.vue",
83
86
  "PPdfViewer": "components/pdf-viewer/PdfViewer.vue",
84
- "PPdfText": "components/pdf-text/PdfText.vue",
85
- "PPopover": "components/popover/Popover.vue",
86
- "PPopup": "components/popup/Popup.vue",
87
87
  "PProgress": "components/progress/Progress.vue",
88
88
  "PProgressItem": "components/progress/ProgressItem.vue",
89
89
  "PProgressIndicator": "components/progress-indicator/ProgressIndicator.vue",
@@ -92,8 +92,8 @@
92
92
  "PPspdfObjectAddon": "components/pspdfkit/PspdfObjectAddon.vue",
93
93
  "PPspdfObjects": "components/pspdfkit/PspdfObjects.vue",
94
94
  "PPspdfViewer": "components/pspdfkit/PspdfViewer.vue",
95
- "PProgressbar": "components/progressbar/Progressbar.vue",
96
95
  "PQrcode": "components/qrcode/Qrcode.vue",
96
+ "PProgressbar": "components/progressbar/Progressbar.vue",
97
97
  "PRadio": "components/radio/Radio.vue",
98
98
  "PRichtext": "components/richtext/Richtext.vue",
99
99
  "PRichtextToolbarAdvance": "components/richtext/RichtextToolbarAdvance.vue",
@@ -104,46 +104,46 @@
104
104
  "PSelect": "components/select/Select.vue",
105
105
  "PSelectInput": "components/select/SelectInput.vue",
106
106
  "PSelectTags": "components/select/SelectTags.vue",
107
- "PSidebar": "components/sidebar/Sidebar.vue",
108
- "PSidebarBrand": "components/sidebar/SidebarBrand.vue",
109
- "PSidebarContent": "components/sidebar/SidebarContent.vue",
110
- "PSidebarNav": "components/sidebar/SidebarNav.vue",
107
+ "PSidebarMenu": "components/sidebar-menu/SidebarMenu.vue",
108
+ "PSidebarMenuItem": "components/sidebar-menu/SidebarMenuItem.vue",
111
109
  "PSignatureDraw": "components/signature-draw/SignatureDraw.vue",
112
110
  "PSignatureDrawDesktop": "components/signature-draw/SignatureDrawDesktop.vue",
113
111
  "PSignatureDrawMobile": "components/signature-draw/SignatureDrawMobile.vue",
114
- "PSidebarMenu": "components/sidebar-menu/SidebarMenu.vue",
115
- "PSidebarMenuItem": "components/sidebar-menu/SidebarMenuItem.vue",
116
112
  "PSignatureText": "components/signature-text/SignatureText.vue",
113
+ "PSidebar": "components/sidebar/Sidebar.vue",
114
+ "PSidebarBrand": "components/sidebar/SidebarBrand.vue",
115
+ "PSidebarContent": "components/sidebar/SidebarContent.vue",
116
+ "PSidebarNav": "components/sidebar/SidebarNav.vue",
117
117
  "PSpinner": "components/spinner/Spinner.vue",
118
118
  "PSpinnerRing": "components/spinner/SpinnerRing.vue",
119
119
  "PSpinnerRinggo": "components/spinner/SpinnerRinggo.vue",
120
+ "PSpread": "components/spread/Spread.vue",
120
121
  "PStep": "components/steps/Step.vue",
121
122
  "PStepSlider": "components/steps/StepSlider.vue",
122
123
  "PSteps": "components/steps/Steps.vue",
123
124
  "PStrengthbar": "components/strengthbar/Strengthbar.vue",
124
- "PSpread": "components/spread/Spread.vue",
125
125
  "PSubheading": "components/subheading/Subheading.vue",
126
126
  "PTable": "components/table/Table.vue",
127
- "PTableFlex": "components/table-flex/TableFlex.vue",
128
127
  "PTableStatic": "components/table-static/TableStatic.vue",
129
128
  "PTableStaticRoot": "components/table-static/TableStaticRoot.vue",
130
129
  "PTableStaticSort": "components/table-static/TableStaticSort.vue",
130
+ "PTableFlex": "components/table-flex/TableFlex.vue",
131
131
  "PTab": "components/tabs/Tab.vue",
132
132
  "PTabContent": "components/tabs/TabContent.vue",
133
133
  "PTabs": "components/tabs/Tabs.vue",
134
134
  "PText": "components/text/Text.vue",
135
135
  "PTextarea": "components/textarea/Textarea.vue",
136
+ "PTimepicker": "components/timepicker/Timepicker.vue",
136
137
  "PTime": "components/time/Time.vue",
137
138
  "PTimeItem": "components/time/TimeItem.vue",
138
- "PTimepicker": "components/timepicker/Timepicker.vue",
139
139
  "PToast": "components/toast/Toast.vue",
140
- "PToggle": "components/toggle/Toggle.vue",
141
140
  "PTooltip": "components/tooltip/Tooltip.vue",
142
141
  "PTooltipContainer": "components/tooltip/TooltipContainer.vue",
143
- "PTruncate": "components/truncate/Truncate.vue",
142
+ "PToggle": "components/toggle/Toggle.vue",
144
143
  "PTour": "components/tour/Tour.vue",
145
144
  "PTourDialog": "components/tour/TourDialog.vue",
146
145
  "PTourHighlight": "components/tour/TourHighlight.vue",
146
+ "PTruncate": "components/truncate/Truncate.vue",
147
147
  "PWizard": "components/wizard/Wizard.vue",
148
148
  "PWizardBody": "components/wizard/WizardBody.vue",
149
149
  "PWizardHeader": "components/wizard/WizardHeader.vue",
@@ -125,7 +125,7 @@ const pages = computed<SelectItem[]>(() => {
125
125
  <style lang="postcss">
126
126
  .pdf {
127
127
  &__navigation {
128
- @apply absolute bottom-4 inset-x-0 justify-center items-center flex w-96 mx-auto z-10;
128
+ @apply absolute bottom-4 inset-x-0 justify-center items-center flex min-w-96 mx-auto z-10;
129
129
 
130
130
  &-container {
131
131
  @apply flex bg-inverse text-subtlest rounded p-2 space-x-1 items-center;
@@ -321,6 +321,8 @@ interface PdfViewerSlotScope {
321
321
  zoomOut: () => void,
322
322
  next: () => void,
323
323
  prev: () => void,
324
+ first: () => void,
325
+ last: () => void,
324
326
  }
325
327
 
326
328
  defineSlots<{
@@ -8,3 +8,61 @@ export declare function createViewer(...params: ConstructorParameters<typeof PDF
8
8
  export declare function createLinkService(...params: ConstructorParameters<typeof PDFJSViewer['PDFLinkService']>): Promise<PDFJSViewer.PDFLinkService>;
9
9
  export type * as PDFJSViewer from 'pdfjs-dist/web/pdf_viewer.mjs';
10
10
  export type * as PDFJS from 'pdfjs-dist';
11
+ export declare function normalizeRect(rect: number[]): number[];
12
+ export interface PDFJSAnnotation {
13
+ id: string;
14
+ annotationFlags: number;
15
+ borderStyle?: {
16
+ width: number;
17
+ rawWidth: number;
18
+ style: number;
19
+ dashArray: number[];
20
+ horizontalCornerRadius: number;
21
+ verticalCornerRadius: number;
22
+ };
23
+ color?: Uint8ClampedArray;
24
+ backgroundColor?: Uint8ClampedArray;
25
+ borderColor?: Uint8ClampedArray;
26
+ rotation: 0 | 90 | 180 | 270;
27
+ contentsObj: {
28
+ str: string;
29
+ dir: 'ltr' | 'rtl';
30
+ };
31
+ hasAppearance: boolean;
32
+ modificationDate?: Date;
33
+ rect: [
34
+ number,
35
+ number,
36
+ number,
37
+ number
38
+ ];
39
+ subtype: string;
40
+ hasOwnCanvas: boolean;
41
+ noRotate: boolean;
42
+ noHTML: boolean;
43
+ isEditable: boolean;
44
+ structParent: number;
45
+ annotationType: number;
46
+ fieldName: string;
47
+ actions?: string;
48
+ fieldValue?: string;
49
+ defaultFieldValue?: string;
50
+ alternativeText: string;
51
+ defaultAppearanceData?: {
52
+ fontSize: number;
53
+ fontName: string;
54
+ fontColor: Uint8ClampedArray;
55
+ };
56
+ fieldType: string;
57
+ fieldFlags: number;
58
+ password: boolean;
59
+ readOnly: boolean;
60
+ required: boolean;
61
+ hidden: boolean;
62
+ }
63
+ export interface PDFJSRawDimension {
64
+ pageWidth: number;
65
+ pageHeight: number;
66
+ pageX: number;
67
+ pageY: number;
68
+ }
@@ -40,3 +40,15 @@ export async function createLinkService(...params) {
40
40
  await importPdfJSViewer();
41
41
  return new pdfjsViewer.PDFLinkService(...params);
42
42
  }
43
+ export function normalizeRect(rect) {
44
+ const r = [...rect];
45
+ if (rect[0] > rect[2]) {
46
+ r[0] = rect[2];
47
+ r[2] = rect[0];
48
+ }
49
+ if (rect[1] > rect[3]) {
50
+ r[1] = rect[3];
51
+ r[3] = rect[1];
52
+ }
53
+ return r;
54
+ }
@@ -5,16 +5,17 @@ import {
5
5
  shallowRef,
6
6
  watch
7
7
  } from "vue-demi";
8
- import useLoading from "../../overlay/utils/use-loading.mjs";
9
- import { useClamp, useMax } from "@vueuse/math";
10
- import { createEventHook } from "@vueuse/core";
11
8
  import {
12
9
  createEventBus,
13
10
  createLinkService,
14
11
  createViewer,
15
12
  getCMAPUri,
16
- getDocument
13
+ getDocument,
14
+ normalizeRect
17
15
  } from "./pdfjs.mjs";
16
+ import useLoading from "../../overlay/utils/use-loading.mjs";
17
+ import { useClamp, useMax } from "@vueuse/math";
18
+ import { createEventHook } from "@vueuse/core";
18
19
  export function useViewer(container, viewer) {
19
20
  const pdfDoc = shallowRef();
20
21
  const pdfEventBus = shallowRef();
@@ -87,6 +88,50 @@ export function useViewer(container, viewer) {
87
88
  bus.on("scalechanging", (event) => {
88
89
  scale.value = event.scale;
89
90
  });
91
+ bus.on("annotationlayerrendered", async (event) => {
92
+ if (!event.error) {
93
+ const source = event.source;
94
+ const page2 = source.pdfPage;
95
+ const annotations = await page2.getAnnotations();
96
+ for (const data of annotations) {
97
+ if (data.annotationType === 20 && data.fieldType === "Sig" && !source.annotationLayer.annotationStorage.has(data.id)) {
98
+ const {
99
+ pageWidth,
100
+ pageHeight,
101
+ pageX,
102
+ pageY
103
+ } = source.viewport.rawDims;
104
+ const width = data.rect[2] - data.rect[0];
105
+ const height = data.rect[3] - data.rect[1];
106
+ const rect = normalizeRect([
107
+ data.rect[0],
108
+ page2.view[3] - data.rect[1] + page2.view[1],
109
+ data.rect[2],
110
+ page2.view[3] - data.rect[3] + page2.view[1]
111
+ ]);
112
+ const div = document.createElement("section");
113
+ div.dataset.annotationId = data.id;
114
+ div.tabIndex = 1e3;
115
+ div.className = "signatureWidgetAnnotation";
116
+ div.role = "img";
117
+ div.id = `pdfjs_internal_id_${data.id}`;
118
+ div.style.zIndex = "0";
119
+ div.style.left = `${100 * (rect[0] - pageX) / pageWidth}%`;
120
+ div.style.top = `${100 * (rect[1] - pageY) / pageHeight}%`;
121
+ if (data.rotation === 0) {
122
+ div.style.width = `${100 * width / pageWidth}%`;
123
+ div.style.height = `${100 * height / pageHeight}%`;
124
+ } else {
125
+ div.style.width = `${100 * height / pageWidth}%`;
126
+ div.style.height = `${100 * width / pageHeight}%`;
127
+ div.dataset.mainRotation = `${(360 - data.rotation) % 360}`;
128
+ }
129
+ source.annotationLayer.div.append(div);
130
+ source.annotationLayer.annotationStorage.setValue(data.id, { div });
131
+ }
132
+ }
133
+ }
134
+ });
90
135
  pdfEventBus.value = bus;
91
136
  pdfLinkService.value = await createLinkService({ eventBus: pdfEventBus.value });
92
137
  pdfViewer.value = await createViewer({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@privyid/persona",
3
3
  "description": "Persona core package",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "url": "https://github.com/privy-open-source/design-system.git",
@@ -59,9 +59,9 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@floating-ui/dom": "1.6.13",
62
- "@jill64/universal-sanitizer": "1.4.1",
62
+ "@jill64/universal-sanitizer": "1.4.2",
63
63
  "@juggle/resize-observer": "3.4.0",
64
- "@nuxt/kit": "3.15.4",
64
+ "@nuxt/kit": "3.16.1",
65
65
  "@splidejs/splide": "4.1.4",
66
66
  "@testing-library/dom": "10.4.0",
67
67
  "@testing-library/user-event": "14.6.1",
@@ -84,7 +84,7 @@
84
84
  "@vueuse/math": "11.1.0",
85
85
  "@zxing/browser": "0.1.5",
86
86
  "@zxing/library": "0.21.3",
87
- "chart.js": "4.4.7",
87
+ "chart.js": "4.4.8",
88
88
  "core-js": "3",
89
89
  "date-fns": "4.1.0",
90
90
  "defu": "6.1.4",
@@ -96,7 +96,7 @@
96
96
  "marked": "15.0.7",
97
97
  "nanodelay": "2.0.2",
98
98
  "pathe": "^2.0.0",
99
- "pdfjs-dist": "4.10.38",
99
+ "pdfjs-dist": "5.0.375",
100
100
  "pspdfkit": "^2024.6.0",
101
101
  "scroll-into-view": "1.16.2",
102
102
  "tabbable": "6.2.0",
@@ -112,8 +112,8 @@
112
112
  "extends @privyid/browserslist-config"
113
113
  ],
114
114
  "peerDependencies": {
115
- "@privyid/browserslist-config": "^1.1.1",
116
- "@privyid/tailwind-preset": "^1.1.1",
115
+ "@privyid/browserslist-config": "^1.1.2",
116
+ "@privyid/tailwind-preset": "^1.1.2",
117
117
  "postcss-custom-properties": "^12.1.11 || ^13.0.0 || ^14.0.0",
118
118
  "postcss-hexrgba": "^2.1.0",
119
119
  "postcss-lighten-darken": "^0.9.0",
@@ -122,13 +122,13 @@
122
122
  },
123
123
  "devDependencies": {
124
124
  "@nuxt/module-builder": "0.8.4",
125
- "@nuxt/schema": "3.15.4",
125
+ "@nuxt/schema": "3.16.1",
126
126
  "@nuxtjs/tailwindcss": "6.13.2",
127
- "@privyid/browserslist-config": "^1.1.1",
128
- "@privyid/tailwind-preset": "^1.1.1",
127
+ "@privyid/browserslist-config": "^1.1.2",
128
+ "@privyid/tailwind-preset": "^1.1.2",
129
129
  "@types/sanitize-html": "2.13.0",
130
130
  "browserslist-to-esbuild": "2.1.1",
131
- "nuxt": "3.15.4",
131
+ "nuxt": "3.16.1",
132
132
  "postcss-custom-properties": "14.0.4",
133
133
  "postcss-hexrgba": "2.1.0",
134
134
  "postcss-lighten-darken": "0.9.0",