@v1nt1248/3nclient-lib 0.3.43 → 0.3.44
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/chunks/{plugins-keys-jqAZ5D94.js → plugins-keys-CmrMlx3F.js} +1 -1
- package/dist/src/components/ui3n-badge/ui3n-badge.d.ts +1 -1
- package/dist/src/components/ui3n-dialog/types.d.ts +1 -1
- package/dist/src/components/ui3n-editable/ui3n-editable.d.ts +1 -1
- package/dist/src/components/ui3n-editable/useContentEditable.d.ts +1 -1
- package/dist/src/components/ui3n-notification/ui3n-notification.d.ts +1 -1
- package/dist/src/components/ui3n-selector/types.d.ts +1 -1
- package/dist/src/components/ui3n-table/composables/useTable.d.ts +3 -3
- package/dist/src/components/ui3n-text/ui3n-text.d.ts +1 -1
- package/dist/src/plugins/dialogs/types.d.ts +1 -1
- package/dist/src/utils/files/create-video-thumbnail.d.ts +1 -1
- package/dist/src/utils/for-vue/try-on-scope-dispose.d.ts +1 -1
- package/dist/src/utils/for-vue/unref-element.d.ts +1 -1
- package/dist/src/utils/processes/task-runner.d.ts +1 -1
- package/dist/ui3n-components.js +1 -1
- package/dist/ui3n-plugins.js +1 -1
- package/dist/ui3n-utils.js +1 -1
- package/package.json +1 -1
- package/src/components/ui3n-dialog/types.ts +1 -1
- package/src/components/ui3n-dialog/ui3n-dialog-provider.vue +2 -2
- package/src/components/ui3n-editable/ui3n-editable.vue +4 -4
- package/src/components/ui3n-editable/useContentEditable.ts +2 -2
- package/src/components/ui3n-emoji/ui3n-emoji.vue +1 -1
- package/src/components/ui3n-input-file/ui3n-input-file.vue +2 -2
- package/src/components/ui3n-menu/ui3n-menu.vue +1 -1
- package/src/components/ui3n-selector/types.ts +1 -1
- package/src/components/ui3n-selector/ui3n-selector.vue +2 -2
- package/src/components/ui3n-slider/ui3n-slider.vue +2 -2
- package/src/components/ui3n-table/composables/useTable.ts +2 -2
- package/src/components/ui3n-text/ui3n-text.vue +1 -1
- package/src/components/ui3n-tooltip/ui3n-tooltip.vue +2 -2
|
@@ -4461,6 +4461,6 @@ function Dt(e) {
|
|
|
4461
4461
|
}
|
|
4462
4462
|
//#endregion
|
|
4463
4463
|
//#region src/constants/plugins-keys.ts
|
|
4464
|
-
var Q = Symbol.for("ui3n-dialogs-plugin"), Ot = Symbol("ui3n-notifications-plugin"), kt = Symbol("ui3n-vuebus-plugin");
|
|
4464
|
+
var Q = Symbol.for("ui3n-dialogs-plugin"), Ot = Symbol.for("ui3n-notifications-plugin"), kt = Symbol.for("ui3n-vuebus-plugin");
|
|
4465
4465
|
//#endregion
|
|
4466
4466
|
export { F as $, je as A, ye as B, Re as C, Fe as D, Ne as E, K as F, me as G, _e as H, De as I, B as J, fe as K, W as L, ke as M, G as N, Pe as O, Oe as P, I as Q, Te as R, ze as S, Ie as T, ge as U, ve as V, H as W, de as X, z as Y, L as Z, qe as _, X as a, N as at, He as b, ct as c, k as ct, at as d, b as dt, oe as et, it as f, _ as ft, Xe as g, $e as h, m as ht, xt as i, te as it, Ae as j, Me as k, st as l, O as lt, nt as m, f as mt, Ot as n, ie as nt, ut as o, M as ot, rt as p, g as pt, pe as q, kt as r, re as rt, lt as s, A as st, Q as t, ae as tt, ot as u, x as ut, Y as v, Le as w, Be as x, Ue as y, U as z };
|
|
@@ -10,8 +10,8 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nBadgeProps, {},
|
|
|
10
10
|
color: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
textColor: string;
|
|
13
|
-
dot: boolean;
|
|
14
13
|
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
14
|
+
dot: boolean;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
17
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '
|
|
1
|
+
import { Nullable } from '../../types/components.types';
|
|
2
2
|
import { Ui3nContentEditableEmits, Ui3nContentEditableProps } from './types';
|
|
3
3
|
export declare function useContentEditable(props: Ui3nContentEditableProps, emits: Ui3nContentEditableEmits): {
|
|
4
4
|
el: import('vue').Ref<Nullable<HTMLElement>, Nullable<HTMLElement>>;
|
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<Ui3nNotificationProps, {},
|
|
|
4
4
|
duration: number;
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
withIcon: boolean;
|
|
7
|
-
position: "left" | "center" | "right";
|
|
8
7
|
onOpen: () => void;
|
|
8
|
+
position: "left" | "center" | "right";
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
10
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref, UnwrapRef } from 'vue';
|
|
2
|
-
import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '
|
|
3
|
-
import { Ui3nCheckboxValue } from '
|
|
2
|
+
import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '../types';
|
|
3
|
+
import { Ui3nCheckboxValue } from '../../ui3n-checkbox/types';
|
|
4
4
|
export declare function isAbsoluteCssSize(value: string): boolean;
|
|
5
5
|
export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTableProps<T>, emits: Ui3nTableEmits<T>, scrollbarContainerRef?: Ref<HTMLDivElement | null>): {
|
|
6
6
|
tableEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
@@ -23,7 +23,7 @@ export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTab
|
|
|
23
23
|
} | undefined;
|
|
24
24
|
fieldAsRowKey?: UnwrapRef<keyof T> | undefined;
|
|
25
25
|
}>;
|
|
26
|
-
visibleColumns: import('vue').ComputedRef<import('
|
|
26
|
+
visibleColumns: import('vue').ComputedRef<import('../types').Ui3nTableHeadProps<T>[]>;
|
|
27
27
|
hasGroupActionsRow: Ref<boolean, boolean>;
|
|
28
28
|
showGroupActionsRow: import('vue').ComputedRef<boolean>;
|
|
29
29
|
selectedRows: Ref<Set<T> | T[keyof T][], Set<T> | T[keyof T][]>;
|
|
@@ -40,8 +40,8 @@ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {
|
|
|
40
40
|
disabled: boolean;
|
|
41
41
|
name: string;
|
|
42
42
|
placeholder: string;
|
|
43
|
-
rows: number;
|
|
44
43
|
validateAtStartup: boolean;
|
|
44
|
+
rows: number;
|
|
45
45
|
maxRows: number;
|
|
46
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
47
|
textareaElement: HTMLTextAreaElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Ref } from 'vue';
|
|
2
|
-
import { ExtractComponentProps } from '
|
|
2
|
+
import { ExtractComponentProps } from '../../types/components.types';
|
|
3
3
|
import { Ui3nDialogEvent } from '../../components/ui3n-dialog/types';
|
|
4
4
|
export interface DialogOptions<V, E extends string = never> {
|
|
5
5
|
id: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Nullable } from '
|
|
1
|
+
import { Nullable } from '../../types';
|
|
2
2
|
export declare function createVideoThumbnail(file: File, targetSize: number, seekTo: number): Promise<Nullable<string>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fn } from '
|
|
1
|
+
import { Fn } from '../../types';
|
|
2
2
|
export declare function tryOnScopeDispose(fn: Fn): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MaybeComputedElementRef, MaybeElement, UnRefElementReturn } from '
|
|
1
|
+
import { MaybeComputedElementRef, MaybeElement, UnRefElementReturn } from '../../types';
|
|
2
2
|
export declare function unrefElement<T extends MaybeElement>(elRef: MaybeComputedElementRef<T>): UnRefElementReturn<T>;
|
package/dist/ui3n-components.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, B as t, Q as n, R as r, T as i, V as a, X as o, Z as s, at as c, ct as l, dt as u, et as d, ft as f, ht as p, it as m, lt as h, mt as g, nt as _, o as v, ot as y, pt as b, rt as x, st as S, t as C, tt as w, ut as T, v as E, z as D } from "./chunks/plugins-keys-
|
|
1
|
+
import { $ as e, B as t, Q as n, R as r, T as i, V as a, X as o, Z as s, at as c, ct as l, dt as u, et as d, ft as f, ht as p, it as m, lt as h, mt as g, nt as _, o as v, ot as y, pt as b, rt as x, st as S, t as C, tt as w, ut as T, v as E, z as D } from "./chunks/plugins-keys-CmrMlx3F.js";
|
|
2
2
|
import { a as O, i as k, n as A, r as ee, t as j } from "./chunks/ui3n-notification-DPC5Ke4b.js";
|
|
3
3
|
import { t as M } from "./chunks/emoticons-DMgiBINj.js";
|
|
4
4
|
import N from "sanitize-html";
|
package/dist/ui3n-plugins.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, n as t, r as n, t as r } from "./chunks/plugins-keys-
|
|
1
|
+
import { B as e, n as t, r as n, t as r } from "./chunks/plugins-keys-CmrMlx3F.js";
|
|
2
2
|
import { i, t as a } from "./chunks/ui3n-notification-DPC5Ke4b.js";
|
|
3
3
|
import { Fragment as o, createApp as s, createBlock as c, createElementBlock as l, defineComponent as u, markRaw as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g } from "vue";
|
|
4
4
|
import "pinia";
|
package/dist/ui3n-utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, S as g, T as _, U as v, V as y, W as b, Y as x, _ as S, a as C, b as w, c as T, d as E, f as D, g as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, q as R, r as z, s as B, t as V, u as H, v as U, w as W, x as G, y as K, z as q } from "./chunks/plugins-keys-
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, S as g, T as _, U as v, V as y, W as b, Y as x, _ as S, a as C, b as w, c as T, d as E, f as D, g as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, q as R, r as z, s as B, t as V, u as H, v as U, w as W, x as G, y as K, z as q } from "./chunks/plugins-keys-CmrMlx3F.js";
|
|
2
2
|
import { t as J } from "./chunks/emoticons-DMgiBINj.js";
|
|
3
3
|
//#region src/constants/general.ts
|
|
4
4
|
var Y = /[^@]+@[^@]+\.[^@]+/iu;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup generic="V extends any, E extends string = never">
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
3
|
import { type Component, inject } from 'vue';
|
|
4
|
-
import type { DialogsPlugin } from '
|
|
5
|
-
import type { ExtractComponentProps } from '
|
|
4
|
+
import type { DialogsPlugin } from '../../plugins/dialogs/types';
|
|
5
|
+
import type { ExtractComponentProps } from '../../types/components.types';
|
|
6
6
|
import type { Ui3nDialogComponentProps, Ui3nDialogEvent } from './types';
|
|
7
7
|
import { DIALOGS_KEY } from '@/constants';
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, nextTick, ref, watch } from 'vue';
|
|
3
|
-
import Ui3nIcon from '
|
|
4
|
-
import Ui3nRipple from '
|
|
5
|
-
import Ui3nClickOutside from '
|
|
6
|
-
import type { Nullable } from '
|
|
3
|
+
import Ui3nIcon from '../ui3n-icon/ui3n-icon.vue';
|
|
4
|
+
import Ui3nRipple from '../../directives/ui3n-ripple';
|
|
5
|
+
import Ui3nClickOutside from '../../directives/ui3n-click-outside';
|
|
6
|
+
import type { Nullable } from '../../types/components.types';
|
|
7
7
|
import type { Ui3nEditableProps, Ui3nEditableEmits, Ui3nEditableExpose } from './types';
|
|
8
8
|
|
|
9
9
|
const vUi3nRipple = Ui3nRipple;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { onMounted, ref, watch } from 'vue';
|
|
2
2
|
import debounce from 'lodash/debounce';
|
|
3
3
|
import sanitizeHtml from 'sanitize-html';
|
|
4
|
-
import { selectAll } from '
|
|
5
|
-
import type { Nullable } from '
|
|
4
|
+
import { selectAll } from '../../utils';
|
|
5
|
+
import type { Nullable } from '../../types/components.types';
|
|
6
6
|
import type { Ui3nContentEditableEmits, Ui3nContentEditableProps } from './types';
|
|
7
7
|
|
|
8
8
|
export function useContentEditable(props: Ui3nContentEditableProps, emits: Ui3nContentEditableEmits) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, ref, watch } from 'vue';
|
|
3
|
-
import { emoticons } from '
|
|
3
|
+
import { emoticons } from '../../constants/emoticons';
|
|
4
4
|
import type { Ui3nEmojiEmits, Ui3nEmojiProps } from './types';
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(defineProps<Ui3nEmojiProps>(), {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import size from 'lodash/size';
|
|
4
4
|
import last from 'lodash/last';
|
|
5
5
|
import trim from 'lodash/trim';
|
|
6
|
-
import { getRandomId, formatFileSize } from '
|
|
7
|
-
import type { Nullable } from '
|
|
6
|
+
import { getRandomId, formatFileSize } from '../../utils';
|
|
7
|
+
import type { Nullable } from '../../types/components.types';
|
|
8
8
|
import type { Ui3nInputFileProps, Ui3nInputFileEmits, Ui3nInputFileSlots, Ui3nInputFileExpose } from './types';
|
|
9
9
|
|
|
10
10
|
const props = withDefaults(defineProps<Ui3nInputFileProps>(), {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { computed, onUnmounted, ref, watch, useTemplateRef } from 'vue';
|
|
3
3
|
import { autoUpdate, flip, useFloating, offset, shift } from '@floating-ui/vue';
|
|
4
4
|
import { default as vClickOutside } from '../../directives/ui3n-click-outside';
|
|
5
|
-
import { Nullable } from '
|
|
5
|
+
import type { Nullable } from '../../types/components.types';
|
|
6
6
|
import type { Ui3nMenuEmits, Ui3nMenuProps, Ui3nMenuSlots, Ui3nMenuExpose, Ui3nVirtualElement } from './types';
|
|
7
7
|
|
|
8
8
|
const props = withDefaults(defineProps<Ui3nMenuProps>(), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import type { VNode } from 'vue';
|
|
3
|
-
import type { PrepareComponentEmits, Nullable } from '
|
|
3
|
+
import type { PrepareComponentEmits, Nullable } from '../../types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Base selector option interface
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { ref, computed, type ComputedRef, useTemplateRef, watch } from 'vue';
|
|
3
3
|
import isEmpty from 'lodash/isEmpty';
|
|
4
4
|
import size from 'lodash/size';
|
|
5
|
-
import { getRandomId } from '
|
|
6
|
-
import type { Nullable } from '
|
|
5
|
+
import { getRandomId } from '../../utils';
|
|
6
|
+
import type { Nullable } from '../../types';
|
|
7
7
|
import type {
|
|
8
8
|
Ui3nSelectorOptionBase,
|
|
9
9
|
Ui3nSelectorProps,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { computed, ref, useTemplateRef, watch, ComputedRef } from 'vue';
|
|
3
3
|
import cloneDeep from 'lodash/cloneDeep';
|
|
4
4
|
import Ui3nTooltip from '../ui3n-tooltip/ui3n-tooltip.vue';
|
|
5
|
-
import { round } from '
|
|
6
|
-
import type { Nullable } from '
|
|
5
|
+
import { round } from '../../utils';
|
|
6
|
+
import type { Nullable } from '../../types';
|
|
7
7
|
import type { UI3nSliderProps, UI3nSliderEmits, UI3nSliderExpose } from './types';
|
|
8
8
|
|
|
9
9
|
const props = withDefaults(defineProps<UI3nSliderProps>(), {
|
|
@@ -9,8 +9,8 @@ import type {
|
|
|
9
9
|
Ui3nTableEmits,
|
|
10
10
|
Ui3nTableProps,
|
|
11
11
|
Ui3nTableSort,
|
|
12
|
-
} from '
|
|
13
|
-
import type { Ui3nCheckboxValue } from '
|
|
12
|
+
} from '../types';
|
|
13
|
+
import type { Ui3nCheckboxValue } from '../../ui3n-checkbox/types';
|
|
14
14
|
|
|
15
15
|
const ABSOLUTE_CSS_SIZE_RE = /^-?\d+(\.\d+)?(px|rem|em|ch|ex|cm|mm|in|pt|pc)$/i;
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- @strictTemplates false -->
|
|
2
2
|
<script lang="ts" setup>
|
|
3
3
|
import { onMounted, ref, watch } from 'vue';
|
|
4
|
-
import { patchTextareaMaxRowsSupport } from '
|
|
4
|
+
import { patchTextareaMaxRowsSupport } from '../../utils';
|
|
5
5
|
import type { Ui3nTextEmits, Ui3nTextProps, Ui3nTextExpose } from './types';
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(defineProps<Ui3nTextProps>(), {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
|
3
|
-
import type { Nullable } from '@/types';
|
|
4
|
-
import type { Ui3nTooltipProps, Ui3nTooltipEmits, Ui3nTooltipSlots } from './types';
|
|
5
3
|
import { arrow, autoUpdate, offset, useFloating } from '@floating-ui/vue';
|
|
4
|
+
import type { Nullable } from '../../types';
|
|
5
|
+
import type { Ui3nTooltipProps, Ui3nTooltipEmits, Ui3nTooltipSlots } from './types';
|
|
6
6
|
|
|
7
7
|
const baseOffset = 5;
|
|
8
8
|
|