@pksep/yui 0.1.154 → 0.1.155

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pksep/yui",
3
3
  "author": "Perov David",
4
- "version": "0.1.154",
4
+ "version": "0.1.155",
5
5
  "packageManager": "pnpm@9.9.0",
6
6
  "main": "./dist/sep-yui.umd.ts",
7
7
  "module": "./dist/sep-yui.ts",
@@ -30,8 +30,6 @@
30
30
  "@vueuse/components": "^11.1.0",
31
31
  "@vueuse/core": "^11.0.3",
32
32
  "col-cal": "2.0.0-alpha.1",
33
- "pdfjs-dist": "^5.4.449",
34
- "print-js": "^1.6.0",
35
33
  "vue": "^3.5.22",
36
34
  "vue3-emoji-picker": "^1.1.8",
37
35
  "vue3-perfect-scrollbar": "^2.0.0"
@@ -85,4 +83,4 @@
85
83
  },
86
84
  "./styles": "./dist/style.css"
87
85
  }
88
- }
86
+ }
@@ -1,15 +0,0 @@
1
- import { IPdfPreviewProps } from './interface';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IPdfPreviewProps>>, {
4
- clearCanvas: () => void;
5
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IPdfPreviewProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1,15 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- src: string | undefined;
3
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- src: string | undefined;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1,4 +0,0 @@
1
- export interface IPdfPreviewProps {
2
- src: string | undefined;
3
- page?: number;
4
- }
@@ -1,24 +0,0 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- isActive?: boolean;
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- isActive?: boolean;
8
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
- export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,43 +0,0 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- activeIndex?: number;
6
- }>, {
7
- activeIndex: number;
8
- }>>, {
9
- shiftPosition: (index: number) => void;
10
- nextSlide: () => number;
11
- prevSlide: () => number;
12
- initScroll: () => void;
13
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
- activeIndex?: number;
15
- }>, {
16
- activeIndex: number;
17
- }>>> & Readonly<{}>, {
18
- activeIndex: number;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
- export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
@@ -1,35 +0,0 @@
1
- import { ISliderModalProps } from './interface/interface';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISliderModalProps>, {
4
- dataTestid: string;
5
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- close: () => void;
7
- unmounted: () => void;
8
- "end-animation": () => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISliderModalProps>, {
10
- dataTestid: string;
11
- }>>> & Readonly<{
12
- onClose?: (() => any) | undefined;
13
- onUnmounted?: (() => any) | undefined;
14
- "onEnd-animation"?: (() => any) | undefined;
15
- }>, {
16
- dataTestid: string;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
- export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
28
- type __VLS_WithDefaults<P, D> = {
29
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
- default: D[K];
31
- }> : P[K];
32
- };
33
- type __VLS_Prettify<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};
@@ -1,2 +0,0 @@
1
- declare const isElementVisible: (el: HTMLElement, container?: HTMLElement | Window) => boolean;
2
- export default isElementVisible;
@@ -1,2 +0,0 @@
1
- declare const scrollToElementIfNotVisible: (el: HTMLElement, container?: HTMLElement | null) => void;
2
- export default scrollToElementIfNotVisible;
@@ -1,32 +0,0 @@
1
- import { PDFDocumentProxy, PDFPageProxy } from 'pdfjs-dist';
2
-
3
- declare class CachePdf {
4
- private cache;
5
- private cachePage;
6
- /**
7
- * Записывает в кэш загруженные документ pdf файла
8
- * @param key
9
- * @param value
10
- */
11
- setCache(key: string, value: PDFDocumentProxy): void;
12
- /**
13
- * Возвращает документ из кэша
14
- * @param key
15
- * @returns
16
- */
17
- getCache(key: string): PDFDocumentProxy | undefined;
18
- /**
19
- * Записывает в кэш страницу
20
- * @param key
21
- * @param value
22
- */
23
- setPageCache(key: string, value: PDFPageProxy): void;
24
- /**
25
- * Вовзращает страницу из кэша
26
- * @param key
27
- * @returns
28
- */
29
- getPageCache(key: string): PDFPageProxy | undefined;
30
- }
31
- declare const cachePdf: CachePdf;
32
- export default cachePdf;
@@ -1,2 +0,0 @@
1
- declare const checkPath: (str: string | null) => string | null;
2
- export default checkPath;
@@ -1,2 +0,0 @@
1
- declare const downloadFile: (path: string, name?: string) => Promise<void>;
2
- export default downloadFile;
@@ -1,6 +0,0 @@
1
- /**
2
- * @param path: string | null
3
- * @returns
4
- */
5
- declare const isImage: (path: string | null | undefined) => boolean;
6
- export default isImage;
@@ -1,6 +0,0 @@
1
- /**
2
- * @param path: string | null
3
- * @returns
4
- */
5
- declare const isVideo: (path: string | null | undefined) => boolean;
6
- export default isVideo;