@blueking/date-picker 3.0.0-beta.4 → 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/README.md +4 -4
- package/package.json +1 -1
- package/typings/components/timezone-picker.vue.d.ts +3 -3
- package/typings/utils/timezone.d.ts +4 -4
- package/vue2/index.es.min.js +15 -9
- package/vue2/index.iife.min.js +15 -9
- package/vue2/index.umd.min.js +15 -9
- package/vue3/index.es.min.js +15 -9
- package/vue3/index.iife.min.js +15 -9
- package/vue3/index.umd.min.js +15 -9
package/README.md
CHANGED
|
@@ -195,11 +195,11 @@ export default {
|
|
|
195
195
|
|
|
196
196
|
```typescript
|
|
197
197
|
interface ITimezoneItem {
|
|
198
|
-
abbreviation
|
|
199
|
-
country
|
|
200
|
-
countryCode
|
|
198
|
+
abbreviation?: string; // 时区缩写
|
|
199
|
+
country?: string; // 国家名称
|
|
200
|
+
countryCode?: string; // 国家代码
|
|
201
201
|
label: string; // 时区标识符(如 Asia/Shanghai)
|
|
202
|
-
utc
|
|
202
|
+
utc?: string; // UTC偏移量(如 UTC+08:00)
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
interface ITimeZoneGroup {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type ITimeZoneGroup, type ITimezoneItem } from '../utils/timezone';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
timezoneOptions?: ITimeZoneGroup[];
|
|
3
|
+
timezoneOptions?: ITimeZoneGroup[] | ITimezoneItem[];
|
|
4
4
|
value: string;
|
|
5
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
"update:value": (value: string, info: ITimezoneItem) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<{
|
|
8
|
-
timezoneOptions?: ITimeZoneGroup[];
|
|
8
|
+
timezoneOptions?: ITimeZoneGroup[] | ITimezoneItem[];
|
|
9
9
|
value: string;
|
|
10
10
|
}> & Readonly<{
|
|
11
11
|
"onUpdate:value"?: ((value: string, info: ITimezoneItem) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
timezoneOptions: ITimeZoneGroup[];
|
|
13
|
+
timezoneOptions: ITimeZoneGroup[] | ITimezoneItem[];
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,11 +3,11 @@ export interface ITimeZoneGroup {
|
|
|
3
3
|
options: ITimezoneItem[];
|
|
4
4
|
}
|
|
5
5
|
export interface ITimezoneItem {
|
|
6
|
-
abbreviation
|
|
7
|
-
country
|
|
8
|
-
countryCode
|
|
6
|
+
abbreviation?: string;
|
|
7
|
+
country?: string;
|
|
8
|
+
countryCode?: string;
|
|
9
9
|
label: string;
|
|
10
|
-
utc
|
|
10
|
+
utc?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const getTimezoneDetails: () => ITimeZoneGroup[];
|
|
13
13
|
export declare const getTimezoneInfo: (searchIndex: string) => {
|
package/vue2/index.es.min.js
CHANGED
|
@@ -25916,9 +25916,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25916
25916
|
{
|
|
25917
25917
|
default: () => [
|
|
25918
25918
|
renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
|
|
25919
|
-
|
|
25920
|
-
|
|
25921
|
-
|
|
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,
|
|
@@ -25940,8 +25942,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25940
25942
|
},
|
|
25941
25943
|
[
|
|
25942
25944
|
h$1("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
25943
|
-
h$1("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
25944
|
-
h$1("span", { class: "option-utc" }, item.utc)
|
|
25945
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h$1("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
25946
|
+
(item == null ? void 0 : item.utc) ? h$1("span", { class: "option-utc" }, item.utc) : null
|
|
25945
25947
|
]
|
|
25946
25948
|
)
|
|
25947
25949
|
]
|
|
@@ -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
|
{
|
|
@@ -25979,9 +25981,13 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25979
25981
|
}
|
|
25980
25982
|
},
|
|
25981
25983
|
[
|
|
25982
|
-
h$1("span", { class: "option-name" }, item.label),
|
|
25983
|
-
|
|
25984
|
-
|
|
25984
|
+
h$1("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
25985
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h$1(
|
|
25986
|
+
"span",
|
|
25987
|
+
{ class: "option-country" },
|
|
25988
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
25989
|
+
) : null,
|
|
25990
|
+
(item == null ? void 0 : item.utc) ? h$1("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
25985
25991
|
]
|
|
25986
25992
|
)
|
|
25987
25993
|
]
|
package/vue2/index.iife.min.js
CHANGED
|
@@ -33487,9 +33487,11 @@ ${$(r2)}`), n2;
|
|
|
33487
33487
|
{
|
|
33488
33488
|
default: () => [
|
|
33489
33489
|
renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
|
|
33490
|
-
|
|
33491
|
-
|
|
33492
|
-
|
|
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,
|
|
@@ -33511,8 +33513,8 @@ ${$(r2)}`), n2;
|
|
|
33511
33513
|
},
|
|
33512
33514
|
[
|
|
33513
33515
|
h$1("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
33514
|
-
h$1("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
33515
|
-
h$1("span", { class: "option-utc" }, item.utc)
|
|
33516
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h$1("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
33517
|
+
(item == null ? void 0 : item.utc) ? h$1("span", { class: "option-utc" }, item.utc) : null
|
|
33516
33518
|
]
|
|
33517
33519
|
)
|
|
33518
33520
|
]
|
|
@@ -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
|
{
|
|
@@ -33550,9 +33552,13 @@ ${$(r2)}`), n2;
|
|
|
33550
33552
|
}
|
|
33551
33553
|
},
|
|
33552
33554
|
[
|
|
33553
|
-
h$1("span", { class: "option-name" }, item.label),
|
|
33554
|
-
|
|
33555
|
-
|
|
33555
|
+
h$1("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
33556
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h$1(
|
|
33557
|
+
"span",
|
|
33558
|
+
{ class: "option-country" },
|
|
33559
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
33560
|
+
) : null,
|
|
33561
|
+
(item == null ? void 0 : item.utc) ? h$1("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
33556
33562
|
]
|
|
33557
33563
|
)
|
|
33558
33564
|
]
|
package/vue2/index.umd.min.js
CHANGED
|
@@ -25931,9 +25931,11 @@ ${$(r2)}`), n2;
|
|
|
25931
25931
|
{
|
|
25932
25932
|
default: () => [
|
|
25933
25933
|
__WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
|
|
25934
|
-
|
|
25935
|
-
|
|
25936
|
-
|
|
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,
|
|
@@ -25955,8 +25957,8 @@ ${$(r2)}`), n2;
|
|
|
25955
25957
|
},
|
|
25956
25958
|
[
|
|
25957
25959
|
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
25958
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
25959
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item.utc)
|
|
25960
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
25961
|
+
(item == null ? void 0 : item.utc) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item.utc) : null
|
|
25960
25962
|
]
|
|
25961
25963
|
)
|
|
25962
25964
|
]
|
|
@@ -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
|
{
|
|
@@ -25994,9 +25996,13 @@ ${$(r2)}`), n2;
|
|
|
25994
25996
|
}
|
|
25995
25997
|
},
|
|
25996
25998
|
[
|
|
25997
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, item.label),
|
|
25998
|
-
|
|
25999
|
-
|
|
25999
|
+
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
26000
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? __WEBPACK_EXTERNAL_MODULE_vue__.h(
|
|
26001
|
+
"span",
|
|
26002
|
+
{ class: "option-country" },
|
|
26003
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
26004
|
+
) : null,
|
|
26005
|
+
(item == null ? void 0 : item.utc) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
26000
26006
|
]
|
|
26001
26007
|
)
|
|
26002
26008
|
]
|
package/vue3/index.es.min.js
CHANGED
|
@@ -1534,9 +1534,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1534
1534
|
{
|
|
1535
1535
|
default: () => [
|
|
1536
1536
|
renderSlot(slots, "default", { options: props.timezoneOptions }, () => {
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
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,
|
|
@@ -1558,8 +1560,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1558
1560
|
},
|
|
1559
1561
|
[
|
|
1560
1562
|
h("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
1561
|
-
h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
1562
|
-
h("span", { class: "option-utc" }, item.utc)
|
|
1563
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
1564
|
+
(item == null ? void 0 : item.utc) ? h("span", { class: "option-utc" }, item.utc) : null
|
|
1563
1565
|
]
|
|
1564
1566
|
)
|
|
1565
1567
|
]
|
|
@@ -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
|
{
|
|
@@ -1597,9 +1599,13 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1597
1599
|
}
|
|
1598
1600
|
},
|
|
1599
1601
|
[
|
|
1600
|
-
h("span", { class: "option-name" }, item.label),
|
|
1601
|
-
|
|
1602
|
-
|
|
1602
|
+
h("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
1603
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? h(
|
|
1604
|
+
"span",
|
|
1605
|
+
{ class: "option-country" },
|
|
1606
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
1607
|
+
) : null,
|
|
1608
|
+
(item == null ? void 0 : item.utc) ? h("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
1603
1609
|
]
|
|
1604
1610
|
)
|
|
1605
1611
|
]
|
package/vue3/index.iife.min.js
CHANGED
|
@@ -26505,9 +26505,11 @@ ${$(r2)}`), n2;
|
|
|
26505
26505
|
{
|
|
26506
26506
|
default: () => [
|
|
26507
26507
|
__WEBPACK_EXTERNAL_MODULE_vue__.renderSlot(slots, "default", { options: props2.timezoneOptions }, () => {
|
|
26508
|
-
|
|
26509
|
-
|
|
26510
|
-
|
|
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,
|
|
@@ -26529,8 +26531,8 @@ ${$(r2)}`), n2;
|
|
|
26529
26531
|
},
|
|
26530
26532
|
[
|
|
26531
26533
|
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
26532
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
26533
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item.utc)
|
|
26534
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
26535
|
+
(item == null ? void 0 : item.utc) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item.utc) : null
|
|
26534
26536
|
]
|
|
26535
26537
|
)
|
|
26536
26538
|
]
|
|
@@ -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
|
{
|
|
@@ -26568,9 +26570,13 @@ ${$(r2)}`), n2;
|
|
|
26568
26570
|
}
|
|
26569
26571
|
},
|
|
26570
26572
|
[
|
|
26571
|
-
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, item.label),
|
|
26572
|
-
|
|
26573
|
-
|
|
26573
|
+
__WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
26574
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? __WEBPACK_EXTERNAL_MODULE_vue__.h(
|
|
26575
|
+
"span",
|
|
26576
|
+
{ class: "option-country" },
|
|
26577
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
26578
|
+
) : null,
|
|
26579
|
+
(item == null ? void 0 : item.utc) ? __WEBPACK_EXTERNAL_MODULE_vue__.h("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
26574
26580
|
]
|
|
26575
26581
|
)
|
|
26576
26582
|
]
|
package/vue3/index.umd.min.js
CHANGED
|
@@ -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
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
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,
|
|
@@ -1554,8 +1556,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1554
1556
|
},
|
|
1555
1557
|
[
|
|
1556
1558
|
vue.h("span", { class: "option-name" }, `${t("浏览器时区")} ${item.label}`),
|
|
1557
|
-
vue.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`),
|
|
1558
|
-
vue.h("span", { class: "option-utc" }, item.utc)
|
|
1559
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? vue.h("span", { class: "option-country" }, `${item.country}, ${item.abbreviation}`) : null,
|
|
1560
|
+
(item == null ? void 0 : item.utc) ? vue.h("span", { class: "option-utc" }, item.utc) : null
|
|
1559
1561
|
]
|
|
1560
1562
|
)
|
|
1561
1563
|
]
|
|
@@ -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
|
{
|
|
@@ -1593,9 +1595,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1593
1595
|
}
|
|
1594
1596
|
},
|
|
1595
1597
|
[
|
|
1596
|
-
vue.h("span", { class: "option-name" }, item.label),
|
|
1597
|
-
|
|
1598
|
-
|
|
1598
|
+
vue.h("span", { class: "option-name" }, (item == null ? void 0 : item.label) || ""),
|
|
1599
|
+
(item == null ? void 0 : item.country) || (item == null ? void 0 : item.abbreviation) ? vue.h(
|
|
1600
|
+
"span",
|
|
1601
|
+
{ class: "option-country" },
|
|
1602
|
+
`${(item == null ? void 0 : item.country) || ""}, ${(item == null ? void 0 : item.abbreviation) || ""}`
|
|
1603
|
+
) : null,
|
|
1604
|
+
(item == null ? void 0 : item.utc) ? vue.h("span", { class: "option-utc" }, item == null ? void 0 : item.utc) : null
|
|
1599
1605
|
]
|
|
1600
1606
|
)
|
|
1601
1607
|
]
|