@juzhenfe/modules 2.5.8 → 2.6.0

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.
@@ -0,0 +1,3 @@
1
+ import { SCFInstall } from '../../types/type';
2
+ declare const _CityPickerV2: SCFInstall<import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
3
+ export default _CityPickerV2;
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ py: any;
3
+ list: any;
4
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
5
+ [key: string]: any;
6
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ py: any;
8
+ list: any;
9
+ }>> & {
10
+ onChange?: (...args: any[]) => any;
11
+ }, {
12
+ py: any;
13
+ list: any;
14
+ }>;
15
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ visible: {
3
+ type: BooleanConstructor;
4
+ };
5
+ width: {
6
+ default: string;
7
+ };
8
+ customClass: {
9
+ default: string;
10
+ };
11
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ [key: string]: any;
13
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ visible: {
15
+ type: BooleanConstructor;
16
+ };
17
+ width: {
18
+ default: string;
19
+ };
20
+ customClass: {
21
+ default: string;
22
+ };
23
+ }>>, {
24
+ visible: boolean;
25
+ width: string;
26
+ customClass: string;
27
+ }>;
28
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: any;
3
+ level: {
4
+ default: number;
5
+ };
6
+ py: any;
7
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "value-change")[], "update:modelValue" | "change" | "value-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ modelValue: any;
11
+ level: {
12
+ default: number;
13
+ };
14
+ py: any;
15
+ }>> & {
16
+ "onUpdate:modelValue"?: (...args: any[]) => any;
17
+ onChange?: (...args: any[]) => any;
18
+ "onValue-change"?: (...args: any[]) => any;
19
+ }, {
20
+ modelValue: any;
21
+ level: number;
22
+ py: any;
23
+ }>;
24
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export type CityItem = {
2
+ label: string;
3
+ value: string;
4
+ children?: CityItem[];
5
+ [key: string]: any;
6
+ };
7
+ declare const useCity: () => Promise<CityItem[]>;
8
+ export { useCity };
@@ -8,13 +8,14 @@ import Editor from '../editor';
8
8
  import LongInput from '../long-input';
9
9
  import Images from '../images';
10
10
  import CityPicker from '../city-picker';
11
+ import CityPickerV2 from '../city-picker-v2';
11
12
  import AMap from '../a-map';
12
13
  import FileUpload from '../file-upload';
13
14
  import Utils from '../utils';
14
15
  import Charts from '../charts';
15
16
  import Cascader from '../cascader';
16
17
  export declare const install: (app: App, options: InstallOptions) => void;
17
- export { Upload, Editor, LongInput, Images, CityPicker, AMap, FileUpload, Utils, Charts, Cascader };
18
+ export { Upload, Editor, LongInput, Images, CityPicker, AMap, FileUpload, Utils, Charts, Cascader, CityPickerV2 };
18
19
  declare const _default: {
19
20
  install: (app: App<any>, options: InstallOptions) => void;
20
21
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzhenfe/modules",
3
- "version": "2.5.8",
3
+ "version": "2.6.0",
4
4
  "main": "dist/index.min.js",
5
5
  "types": "dist/packages/modules/index.d.ts",
6
6
  "scripts": {