quasar-ui-danx 0.2.11 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +11 -9
- package/dist/danx.es.js.map +1 -0
- package/dist/danx.umd.js +3 -2
- package/dist/danx.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Filters/FilterToolbarLayout.vue +1 -2
- package/src/components/ActionTable/listControls.ts +2 -2
- package/src/components/PanelsDrawer/PanelsDrawerTabs.vue +2 -7
- package/src/components/Utility/Formats/IconWithTextFormat.vue +1 -1
- package/src/helpers/FlashMessages.ts +65 -65
- package/src/helpers/actions.ts +22 -16
- package/src/vue-plugin.js +0 -2
- package/vite.config.js +1 -0
package/dist/danx.es.js
CHANGED
@@ -9366,7 +9366,7 @@ const Ne = class Ne {
|
|
9366
9366
|
static send(e, n = {}) {
|
9367
9367
|
e && Ne.notify({
|
9368
9368
|
message: e,
|
9369
|
-
timeout:
|
9369
|
+
timeout: 1e4,
|
9370
9370
|
color: "gray-base",
|
9371
9371
|
textColor: "white",
|
9372
9372
|
position: "top",
|
@@ -9730,7 +9730,7 @@ function MT(t, e = null) {
|
|
9730
9730
|
throw new Error(`Action ${u.name} does not have an activeTarget ref. Please use useActions() or manually set the activeTarget ref`);
|
9731
9731
|
const c = u.vnode && u.vnode(a);
|
9732
9732
|
let d;
|
9733
|
-
if (u.activeTarget.value = a, !(u.onStart && u.onStart(u, a, l)
|
9733
|
+
if (u.activeTarget.value = a, !(u.onStart && !u.onStart(u, a, l)))
|
9734
9734
|
return c ? (d = await new Promise((f, m) => {
|
9735
9735
|
Dn.value = {
|
9736
9736
|
vnode: c,
|
@@ -9762,7 +9762,7 @@ async function Ja(t, e, n = null) {
|
|
9762
9762
|
throw new Error("No onAction handler found for the selected action:" + t.name);
|
9763
9763
|
let r;
|
9764
9764
|
try {
|
9765
|
-
Array.isArray(e) ? r = await t.onBatchAction(t.name, e, n) : (t.optimistic && t.optimistic(t, e, n), r = await t.onAction(t.name, e, n));
|
9765
|
+
Array.isArray(e) ? t.onBatchAction ? r = await t.onBatchAction(t.name, e, n) : r = { error: `Action ${t.name} does not support batch actions` } : (t.optimistic && t.optimistic(t, e, n), r = await t.onAction(t.name, e, n));
|
9766
9766
|
} catch (i) {
|
9767
9767
|
console.error(i), r = { error: `An error occurred while performing the action ${t.label}. Please try again later.` };
|
9768
9768
|
}
|
@@ -11357,7 +11357,7 @@ const ao = { render: O_ }, LT = {
|
|
11357
11357
|
]);
|
11358
11358
|
};
|
11359
11359
|
}
|
11360
|
-
}, p2 = { class: "flex items-center" }, ZT = {
|
11360
|
+
}, p2 = { class: "flex items-center flex-nowrap" }, ZT = {
|
11361
11361
|
__name: "IconWithTextFormat",
|
11362
11362
|
props: {
|
11363
11363
|
icon: {
|
@@ -16401,10 +16401,11 @@ const Xb = "YOUR_API_KEY", Kb = ["innerHTML"], Jb = {
|
|
16401
16401
|
B(e.$slots, "default")
|
16402
16402
|
]),
|
16403
16403
|
e.$slots["right-side"] ? (h(), _("div", fS, [
|
16404
|
-
|
16404
|
+
e.$slots.default ? (h(), E(x(ef), {
|
16405
|
+
key: 0,
|
16405
16406
|
vertical: "",
|
16406
16407
|
class: "mx-4 h-10 self-center"
|
16407
|
-
}),
|
16408
|
+
})) : L("", !0),
|
16408
16409
|
B(e.$slots, "right-side")
|
16409
16410
|
])) : L("", !0)
|
16410
16411
|
]));
|
@@ -16604,7 +16605,7 @@ function cw(t, {
|
|
16604
16605
|
const we = U(null), ct = U(null);
|
16605
16606
|
async function er() {
|
16606
16607
|
var le;
|
16607
|
-
if (!we.value)
|
16608
|
+
if (!we.value || !s)
|
16608
16609
|
return;
|
16609
16610
|
const Z = await s(we.value);
|
16610
16611
|
(Z == null ? void 0 : Z.id) === ((le = we.value) == null ? void 0 : le.id) && (we.value = Z);
|
@@ -17244,7 +17245,7 @@ const bS = {
|
|
17244
17245
|
}, 8, ["model-value"]);
|
17245
17246
|
};
|
17246
17247
|
}
|
17247
|
-
}, qS = /* @__PURE__ */ It(WS, [["__scopeId", "data-v-
|
17248
|
+
}, qS = /* @__PURE__ */ It(WS, [["__scopeId", "data-v-beaa5548"]]), YS = { class: "flex flex-col flex-nowrap h-full" }, jS = { class: "flex items-center px-6 py-4 border-b" }, QS = { class: "flex-grow" }, XS = { class: "flex-grow overflow-hidden h-full" }, KS = { class: "flex items-stretch flex-nowrap h-full" }, JS = { class: "border-r w-[13.5em] overflow-y-auto" }, eT = {
|
17248
17249
|
key: 0,
|
17249
17250
|
class: "border-l overflow-y-auto"
|
17250
17251
|
}, hw = {
|
@@ -17321,7 +17322,7 @@ const bS = {
|
|
17321
17322
|
});
|
17322
17323
|
};
|
17323
17324
|
}
|
17324
|
-
}, tT = "quasar-ui-danx", nT = "0.2.
|
17325
|
+
}, tT = "quasar-ui-danx", nT = "0.2.12", rT = "Dan <dan@flytedesk.com>", iT = "DanX Vue / Quasar component library", sT = "MIT", oT = "module", aT = "dist/danx.es.js", lT = "dist/danx.es.js", uT = {
|
17325
17326
|
dev: "cd dev && quasar dev && cd ..",
|
17326
17327
|
build: "vite build",
|
17327
17328
|
preview: "vite preview"
|
@@ -17526,3 +17527,4 @@ export {
|
|
17526
17527
|
pT as version,
|
17527
17528
|
Do as waitForRef
|
17528
17529
|
};
|
17530
|
+
//# sourceMappingURL=danx.es.js.map
|