@v1nt1248/3nclient-lib 0.4.1 → 0.4.3
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-CjKqZeyH.js → plugins-keys-DY2USp8H.js} +550 -536
- package/dist/chunks/{ui3n-tooltip-BbbM2459.js → ui3n-tooltip-DBivQBoy.js} +18 -18
- package/dist/src/utils/ui/has-slot-content.d.ts +8 -2
- package/dist/src/utils/ui/mark-search.d.ts +8 -0
- package/dist/style.css +1 -1
- package/dist/ui3n-components.js +2 -2
- package/dist/ui3n-plugins.js +3 -3
- package/dist/ui3n-utils.js +1 -1
- package/package.json +2 -3
- package/src/components/ui3n-autocomplete/ui3n-autocomplete.vue +24 -8
- package/src/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue +3 -1
- package/src/components/ui3n-button/ui3n-button.vue +11 -44
- package/src/components/ui3n-editable/useContentEditable.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, x as t } from "./plugins-keys-
|
|
1
|
+
import { D as e, x as t } from "./plugins-keys-DY2USp8H.js";
|
|
2
2
|
import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as h, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, unref as b, useCssModule as x, useSlots as S, watch as C, withDirectives as w, withKeys as T } from "vue";
|
|
3
3
|
import { arrow as E, autoUpdate as D, offset as O, useFloating as k } from "@floating-ui/vue";
|
|
4
4
|
//#region src/directives/ui3n-ripple.ts
|
|
@@ -146,23 +146,23 @@ var N = {
|
|
|
146
146
|
}, [v(t.$slots, "default")], 2))], 42, B)), [[b(n)]]);
|
|
147
147
|
}
|
|
148
148
|
}), [["__cssModules", { $style: {
|
|
149
|
-
ui3nButton: "
|
|
150
|
-
"withIcon-left": "_withIcon-
|
|
151
|
-
"withIcon-right": "_withIcon-
|
|
152
|
-
square: "
|
|
153
|
-
regular: "
|
|
154
|
-
small: "
|
|
155
|
-
large: "
|
|
156
|
-
block: "
|
|
157
|
-
primary: "
|
|
158
|
-
elevation: "
|
|
159
|
-
text: "
|
|
160
|
-
secondary: "
|
|
161
|
-
tertiary: "
|
|
162
|
-
outline: "
|
|
163
|
-
icon: "
|
|
164
|
-
custom: "
|
|
165
|
-
buttonIcon: "
|
|
149
|
+
ui3nButton: "_ui3nButton_t26g4_3",
|
|
150
|
+
"withIcon-left": "_withIcon-left_t26g4_43",
|
|
151
|
+
"withIcon-right": "_withIcon-right_t26g4_46",
|
|
152
|
+
square: "_square_t26g4_49",
|
|
153
|
+
regular: "_regular_t26g4_57",
|
|
154
|
+
small: "_small_t26g4_67",
|
|
155
|
+
large: "_large_t26g4_77",
|
|
156
|
+
block: "_block_t26g4_87",
|
|
157
|
+
primary: "_primary_t26g4_91",
|
|
158
|
+
elevation: "_elevation_t26g4_117",
|
|
159
|
+
text: "_text_t26g4_122",
|
|
160
|
+
secondary: "_secondary_t26g4_157",
|
|
161
|
+
tertiary: "_tertiary_t26g4_217",
|
|
162
|
+
outline: "_outline_t26g4_278",
|
|
163
|
+
icon: "_icon_t26g4_313",
|
|
164
|
+
custom: "_custom_t26g4_333",
|
|
165
|
+
buttonIcon: "_buttonIcon_t26g4_365"
|
|
166
166
|
} }]]), H = ["id"], U = /* @__PURE__ */ L(/* @__PURE__ */ u({
|
|
167
167
|
__name: "ui3n-notification",
|
|
168
168
|
props: {
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* A slot is typed as returning a single VNode (e.g. via defineSlots) or an
|
|
4
|
+
* array of them (Vue's own Slot type); both shapes are accepted here.
|
|
5
|
+
*/
|
|
6
|
+
type ContentSlot = (...args: unknown[]) => VNode | VNode[];
|
|
7
|
+
export declare function hasSlotContent(slot?: ContentSlot, slotProps?: Record<string, unknown>): boolean;
|
|
8
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string} str - source text
|
|
3
|
+
* @param {string} search - user query; its whitespace-separated words are highlighted
|
|
4
|
+
* @return {string} - safe HTML: every match is wrapped in `span.match-search`, the rest is escaped
|
|
5
|
+
*
|
|
6
|
+
* The query is treated literally (regex metacharacters are escaped) and the source is
|
|
7
|
+
* HTML-escaped, because the result is rendered through raw `innerHTML` by v-ui3n-html.
|
|
8
|
+
*/
|
|
1
9
|
export declare function markSearch(str: string, search: string): string;
|