@blueking/date-picker 2.0.0-beta.46 → 2.0.0-beta.47

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": "2.0.0-beta.46",
3
+ "version": "2.0.0-beta.47",
4
4
  "description": "蓝鲸监控平台日期时间选择",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  needTimezone: boolean;
9
9
  enableFormatClick: boolean;
10
10
  version: string;
11
+ id: string;
11
12
  }>, {
12
13
  handleHidePanel: () => void;
13
14
  handleShowPanel: () => void;
@@ -25,6 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
26
  needTimezone: boolean;
26
27
  enableFormatClick: boolean;
27
28
  version: string;
29
+ id: string;
28
30
  }>>> & {
29
31
  "onUpdate:modelValue"?: ((value: DateValue | undefined, info: {
30
32
  dayjs: dayjs.Dayjs | null;
@@ -33,6 +35,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
33
35
  "onUpdate:timezone"?: ((value: string, timezoneInfo: ITimezoneItem) => any) | undefined;
34
36
  "onUpdate:format"?: ((value: string) => any) | undefined;
35
37
  }, {
38
+ id: string;
36
39
  format: string;
37
40
  commonUseList: {
38
41
  id: DateValue;
@@ -34,4 +34,5 @@ export interface IDatePickerProps {
34
34
  minDuration?: number;
35
35
  maxDuration?: number;
36
36
  enableFormatClick?: boolean;
37
+ id?: string;
37
38
  }
@@ -39689,7 +39689,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39689
39689
  version: { default: "1.0" },
39690
39690
  minDuration: {},
39691
39691
  maxDuration: {},
39692
- enableFormatClick: { type: Boolean, default: true }
39692
+ enableFormatClick: { type: Boolean, default: true },
39693
+ id: { default: "key" }
39693
39694
  },
39694
39695
  emits: ["update:modelValue", "update:timezone", "update:format"],
39695
39696
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -39879,8 +39880,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39879
39880
  createVNode(unref(__webpack_exports__default$r), { class: "date-icon-left" })
39880
39881
  ]),
39881
39882
  createVNode(unref(__webpack_exports__default$9), {
39882
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
39883
39883
  arrow: false,
39884
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
39884
39885
  "is-show": datePanelShow.value,
39885
39886
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
39886
39887
  placement: "bottom-start",
@@ -39939,7 +39940,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39939
39940
  }),
39940
39941
  _: 1
39941
39942
  /* STABLE */
39942
- }, 8, ["is-show"]),
39943
+ }, 8, ["ext-cls", "is-show"]),
39943
39944
  createElementVNode("span", {
39944
39945
  class: "date-icon",
39945
39946
  onClick: handleClickRight
@@ -40040,6 +40041,7 @@ const vue2 = {
40040
40041
  minDuration: props2.minDuration,
40041
40042
  maxDuration: props2.maxDuration,
40042
40043
  enableFormatClick: props2.enableFormatClick,
40044
+ id: props2.id,
40043
40045
  "onUpdate:modelValue"() {
40044
40046
  emit("update:modelValue", ...arguments);
40045
40047
  emit("change", ...arguments);
@@ -46718,7 +46718,8 @@ ${$(r2)}`), n2;
46718
46718
  version: { default: "1.0" },
46719
46719
  minDuration: {},
46720
46720
  maxDuration: {},
46721
- enableFormatClick: { type: Boolean, default: true }
46721
+ enableFormatClick: { type: Boolean, default: true },
46722
+ id: { default: "key" }
46722
46723
  },
46723
46724
  emits: ["update:modelValue", "update:timezone", "update:format"],
46724
46725
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -46908,8 +46909,8 @@ ${$(r2)}`), n2;
46908
46909
  createVNode(unref(__webpack_exports__default$r), { class: "date-icon-left" })
46909
46910
  ]),
46910
46911
  createVNode(unref(__webpack_exports__default$9), {
46911
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
46912
46912
  arrow: false,
46913
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
46913
46914
  "is-show": datePanelShow.value,
46914
46915
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
46915
46916
  placement: "bottom-start",
@@ -46968,7 +46969,7 @@ ${$(r2)}`), n2;
46968
46969
  }),
46969
46970
  _: 1
46970
46971
  /* STABLE */
46971
- }, 8, ["is-show"]),
46972
+ }, 8, ["ext-cls", "is-show"]),
46972
46973
  createBaseVNode("span", {
46973
46974
  class: "date-icon",
46974
46975
  onClick: handleClickRight
@@ -47069,6 +47070,7 @@ ${$(r2)}`), n2;
47069
47070
  minDuration: props2.minDuration,
47070
47071
  maxDuration: props2.maxDuration,
47071
47072
  enableFormatClick: props2.enableFormatClick,
47073
+ id: props2.id,
47072
47074
  "onUpdate:modelValue"() {
47073
47075
  emit2("update:modelValue", ...arguments);
47074
47076
  emit2("change", ...arguments);
@@ -39704,7 +39704,8 @@ ${$(r2)}`), n2;
39704
39704
  version: { default: "1.0" },
39705
39705
  minDuration: {},
39706
39706
  maxDuration: {},
39707
- enableFormatClick: { type: Boolean, default: true }
39707
+ enableFormatClick: { type: Boolean, default: true },
39708
+ id: { default: "key" }
39708
39709
  },
39709
39710
  emits: ["update:modelValue", "update:timezone", "update:format"],
39710
39711
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -39894,8 +39895,8 @@ ${$(r2)}`), n2;
39894
39895
  __WEBPACK_EXTERNAL_MODULE_vue__.createVNode(__WEBPACK_EXTERNAL_MODULE_vue__.unref(__webpack_exports__default$r), { class: "date-icon-left" })
39895
39896
  ]),
