@blueking/date-picker 3.0.0-beta.5 → 3.0.0-beta.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/date-picker",
3
- "version": "3.0.0-beta.5",
3
+ "version": "3.0.0-beta.6",
4
4
  "description": "蓝鲸监控平台日期时间选择",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",
@@ -25916,9 +25916,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
25916
25916
  {
25917
25917
  default: () => [
25918
25918
  renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
25919
- return props2.timezoneOptions.map((group) => {
25920
- if (group.label.length < 1) {
25921
- return group.options.map((item) => {
25919
+ var _a;
25920
+ return (_a = props2.timezoneOptions) == null ? void 0 : _a.map((group) => {
25921
+ var _a2, _b, _c;
25922
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
25923
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
25922
25924
  return renderSlot(slots, "option", { option: item }, () => [
25923
25925
  h$1(
25924
25926
  __webpack_exports__default$3.Option,
@@ -25950,7 +25952,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
25950
25952
  ]);
25951
25953
  });
25952
25954
  } else {
25953
- if (!group.options.length) return null;
25955
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
25954
25956
  return h$1(
25955
25957
  __webpack_exports__default$3.Group,
25956
25958
  {
@@ -33487,9 +33487,11 @@ ${$(r2)}`), n2;
33487
33487
  {
33488
33488
  default: () => [
33489
33489
  renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
33490
- return props2.timezoneOptions.map((group) => {
33491
- if (group.label.length < 1) {
33492
- return group.options.map((item) => {
33490
+ var _a;
33491
+ return (_a = props2.timezoneOptions) == null ? void 0 : _a.map((group) => {
33492
+ var _a2, _b, _c;
33493
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
33494
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
33493
33495
  return renderSlot(slots, "option", { option: item }, () => [
33494
33496
  h$1(
33495
33497
  __webpack_exports__default$3.Option,
@@ -33521,7 +33523,7 @@ ${$(r2)}`), n2;
33521
33523
  ]);
33522
33524
  });
33523
33525
  } else {
33524
- if (!group.options.length) return null;
33526
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
33525
33527
  return h$1(
33526
33528
  __webpack_exports__default$3.Group,
33527
33529
  {
@@ -25931,9 +25931,11 @@ ${$(r2)}`), n2;
25931
25931
  {
25932
25932
  default: () => [
25933
25933
  __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
25934
- return props2.timezoneOptions.map((group) => {
25935
- if (group.label.length < 1) {
25936
- return group.options.map((item) => {
25934
+ var _a;
25935
+ return (_a = props2.timezoneOptions) == null ? void 0 : _a.map((group) => {
25936
+ var _a2, _b, _c;
25937
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
25938
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
25937
25939
  return __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "option", { option: item }, () => [
25938
25940
  __WEBPACK_EXTERNAL_MODULE_vue__.h(
25939
25941
  __webpack_exports__default$3.Option,
@@ -25965,7 +25967,7 @@ ${$(r2)}`), n2;
25965
25967
  ]);
25966
25968
  });
25967
25969
  } else {
25968
- if (!group.options.length) return null;
25970
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
25969
25971
  return __WEBPACK_EXTERNAL_MODULE_vue__.h(
25970
25972
  __webpack_exports__default$3.Group,
25971
25973
  {
@@ -1534,9 +1534,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1534
1534
  {
1535
1535
  default: () => [
1536
1536
  renderSlot(slots, "default", { options: props.timezoneOptions }, () => {
1537
- return props.timezoneOptions.map((group) => {
1538
- if (group.label.length < 1) {
1539
- return group.options.map((item) => {
1537
+ var _a;
1538
+ return (_a = props.timezoneOptions) == null ? void 0 : _a.map((group) => {
1539
+ var _a2, _b, _c;
1540
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
1541
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
1540
1542
  return renderSlot(slots, "option", { option: item }, () => [
1541
1543
  h(
1542
1544
  Select.Option,
@@ -1568,7 +1570,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1568
1570
  ]);
1569
1571
  });
1570
1572
  } else {
1571
- if (!group.options.length) return null;
1573
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
1572
1574
  return h(
1573
1575
  Select.Group,
1574
1576
  {
@@ -26505,9 +26505,11 @@ ${$(r2)}`), n2;
26505
26505
  {
26506
26506
  default: () => [
26507
26507
  __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
26508
- return props2.timezoneOptions.map((group) => {
26509
- if (group.label.length < 1) {
26510
- return group.options.map((item) => {
26508
+ var _a;
26509
+ return (_a = props2.timezoneOptions) == null ? void 0 : _a.map((group) => {
26510
+ var _a2, _b, _c;
26511
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
26512
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
26511
26513
  return __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "option", { option: item }, () => [
26512
26514
  __WEBPACK_EXTERNAL_MODULE_vue__.h(
26513
26515
  __webpack_exports__default$3.Option,
@@ -26539,7 +26541,7 @@ ${$(r2)}`), n2;
26539
26541
  ]);
26540
26542
  });
26541
26543
  } else {
26542
- if (!group.options.length) return null;
26544
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
26543
26545
  return __WEBPACK_EXTERNAL_MODULE_vue__.h(
26544
26546
  __webpack_exports__default$3.Group,
26545
26547
  {
@@ -1530,9 +1530,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1530
1530
  {
1531
1531
  default: () => [
1532
1532
  vue.renderSlot(slots, "default", { options: props.timezoneOptions }, () => {
1533
- return props.timezoneOptions.map((group) => {
1534
- if (group.label.length < 1) {
1535
- return group.options.map((item) => {
1533
+ var _a;
1534
+ return (_a = props.timezoneOptions) == null ? void 0 : _a.map((group) => {
1535
+ var _a2, _b, _c;
1536
+ if (((_a2 = group.label) == null ? void 0 : _a2.length) < 1) {
1537
+ return (_b = group.options) == null ? void 0 : _b.map((item) => {
1536
1538
  return vue.renderSlot(slots, "option", { option: item }, () => [
1537
1539
  vue.h(
1538
1540
  bkuiVue.Select.Option,
@@ -1564,7 +1566,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1564
1566
  ]);
1565
1567
  });
1566
1568
  } else {
1567
- if (!group.options.length) return null;
1569
+ if (!((_c = group.options) == null ? void 0 : _c.length)) return null;
1568
1570
  return vue.h(
1569
1571
  bkuiVue.Select.Group,
1570
1572
  {