@bsgoal/common 2.16.2 → 2.16.4
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/index.mjs +80 -6
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-button/demo.vue +1 -1
- package/src/components/bsgoal-base-button/index.vue +16 -6
- package/src/components/bsgoal-base-time/demo.vue +33 -2
- package/src/components/bsgoal-base-time/index.vue +66 -3
- package/src/components/bsgoal-base-tree-table/index.vue +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6238,6 +6238,13 @@ const up = { class: "bsgoal-base-button" }, Ti = Object.assign({
|
|
|
6238
6238
|
hasLoading: {
|
|
6239
6239
|
type: [Boolean],
|
|
6240
6240
|
default: !0
|
|
6241
|
+
},
|
|
6242
|
+
/**
|
|
6243
|
+
* disabled
|
|
6244
|
+
*/
|
|
6245
|
+
disabled: {
|
|
6246
|
+
type: [Boolean],
|
|
6247
|
+
default: !1
|
|
6241
6248
|
}
|
|
6242
6249
|
},
|
|
6243
6250
|
setup(u) {
|
|
@@ -6262,7 +6269,7 @@ const up = { class: "bsgoal-base-button" }, Ti = Object.assign({
|
|
|
6262
6269
|
return A;
|
|
6263
6270
|
}), b = $e(() => {
|
|
6264
6271
|
const { mode: p = "", icon: A = "" } = s;
|
|
6265
|
-
if (
|
|
6272
|
+
if (A !== !1)
|
|
6266
6273
|
switch (p) {
|
|
6267
6274
|
case "delete":
|
|
6268
6275
|
return xo;
|
|
@@ -6304,13 +6311,14 @@ const up = { class: "bsgoal-base-button" }, Ti = Object.assign({
|
|
|
6304
6311
|
type: m.value,
|
|
6305
6312
|
icon: b.value,
|
|
6306
6313
|
loading: a.value,
|
|
6307
|
-
plain: u.plain
|
|
6314
|
+
plain: u.plain,
|
|
6315
|
+
disabled: u.disabled
|
|
6308
6316
|
}, {
|
|
6309
6317
|
default: K(() => [
|
|
6310
6318
|
mt(Qe(g.value), 1)
|
|
6311
6319
|
]),
|
|
6312
6320
|
_: 1
|
|
6313
|
-
}, 8, ["type", "icon", "loading", "plain"])
|
|
6321
|
+
}, 8, ["type", "icon", "loading", "plain", "disabled"])
|
|
6314
6322
|
])
|
|
6315
6323
|
])
|
|
6316
6324
|
]);
|
|
@@ -6807,6 +6815,65 @@ const Sp = { class: "bsgoal-base-time" }, Tp = Object.assign({
|
|
|
6807
6815
|
format: {
|
|
6808
6816
|
type: [String],
|
|
6809
6817
|
default: "HH:mm"
|
|
6818
|
+
},
|
|
6819
|
+
/**
|
|
6820
|
+
* 箭头进行选择
|
|
6821
|
+
*/
|
|
6822
|
+
arrowControl: {
|
|
6823
|
+
type: [Boolean],
|
|
6824
|
+
default: !1
|
|
6825
|
+
},
|
|
6826
|
+
/**
|
|
6827
|
+
* 禁止选择部分小时选项
|
|
6828
|
+
*/
|
|
6829
|
+
disabledHours: {
|
|
6830
|
+
type: [Function],
|
|
6831
|
+
default: () => {
|
|
6832
|
+
}
|
|
6833
|
+
},
|
|
6834
|
+
/**
|
|
6835
|
+
* 禁止选择部分分钟选项
|
|
6836
|
+
*/
|
|
6837
|
+
disabledMinutes: {
|
|
6838
|
+
type: [Function],
|
|
6839
|
+
default: () => {
|
|
6840
|
+
}
|
|
6841
|
+
},
|
|
6842
|
+
/**
|
|
6843
|
+
* 禁止选择部分秒选项
|
|
6844
|
+
*/
|
|
6845
|
+
disabledSeconds: {
|
|
6846
|
+
type: [Function],
|
|
6847
|
+
default: () => {
|
|
6848
|
+
}
|
|
6849
|
+
},
|
|
6850
|
+
/**
|
|
6851
|
+
* 完全只读
|
|
6852
|
+
*/
|
|
6853
|
+
readonly: {
|
|
6854
|
+
type: [Boolean],
|
|
6855
|
+
default: !1
|
|
6856
|
+
},
|
|
6857
|
+
/**
|
|
6858
|
+
* 禁用
|
|
6859
|
+
*/
|
|
6860
|
+
disabled: {
|
|
6861
|
+
type: [Boolean],
|
|
6862
|
+
default: !1
|
|
6863
|
+
},
|
|
6864
|
+
/**
|
|
6865
|
+
* 文本框可输入
|
|
6866
|
+
*/
|
|
6867
|
+
editable: {
|
|
6868
|
+
type: [Boolean],
|
|
6869
|
+
default: !1
|
|
6870
|
+
},
|
|
6871
|
+
/**
|
|
6872
|
+
* 是否显示清除按钮
|
|
6873
|
+
*/
|
|
6874
|
+
clearable: {
|
|
6875
|
+
type: [Boolean],
|
|
6876
|
+
default: !1
|
|
6810
6877
|
}
|
|
6811
6878
|
},
|
|
6812
6879
|
emits: ["update:modelValue"],
|
|
@@ -6829,18 +6896,25 @@ const Sp = { class: "bsgoal-base-time" }, Tp = Object.assign({
|
|
|
6829
6896
|
modelValue: h.value,
|
|
6830
6897
|
"onUpdate:modelValue": A[0] || (A[0] = (H) => h.value = H),
|
|
6831
6898
|
class: "base_time",
|
|
6899
|
+
"arrow-control": u.arrowControl,
|
|
6832
6900
|
format: u.format,
|
|
6833
|
-
clearable:
|
|
6901
|
+
clearable: u.clearable,
|
|
6902
|
+
readonly: u.readonly,
|
|
6903
|
+
disabled: u.disabled,
|
|
6904
|
+
editable: u.editable,
|
|
6834
6905
|
placeholder: u.placeholder,
|
|
6906
|
+
"disabled-hours": u.disabledHours,
|
|
6907
|
+
"disabled-minutes": u.disabledMinutes,
|
|
6908
|
+
"disabled-seconds": u.disabledSeconds,
|
|
6835
6909
|
onChange: g
|
|
6836
|
-
}, null, 8, ["modelValue", "format", "placeholder"])
|
|
6910
|
+
}, null, 8, ["modelValue", "arrow-control", "format", "clearable", "readonly", "disabled", "editable", "placeholder", "disabled-hours", "disabled-minutes", "disabled-seconds"])
|
|
6837
6911
|
]),
|
|
6838
6912
|
_: 1
|
|
6839
6913
|
}, 8, ["locale"])
|
|
6840
6914
|
]);
|
|
6841
6915
|
};
|
|
6842
6916
|
}
|
|
6843
|
-
}), Ip = /* @__PURE__ */ An(Tp, [["__scopeId", "data-v-
|
|
6917
|
+
}), Ip = /* @__PURE__ */ An(Tp, [["__scopeId", "data-v-68fa182f"]]);
|
|
6844
6918
|
const Cp = { class: "bsgoal-base-time-range" }, Mp = Object.assign({
|
|
6845
6919
|
name: "BsgoalBaseTimeRange"
|
|
6846
6920
|
}, {
|