@pantograph/vue 0.8.3 → 0.9.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/ActionButton/index.js.js +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-IN_Iar0s.js → ActionButton.vue_vue_type_script_setup_true_lang-BVSgpJBL.js} +1 -1
- package/dist/Avatar/Avatar.d.ts +1 -1
- package/dist/Avatar/Avatar.model.d.ts +1 -1
- package/dist/Avatar/index.js.js +1 -1
- package/dist/Avatar/index.umd.cjs.js +1 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-1i2t2a3E.js +1 -0
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-BVysdOnq.js → Avatar.vue_vue_type_style_index_0_lang-CO6GovcA.js} +4 -4
- package/dist/AvatarGroup/index.js.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs.js +1 -1
- package/dist/Badge/index.js.js +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-CIkF44xM.js → Badge.vue_vue_type_script_setup_true_lang-BQ2E1xoX.js} +4 -4
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-Bm8mav0C.js → BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js} +4 -4
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-5rSLcXNk.js → BaseButton.vue_vue_type_style_index_0_lang-D99yMq5W.js} +1 -1
- package/dist/Button/index.js.js +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-Pghn6KJY.js → Button.vue_vue_type_script_setup_true_lang-4la0ea5M.js} +1 -1
- package/dist/FloatButton/index.js.js +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-DNeMMm9j.js → FloatButton.vue_vue_type_script_setup_true_lang-Bhc5xjck.js} +1 -1
- package/dist/GraphicalObject/index.js.js +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-C2MQwiwk.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DYCUqEs3.js} +10 -10
- package/dist/IconButton/index.js.js +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BNuSFI1j.js → IconButton.vue_vue_type_script_setup_true_lang-Dv60wNuX.js} +1 -1
- package/dist/IndentLevel/index.js.js +1 -1
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-Bs9k7yZP.js → IndentLevel.vue_vue_type_style_index_0_lang-CBV4A9Mh.js} +1 -1
- package/dist/Indicator/index.js.js +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-CHuo9sYF.js → Indicator.vue_vue_type_script_setup_true_lang-BHIE3kZG.js} +1 -1
- package/dist/Input/Input.model.d.ts +4 -0
- package/dist/Tree/index.js.js +1 -1
- package/dist/{Tree.vue_vue_type_style_index_0_lang-D9EB0NE_.js → Tree.vue_vue_type_style_index_0_lang-BHu81SiI.js} +1 -1
- package/dist/index.js.js +124 -105
- package/dist/index.umd.cjs.js +1 -1
- package/dist/style/index.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-BiEWBKYn.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as m, computed as u, ref as f, createBlock as l, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
2
|
import { o as y } from "./omit-wqhC12f_.js";
|
|
3
|
-
import { _ as A } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as A } from "./BaseButton.vue_vue_type_style_index_0_lang-D99yMq5W.js";
|
|
4
4
|
import { g as C } from "./options-JBqnVZUl.js";
|
|
5
5
|
const z = /* @__PURE__ */ p({
|
|
6
6
|
...C("ActionButton", !1),
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Av
|
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
27
27
|
onLoadingStatusChange?: ((value: import('../../../../node_modules/radix-vue/dist/Avatar/utils.js', { with: { "resolution-mode": "import" } }).ImageLoadingStatus) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
|
-
size: "2xsm" | "xsm" | "sm" | "md" | "lg" | "
|
|
29
|
+
size: "2xsm" | "xsm" | "sm" | "md" | "lg" | "xlg";
|
|
30
30
|
icon: string;
|
|
31
31
|
shape: "circle" | "rect" | "square";
|
|
32
32
|
src: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const AvatarSizes: readonly ["2xsm", "xsm", "sm", "md", "lg", "
|
|
1
|
+
export declare const AvatarSizes: readonly ["2xsm", "xsm", "sm", "md", "lg", "xlg"];
|
|
2
2
|
export type AvatarSize = (typeof AvatarSizes)[number];
|
|
3
3
|
export declare const AvatarStrokes: readonly ["gray", "white"];
|
|
4
4
|
export type AvatarStroke = (typeof AvatarStrokes)[number];
|
package/dist/Avatar/index.js.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t, c as r, b as e, A, a as v, _ as n } from "../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as t, c as r, b as e, A, a as v, _ as n } from "../Avatar.vue_vue_type_style_index_0_lang-CO6GovcA.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Avatar,
|
|
4
4
|
r as AvatarOnlineAlignments,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Avatar.vue_vue_type_style_index_0_lang-1i2t2a3E.js");exports.Avatar=e._sfc_main;exports.AvatarOnlineAlignments=e.AvatarOnlineAlignments;exports.AvatarShapes=e.AvatarShapes;exports.AvatarSizes=e.AvatarSizes;exports.AvatarStrokes=e.AvatarStrokes;exports.default=e._sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),i=require("radix-vue"),s=require("./class-CjZYGZDW.js"),z=require("class-variance-authority"),x=require("./options-B4iSAKol.js"),E=require("./Popover.vue_vue_type_style_index_0_lang-TwQPMDMD.js");require("@iconify/vue");const N=require("./Icon.vue_vue_type_style_index_0_lang-BvHCdzZP.js"),P=require("./Indicator.vue_vue_type_script_setup_true_lang-DzKJMO-h.js"),[y,S]=i.createContext("AvatarGroup"),G=e.defineComponent({...x.getComponentOptions("AvatarGroup"),__name:"AvatarGroup",props:{as:{default:"div"},class:{},gutter:{type:Boolean},size:{},shape:{},popoverClass:{},maxCount:{}},setup(f){const r=f,p=e.useSlots(),n=e.computed(()=>r.size),a=e.computed(()=>r.shape),g=s.getBemBlock("avatar"),v=s.getBemElement(g,"group"),C=z.cva(v,{variants:{gutter:s.generateVariantClassList("gutter",v)}});S({size:n,shape:a});const l=e.computed(()=>r.maxCount?Number(r.maxCount):0),c=e.computed(()=>C({gutter:r.gutter})),u=()=>{const o=p.default?p.default():[];return l.value>1&&o.length>l.value?[...o.filter((d,m)=>m<l.value-1),e.h(E._sfc_main,{},{default:e.h(V,{text:`+${o.length-l.value+1}`}),content:e.h(i.Primitive,{class:[c.value,r.class],as:r.as},{default:()=>o.filter((d,m)=>m>=l.value-1)})})]:o};return(o,d)=>(e.openBlock(),e.createBlock(e.unref(i.Primitive),{as:o.as,class:e.normalizeClass([c.value,r.class])},{default:e.withCtx(()=>[e.createVNode(u,{maxCount:o.maxCount},null,8,["maxCount"])]),_:1},8,["as","class"]))}}),_=["2xsm","xsm","sm","md","lg","xlg"],k=["gray","white"],A=["circle","square","rect"],h={start:"online-start",end:"online-end"},V=e.defineComponent({...x.getComponentOptions("Avatar"),__name:"Avatar",props:{src:{default:""},class:{},onlineColor:{default:"lime"},size:{default:"md"},stroke:{},shape:{default:"circle"},online:{type:Boolean},alt:{},fallback:{},text:{},icon:{default:"tabler:user"},onlineAlignment:{default:"start"},as:{},referrerPolicy:{},delayMs:{}},emits:["loadingStatusChange"],setup(f,{emit:r}){const p=e.useSlots(),n=s.getBemBlock("avatar"),a=f,g=r,v=i.useEmitAsProps(g),C=z.cva(n,{variants:{size:s.generateVariantClassList(_,n),stroke:s.generateVariantClassList(k,n),shape:s.generateVariantClassList(A,n),onlineAlignment:s.generateVariantClassList(h,n)}}),l=y({size:e.computed(()=>a.size),shape:e.computed(()=>a.shape)}),c=e.computed(()=>l.size.value??a.size),u=e.computed(()=>l.shape.value??a.shape),o=e.computed(()=>{const t=c.value&&_.includes(c.value)?c.value:"md",B=a.stroke&&k.includes(a.stroke)?a.stroke:"none",q=u.value&&A.includes(u.value)?u.value:"circle",b=h[a.onlineAlignment]?a.onlineAlignment:"start";return{size:t,stroke:B,shape:q,onlineAlignment:b}}),d=e.computed(()=>{switch(c.value){case"lg":case"xlg":return"tiny";default:return"tinier"}}),m=e.computed(()=>{switch(c.value){case"lg":case"xlg":return"sm";case"xsm":case"2xsm":return"3xsm";case"sm":case"md":default:return"xsm"}});return(t,B)=>(e.openBlock(),e.createBlock(e.unref(i.AvatarRoot),{as:t.as,class:e.normalizeClass([e.unref(C)(o.value),a.class])},{default:e.withCtx(()=>[!p.default&&!t.text?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.src?(e.openBlock(),e.createBlock(e.unref(i.AvatarImage),e.mergeProps({key:0},e.unref(v),{src:t.src,alt:t.alt,class:e.unref(s.getBemElement)(e.unref(n),"image")}),null,16,["src","alt","class"])):e.createCommentVNode("",!0),e.createVNode(e.unref(i.AvatarFallback),{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(n),"fallback"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"fallback",{},()=>[t.fallback?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(N._sfc_main),{key:0,icon:t.icon,size:m.value},null,8,["icon","size"])),e.createTextVNode(" "+e.toDisplayString(t.fallback),1)])]),_:3},8,["class"])],64)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(n),"image"))},[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])],2)),t.online?(e.openBlock(),e.createBlock(P._sfc_main,{key:2,color:t.onlineColor,size:d.value,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(n),"online"))},null,8,["color","size","class"])):e.createCommentVNode("",!0)]),_:3},8,["as","class"]))}});exports.AvatarOnlineAlignments=h;exports.AvatarShapes=A;exports.AvatarSizes=_;exports.AvatarStrokes=k;exports._sfc_main=V;exports._sfc_main$1=G;exports.injectAvatarGroupContext=y;exports.provideAvatarGroupContext=S;
|
|
@@ -6,7 +6,7 @@ import { g as D } from "./options-JBqnVZUl.js";
|
|
|
6
6
|
import { _ as W } from "./Popover.vue_vue_type_style_index_0_lang-MJjv8Cvt.js";
|
|
7
7
|
import "@iconify/vue";
|
|
8
8
|
import { _ as X } from "./Icon.vue_vue_type_style_index_0_lang-BfPcw6PU.js";
|
|
9
|
-
import { _ as Y } from "./Indicator.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y } from "./Indicator.vue_vue_type_script_setup_true_lang-BHIE3kZG.js";
|
|
10
10
|
const [Z, ee] = H("AvatarGroup"), me = /* @__PURE__ */ F({
|
|
11
11
|
...D("AvatarGroup"),
|
|
12
12
|
__name: "AvatarGroup",
|
|
@@ -63,7 +63,7 @@ const [Z, ee] = H("AvatarGroup"), me = /* @__PURE__ */ F({
|
|
|
63
63
|
_: 1
|
|
64
64
|
}, 8, ["as", "class"]));
|
|
65
65
|
}
|
|
66
|
-
}), w = ["2xsm", "xsm", "sm", "md", "lg", "
|
|
66
|
+
}), w = ["2xsm", "xsm", "sm", "md", "lg", "xlg"], N = ["gray", "white"], V = ["circle", "square", "rect"], E = {
|
|
67
67
|
start: "online-start",
|
|
68
68
|
end: "online-end"
|
|
69
69
|
}, se = /* @__PURE__ */ F({
|
|
@@ -112,7 +112,7 @@ const [Z, ee] = H("AvatarGroup"), me = /* @__PURE__ */ F({
|
|
|
112
112
|
}), h = n(() => {
|
|
113
113
|
switch (i.value) {
|
|
114
114
|
case "lg":
|
|
115
|
-
case "
|
|
115
|
+
case "xlg":
|
|
116
116
|
return "tiny";
|
|
117
117
|
default:
|
|
118
118
|
return "tinier";
|
|
@@ -120,7 +120,7 @@ const [Z, ee] = H("AvatarGroup"), me = /* @__PURE__ */ F({
|
|
|
120
120
|
}), m = n(() => {
|
|
121
121
|
switch (i.value) {
|
|
122
122
|
case "lg":
|
|
123
|
-
case "
|
|
123
|
+
case "xlg":
|
|
124
124
|
return "sm";
|
|
125
125
|
case "xsm":
|
|
126
126
|
case "2xsm":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Avatar.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Avatar.vue_vue_type_style_index_0_lang-1i2t2a3E.js");exports.AvatarGroup=t._sfc_main$1;exports.injectAvatarGroupContext=t.injectAvatarGroupContext;exports.provideAvatarGroupContext=t.provideAvatarGroupContext;
|
package/dist/Badge/index.js.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as f, useAttrs as u, computed as l, createBlock as b, openBlock as d, mergeProps as y, createSlots as _, renderList as
|
|
1
|
+
import { defineComponent as f, useAttrs as u, computed as l, createBlock as b, openBlock as d, mergeProps as y, createSlots as _, renderList as B, withCtx as C, renderSlot as O, normalizeProps as $, guardReactiveProps as j } from "vue";
|
|
2
2
|
import { o as k } from "./omit-wqhC12f_.js";
|
|
3
|
-
import {
|
|
3
|
+
import { B as a, a as n, _ as E } from "./BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js";
|
|
4
4
|
import { g as h } from "./options-JBqnVZUl.js";
|
|
5
5
|
import { getCssVar as r } from "@pantograph/tokens";
|
|
6
6
|
const z = /* @__PURE__ */ f({
|
|
@@ -43,9 +43,9 @@ const z = /* @__PURE__ */ f({
|
|
|
43
43
|
...i.value
|
|
44
44
|
}));
|
|
45
45
|
return (t, c) => (d(), b(E, y(g.value, { type: "pill" }), _({ _: 2 }, [
|
|
46
|
-
|
|
46
|
+
B(Object.keys(t.$slots), (s) => ({
|
|
47
47
|
name: s,
|
|
48
|
-
fn:
|
|
48
|
+
fn: C((e) => [
|
|
49
49
|
O(t.$slots, s, $(j(e)))
|
|
50
50
|
])
|
|
51
51
|
}))
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, computed as i, useSlots as R, ref as j, createBlo
|
|
|
2
2
|
import { Primitive as q } from "radix-vue";
|
|
3
3
|
import { _ as z } from "./Icon.vue_vue_type_style_index_0_lang-BfPcw6PU.js";
|
|
4
4
|
import { _ as H } from "./Spinner.vue_vue_type_style_index_0_lang-D6nB06Z8.js";
|
|
5
|
-
import { _ as J } from "./Badge.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as J } from "./Badge.vue_vue_type_script_setup_true_lang-BQ2E1xoX.js";
|
|
6
6
|
import { i as K, a as k, c as $, b as C, B as S } from "./ButtonGroup.vue_vue_type_script_setup_true_lang-CdSgBboA.js";
|
|
7
7
|
import { g as M, a, b as Q } from "./class-DziTeW9B.js";
|
|
8
8
|
import { cva as U } from "class-variance-authority";
|
package/dist/Button/index.js.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, useAttrs as m, computed as u, ref as l, createBlock as f, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
2
|
import { o as y } from "./omit-wqhC12f_.js";
|
|
3
|
-
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-D99yMq5W.js";
|
|
4
4
|
import { g as P } from "./options-JBqnVZUl.js";
|
|
5
5
|
const O = /* @__PURE__ */ i({
|
|
6
6
|
...P("Button", !1),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, useAttrs as l, computed as m, ref as u, createBlock as f, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
2
|
import { o as y } from "./omit-wqhC12f_.js";
|
|
3
|
-
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-D99yMq5W.js";
|
|
4
4
|
import { g as P } from "./options-JBqnVZUl.js";
|
|
5
5
|
const I = /* @__PURE__ */ i({
|
|
6
6
|
...P("FloatButton", !1),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as i, computed as n, useAttrs as m, createBlock as b, openBlock as f, mergeProps as u, createSlots as d, renderList as y, withCtx as _, renderSlot as h, normalizeProps as C, guardReactiveProps as O } from "vue";
|
|
2
2
|
import { o as j } from "./omit-wqhC12f_.js";
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
3
|
+
import { a as B, B as $, _ as k } from "./BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js";
|
|
4
|
+
import { g as v } from "./options-JBqnVZUl.js";
|
|
5
5
|
import { getCssVar as t } from "@pantograph/tokens";
|
|
6
6
|
const z = /* @__PURE__ */ i({
|
|
7
|
-
...
|
|
7
|
+
...v("GraphicalObject", !1),
|
|
8
8
|
__name: "GraphicalObject",
|
|
9
9
|
props: {
|
|
10
10
|
as: {},
|
|
@@ -16,13 +16,13 @@ const z = /* @__PURE__ */ i({
|
|
|
16
16
|
size: {}
|
|
17
17
|
},
|
|
18
18
|
setup(p) {
|
|
19
|
-
const e = p,
|
|
19
|
+
const e = p, g = n(() => {
|
|
20
20
|
const a = Object.fromEntries(
|
|
21
|
-
|
|
21
|
+
B.map((r) => [r, t(`${r}-5`)])
|
|
22
22
|
), o = {
|
|
23
23
|
...a,
|
|
24
24
|
...Object.fromEntries(
|
|
25
|
-
|
|
25
|
+
$.map((r) => [r, t(`${r.replace("-subtle", "")}-0`)])
|
|
26
26
|
),
|
|
27
27
|
transparent: "transparent",
|
|
28
28
|
"gray-subtle": t("gray-1")
|
|
@@ -39,12 +39,12 @@ const z = /* @__PURE__ */ i({
|
|
|
39
39
|
br: o[e.br] ?? (e.bg === "transparent" ? t("gray-2") : void 0),
|
|
40
40
|
fg: s[e.fg ?? "default"] ?? e.fg
|
|
41
41
|
};
|
|
42
|
-
}),
|
|
43
|
-
...j(
|
|
42
|
+
}), c = m(), l = n(() => ({
|
|
43
|
+
...j(c, "type", "text"),
|
|
44
44
|
...e,
|
|
45
|
-
...
|
|
45
|
+
...g.value
|
|
46
46
|
}));
|
|
47
|
-
return (a, o) => (f(), b(
|
|
47
|
+
return (a, o) => (f(), b(k, u(l.value, { type: "rect" }), d({ _: 2 }, [
|
|
48
48
|
y(Object.keys(a.$slots), (s) => ({
|
|
49
49
|
name: s,
|
|
50
50
|
fn: _((r) => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as m, computed as u, ref as f, createBlock as l, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
2
|
import { o as y } from "./omit-wqhC12f_.js";
|
|
3
|
-
import { _ as I } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as I } from "./BaseButton.vue_vue_type_style_index_0_lang-D99yMq5W.js";
|
|
4
4
|
import { g as C } from "./options-JBqnVZUl.js";
|
|
5
5
|
const O = /* @__PURE__ */ p({
|
|
6
6
|
...C("IconButton", !1),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, a as s, I as t, _ as d } from "../IndentLevel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as a, a as s, I as t, _ as d } from "../IndentLevel.vue_vue_type_style_index_0_lang-CBV4A9Mh.js";
|
|
2
2
|
export {
|
|
3
3
|
a as IndentLevel,
|
|
4
4
|
s as IndentLevelShowLines,
|
|
@@ -5,7 +5,7 @@ import { cva as E } from "class-variance-authority";
|
|
|
5
5
|
import { g as V } from "./options-JBqnVZUl.js";
|
|
6
6
|
import { _ as y } from "./Divider.vue_vue_type_style_index_0_lang-B_4XMyuu.js";
|
|
7
7
|
import { _ } from "./Spinner.vue_vue_type_style_index_0_lang-D6nB06Z8.js";
|
|
8
|
-
import { _ as M } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as M } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-DYCUqEs3.js";
|
|
9
9
|
import { i as F } from "./isNumber-DlKYWCo3.js";
|
|
10
10
|
const O = ["2xsm", "xsm", "sm"], U = ["last", "all", "before", "self"], P = { key: 0 }, W = /* @__PURE__ */ C({
|
|
11
11
|
...V("IndentLevel"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, useAttrs as f, computed as s, useSlots as u, createBlock as g, openBlock as _, mergeProps as b, createSlots as y, renderList as C, withCtx as k, renderSlot as v, normalizeProps as x, guardReactiveProps as B } from "vue";
|
|
2
2
|
import { o as O } from "./omit-wqhC12f_.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as P, _ as S } from "./BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js";
|
|
4
4
|
import { g as $ } from "./options-JBqnVZUl.js";
|
|
5
5
|
import { getCssVar as n } from "@pantograph/tokens";
|
|
6
6
|
const w = /* @__PURE__ */ d({
|
package/dist/Tree/index.js.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as r, a as s, T as t, _ as T, i as o, p as i } from "../Tree.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as r, a as s, T as t, _ as T, i as o, p as i } from "../Tree.vue_vue_type_style_index_0_lang-BHu81SiI.js";
|
|
2
2
|
export {
|
|
3
3
|
r as Tree,
|
|
4
4
|
s as TreeGaps,
|
|
@@ -6,7 +6,7 @@ import { createContext as Ge, Primitive as He, useId as Ve } from "radix-vue";
|
|
|
6
6
|
import { M as je, S as ge, e as qe, q as Ye } from "./omit-wqhC12f_.js";
|
|
7
7
|
import Ze from "sortablejs";
|
|
8
8
|
import { g as Ke } from "./options-JBqnVZUl.js";
|
|
9
|
-
import { _ as Je } from "./IndentLevel.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import { _ as Je } from "./IndentLevel.vue_vue_type_style_index_0_lang-CBV4A9Mh.js";
|
|
10
10
|
import { _ as Qe } from "./Icon.vue_vue_type_style_index_0_lang-BfPcw6PU.js";
|
|
11
11
|
import { _ as We } from "./Checkbox.vue_vue_type_style_index_0_lang-DPxsdfde.js";
|
|
12
12
|
var Xe = "__lodash_hash_undefined__";
|
package/dist/index.js.js
CHANGED
|
@@ -1,109 +1,128 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import { b as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { C as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { defineLocaleIconCollection as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as
|
|
18
|
-
import { M as
|
|
19
|
-
import { _ as _e, a as
|
|
20
|
-
import { _ as
|
|
21
|
-
import { _ as
|
|
22
|
-
import { _ as
|
|
23
|
-
import { _ as
|
|
24
|
-
import { _ as
|
|
25
|
-
import { _ as
|
|
26
|
-
import { f as
|
|
27
|
-
import { c as
|
|
28
|
-
import { _ as
|
|
1
|
+
import { _ as t } from "./ActionButton.vue_vue_type_script_setup_true_lang-BVSgpJBL.js";
|
|
2
|
+
import { _ as r, d as n, c as p, b as i, A as x, a as m, i as c, p as f } from "./Avatar.vue_vue_type_style_index_0_lang-CO6GovcA.js";
|
|
3
|
+
import { _ as C } from "./Badge.vue_vue_type_script_setup_true_lang-BQ2E1xoX.js";
|
|
4
|
+
import { a as d, B as l, b as v, c as g } from "./BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js";
|
|
5
|
+
import { b as I, _ as b, c as B, a as h, B as G, i as z, p as A } from "./ButtonGroup.vue_vue_type_script_setup_true_lang-CdSgBboA.js";
|
|
6
|
+
import { _ as T } from "./Button.vue_vue_type_script_setup_true_lang-4la0ea5M.js";
|
|
7
|
+
import { _ as y, b as j, C as M, i as L, p as E, u as R, a as w } from "./Checkbox.vue_vue_type_style_index_0_lang-DPxsdfde.js";
|
|
8
|
+
import { C as O, i as F, p as V } from "./index-CRYvpN0O.js";
|
|
9
|
+
import { _ as q, D as H } from "./Divider.vue_vue_type_style_index_0_lang-B_4XMyuu.js";
|
|
10
|
+
import { _ as N } from "./FloatButton.vue_vue_type_script_setup_true_lang-Bhc5xjck.js";
|
|
11
|
+
import { _ as U } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-DYCUqEs3.js";
|
|
12
|
+
import { defineLocaleIconCollection as X, disableIconCache as Y } from "./Icon/index.js.js";
|
|
13
|
+
import { _ as $ } from "./IconButton.vue_vue_type_script_setup_true_lang-Dv60wNuX.js";
|
|
14
|
+
import { _ as oe, a as ae, I as te, b as se } from "./Image.vue_vue_type_style_index_0_lang-Cku5hiNE.js";
|
|
15
|
+
import { _ as ne, a as pe, I as ie } from "./IndentLevel.vue_vue_type_style_index_0_lang-CBV4A9Mh.js";
|
|
16
|
+
import { _ as me } from "./Indicator.vue_vue_type_script_setup_true_lang-BHIE3kZG.js";
|
|
17
|
+
import { _ as fe } from "./Kbd.vue_vue_type_style_index_0_lang-DbtLbpq-.js";
|
|
18
|
+
import { M as Ce, a as Se, b as de, i as le, p as ve } from "./Menu.vue_vue_type_style_index_0_lang-oedL61ps.js";
|
|
19
|
+
import { _ as _e, a as Ie, P as be } from "./Popover.vue_vue_type_style_index_0_lang-MJjv8Cvt.js";
|
|
20
|
+
import { _ as he, a as Ge } from "./RadioGroup.vue_vue_type_script_setup_true_lang-DWC7_LXA.js";
|
|
21
|
+
import { _ as Ae } from "./Shortcut.vue_vue_type_style_index_0_lang-BQb7DjFe.js";
|
|
22
|
+
import { _ as Te, a as Pe, S as ye } from "./Skeleton.vue_vue_type_style_index_0_lang-B6bCkLlD.js";
|
|
23
|
+
import { _ as Me, S as Le } from "./Spinner.vue_vue_type_style_index_0_lang-D6nB06Z8.js";
|
|
24
|
+
import { _ as Re, S as we } from "./Switch.vue_vue_type_style_index_0_lang-B4DpjGcF.js";
|
|
25
|
+
import { _ as Oe, a as Fe, T as Ve, i as Ke, p as qe } from "./Tree.vue_vue_type_style_index_0_lang-BHu81SiI.js";
|
|
26
|
+
import { f as Je, i as Ne, a as Qe, b as Ue } from "./element-CddU1vUY.js";
|
|
27
|
+
import { c as Xe, g as Ye } from "./options-JBqnVZUl.js";
|
|
28
|
+
import { _ as $e, I as eo } from "./Icon.vue_vue_type_style_index_0_lang-BfPcw6PU.js";
|
|
29
|
+
const e = [
|
|
30
|
+
"3xsm",
|
|
31
|
+
// 700 x 2px = 14px
|
|
32
|
+
"2xsm",
|
|
33
|
+
// 800 x 2px = 16px
|
|
34
|
+
"xsm",
|
|
35
|
+
// 1000 x 2px = 20px
|
|
36
|
+
"sm",
|
|
37
|
+
// 1200 x 2px = 24px
|
|
38
|
+
"md",
|
|
39
|
+
// 1600 x 2px = 32px
|
|
40
|
+
"lg",
|
|
41
|
+
// 20000 x 2px = 40px
|
|
42
|
+
"xlg",
|
|
43
|
+
// 2400 x 2px = 48px
|
|
44
|
+
"2xlg"
|
|
45
|
+
// 2800 x 2px = 56px
|
|
46
|
+
];
|
|
29
47
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
t as ActionButton,
|
|
49
|
+
r as Avatar,
|
|
50
|
+
n as AvatarGroup,
|
|
51
|
+
p as AvatarOnlineAlignments,
|
|
52
|
+
i as AvatarShapes,
|
|
53
|
+
x as AvatarSizes,
|
|
54
|
+
m as AvatarStrokes,
|
|
55
|
+
C as Badge,
|
|
56
|
+
d as BadgeColors,
|
|
57
|
+
l as BadgeColorsSubtle,
|
|
58
|
+
v as BadgeSizes,
|
|
59
|
+
g as BadgeTypes,
|
|
60
|
+
T as Button,
|
|
61
|
+
I as ButtonColors,
|
|
62
|
+
b as ButtonGroup,
|
|
63
|
+
B as ButtonSizes,
|
|
64
|
+
h as ButtonTypes,
|
|
65
|
+
G as ButtonVariants,
|
|
66
|
+
y as Checkbox,
|
|
49
67
|
j as CheckboxGroup,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
M as CheckboxSizes,
|
|
69
|
+
O as ConfigProvider,
|
|
70
|
+
q as Divider,
|
|
71
|
+
H as DividerTypes,
|
|
72
|
+
N as FloatButton,
|
|
73
|
+
U as GraphicalObject,
|
|
74
|
+
$e as Icon,
|
|
75
|
+
$ as IconButton,
|
|
76
|
+
eo as IconSizes,
|
|
77
|
+
oe as Image,
|
|
78
|
+
ae as ImageAspectRatios,
|
|
79
|
+
te as ImageSizeRanges,
|
|
80
|
+
se as ImageTypes,
|
|
81
|
+
ne as IndentLevel,
|
|
82
|
+
pe as IndentLevelShowLines,
|
|
83
|
+
ie as IndentLevelSizes,
|
|
84
|
+
me as Indicator,
|
|
85
|
+
fe as Kbd,
|
|
86
|
+
Ce as MenuGaps,
|
|
87
|
+
Se as MenuItem,
|
|
88
|
+
de as MenuItemSizes,
|
|
71
89
|
_e as Popover,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
R as
|
|
90
|
+
Ie as PopoverPlacements,
|
|
91
|
+
be as PopoverSizes,
|
|
92
|
+
he as RadioGroup,
|
|
93
|
+
Ge as RadioGroupItem,
|
|
94
|
+
Ae as Shortcut,
|
|
95
|
+
Te as Skeleton,
|
|
96
|
+
Pe as SkeletonSizes,
|
|
97
|
+
ye as SkeletonTypes,
|
|
98
|
+
Me as Spinner,
|
|
99
|
+
Le as SpinnerSizes,
|
|
100
|
+
Re as Switch,
|
|
101
|
+
we as SwitchSizes,
|
|
102
|
+
Oe as Tree,
|
|
103
|
+
Fe as TreeGaps,
|
|
104
|
+
Ve as TreeSizes,
|
|
105
|
+
Xe as componentPrefix,
|
|
106
|
+
X as defineLocaleIconCollection,
|
|
107
|
+
Y as disableIconCache,
|
|
108
|
+
Je as filterEmpty,
|
|
109
|
+
Ye as getComponentOptions,
|
|
110
|
+
c as injectAvatarGroupContext,
|
|
111
|
+
z as injectButtonGroupContext,
|
|
112
|
+
L as injectCheckboxGroupContext,
|
|
113
|
+
F as injectConfigContext,
|
|
114
|
+
le as injectMenuContext,
|
|
115
|
+
Ke as injectTreeContext,
|
|
116
|
+
Ne as isEmptyElement,
|
|
117
|
+
Qe as isFragment,
|
|
118
|
+
Ue as isValidElement,
|
|
119
|
+
f as provideAvatarGroupContext,
|
|
120
|
+
A as provideButtonGroupContext,
|
|
121
|
+
E as provideCheckboxGroupContext,
|
|
122
|
+
V as provideConfigContext,
|
|
123
|
+
ve as provideMenuContext,
|
|
124
|
+
qe as provideTreeContext,
|
|
125
|
+
e as systemSizes,
|
|
126
|
+
R as useColoredPantographCheckbox,
|
|
127
|
+
w as useColoredPantographCheckboxGroup
|
|
109
128
|
};
|
package/dist/index.umd.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./ActionButton.vue_vue_type_script_setup_true_lang-2X340gYi.js"),e=require("./Avatar.vue_vue_type_style_index_0_lang-1i2t2a3E.js"),S=require("./Badge.vue_vue_type_script_setup_true_lang-D7hKm2YM.js"),i=require("./BaseBadge.vue_vue_type_style_index_0_lang-OEeJw0Sy.js"),t=require("./ButtonGroup.vue_vue_type_script_setup_true_lang-BSj1Y1j2.js"),f=require("./Button.vue_vue_type_script_setup_true_lang-687jBefr.js"),n=require("./Checkbox.vue_vue_type_style_index_0_lang-Bvk3KN2L.js"),u=require("./index-JUGW3BX8.js"),l=require("./Divider.vue_vue_type_style_index_0_lang-C6Suy0tD.js"),B=require("./FloatButton.vue_vue_type_script_setup_true_lang-CQIk1UgJ.js"),h=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-8ZXdETpQ.js"),v=require("./Icon/index.umd.cjs.js"),I=require("./IconButton.vue_vue_type_script_setup_true_lang-BMbK9bu3.js"),r=require("./Image.vue_vue_type_style_index_0_lang-DbqKKOAs.js"),a=require("./IndentLevel.vue_vue_type_style_index_0_lang-C0p5Alem.js"),q=require("./Indicator.vue_vue_type_script_setup_true_lang-DzKJMO-h.js"),z=require("./Kbd.vue_vue_type_style_index_0_lang-BqEaW_kJ.js"),o=require("./Menu.vue_vue_type_style_index_0_lang-C_lbO09l.js"),c=require("./Popover.vue_vue_type_style_index_0_lang-TwQPMDMD.js"),d=require("./RadioGroup.vue_vue_type_script_setup_true_lang-c3UZIDsE.js"),G=require("./Shortcut.vue_vue_type_style_index_0_lang-C49ZdQFd.js"),p=require("./Skeleton.vue_vue_type_style_index_0_lang-PNNUgKOq.js"),g=require("./Spinner.vue_vue_type_style_index_0_lang-CxNO28J7.js"),m=require("./Switch.vue_vue_type_style_index_0_lang-LcwRXYSm.js"),_=require("./Tree.vue_vue_type_style_index_0_lang-D2iXdFbM.js"),s=require("./element-uBbpeYVo.js"),C=require("./options-B4iSAKol.js"),x=require("./Icon.vue_vue_type_style_index_0_lang-BvHCdzZP.js"),b=["3xsm","2xsm","xsm","sm","md","lg","xlg","2xlg"];exports.ActionButton=y._sfc_main;exports.Avatar=e._sfc_main;exports.AvatarGroup=e._sfc_main$1;exports.AvatarOnlineAlignments=e.AvatarOnlineAlignments;exports.AvatarShapes=e.AvatarShapes;exports.AvatarSizes=e.AvatarSizes;exports.AvatarStrokes=e.AvatarStrokes;exports.injectAvatarGroupContext=e.injectAvatarGroupContext;exports.provideAvatarGroupContext=e.provideAvatarGroupContext;exports.Badge=S._sfc_main;exports.BadgeColors=i.BadgeColors;exports.BadgeColorsSubtle=i.BadgeColorsSubtle;exports.BadgeSizes=i.BadgeSizes;exports.BadgeTypes=i.BadgeTypes;exports.ButtonColors=t.ButtonColors;exports.ButtonGroup=t._sfc_main;exports.ButtonSizes=t.ButtonSizes;exports.ButtonTypes=t.ButtonTypes;exports.ButtonVariants=t.ButtonVariants;exports.injectButtonGroupContext=t.injectButtonGroupContext;exports.provideButtonGroupContext=t.provideButtonGroupContext;exports.Button=f._sfc_main;exports.Checkbox=n._sfc_main;exports.CheckboxGroup=n._sfc_main$1;exports.CheckboxSizes=n.CheckboxSizes;exports.injectCheckboxGroupContext=n.injectCheckboxGroupContext;exports.provideCheckboxGroupContext=n.provideCheckboxGroupContext;exports.useColoredPantographCheckbox=n.useColoredPantographCheckbox;exports.useColoredPantographCheckboxGroup=n.useColoredPantographCheckboxGroup;exports.ConfigProvider=u.ConfigProvider;exports.injectConfigContext=u.injectConfigContext;exports.provideConfigContext=u.provideConfigContext;exports.Divider=l._sfc_main;exports.DividerTypes=l.DividerTypes;exports.FloatButton=B._sfc_main;exports.GraphicalObject=h._sfc_main;exports.defineLocaleIconCollection=v.defineLocaleIconCollection;exports.disableIconCache=v.disableIconCache;exports.IconButton=I._sfc_main;exports.Image=r._sfc_main;exports.ImageAspectRatios=r.ImageAspectRatios;exports.ImageSizeRanges=r.ImageSizeRanges;exports.ImageTypes=r.ImageTypes;exports.IndentLevel=a._sfc_main;exports.IndentLevelShowLines=a.IndentLevelShowLines;exports.IndentLevelSizes=a.IndentLevelSizes;exports.Indicator=q._sfc_main;exports.Kbd=z._sfc_main;exports.MenuGaps=o.MenuGaps;exports.MenuItem=o._sfc_main$1;exports.MenuItemSizes=o.MenuItemSizes;exports.injectMenuContext=o.injectMenuContext;exports.provideMenuContext=o.provideMenuContext;exports.Popover=c._sfc_main;exports.PopoverPlacements=c.PopoverPlacements;exports.PopoverSizes=c.PopoverSizes;exports.RadioGroup=d._sfc_main;exports.RadioGroupItem=d._sfc_main$1;exports.Shortcut=G._sfc_main;exports.Skeleton=p._sfc_main;exports.SkeletonSizes=p.SkeletonSizes;exports.SkeletonTypes=p.SkeletonTypes;exports.Spinner=g._sfc_main;exports.SpinnerSizes=g.SpinnerSizes;exports.Switch=m._sfc_main;exports.SwitchSizes=m.SwitchSizes;exports.Tree=_._sfc_main;exports.TreeGaps=_.TreeGaps;exports.TreeSizes=_.TreeSizes;exports.injectTreeContext=_.injectTreeContext;exports.provideTreeContext=_.provideTreeContext;exports.filterEmpty=s.filterEmpty;exports.isEmptyElement=s.isEmptyElement;exports.isFragment=s.isFragment;exports.isValidElement=s.isValidElement;exports.componentPrefix=C.componentPrefix;exports.getComponentOptions=C.getComponentOptions;exports.Icon=x._sfc_main;exports.IconSizes=x.IconSizes;exports.systemSizes=b;
|