39896
39897
  __WEBPACK_EXTERNAL_MODULE_vue__.createVNode(__WEBPACK_EXTERNAL_MODULE_vue__.unref(__webpack_exports__default$9), {
39897
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
39898
39898
  arrow: false,
39899
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
39899
39900
  "is-show": datePanelShow.value,
39900
39901
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
39901
39902
  placement: "bottom-start",
@@ -39954,7 +39955,7 @@ ${$(r2)}`), n2;
39954
39955
  }),
39955
39956
  _: 1
39956
39957
  /* STABLE */
39957
- }, 8, ["is-show"]),
39958
+ }, 8, ["ext-cls", "is-show"]),
39958
39959
  __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode("span", {
39959
39960
  class: "date-icon",
39960
39961
  onClick: handleClickRight
@@ -40055,6 +40056,7 @@ ${$(r2)}`), n2;
40055
40056
  minDuration: props2.minDuration,
40056
40057
  maxDuration: props2.maxDuration,
40057
40058
  enableFormatClick: props2.enableFormatClick,
40059
+ id: props2.id,
40058
40060
  "onUpdate:modelValue"() {
40059
40061
  emit("update:modelValue", ...arguments);
40060
40062
  emit("change", ...arguments);
@@ -4163,7 +4163,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4163
4163
  version: { default: "1.0" },
4164
4164
  minDuration: {},
4165
4165
  maxDuration: {},
4166
- enableFormatClick: { type: Boolean, default: true }
4166
+ enableFormatClick: { type: Boolean, default: true },
4167
+ id: { default: "key" }
4167
4168
  },
4168
4169
  emits: ["update:modelValue", "update:timezone", "update:format"],
4169
4170
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -4353,8 +4354,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4353
4354
  createVNode(unref(AngleLeft), { class: "date-icon-left" })
4354
4355
  ]),
4355
4356
  createVNode(unref(Popover), {
4356
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
4357
4357
  arrow: false,
4358
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
4358
4359
  "is-show": datePanelShow.value,
4359
4360
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
4360
4361
  placement: "bottom-start",
@@ -4413,7 +4414,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4413
4414
  }),
4414
4415
  _: 1
4415
4416
  /* STABLE */
4416
- }, 8, ["is-show"]),
4417
+ }, 8, ["ext-cls", "is-show"]),
4417
4418
  createElementVNode("span", {
4418
4419
  class: "date-icon",
4419
4420
  onClick: handleClickRight
@@ -40310,7 +40310,8 @@ ${$(r2)}`), n2;
40310
40310
  version: { default: "1.0" },
40311
40311
  minDuration: {},
40312
40312
  maxDuration: {},
40313
- enableFormatClick: { type: Boolean, default: true }
40313
+ enableFormatClick: { type: Boolean, default: true },
40314
+ id: { default: "key" }
40314
40315
  },
40315
40316
  emits: ["update:modelValue", "update:timezone", "update:format"],
40316
40317
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -40500,8 +40501,8 @@ ${$(r2)}`), n2;
40500
40501
  __WEBPACK_EXTERNAL_MODULE_vue__.createVNode(__WEBPACK_EXTERNAL_MODULE_vue__.unref(__webpack_exports__default$r), { class: "date-icon-left" })
40501
40502
  ]),
40502
40503
  __WEBPACK_EXTERNAL_MODULE_vue__.createVNode(__WEBPACK_EXTERNAL_MODULE_vue__.unref(__webpack_exports__default$9), {
40503
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
40504
40504
  arrow: false,
40505
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
40505
40506
  "is-show": datePanelShow.value,
40506
40507
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
40507
40508
  placement: "bottom-start",
@@ -40560,7 +40561,7 @@ ${$(r2)}`), n2;
40560
40561
  }),
40561
40562
  _: 1
40562
40563
  /* STABLE */
40563
- }, 8, ["is-show"]),
40564
+ }, 8, ["ext-cls", "is-show"]),
40564
40565
  __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode("span", {
40565
40566
  class: "date-icon",
40566
40567
  onClick: handleClickRight
@@ -4159,7 +4159,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4159
4159
  version: { default: "1.0" },
4160
4160
  minDuration: {},
4161
4161
  maxDuration: {},
4162
- enableFormatClick: { type: Boolean, default: true }
4162
+ enableFormatClick: { type: Boolean, default: true },
4163
+ id: { default: "key" }
4163
4164
  },
4164
4165
  emits: ["update:modelValue", "update:timezone", "update:format"],
4165
4166
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -4349,8 +4350,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4349
4350
  vue.createVNode(vue.unref(icon.AngleLeft), { class: "date-icon-left" })
4350
4351
  ]),
4351
4352
  vue.createVNode(vue.unref(bkuiVue.Popover), {
4352
- "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
4353
4353
  arrow: false,
4354
+ "ext-cls": `bk-date-picker-popover __bk-date-picker-popover__ __bk-date-picker-popover__${_ctx.id}`,
4354
4355
  "is-show": datePanelShow.value,
4355
4356
  offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
4356
4357
  placement: "bottom-start",
@@ -4409,7 +4410,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4409
4410
  }),
4410
4411
  _: 1
4411
4412
  /* STABLE */
4412
- }, 8, ["is-show"]),
4413
+ }, 8, ["ext-cls", "is-show"]),
4413
4414
  vue.createElementVNode("span", {
4414
4415
  class: "date-icon",
4415
4416
  onClick: handleClickRight