@94ai/nf-double-half-year 3.3.25 → 3.3.36

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/lib/index.d.ts CHANGED
@@ -617,5 +617,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
617
617
  default: boolean;
618
618
  };
619
619
  };
620
- } & PluginObject<undefined>;
620
+ } & (new () => {
621
+ $scopedSlots: {
622
+ "range-separator"?(_: {
623
+ slot: string;
624
+ }): any;
625
+ };
626
+ }) & PluginObject<undefined>;
621
627
  export default _default;
@@ -504,7 +504,13 @@ var _sfc_render = function render2() {
504
504
  }
505
505
  },
506
506
  slot: "reference"
507
- }), _c("div", {
507
+ }, [_vm._t("range-separator", function() {
508
+ return [_c("span", {
509
+ staticClass: "iconfont icon-dao"
510
+ })];
511
+ }, {
512
+ "slot": "range-separator"
513
+ })], 2), _c("div", {
508
514
  staticClass: "nf-half-year-range-picker__content"
509
515
  }, [_c("half-year-picker-item", {
510
516
  attrs: {
@@ -502,7 +502,13 @@ var _sfc_render = function render2() {
502
502
  }
503
503
  },
504
504
  slot: "reference"
505
- }), _c("div", {
505
+ }, [_vm._t("range-separator", function() {
506
+ return [_c("span", {
507
+ staticClass: "iconfont icon-dao"
508
+ })];
509
+ }, {
510
+ "slot": "range-separator"
511
+ })], 2), _c("div", {
506
512
  staticClass: "nf-half-year-range-picker__content"
507
513
  }, [_c("half-year-picker-item", {
508
514
  attrs: {
@@ -1,5 +1,5 @@
1
1
  import { HalfYearItem } from './types';
2
- declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  value?: string[] | undefined;
4
4
  size?: "small" | "mini" | "medium" | "large" | undefined;
5
5
  rangeSeparator?: string | undefined;
@@ -130,6 +130,10 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
130
130
  closeDelay: number;
131
131
  tabindex: number;
132
132
  appendToBody: boolean;
133
+ }>, {
134
+ "range-separator"?(_: {
135
+ slot: string;
136
+ }): any;
133
137
  }>;
134
138
  export default _default;
135
139
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -149,3 +153,8 @@ type __VLS_WithDefaults<P, D> = {
149
153
  type __VLS_Prettify<T> = {
150
154
  [K in keyof T]: T[K];
151
155
  } & {};
156
+ type __VLS_WithTemplateSlots<T, S> = T & {
157
+ new (): {
158
+ $scopedSlots: S;
159
+ };
160
+ };
@@ -37,6 +37,9 @@
37
37
  :size="size"
38
38
  :start-placeholder="startPlaceholder"
39
39
  :end-placeholder="endPlaceholder" >
40
+ <slot slot="range-separator" name="range-separator">
41
+ <span class="iconfont icon-dao" />
42
+ </slot>
40
43
  </el-date-picker>
41
44
  <div class="nf-half-year-range-picker__content">
42
45
  <half-year-picker-item :year.sync="startYear"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-double-half-year",
3
- "version": "3.3.25",
3
+ "version": "3.3.36",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,8 +14,8 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^3.3.25",
18
- "@94ai/nf-theme-chalk": "^3.3.25",
17
+ "@94ai/common-utils": "^3.3.36",
18
+ "@94ai/nf-theme-chalk": "^3.3.36",
19
19
  "vue-demi": "^0.14.5"
20
20
  },
21
21
  "peerDependenciesMeta": {
@@ -31,5 +31,5 @@
31
31
  "types": "lib/index.d.ts",
32
32
  "main": "lib/nf-double-half-year.cjs.js",
33
33
  "module": "lib/nf-double-half-year.esm-bundler.js",
34
- "gitHead": "098b43c351cb8caed4fac2c7950bd12cb4585ebb"
34
+ "gitHead": "387dd5ef933c3bb6eb73c7a1c32ed1c93424e4d9"
35
35
  }