@web-utils/form-ui 1.0.0-beta21 → 1.0.0-beta22
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/api/index.d.ts +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/chunks/{Bv-Gn_Jd.mjs → 3VI058Yv.mjs} +6 -6
- package/chunks/{D4v0MyB_.mjs → B-Y8YSMp.mjs} +6 -6
- package/chunks/BIm5rmJm.mjs +222 -0
- package/chunks/{CI4RZnNc.mjs → BcMgzZyZ.mjs} +3 -3
- package/chunks/{iWlTrkaC.mjs → Bw1QPGNc.mjs} +6 -6
- package/chunks/{C4MTLHn4.mjs → BwuQhCIf.mjs} +3 -3
- package/chunks/BzMaCcUd.mjs +53 -0
- package/chunks/{wfL1FAwc.mjs → C2RhdxHB.mjs} +354 -354
- package/chunks/{BI2XOQW3.mjs → CH7m94ce.mjs} +7 -7
- package/chunks/{BNpqILFO.mjs → CJv6Sn_v.mjs} +6 -6
- package/chunks/{Dq3yxEPg.mjs → Cnmu4eY-.mjs} +1 -1
- package/chunks/{BbrVRWUo.mjs → CozfnlhM.mjs} +7 -7
- package/chunks/{CnsFNU2A.mjs → Cp9FIjnh.mjs} +1 -1
- package/chunks/{1chbbDUh.mjs → CwjQbaXJ.mjs} +15 -15
- package/chunks/Cxvr9Z1r.mjs +208 -0
- package/chunks/{Bd1I-R29.mjs → D4Pknq4r.mjs} +10 -10
- package/chunks/{DGhMkri0.mjs → DBL23JPA.mjs} +6 -6
- package/chunks/DETsVUo_.mjs +93 -0
- package/chunks/DOl--Hf9.mjs +107 -0
- package/chunks/{B5B9au3z.mjs → DP1YukLf.mjs} +25 -25
- package/chunks/{DRDj0e_k.mjs → DbBdLuvW.mjs} +8 -8
- package/chunks/DpH8CVbN.mjs +79 -0
- package/chunks/{5HLN3g1u.mjs → ENc67_lM.mjs} +9 -9
- package/chunks/{Dy5-h_Tx.mjs → INlqdzng.mjs} +15 -15
- package/chunks/{DOI7ju3i.mjs → dDAvzX4k.mjs} +6 -6
- package/chunks/eR-FlUht.mjs +110 -0
- package/chunks/{BLpnMrum.mjs → rkRnszQn.mjs} +18 -18
- package/chunks/{RcygoTkQ.mjs → tIzKZ11j.mjs} +3 -3
- package/chunks/y8u4cMEF.mjs +216 -0
- package/confirm-button/index.d.ts +71 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +42 -0
- package/confirmable/index.mjs +8 -0
- package/{constants.mjs → constants/index.mjs} +1 -1
- package/element-dialog/index.d.ts +5 -5
- package/element-dialog/index.mjs +1 -1
- package/empty-view/index.d.ts +2 -2
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.mjs +1 -1
- package/form-button/index.d.ts +72 -0
- package/form-button/index.mjs +36 -0
- package/form-cascader/index.d.ts +483 -1
- package/form-cascader/index.mjs +2 -10
- package/form-check-box-group/index.d.ts +17 -17
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +22 -22
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +26 -26
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +3 -3
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +14 -14
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +19 -19
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +14 -14
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +18 -18
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +18 -18
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +17 -17
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +18 -18
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +3 -3
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.d.ts +5 -3
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +12 -12
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +19 -19
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +15 -15
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +13 -13
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +33 -33
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +17 -17
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +23 -23
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +15 -15
- package/form-text/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.d.ts +6 -1
- package/index.mjs +45 -40
- package/month-calendar/index.d.ts +2 -2
- package/month-calendar/index.mjs +1 -1
- package/package.json +1 -1
- package/{resolver.mjs → resolver/resolver.mjs} +2 -2
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +76 -1
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +2 -2
- package/vue-cron/index.mjs +1 -1
- package/web-types.json +1 -1
- package/year-calendar/index.d.ts +2 -2
- package/year-calendar/index.mjs +1 -1
- package/chunks/Bb43eI1f.mjs +0 -93
- package/chunks/Bh_CMUlo.mjs +0 -12
- package/chunks/Cw8pz9hK.mjs +0 -222
- package/chunks/lTFu0zgR.mjs +0 -106
- /package/chunks/{D9GcEl6r.mjs → DJNXk_Cv.mjs} +0 -0
- /package/{constants.d.ts → constants/index.d.ts} +0 -0
- /package/{resolver.d.ts → resolver/resolver.d.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getDictData as e } from "../helper/dictionary.mjs";
|
|
2
|
+
import { ref as t, watchEffect as n } from "vue";
|
|
3
|
+
//#region src/hook/useDictionary.ts
|
|
4
|
+
var r = (r) => {
|
|
5
|
+
let i = t([]);
|
|
6
|
+
return n(async () => {
|
|
7
|
+
r.dictType ? i.value = await e(r.dictType, !0, {
|
|
8
|
+
treeDict: r.treeDict,
|
|
9
|
+
idAsValue: r.idAsValue,
|
|
10
|
+
labelAsValue: r.labelAsValue
|
|
11
|
+
}) : i.value = [];
|
|
12
|
+
}), { dictItems: i };
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as useDictionary };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
url?: string | undefined;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly title?: string | undefined;
|
|
6
|
+
readonly url?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as e } from "../chunks/DP1YukLf.mjs";
|
|
2
|
+
import { createBlock as t, createElementVNode as n, mergeModels as r, mergeProps as i, openBlock as a, useModel as o, withCtx as s } from "vue";
|
|
3
|
+
//#region src/components/iframe-window/IframeWindow.vue
|
|
4
|
+
var c = ["src"], l = /* @__PURE__ */ Object.assign({ name: "IframeWindow" }, {
|
|
5
|
+
__name: "IframeWindow",
|
|
6
|
+
props: /* @__PURE__ */ r({
|
|
7
|
+
title: String,
|
|
8
|
+
url: String
|
|
9
|
+
}, {
|
|
10
|
+
modelValue: { type: Boolean },
|
|
11
|
+
modelModifiers: {}
|
|
12
|
+
}),
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(r) {
|
|
15
|
+
let l = o(r, "modelValue");
|
|
16
|
+
return (o, u) => {
|
|
17
|
+
let d = e;
|
|
18
|
+
return a(), t(d, i(o.$attrs, {
|
|
19
|
+
modelValue: l.value,
|
|
20
|
+
"onUpdate:modelValue": u[0] || (u[0] = (e) => l.value = e),
|
|
21
|
+
"destroy-on-close": "",
|
|
22
|
+
class: "iframe-window",
|
|
23
|
+
height: "60vh",
|
|
24
|
+
title: r.title,
|
|
25
|
+
"show-fullscreen": ""
|
|
26
|
+
}), {
|
|
27
|
+
default: s(() => [n("iframe", {
|
|
28
|
+
class: "iframe-window-iframe",
|
|
29
|
+
src: r.url
|
|
30
|
+
}, null, 8, c)]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 16, ["modelValue", "title"]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { l as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.iframe-window.el-dialog .el-dialog__body{position:relative}.iframe-window .iframe-window-iframe{border:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { default as AwesomeButton } from './awesome-button/index.js';
|
|
3
|
+
import { default as Confirmable } from './confirmable/index.js';
|
|
4
|
+
import { default as ConfirmButton } from './confirm-button/index.js';
|
|
2
5
|
import { default as ElementDialog } from './element-dialog/index.js';
|
|
3
6
|
import { default as EmptyView } from './empty-view/index.js';
|
|
4
7
|
import { default as FlexScrollArea } from './flex-scroll-area/index.js';
|
|
5
8
|
import { default as FormAdvice } from './form-advice/index.js';
|
|
9
|
+
import { default as FormButton } from './form-button/index.js';
|
|
6
10
|
import { default as FormCascader } from './form-cascader/index.js';
|
|
7
11
|
import { default as FormCell } from './form-cell/index.js';
|
|
8
12
|
import { default as FormCheckbox } from './form-checkbox/index.js';
|
|
@@ -30,13 +34,14 @@ import { default as FormSlider } from './form-slider/index.js';
|
|
|
30
34
|
import { default as FormSwitch } from './form-switch/index.js';
|
|
31
35
|
import { default as FormText } from './form-text/index.js';
|
|
32
36
|
import { default as FormView } from './form-view/index.js';
|
|
37
|
+
import { default as IframeWindow } from './iframe-window/index.js';
|
|
33
38
|
import { default as MonthCalendar } from './month-calendar/index.js';
|
|
34
39
|
import { default as TableView } from './table-view/index.js';
|
|
35
40
|
import { default as Toolbar } from './toolbar/index.js';
|
|
36
41
|
import { default as ToolbarButton } from './toolbar-button/index.js';
|
|
37
42
|
import { default as VueCron } from './vue-cron/index.js';
|
|
38
43
|
import { default as YearCalendar } from './year-calendar/index.js';
|
|
39
|
-
export { ElementDialog, EmptyView, FlexScrollArea, FormAdvice, FormCascader, FormCell, FormCheckbox, FormCheckBoxGroup, FormDatePicker, FormHolder, FormImage, FormInput, FormInputCronExpression, FormInputEmail, FormInputIdCard, FormInputNumber, FormInputPhoneNumber, FormInputTag, FormInputTime, FormItemConfigProvider, FormItemGroup, FormItemX, FormRadioGroup, FormRate, FormRedTable, FormRow, FormSelect, FormSlider, FormSwitch, FormText, FormView, MonthCalendar, TableView, Toolbar, ToolbarButton, VueCron, YearCalendar };
|
|
44
|
+
export { AwesomeButton, Confirmable, ConfirmButton, ElementDialog, EmptyView, FlexScrollArea, FormAdvice, FormButton, FormCascader, FormCell, FormCheckbox, FormCheckBoxGroup, FormDatePicker, FormHolder, FormImage, FormInput, FormInputCronExpression, FormInputEmail, FormInputIdCard, FormInputNumber, FormInputPhoneNumber, FormInputTag, FormInputTime, FormItemConfigProvider, FormItemGroup, FormItemX, FormRadioGroup, FormRate, FormRedTable, FormRow, FormSelect, FormSlider, FormSwitch, FormText, FormView, IframeWindow, MonthCalendar, TableView, Toolbar, ToolbarButton, VueCron, YearCalendar };
|
|
40
45
|
export declare const componentNames: string[];
|
|
41
46
|
export declare const noStylesComponents: string[];
|
|
42
47
|
export declare const install: (app: App) => void;
|
package/index.mjs
CHANGED
|
@@ -1,43 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./
|
|
4
|
-
import r from "./
|
|
5
|
-
import i from "./
|
|
6
|
-
import a from "./
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import { t as l } from "./chunks/
|
|
11
|
-
import u from "./form-
|
|
12
|
-
import { t as d } from "./chunks/
|
|
13
|
-
import { t as f } from "./chunks/
|
|
14
|
-
import { t as p } from "./chunks/
|
|
15
|
-
import
|
|
16
|
-
import { t as h } from "./chunks/
|
|
17
|
-
import { t as g } from "./chunks/
|
|
18
|
-
import { t as _ } from "./chunks/
|
|
19
|
-
import { t as v } from "./chunks/
|
|
20
|
-
import { t as y } from "./chunks/
|
|
21
|
-
import b from "./
|
|
22
|
-
import x from "./
|
|
23
|
-
import S from "./
|
|
24
|
-
import { t as C } from "./chunks/
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { t as D } from "./chunks/
|
|
29
|
-
import { t as O } from "./chunks/
|
|
30
|
-
import { t as k } from "./chunks/
|
|
31
|
-
import { t as A } from "./chunks/
|
|
32
|
-
import j from "./
|
|
33
|
-
import M from "./
|
|
34
|
-
import N from "./
|
|
35
|
-
import P from "./
|
|
36
|
-
import F from "./
|
|
37
|
-
import I from "./
|
|
1
|
+
import e from "./awesome-button/index.mjs";
|
|
2
|
+
import t from "./confirmable/index.mjs";
|
|
3
|
+
import n from "./confirm-button/index.mjs";
|
|
4
|
+
import { t as r } from "./chunks/DP1YukLf.mjs";
|
|
5
|
+
import i from "./empty-view/index.mjs";
|
|
6
|
+
import a from "./flex-scroll-area/index.mjs";
|
|
7
|
+
import o from "./form-advice/index.mjs";
|
|
8
|
+
import s from "./form-button/index.mjs";
|
|
9
|
+
import { a as c } from "./chunks/BIm5rmJm.mjs";
|
|
10
|
+
import { t as l } from "./chunks/y8u4cMEF.mjs";
|
|
11
|
+
import u from "./form-cell/index.mjs";
|
|
12
|
+
import { t as d } from "./chunks/Bw1QPGNc.mjs";
|
|
13
|
+
import { t as f } from "./chunks/INlqdzng.mjs";
|
|
14
|
+
import { t as p } from "./chunks/DbBdLuvW.mjs";
|
|
15
|
+
import m from "./form-red-table/index.mjs";
|
|
16
|
+
import { t as h } from "./chunks/rkRnszQn.mjs";
|
|
17
|
+
import { t as g } from "./chunks/ENc67_lM.mjs";
|
|
18
|
+
import { t as _ } from "./chunks/CozfnlhM.mjs";
|
|
19
|
+
import { t as v } from "./chunks/C2RhdxHB.mjs";
|
|
20
|
+
import { t as y } from "./chunks/D4Pknq4r.mjs";
|
|
21
|
+
import { t as b } from "./chunks/BwuQhCIf.mjs";
|
|
22
|
+
import { t as x } from "./chunks/tIzKZ11j.mjs";
|
|
23
|
+
import { t as S } from "./chunks/dDAvzX4k.mjs";
|
|
24
|
+
import { t as C } from "./chunks/BcMgzZyZ.mjs";
|
|
25
|
+
import w from "./form-input-tag/index.mjs";
|
|
26
|
+
import T from "./form-input-time/index.mjs";
|
|
27
|
+
import E from "./form-item-config-provider/index.mjs";
|
|
28
|
+
import { t as D } from "./chunks/eR-FlUht.mjs";
|
|
29
|
+
import { t as O } from "./chunks/CwjQbaXJ.mjs";
|
|
30
|
+
import { t as k } from "./chunks/DBL23JPA.mjs";
|
|
31
|
+
import { t as A } from "./chunks/DETsVUo_.mjs";
|
|
32
|
+
import { t as j } from "./chunks/CH7m94ce.mjs";
|
|
33
|
+
import { t as M } from "./chunks/CJv6Sn_v.mjs";
|
|
34
|
+
import { t as N } from "./chunks/B-Y8YSMp.mjs";
|
|
35
|
+
import { t as P } from "./chunks/3VI058Yv.mjs";
|
|
36
|
+
import F from "./form-view/index.mjs";
|
|
37
|
+
import I from "./iframe-window/index.mjs";
|
|
38
|
+
import L from "./month-calendar/index.mjs";
|
|
39
|
+
import R from "./table-view/index.mjs";
|
|
40
|
+
import { t as z } from "./chunks/DOl--Hf9.mjs";
|
|
41
|
+
import { t as B } from "./chunks/Cxvr9Z1r.mjs";
|
|
42
|
+
import V from "./year-calendar/index.mjs";
|
|
38
43
|
//#region src/components/index.ts
|
|
39
|
-
var
|
|
40
|
-
|
|
44
|
+
var H = /* @__PURE__ */ "AwesomeButton.Confirmable.ConfirmButton.ElementDialog.EmptyView.FlexScrollArea.FormAdvice.FormButton.FormCascader.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormHolder.FormImage.FormInput.FormInputCronExpression.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemConfigProvider.FormItemGroup.FormItemX.FormRadioGroup.FormRate.FormRedTable.FormRow.FormSelect.FormSlider.FormSwitch.FormText.FormView.IframeWindow.MonthCalendar.TableView.Toolbar.ToolbarButton.VueCron.YearCalendar".split("."), U = /* @__PURE__ */ "AwesomeButton.Confirmable.ConfirmButton.FlexScrollArea.FormAdvice.FormButton.FormCascader.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormImage.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemConfigProvider.FormRadioGroup.FormRate.FormSelect.FormSlider.FormSwitch.FormText.FormView.MonthCalendar.TableView.ToolbarButton".split("."), W = (H) => {
|
|
45
|
+
H.component(e.name, e), H.component(t.name, t), H.component(n.name, n), H.component(r.name, r), H.component(i.name, i), H.component(a.name, a), H.component(o.name, o), H.component(s.name, s), H.component(l.name, l), H.component(u.name, u), H.component(d.name, d), H.component(f.name, f), H.component(p.name, p), H.component(h.name, h), H.component(g.name, g), H.component(_.name, _), H.component(y.name, y), H.component(b.name, b), H.component(x.name, x), H.component(S.name, S), H.component(C.name, C), H.component(w.name, w), H.component(T.name, T), H.component(E.name, E), H.component(D.name, D), H.component(c.name, c), H.component(O.name, O), H.component(k.name, k), H.component(m.name, m), H.component(A.name, A), H.component(j.name, j), H.component(M.name, M), H.component(N.name, N), H.component(P.name, P), H.component(F.name, F), H.component(I.name, I), H.component(L.name, L), H.component(R.name, R), H.component(B.name, B), H.component(z.name, z), H.component(v.name, v), H.component(V.name, V);
|
|
41
46
|
};
|
|
42
47
|
//#endregion
|
|
43
|
-
export { e as
|
|
48
|
+
export { e as AwesomeButton, n as ConfirmButton, t as Confirmable, r as ElementDialog, i as EmptyView, a as FlexScrollArea, o as FormAdvice, s as FormButton, l as FormCascader, u as FormCell, f as FormCheckBoxGroup, d as FormCheckbox, p as FormDatePicker, h as FormHolder, g as FormImage, _ as FormInput, y as FormInputCronExpression, b as FormInputEmail, x as FormInputIdCard, S as FormInputNumber, C as FormInputPhoneNumber, w as FormInputTag, T as FormInputTime, E as FormItemConfigProvider, D as FormItemGroup, c as FormItemX, O as FormRadioGroup, k as FormRate, m as FormRedTable, A as FormRow, j as FormSelect, M as FormSlider, N as FormSwitch, P as FormText, F as FormView, I as IframeWindow, L as MonthCalendar, R as TableView, B as Toolbar, z as ToolbarButton, v as VueCron, V as YearCalendar, H as componentNames, W as install, U as noStylesComponents };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
activeDates: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => never[];
|
|
@@ -41,7 +41,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
41
|
'calendar__day--otherMonth': any;
|
|
42
42
|
};
|
|
43
43
|
monthClickEvent(year: any): void;
|
|
44
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("toggleDate" | "monthClickEvent")[], "toggleDate" | "monthClickEvent", import('vue').PublicProps, Readonly<
|
|
44
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("toggleDate" | "monthClickEvent")[], "toggleDate" | "monthClickEvent", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
45
45
|
activeDates: {
|
|
46
46
|
type: ArrayConstructor;
|
|
47
47
|
default: () => never[];
|
package/month-calendar/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DJNXk_Cv.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, createElementVNode as r, normalizeClass as i, normalizeStyle as a, openBlock as o, renderList as s, toDisplayString as c, withModifiers as l } from "vue";
|
|
3
3
|
import u from "dayjs";
|
|
4
4
|
//#region src/components/material-year-calendar/MonthCalendar.vue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { componentNames as e, noStylesComponents as t } from "
|
|
1
|
+
import { componentNames as e, noStylesComponents as t } from "../index.mjs";
|
|
2
2
|
import { hyphenate as n } from "@web-utils/core";
|
|
3
|
-
//#region src/
|
|
3
|
+
//#region src/resolver/resolver.ts
|
|
4
4
|
var r = ({ importStyle: r = !1, excludeComponents: a = [] } = {}) => {
|
|
5
5
|
let o = {}, s = {}, c = {};
|
|
6
6
|
return e.forEach((e) => {
|
package/toolbar/index.d.ts
CHANGED
|
@@ -1,2 +1,129 @@
|
|
|
1
|
-
|
|
1
|
+
import { toolbarContextKey } from '../../constants';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
+
searchable: BooleanConstructor;
|
|
4
|
+
refreshable: BooleanConstructor;
|
|
5
|
+
buttons: {
|
|
6
|
+
type: ArrayConstructor;
|
|
7
|
+
default: () => string[];
|
|
8
|
+
};
|
|
9
|
+
back: FunctionConstructor;
|
|
10
|
+
cancel: FunctionConstructor;
|
|
11
|
+
emitter: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
footer: BooleanConstructor;
|
|
16
|
+
label: ObjectConstructor;
|
|
17
|
+
}>, {}, {}, {}, {
|
|
18
|
+
goBack(): void;
|
|
19
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
20
|
+
label: any;
|
|
21
|
+
icon: any;
|
|
22
|
+
type: any;
|
|
23
|
+
separateLine?: boolean | undefined;
|
|
24
|
+
loadable: any;
|
|
25
|
+
circle: any;
|
|
26
|
+
onClick: any;
|
|
27
|
+
title: any;
|
|
28
|
+
}): any;
|
|
29
|
+
getLeftButtons(): any[];
|
|
30
|
+
getRightButtons(): any[];
|
|
31
|
+
getSearchButton(): any;
|
|
32
|
+
getRefreshButton(): any;
|
|
33
|
+
getSettingsButton(): any;
|
|
34
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
|
+
searchable: BooleanConstructor;
|
|
36
|
+
refreshable: BooleanConstructor;
|
|
37
|
+
buttons: {
|
|
38
|
+
type: ArrayConstructor;
|
|
39
|
+
default: () => string[];
|
|
40
|
+
};
|
|
41
|
+
back: FunctionConstructor;
|
|
42
|
+
cancel: FunctionConstructor;
|
|
43
|
+
emitter: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
footer: BooleanConstructor;
|
|
48
|
+
label: ObjectConstructor;
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
footer: boolean;
|
|
51
|
+
searchable: boolean;
|
|
52
|
+
refreshable: boolean;
|
|
53
|
+
buttons: unknown[];
|
|
54
|
+
emitter: string;
|
|
55
|
+
}, {}, {}, {}, string, () => {
|
|
56
|
+
[toolbarContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
57
|
+
searchable: BooleanConstructor;
|
|
58
|
+
refreshable: BooleanConstructor;
|
|
59
|
+
buttons: {
|
|
60
|
+
type: ArrayConstructor;
|
|
61
|
+
default: () => string[];
|
|
62
|
+
};
|
|
63
|
+
back: FunctionConstructor;
|
|
64
|
+
cancel: FunctionConstructor;
|
|
65
|
+
emitter: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
footer: BooleanConstructor;
|
|
70
|
+
label: ObjectConstructor;
|
|
71
|
+
}>> & Readonly<{}>, {}, {}, {}, {
|
|
72
|
+
goBack(): void;
|
|
73
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
74
|
+
label: any;
|
|
75
|
+
icon: any;
|
|
76
|
+
type: any;
|
|
77
|
+
separateLine?: boolean | undefined;
|
|
78
|
+
loadable: any;
|
|
79
|
+
circle: any;
|
|
80
|
+
onClick: any;
|
|
81
|
+
title: any;
|
|
82
|
+
}): any;
|
|
83
|
+
getLeftButtons(): any[];
|
|
84
|
+
getRightButtons(): any[];
|
|
85
|
+
getSearchButton(): any;
|
|
86
|
+
getRefreshButton(): any;
|
|
87
|
+
getSettingsButton(): any;
|
|
88
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {}, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
89
|
+
P: {};
|
|
90
|
+
B: {};
|
|
91
|
+
D: {};
|
|
92
|
+
C: {};
|
|
93
|
+
M: {};
|
|
94
|
+
Defaults: {};
|
|
95
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
96
|
+
searchable: BooleanConstructor;
|
|
97
|
+
refreshable: BooleanConstructor;
|
|
98
|
+
buttons: {
|
|
99
|
+
type: ArrayConstructor;
|
|
100
|
+
default: () => string[];
|
|
101
|
+
};
|
|
102
|
+
back: FunctionConstructor;
|
|
103
|
+
cancel: FunctionConstructor;
|
|
104
|
+
emitter: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
footer: BooleanConstructor;
|
|
109
|
+
label: ObjectConstructor;
|
|
110
|
+
}>> & Readonly<{}>, {}, {}, {}, {
|
|
111
|
+
goBack(): void;
|
|
112
|
+
createButton(key: any, { label, icon, type, separateLine, loadable, circle, onClick, title }: {
|
|
113
|
+
label: any;
|
|
114
|
+
icon: any;
|
|
115
|
+
type: any;
|
|
116
|
+
separateLine?: boolean | undefined;
|
|
117
|
+
loadable: any;
|
|
118
|
+
circle: any;
|
|
119
|
+
onClick: any;
|
|
120
|
+
title: any;
|
|
121
|
+
}): any;
|
|
122
|
+
getLeftButtons(): any[];
|
|
123
|
+
getRightButtons(): any[];
|
|
124
|
+
getSearchButton(): any;
|
|
125
|
+
getRefreshButton(): any;
|
|
126
|
+
getSettingsButton(): any;
|
|
127
|
+
}, {}>;
|
|
128
|
+
}, true, {}, any>;
|
|
2
129
|
export default _default;
|
package/toolbar/index.mjs
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var e = /* @__PURE__ */ Object.assign({ name: "Toolbar" }, {
|
|
3
|
-
__name: "Toolbar",
|
|
4
|
-
setup(e) {
|
|
5
|
-
return (e, t) => null;
|
|
6
|
-
}
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
1
|
+
import { t as e } from "../chunks/Cxvr9Z1r.mjs";
|
|
9
2
|
export { e as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.toolbar{background-color:#fff;border-bottom:1px solid #e5e9ec;height:40px;padding:0 10px;line-height:40px;display:flex}.toolbar .toolbar-left{flex:auto}.toolbar .toolbar-left .el-button [class*=\ el-icon-],.toolbar .toolbar-left .el-button [class^=el-icon-]{margin-top:-1px;font-size:15px}.toolbar .toolbar-right .el-button{align-items:center;display:inline-flex}.footer-bar{flex-direction:row;justify-content:center;align-items:center;padding-top:10px;display:flex}.footer-bar .el-button{padding:10px 40px}
|
|
@@ -1,2 +1,77 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
label: StringConstructor;
|
|
3
|
+
icon: StringConstructor;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
size: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
loadable: BooleanConstructor;
|
|
9
|
+
disabled: BooleanConstructor;
|
|
10
|
+
footer: BooleanConstructor;
|
|
11
|
+
circle: BooleanConstructor;
|
|
12
|
+
plain: BooleanConstructor;
|
|
13
|
+
round: BooleanConstructor;
|
|
14
|
+
primary: BooleanConstructor;
|
|
15
|
+
warning: BooleanConstructor;
|
|
16
|
+
nativeType: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
privilege: StringConstructor;
|
|
21
|
+
condition: {
|
|
22
|
+
type: (BooleanConstructor | FunctionConstructor | ArrayConstructor)[];
|
|
23
|
+
};
|
|
24
|
+
conditionTips: StringConstructor;
|
|
25
|
+
confirm: BooleanConstructor;
|
|
26
|
+
confirmTips: StringConstructor;
|
|
27
|
+
beforeExecute: FunctionConstructor;
|
|
28
|
+
afterExecute: FunctionConstructor;
|
|
29
|
+
route: (StringConstructor | ObjectConstructor)[];
|
|
30
|
+
title: StringConstructor;
|
|
31
|
+
cancelButtonText: StringConstructor;
|
|
32
|
+
confirmButtonText: StringConstructor;
|
|
33
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
34
|
+
label: StringConstructor;
|
|
35
|
+
icon: StringConstructor;
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
size: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
};
|
|
40
|
+
loadable: BooleanConstructor;
|
|
41
|
+
disabled: BooleanConstructor;
|
|
42
|
+
footer: BooleanConstructor;
|
|
43
|
+
circle: BooleanConstructor;
|
|
44
|
+
plain: BooleanConstructor;
|
|
45
|
+
round: BooleanConstructor;
|
|
46
|
+
primary: BooleanConstructor;
|
|
47
|
+
warning: BooleanConstructor;
|
|
48
|
+
nativeType: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
privilege: StringConstructor;
|
|
53
|
+
condition: {
|
|
54
|
+
type: (BooleanConstructor | FunctionConstructor | ArrayConstructor)[];
|
|
55
|
+
};
|
|
56
|
+
conditionTips: StringConstructor;
|
|
57
|
+
confirm: BooleanConstructor;
|
|
58
|
+
confirmTips: StringConstructor;
|
|
59
|
+
beforeExecute: FunctionConstructor;
|
|
60
|
+
afterExecute: FunctionConstructor;
|
|
61
|
+
route: (StringConstructor | ObjectConstructor)[];
|
|
62
|
+
title: StringConstructor;
|
|
63
|
+
cancelButtonText: StringConstructor;
|
|
64
|
+
confirmButtonText: StringConstructor;
|
|
65
|
+
}>> & Readonly<{}>, {
|
|
66
|
+
primary: boolean;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
plain: boolean;
|
|
69
|
+
round: boolean;
|
|
70
|
+
nativeType: string;
|
|
71
|
+
footer: boolean;
|
|
72
|
+
warning: boolean;
|
|
73
|
+
loadable: boolean;
|
|
74
|
+
circle: boolean;
|
|
75
|
+
confirm: boolean;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
77
|
export default _default;
|
package/toolbar-button/index.mjs
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var e = /* @__PURE__ */ Object.assign({ name: "ToolbarButton" }, {
|
|
3
|
-
__name: "ToolbarButton",
|
|
4
|
-
setup(e) {
|
|
5
|
-
return (e, t) => null;
|
|
6
|
-
}
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
1
|
+
import { t as e } from "../chunks/DOl--Hf9.mjs";
|
|
9
2
|
export { e as default };
|
package/vue-cron/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
data: ObjectConstructor;
|
|
3
3
|
expression: StringConstructor;
|
|
4
4
|
runsParser: FunctionConstructor;
|
|
@@ -174,7 +174,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
174
174
|
setYear(val: any): void;
|
|
175
175
|
setDay(val: any): void;
|
|
176
176
|
setWeek(val: any): void;
|
|
177
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("
|
|
177
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "close")[], "change" | "close", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
178
178
|
data: ObjectConstructor;
|
|
179
179
|
expression: StringConstructor;
|
|
180
180
|
runsParser: FunctionConstructor;
|
package/vue-cron/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/C2RhdxHB.mjs";
|
|
2
2
|
export { e as default };
|