@kengic/vue 0.23.8 → 0.23.10
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.
| @@ -18,8 +18,12 @@ export interface IUseKgTable { | |
| 18 18 | 
             
                getVarGridDetail(param: {
         | 
| 19 19 | 
             
                    varName: string | null | undefined;
         | 
| 20 20 | 
             
                }): VarGridDetail | null;
         | 
| 21 | 
            -
                /**  | 
| 21 | 
            +
                /** @deprecated 已弃用, 请使用 {@link IUseKgTable.idKey}. */
         | 
| 22 22 | 
             
                id: ComputedRef<string>;
         | 
| 23 | 
            +
                /**
         | 
| 24 | 
            +
                 * 作为主键的属性名.
         | 
| 25 | 
            +
                 */
         | 
| 26 | 
            +
                idKey: ComputedRef<string>;
         | 
| 23 27 | 
             
                /** 是否自动查询. */
         | 
| 24 28 | 
             
                isAutoRequest: ComputedRef<boolean>;
         | 
| 25 29 | 
             
                /** 是否支持多选. */
         | 
| @@ -115,6 +115,17 @@ export declare type IKgOption = { | |
| 115 115 | 
             
                            isOn?: boolean;
         | 
| 116 116 | 
             
                        };
         | 
| 117 117 | 
             
                    };
         | 
| 118 | 
            +
                    Info?: {
         | 
| 119 | 
            +
                        /**
         | 
| 120 | 
            +
                         * 定位勾选的行.
         | 
| 121 | 
            +
                         */
         | 
| 122 | 
            +
                        locateSelectedRows: {
         | 
| 123 | 
            +
                            /**
         | 
| 124 | 
            +
                             * @default false
         | 
| 125 | 
            +
                             */
         | 
| 126 | 
            +
                            isOn?: boolean;
         | 
| 127 | 
            +
                        };
         | 
| 128 | 
            +
                    };
         | 
| 118 129 | 
             
                };
         | 
| 119 130 | 
             
                /** 仓库选择. */
         | 
| 120 131 | 
             
                KgWarehouse?: {
         | 
| @@ -62,4 +62,8 @@ declare class KgLogger { | |
| 62 62 | 
             
                 */
         | 
| 63 63 | 
             
                static debugDDA(formID: string | null | undefined, component: string | null | undefined, method: string | null | undefined, message: string | null | undefined, args?: Record<string, any>, collapsed?: boolean): void;
         | 
| 64 64 | 
             
            }
         | 
| 65 | 
            -
             | 
| 65 | 
            +
            declare const ____DEBUG____: typeof KgLogger.debug;
         | 
| 66 | 
            +
            declare const ____INFO_____: typeof KgLogger.info;
         | 
| 67 | 
            +
            declare const ____WARN_____: typeof KgLogger.warn;
         | 
| 68 | 
            +
            declare const ____ERROR____: typeof KgLogger.error;
         | 
| 69 | 
            +
            export { KgLogger, ____DEBUG____, ____INFO_____, ____WARN_____, ____ERROR____ };
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
                "name": "@kengic/vue",
         | 
| 3 | 
            -
                "version": "0.23. | 
| 3 | 
            +
                "version": "0.23.10",
         | 
| 4 4 | 
             
                "scripts": {
         | 
| 5 5 | 
             
                    "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
         | 
| 6 6 | 
             
                    "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
         |