@ditojs/ui 2.85.0 → 2.87.0
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/dito-ui.es.js +6 -6
- package/package.json +11 -14
package/dist/dito-ui.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useSlots as le, Comment as ae, markRaw as ue, openBlock as d, createElementBlock as c, mergeProps as M, renderSlot as m, createCommentVNode as v, createTextVNode as Y, toDisplayString as w, createElementVNode as f, Fragment as k, renderList as C, normalizeClass as b, createVNode as _, Transition as Z, withCtx as V, withDirectives as E, normalizeStyle as U, vShow as X, vModelDynamic as de, resolveComponent as S, createBlock as I, withModifiers as B, vModelCheckbox as ce, h as he } from "vue";
|
|
2
|
+
import { isString as ee, asArray as te, hyphenate as fe, defaultFormats as O, format as A, assignDeeply as pe } from "@ditojs/utils";
|
|
3
3
|
function ge(e) {
|
|
4
|
-
return e &&
|
|
4
|
+
return e && te(e).some((t) => t.type !== ae);
|
|
5
5
|
}
|
|
6
6
|
function G(e, t = {}) {
|
|
7
|
-
return e =
|
|
7
|
+
return e = ee(e) ? le()[e] : e, ge(e?.(t));
|
|
8
8
|
}
|
|
9
9
|
function Yt(e) {
|
|
10
10
|
return ue({ value: e });
|
|
@@ -481,7 +481,7 @@ function He(e) {
|
|
|
481
481
|
}
|
|
482
482
|
const Ke = /* @__PURE__ */ P(Ue, [["render", Re]]);
|
|
483
483
|
function R(e, t) {
|
|
484
|
-
e = e instanceof NodeList ? Array.from(e) :
|
|
484
|
+
e = e instanceof NodeList ? Array.from(e) : te(e);
|
|
485
485
|
for (const [i, r] of Object.entries(t))
|
|
486
486
|
for (const o of e)
|
|
487
487
|
o.addEventListener(i, r, !1);
|
|
@@ -519,7 +519,7 @@ function K(e) {
|
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
521
|
function z(e) {
|
|
522
|
-
const t =
|
|
522
|
+
const t = ee(e.target) ? e.$refs[e.target] : e.target;
|
|
523
523
|
return t?.$el ?? t;
|
|
524
524
|
}
|
|
525
525
|
const je = { class: "dito-trigger-container" };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.87.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Dito.js UI is a simple UI library, built with Vue.js for use in Dito.js Admin and elsewhere",
|
|
6
|
-
"repository": "https://github.com/ditojs/dito/tree/
|
|
6
|
+
"repository": "https://github.com/ditojs/dito/tree/main/packages/ui",
|
|
7
7
|
"author": "Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"module": "./dist/dito-ui.es.js",
|
|
@@ -22,17 +22,14 @@
|
|
|
22
22
|
"dist/"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"build
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"watch": "yarn build:vue --mode 'development' --watch",
|
|
31
|
-
"prepare": "yarn build"
|
|
25
|
+
"build:icons": "inline-assets src/icons/*.svg --template src/icons/template.js > src/styles/mixins/_icons.scss",
|
|
26
|
+
"build:vite": "vite build",
|
|
27
|
+
"build": "pnpm run build:icons && pnpm run build:vite",
|
|
28
|
+
"watch": "pnpm run build:vue --mode 'development' --watch",
|
|
29
|
+
"prepare": "pnpm run build"
|
|
32
30
|
},
|
|
33
31
|
"engines": {
|
|
34
|
-
"node": ">= 20.0.0"
|
|
35
|
-
"yarn": ">= 4.0.0"
|
|
32
|
+
"node": ">= 20.0.0"
|
|
36
33
|
},
|
|
37
34
|
"browserslist": [
|
|
38
35
|
"> 1%",
|
|
@@ -41,12 +38,12 @@
|
|
|
41
38
|
"ie_mob >= 11"
|
|
42
39
|
],
|
|
43
40
|
"dependencies": {
|
|
44
|
-
"@ditojs/utils": "^2.
|
|
41
|
+
"@ditojs/utils": "^2.87.0",
|
|
45
42
|
"@soda/get-current-script": "^1.0.2"
|
|
46
43
|
},
|
|
47
44
|
"devDependencies": {
|
|
48
|
-
"@ditojs/build": "^2.
|
|
45
|
+
"@ditojs/build": "^2.87.0",
|
|
49
46
|
"vite": "^7.3.1"
|
|
50
47
|
},
|
|
51
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "cbd05e604a1d212dfc91f9686b43bef75815a409"
|
|
52
49
|
}
|