@v1nt1248/3nclient-lib 0.2.33 → 0.2.35
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/README.md +5 -0
- package/dist/components/ui3n-dialog/types.d.ts +1 -1
- package/dist/components/ui3n-editable/types.d.ts +1 -1
- package/dist/components/ui3n-editable/ui3n-editable.vue.d.ts +1 -1
- package/dist/components/ui3n-editable/useContentEditable.d.ts +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/useDblClickHandler.d.ts +3 -0
- package/dist/directives/index.d.ts +2 -1
- package/dist/directives/ui3n-long-press.d.ts +27 -0
- package/dist/index.d.ts +3 -2
- package/dist/style.css +1 -1
- package/dist/types/directives.types.d.ts +7 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/ui3n-components.d.ts +4 -1
- package/dist/ui3n-components.js +4879 -4810
- package/dist/ui3n-plugins.d.ts +1 -2
- package/dist/ui3n-plugins.js +2 -2
- package/dist/ui3n-utils.js +154 -144
- package/dist/utils/files/create-video-thumbnail.d.ts +1 -1
- package/dist/utils/for-vue/try-on-scope-dispose.d.ts +2 -0
- package/dist/utils/for-vue/unref-element.d.ts +2 -0
- package/dist/utils/index.d.ts +3 -1
- package/package.json +18 -13
- package/src/components/ui3n-autocomplete/ui3n-autocomplete.vue +32 -9
- package/src/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue +14 -14
- package/src/components/ui3n-button/ui3n-button.vue +229 -226
- package/src/components/ui3n-checkbox/ui3n-checkbox.vue +30 -7
- package/src/components/ui3n-chip/ui3n-chip.vue +113 -109
- package/src/components/ui3n-dialog/types.ts +1 -1
- package/src/components/ui3n-dialog/ui3n-dialog.vue +7 -8
- package/src/components/ui3n-editable/types.ts +1 -1
- package/src/components/ui3n-editable/ui3n-editable.vue +34 -12
- package/src/components/ui3n-editable/useContentEditable.ts +6 -3
- package/src/components/ui3n-icon/ui3n-icon.vue +1 -1
- package/src/components/ui3n-input/ui3n-input.vue +272 -273
- package/src/components/ui3n-input-file/ui3n-input-file.vue +2 -2
- package/src/components/ui3n-list/ui3n-list.vue +70 -60
- package/src/components/ui3n-menu/ui3n-menu.vue +1 -1
- package/src/components/ui3n-notification/ui3n-notification.vue +4 -1
- package/src/components/ui3n-progress/ui3n-progress-circular.vue +168 -147
- package/src/components/ui3n-progress/ui3n-progress-linear.vue +77 -73
- package/src/components/ui3n-radio-group/ui3n-radio.vue +178 -177
- package/src/components/ui3n-step-line-bar/ui3n-step-line-bar.vue +50 -46
- package/src/components/ui3n-switch/ui3n-switch.vue +114 -116
- package/src/components/ui3n-table/composables/useTable.ts +17 -9
- package/src/components/ui3n-table/ui3n-table-sort-icon.vue +9 -6
- package/src/components/ui3n-table/ui3n-table.vue +7 -5
- package/src/components/ui3n-text/ui3n-text.vue +157 -215
- package/src/components/ui3n-tooltip/ui3n-tooltip.vue +4 -5
- package/src/components/types/index.ts +0 -15
- /package/dist/{components/types/index.d.ts → types/components.types.d.ts} +0 -0
- /package/dist/{plugins/types.d.ts → types/plugins.types.d.ts} +0 -0
- /package/dist/utils/{for-we3n.d.ts → for-web3n.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export type Fn = () => void;
|
|
3
|
+
export type VueInstance = ComponentPublicInstance;
|
|
4
|
+
export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
|
|
5
|
+
export type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
|
|
6
|
+
export type MaybeComputedElementRef<T extends MaybeElement = MaybeElement> = MaybeRefOrGetter<T>;
|
|
7
|
+
export type UnRefElementReturn<T extends MaybeElement = MaybeElement> = T extends VueInstance ? Exclude<MaybeElement, VueInstance> : T | undefined;
|
|
@@ -31,9 +31,11 @@ import { default as Ui3nClickOutside } from './directives/ui3n-click-outside';
|
|
|
31
31
|
import { default as Ui3nResize } from './directives/ui3n-resize';
|
|
32
32
|
import { default as Ui3nRipple } from './directives/ui3n-ripple';
|
|
33
33
|
import { default as Ui3nTitle } from './directives/ui3n-title';
|
|
34
|
+
import { default as Ui3nLongPress } from './directives/ui3n-long-press';
|
|
34
35
|
export * from './directives';
|
|
35
36
|
export * from './components';
|
|
36
|
-
export * from './
|
|
37
|
+
export * from './composables';
|
|
38
|
+
export * from './types';
|
|
37
39
|
declare module 'vue' {
|
|
38
40
|
interface GlobalComponents {
|
|
39
41
|
Ui3nAutocomplete: typeof Ui3nAutocomplete;
|
|
@@ -71,5 +73,6 @@ declare module 'vue' {
|
|
|
71
73
|
Ui3nResize: typeof Ui3nResize;
|
|
72
74
|
Ui3nRipple: typeof Ui3nRipple;
|
|
73
75
|
Ui3nTitle: typeof Ui3nTitle;
|
|
76
|
+
Ui3nLongPress: typeof Ui3nLongPress;
|
|
74
77
|
}
|
|
75
78
|
}
|