@factoringplus/pl-components-pack-v3 1.1.2-pre-06 → 1.1.3-pre-01

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.
Files changed (126) hide show
  1. package/README.md +17 -17
  2. package/dist/Bin40-0aac9565.mjs +41 -0
  3. package/dist/CircleCheck40-96d03361.mjs +29 -0
  4. package/dist/WarningThree40-6d1c8a07.mjs +35 -0
  5. package/dist/components/button/index.d.ts +7 -0
  6. package/dist/components/button/pl-button.vue.d.ts +64 -0
  7. package/dist/components/button/types/index.d.ts +21 -0
  8. package/dist/components/components.d.ts +38 -0
  9. package/dist/components/currency-input/index.d.ts +5 -0
  10. package/dist/components/entry.d.ts +19 -0
  11. package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -0
  12. package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -0
  13. package/dist/components/pl-autocomplete/index.d.ts +5 -0
  14. package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +91 -0
  15. package/dist/components/pl-autocomplete/types/index.d.ts +58 -0
  16. package/dist/components/pl-card/index.d.ts +5 -0
  17. package/dist/components/pl-checkbox/index.d.ts +5 -0
  18. package/dist/components/pl-checkbox-plus/index.d.ts +5 -0
  19. package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +72 -0
  20. package/dist/components/pl-date-picker/index.d.ts +5 -0
  21. package/dist/components/pl-date-picker-legacy/index.d.ts +5 -0
  22. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +83 -0
  23. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +69 -0
  24. package/dist/components/pl-date-picker-plus/index.d.ts +5 -0
  25. package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +92 -0
  26. package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +102 -0
  27. package/dist/components/pl-dialog/index.d.ts +5 -0
  28. package/dist/components/pl-dialog/pl-dialog-plus.stories.d.ts +329 -0
  29. package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +91 -0
  30. package/dist/components/pl-dialog/pl-dialog.stories.d.ts +368 -0
  31. package/dist/components/pl-dialog/pl-dialog.vue.d.ts +102 -0
  32. package/dist/components/pl-form/index.d.ts +5 -0
  33. package/dist/components/pl-form/pl-form.vue.d.ts +48 -0
  34. package/dist/components/pl-form-item/index.d.ts +5 -0
  35. package/dist/components/pl-icon/index.d.ts +7 -0
  36. package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -0
  37. package/dist/components/pl-icon/types/iconsType.d.ts +5 -0
  38. package/dist/components/pl-icon/types/index.d.ts +2 -0
  39. package/dist/components/pl-input/index.d.ts +5 -0
  40. package/dist/components/pl-input-native/index.d.ts +5 -0
  41. package/dist/components/pl-input-plus/index.d.ts +5 -0
  42. package/dist/components/pl-label/pl-label.vue.d.ts +39 -0
  43. package/dist/components/pl-link/index.d.ts +5 -0
  44. package/dist/components/pl-link/pl-link.vue.d.ts +48 -0
  45. package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +50 -0
  46. package/dist/components/pl-multitab/index.d.ts +5 -0
  47. package/dist/components/pl-multitab/pl-multitab.vue.d.ts +44 -0
  48. package/dist/components/pl-option/index.d.ts +5 -0
  49. package/dist/components/pl-option/pl-option.vue.d.ts +122 -0
  50. package/dist/components/pl-radio/index.d.ts +5 -0
  51. package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -0
  52. package/dist/components/pl-scrollbar/index.d.ts +5 -0
  53. package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +65 -0
  54. package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -0
  55. package/dist/components/pl-select/index.d.ts +5 -0
  56. package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +69 -0
  57. package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -0
  58. package/dist/components/pl-select-plus/index.d.ts +5 -0
  59. package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -0
  60. package/dist/components/pl-select-plus/types/index.d.ts +39 -0
  61. package/dist/components/pl-skeleton/index.d.ts +5 -0
  62. package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +38 -0
  63. package/dist/components/pl-snackbar/index.d.ts +7 -0
  64. package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +53 -0
  65. package/dist/components/pl-snackbar/renderSnackbar.d.ts +10 -0
  66. package/dist/components/pl-snackbar/types.d.ts +21 -0
  67. package/dist/components/pl-stepper/index.d.ts +5 -0
  68. package/dist/components/pl-suggestions/index.d.ts +5 -0
  69. package/dist/components/pl-switch/index.d.ts +5 -0
  70. package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -0
  71. package/dist/components/pl-tab-pane/index.d.ts +5 -0
  72. package/dist/components/pl-table/index.d.ts +5 -0
  73. package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -0
  74. package/dist/components/pl-table-plus/index.d.ts +5 -0
  75. package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +93 -0
  76. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +21 -0
  77. package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +50 -0
  78. package/dist/components/pl-tabs/index.d.ts +5 -0
  79. package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -0
  80. package/dist/components/pl-text/components/pl-body1.vue.d.ts +21 -0
  81. package/dist/components/pl-text/components/pl-body2.vue.d.ts +21 -0
  82. package/dist/components/pl-text/components/pl-body3.vue.d.ts +21 -0
  83. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +21 -0
  84. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +21 -0
  85. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +21 -0
  86. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +21 -0
  87. package/dist/components/pl-text/components/pl-cap.vue.d.ts +21 -0
  88. package/dist/components/pl-text/components/pl-h1.vue.d.ts +21 -0
  89. package/dist/components/pl-text/components/pl-h2.vue.d.ts +21 -0
  90. package/dist/components/pl-text/components/pl-h3.vue.d.ts +21 -0
  91. package/dist/components/pl-text/components/pl-h4.vue.d.ts +21 -0
  92. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +17 -0
  93. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +17 -0
  94. package/dist/components/pl-text/components/pl-system.vue.d.ts +17 -0
  95. package/dist/components/pl-text/components/pl-tag.vue.d.ts +17 -0
  96. package/dist/components/pl-text/components/pl-title1.vue.d.ts +17 -0
  97. package/dist/components/pl-text/components/pl-title2.vue.d.ts +17 -0
  98. package/dist/components/pl-text/components/pl-title3.vue.d.ts +17 -0
  99. package/dist/components/pl-text/index.d.ts +5 -0
  100. package/dist/components/pl-tooltip/index.d.ts +5 -0
  101. package/dist/components/pl-tooltip/pl-tooltip.vue.d.ts +56 -0
  102. package/dist/components/pl-tooltip-plus/index.d.ts +5 -0
  103. package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +45 -0
  104. package/dist/components/pl-upload/index.d.ts +5 -0
  105. package/dist/components/pl-upload-legacy/index.d.ts +5 -0
  106. package/dist/components/pl-upload-plus/index.d.ts +5 -0
  107. package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +96 -0
  108. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -0
  109. package/dist/directives/index.d.ts +4 -0
  110. package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -0
  111. package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -0
  112. package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -0
  113. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -0
  114. package/dist/directives/vLoading.d.ts +3 -0
  115. package/dist/directives/vTap.d.ts +3 -0
  116. package/dist/directives/vTouchOutside.d.ts +3 -0
  117. package/dist/main.d.ts +1 -0
  118. package/dist/pl-components-pack-v3.d.ts +3 -80
  119. package/dist/pl-components-pack-v3.es.js +9684 -9474
  120. package/dist/pl-components-pack-v3.umd.js +23 -23
  121. package/dist/plugins/api/api.d.ts +2 -0
  122. package/dist/plugins/loading/loading.d.ts +1 -0
  123. package/dist/services/plLoading.d.ts +3 -0
  124. package/dist/style.css +1 -1
  125. package/dist/utils/declOfNum.d.ts +1 -0
  126. package/package.json +3 -2
@@ -0,0 +1,21 @@
1
+ interface IProps {
2
+ color?: string;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IProps>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ interface IProps {
2
+ color?: string;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IProps>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ interface IProps {
2
+ color?: string;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IProps>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ interface IProps {
2
+ color?: string;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IProps>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ interface IProps {
2
+ color?: string;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IProps>>>, {}, {}>, {
5
+ default?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: StringConstructor;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlTextPlugin: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlTextPlugin;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlTooltip: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlTooltip;
@@ -0,0 +1,56 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ };
6
+ position: {
7
+ type: () => "left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
8
+ default: string;
9
+ };
10
+ customClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ trigger: {
15
+ type: () => "click" | "hover" | "focus" | "contextmenu";
16
+ default: string;
17
+ };
18
+ hideAfter: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ modelValue: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ };
27
+ position: {
28
+ type: () => "left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
29
+ default: string;
30
+ };
31
+ customClass: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ trigger: {
36
+ type: () => "click" | "hover" | "focus" | "contextmenu";
37
+ default: string;
38
+ };
39
+ hideAfter: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ }>>, {
44
+ position: "left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
45
+ customClass: string;
46
+ trigger: "click" | "hover" | "focus" | "contextmenu";
47
+ hideAfter: number;
48
+ }, {}>, {
49
+ default?(_: {}): any;
50
+ }>;
51
+ export default _default;
52
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,5 @@
1
+ import { App } from 'vue';
2
+ declare const PlToolTipPlus: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlToolTipPlus;
@@ -0,0 +1,45 @@
1
+ interface IProps {
2
+ placement?: 'top-right' | 'top' | 'top-left' | 'right-top' | 'right' | 'right-bottom' | 'bottom-left' | 'bottom' | 'bottom-right' | 'left-bottom' | 'left' | 'left-top';
3
+ width?: string;
4
+ delay?: boolean;
5
+ truncated?: boolean;
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
8
+ placement: string;
9
+ delay: boolean;
10
+ truncated: boolean;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
12
+ placement: string;
13
+ delay: boolean;
14
+ truncated: boolean;
15
+ }>>>, {
16
+ placement: "left" | "right" | "top" | "bottom" | "top-right" | "top-left" | "right-top" | "right-bottom" | "bottom-left" | "bottom-right" | "left-bottom" | "left-top";
17
+ delay: boolean;
18
+ truncated: boolean;
19
+ }, {}>, {
20
+ default?(_: {}): any;
21
+ "tooltip-text"?(_: {}): any;
22
+ }>;
23
+ export default _default;
24
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ declare type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ declare type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
41
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlUpload: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlUpload;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlUploadLegacy: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlUploadLegacy;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlUploadPlus: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlUploadPlus;
@@ -0,0 +1,96 @@
1
+ interface IProps {
2
+ multiple?: boolean;
3
+ accept?: string;
4
+ fileSize?: number;
5
+ modelValue: Array<File | TUnloadedFile>;
6
+ maxHeightScroll?: number;
7
+ limit?: number;
8
+ description?: string;
9
+ disabled?: boolean;
10
+ title?: string;
11
+ helperText?: string;
12
+ tooltip?: string;
13
+ prop?: string;
14
+ optional?: string;
15
+ }
16
+ declare type TError = {
17
+ dist: boolean;
18
+ size: boolean;
19
+ };
20
+ declare type TUnloadedFile = {
21
+ name: string;
22
+ size: number;
23
+ error: TError;
24
+ };
25
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
26
+ multiple: boolean;
27
+ accept: string;
28
+ fileSize: number;
29
+ modelValue: () => any[];
30
+ maxHeightScroll: number;
31
+ limit: number;
32
+ description: string;
33
+ disabled: boolean;
34
+ title: string;
35
+ helperText: string;
36
+ tooltip: string;
37
+ prop: string;
38
+ optional: string;
39
+ }>, {
40
+ addFiles: (files: FileList | File[]) => void;
41
+ removeFile: (fileToRemove: File | TUnloadedFile) => void;
42
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ addFiles: (...args: any[]) => void;
44
+ removeFile: (...args: any[]) => void;
45
+ clickOnFile: (...args: any[]) => void;
46
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
47
+ multiple: boolean;
48
+ accept: string;
49
+ fileSize: number;
50
+ modelValue: () => any[];
51
+ maxHeightScroll: number;
52
+ limit: number;
53
+ description: string;
54
+ disabled: boolean;
55
+ title: string;
56
+ helperText: string;
57
+ tooltip: string;
58
+ prop: string;
59
+ optional: string;
60
+ }>>> & {
61
+ onAddFiles?: (...args: any[]) => any;
62
+ onRemoveFile?: (...args: any[]) => any;
63
+ onClickOnFile?: (...args: any[]) => any;
64
+ }, {
65
+ title: string;
66
+ disabled: boolean;
67
+ modelValue: (File | TUnloadedFile)[];
68
+ tooltip: string;
69
+ prop: string;
70
+ description: string;
71
+ optional: string;
72
+ accept: string;
73
+ multiple: boolean;
74
+ fileSize: number;
75
+ maxHeightScroll: number;
76
+ limit: number;
77
+ helperText: string;
78
+ }, {}>;
79
+ export default _default;
80
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
81
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
82
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
83
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
84
+ } : {
85
+ type: import('vue').PropType<T[K]>;
86
+ required: true;
87
+ };
88
+ };
89
+ declare type __VLS_WithDefaults<P, D> = {
90
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
91
+ default: D[K];
92
+ }> : P[K];
93
+ };
94
+ declare type __VLS_Prettify<T> = {
95
+ [K in keyof T]: T[K];
96
+ } & {};
@@ -0,0 +1 @@
1
+ export declare type FileExtension = 'doc' | 'docx' | 'pdf' | 'jpeg' | 'jpg' | 'tiff' | 'tif' | 'png' | 'xlsx' | 'xls' | 'txt' | 'p7s' | 'csv' | 'rar' | 'zip' | '7z';
@@ -0,0 +1,4 @@
1
+ declare const PlDirectives: {
2
+ install(app: any): void;
3
+ };
4
+ export default PlDirectives;
@@ -0,0 +1 @@
1
+ export declare const getOffsetTopDistance: (el: HTMLElement, containerEl: HTMLElement) => number;
@@ -0,0 +1 @@
1
+ export declare const getScrollContainer: (el: HTMLElement | null, isVertical?: boolean) => any;
@@ -0,0 +1 @@
1
+ export declare const getStyle: (element: HTMLElement, styleName: string) => any;
@@ -0,0 +1,2 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vInfiniteScroll: Directive;
@@ -0,0 +1,3 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vLoadingPlus: Directive<HTMLElement, () => void>;
3
+ export default vLoadingPlus;
@@ -0,0 +1,3 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vTap: Directive<HTMLElement, () => void>;
3
+ export default vTap;
@@ -0,0 +1,3 @@
1
+ import { Directive } from 'vue';
2
+ export declare const vTouchOutside: Directive;
3
+ export default vTouchOutside;
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -1,80 +1,3 @@
1
- import type { App } from 'vue';
2
- import type { AppContext } from 'vue';
3
- import type { Plugin as Plugin_2 } from 'vue';
4
-
5
- declare type ActionFn = (...args: any[]) => Promise<any>;
6
-
7
- export declare interface IPlNotification {
8
- success: Function;
9
- error: Function;
10
- warning: Function;
11
- info: Function;
12
- custom: Function;
13
- closeAll: Function;
14
- }
15
-
16
- export declare interface IProps {
17
- id: number;
18
- icon: string;
19
- color: string;
20
- title: string;
21
- button: string;
22
- buttonAdd: string;
23
- action: Function;
24
- actionAdd: Function;
25
- message: string;
26
- blockHide: boolean;
27
- }
28
-
29
- declare function loadingAndSetup(bindData: any, apiCall: any, apiParams: any, loadingArr: any, fastResponse?: boolean): any;
30
-
31
- declare function plLoading(action: ActionFn): ActionFn;
32
-
33
- export declare const PlNotification: SFCInstallWithContext<IPlNotification>;
34
-
35
- export declare type SFCInstallWithContext<T> = SFCWithInstall<T> & {
36
- _context: AppContext | null;
37
- };
38
-
39
- export declare type SFCWithInstall<T> = T & Plugin_2;
40
-
41
- declare const Storybook: {
42
- install: (app: App) => void;
43
- PlNotification: IPlNotification;
44
- apiJs: (optionsRequest: any, isGetResourse: boolean | undefined, token: any) => Promise<unknown>;
45
- plLoading: typeof plLoading;
46
- loader: typeof loadingAndSetup;
47
- };
48
- export default Storybook;
49
-
50
- /**
51
- * @param fullWidth boolean;
52
- * @param disabled boolean;
53
- * @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
54
- * @param size 'large' | 'medium' | 'small';
55
- * @param icon IIcon;
56
- * @param iconColor string;
57
- * @param iconPosition 'left' | 'right';
58
- * @param nativeType 'button'| 'submit'| 'reset' | undefined
59
- */
60
- export declare type TButtonProps = {
61
- fullWidth?: boolean;
62
- disabled?: boolean;
63
- type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
64
- size?: 'large' | 'medium' | 'small';
65
- icon?: TIcon;
66
- iconColor?: string;
67
- iconPosition?: 'left' | 'right';
68
- nativeType?: 'button' | 'submit' | 'reset';
69
- };
70
-
71
- export declare type TIcon = '' | 'User20' | 'Group20' | 'Edit20' | 'BlankPan20' | 'Support20' | 'HandKey20' | 'Lock20' | 'Connection20' | 'Picture20' | 'Ruble20' | 'Document20' | 'Clip20' | 'Bell20' | 'USB20' | 'Layers20' | 'BlankKey20' | 'BlankChat20' | 'BlankCheck20' | 'BlankLock20' | 'Calendar20' | 'MailCheck20' | 'Mail20' | 'HandTop20' | 'HandRight20' | 'Pin20' | 'Rotate20' | 'Search20' | 'ArrowTop20' | 'ArrowRight20' | 'ArrowLeft20' | 'ArrowBottom20' | 'Settings20' | 'Chart20' | 'Exit20' | 'Warning20' | 'WarningTwo20' | 'WarningThree20' | 'CircleCheck20' | 'Question20' | 'Library20' | 'Loader20' | 'Share20' | 'Saved20' | 'CloudDownload20' | 'Bin20' | 'Eye20' | 'EyeCrossed20' | 'Chat20' | 'Bell20' | 'DotsHorizontal20' | 'DotsVertical20' | 'Scheduled20' | 'Dashboard20' | 'Clock20' | 'Box20' | 'Sort20' | 'SortTwo20' | 'Filter20' | 'Grid20' | 'Hub20' | 'GridTwo20' | 'Home20' | 'Key20' | 'Bulb20' | 'Attachment20' | 'Download20' | 'Link20' | 'Copy20' | 'Telegram20' | 'SortThree20' | 'Plus20' | 'Minus20' | 'Close20' | 'Check20' | 'Scroll20' | 'Print20' | 'Send20' | 'Block20' | 'Star20' | 'Share20' | 'Sticker20' | 'ChevronDoubleLeft20' | 'Cube20' | 'Menu20' | 'AlertFill20' | 'Main20' | 'Wallet20' | 'Truck20' | 'Percent20' | 'Shield20' | 'ChevronDown20' | 'ChevronUp20' | 'ChevronLeft20' | 'ChevronRight20' | 'CreditCard20' | 'Zap20' | 'User24' | 'Group24' | 'Edit24' | 'BlankPan24' | 'Support24' | 'HandKey24' | 'Lock24' | 'Connection24' | 'Picture24' | 'Ruble24' | 'Document24' | 'Clip24' | 'Bell24' | 'USB24' | 'Layers24' | 'BlankKey24' | 'BlankChat24' | 'BlankCheck24' | 'BlankLock24' | 'Calendar24' | 'MailCheck24' | 'Mail24' | 'HandTop24' | 'HandRight24' | 'Pin24' | 'Rotate24' | 'Search24' | 'ArrowTop24' | 'ArrowRight24' | 'ArrowLeft24' | 'ArrowBottom24' | 'Settings24' | 'Chart24' | 'Exit24' | 'Warning24' | 'WarningTwo24' | 'WarningThree24' | 'CircleCheck24' | 'Question24' | 'Library24' | 'Loader24' | 'Share24' | 'Saved24' | 'CloudDownload24' | 'Bin24' | 'Eye24' | 'EyeCrossed24' | 'Chat24' | 'Bell24' | 'DotsHorizontal24' | 'DotsVertical24' | 'Scheduled24' | 'Dashboard24' | 'Clock24' | 'Box24' | 'Sort24' | 'SortTwo24' | 'Filter24' | 'Grid24' | 'Hub24' | 'GridTwo24' | 'Home24' | 'Key24' | 'Bulb24' | 'Attachment24' | 'Download24' | 'Link24' | 'Copy24' | 'Telegram24' | 'SortThree24' | 'Plus24' | 'Minus24' | 'Close24' | 'Check24' | 'Scroll24' | 'Print24' | 'Send24' | 'Block24' | 'Star24' | 'Share24' | 'Sticker24' | 'ChevronDoubleLeft24' | 'ChevronDoubleRight24' | 'Cube24' | 'Menu24' | 'AlertFill24' | 'Main24' | 'Wallet24' | 'Truck24' | 'Percent24' | 'Shield24' | 'ChevronDown24' | 'ChevronUp24' | 'ChevronLeft24' | 'ChevronRight24' | 'Word24' | 'Exel24' | 'PDF24' | 'JPG24' | 'PNG24' | 'Info24' | 'WB20' | 'Ozon20' | 'Yandex20' | 'WB24' | 'Ozon24' | 'Yandex24' | 'WB40' | 'Ozon40' | 'Yandex40' | 'WB56' | 'Ozon56' | 'Yandex56';
72
-
73
- export declare type TIconProps = {
74
- name: TIcon;
75
- color?: string | '';
76
- };
77
-
78
- export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
79
-
80
- export { }
1
+ export * from './components/entry'
2
+ import PlComponentsPackV3 from './components/entry'
3
+ export default PlComponentsPackV3