@kengic/vue 0.16.2-beta.0 โ 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +583 -579
- package/package.json +6 -6
- package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -24
- package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -31
- package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +0 -8
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -30
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -37
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -8
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -52
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/index.d.ts +0 -6
- package/dist/src/apis/WMS/index.d.ts +0 -2
- package/dist/src/apis/WMS/models.d.ts +0 -726
- package/dist/src/apis/api.d.ts +0 -1
- package/dist/src/apis/def.d.ts +0 -1
- package/dist/src/apis/index.d.ts +0 -2
- package/dist/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +0 -6
- package/dist/src/assets/icons/material-symbols.save-outline-rounded.d.ts +0 -6
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
- package/dist/src/components/KgAppSelect/index.d.ts +0 -3
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -19
- package/dist/src/components/KgAppSelect/index.store.d.ts +0 -59
- package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
- package/dist/src/components/KgButton/KgButton.d.ts +0 -34
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -39
- package/dist/src/components/KgButton/index.d.ts +0 -62
- package/dist/src/components/KgButton/index.hooks.d.ts +0 -61
- package/dist/src/components/KgButton/index.store.d.ts +0 -89
- package/dist/src/components/KgForm/KgForm.d.ts +0 -414
- package/dist/src/components/KgForm/index.d.ts +0 -604
- package/dist/src/components/KgForm/index.hooks.d.ts +0 -34
- package/dist/src/components/KgForm/index.store.d.ts +0 -83
- package/dist/src/components/KgForm/index.vm.d.ts +0 -9
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -95
- package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +0 -17
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -17
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -32
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -26
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -94
- package/dist/src/components/KgForm.Item/index.d.ts +0 -2
- package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -116
- package/dist/src/components/KgModal/KgModal.d.ts +0 -395
- package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
- package/dist/src/components/KgModal/index.d.ts +0 -2
- package/dist/src/components/KgModal/index.vm.d.ts +0 -194
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
- package/dist/src/components/KgProgressA/index.d.ts +0 -1
- package/dist/src/components/KgResizable/KgResizable.d.ts +0 -143
- package/dist/src/components/KgResizable/index.d.ts +0 -1
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -42
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -39
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -22
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -14
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -24
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -7
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -31
- package/dist/src/components/KgSearch/index.d.ts +0 -3
- package/dist/src/components/KgSearch/index.hooks.d.ts +0 -41
- package/dist/src/components/KgSearch/index.store.d.ts +0 -86
- package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -41
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +0 -20
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -28
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
- package/dist/src/components/KgSubmit/index.d.ts +0 -4
- package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -63
- package/dist/src/components/KgSubmit/index.store.d.ts +0 -129
- package/dist/src/components/KgSubmit/index.vm.d.ts +0 -10
- package/dist/src/components/KgTable/KgTable.d.ts +0 -39
- package/dist/src/components/KgTable/KgTable.hooks.d.ts +0 -43
- package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +0 -61
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -58
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -22
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -14
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -22
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -26
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -24
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -23
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -32
- package/dist/src/components/KgTable/index.d.ts +0 -4
- package/dist/src/components/KgTable/index.hooks.d.ts +0 -68
- package/dist/src/components/KgTable/index.store.d.ts +0 -153
- package/dist/src/components/KgTable/index.vm.d.ts +0 -146
- package/dist/src/components/KgVar/KgVar.d.ts +0 -28
- package/dist/src/components/KgVar/index.d.ts +0 -4
- package/dist/src/components/KgVar/index.hooks.d.ts +0 -88
- package/dist/src/components/KgVar/index.store.d.ts +0 -315
- package/dist/src/components/KgVar/index.store.service.d.ts +0 -21
- package/dist/src/components/KgVar/index.vm.d.ts +0 -43
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -24
- package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -17
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -25
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -29
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -22
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -25
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -22
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -33
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -3
- package/dist/src/components/KgVarConfig/index.d.ts +0 -2
- package/dist/src/components/KgVarConfig/index.store.d.ts +0 -20
- package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -3
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -38
- package/dist/src/components/KgWarehouse/index.d.ts +0 -4
- package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -22
- package/dist/src/components/KgWarehouse/index.store.d.ts +0 -53
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
- package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -16
- package/dist/src/components/util.d.ts +0 -14
- package/dist/src/config/index.d.ts +0 -3
- package/dist/src/config/index.hooks.d.ts +0 -43
- package/dist/src/config/index.store.d.ts +0 -184
- package/dist/src/config/setup.d.ts +0 -43
- package/dist/src/consts/i18n/en.d.ts +0 -194
- package/dist/src/consts/i18n/index.d.ts +0 -2
- package/dist/src/consts/i18n/zh_CN.d.ts +0 -193
- package/dist/src/consts/index.d.ts +0 -249
- package/dist/src/consts/index.vm.d.ts +0 -45
- package/dist/src/consts/injection-keys.const.d.ts +0 -9
- package/dist/src/helpers/ant-design-vue.d.ts +0 -316
- package/dist/src/helpers/tsx.helper.d.ts +0 -13
- package/dist/src/index.d.ts +0 -8
- package/dist/src/services/http-client.d.ts +0 -46
- package/dist/src/services/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/kg-auth.util.d.ts +0 -14
- package/dist/src/utils/kg-dom.util.d.ts +0 -12
- package/dist/src/utils/kg-logger.util.d.ts +0 -67
- package/dist/src/utils/kg-route.util.d.ts +0 -43
- package/dist/src/utils/kg-var.util.d.ts +0 -36
- package/dist/src/utils/kg.util.d.ts +0 -114
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgVarConfig.Modal.Var.CreateModal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
-
/** ็กฎๅฎ. */
|
7
|
-
onKgOk: PropType<(args: {
|
8
|
-
isAllForm: boolean;
|
9
|
-
isAllLanguage: boolean;
|
10
|
-
}) => void>;
|
11
|
-
};
|
12
|
-
export declare type IKgVarConfigModalVarCreateModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
13
|
-
declare const _default: import("vue").DefineComponent<{
|
14
|
-
visible: PropType<boolean>;
|
15
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
16
|
-
/** ็กฎๅฎ. */
|
17
|
-
onKgOk: PropType<(args: {
|
18
|
-
isAllForm: boolean;
|
19
|
-
isAllLanguage: boolean;
|
20
|
-
}) => void>;
|
21
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
22
|
-
visible: PropType<boolean>;
|
23
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
24
|
-
/** ็กฎๅฎ. */
|
25
|
-
onKgOk: PropType<(args: {
|
26
|
-
isAllForm: boolean;
|
27
|
-
isAllLanguage: boolean;
|
28
|
-
}) => void>;
|
29
|
-
}>> & {
|
30
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
31
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
32
|
-
}, {}>;
|
33
|
-
export default _default;
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import './KgVarConfig.Modal.Var.VarCatalog.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3
|
-
export default _default;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import './KgVarConfig.Modal.Var.Vars.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3
|
-
export default _default;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import './KgVarConfig.Modal.Var.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3
|
-
export default _default;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarCatalog, VarContext } from '../../apis/WMS/models';
|
3
|
-
export interface IKgVarConfigState {
|
4
|
-
/** ๅ้. */
|
5
|
-
variable: {
|
6
|
-
/** ๅฝๅ้ไธญ็ๅ้. */
|
7
|
-
selectedVar: VarContext | null;
|
8
|
-
/** ๅฝๅ้ไธญ็ๅ้ๅซๅ. */
|
9
|
-
selectedVarCatalog: VarCatalog | null;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
export declare type IKgVarConfigStoreDefinition = StoreDefinition<'KgVarConfig', IKgVarConfigState, {
|
13
|
-
getSelectedVar: VarContext | null;
|
14
|
-
getSelectedVarCatalog: VarCatalog | null;
|
15
|
-
}, {
|
16
|
-
setSelectedVar(variable: VarContext | null): void;
|
17
|
-
setSelectedVarCatalog(variable: VarCatalog | null): void;
|
18
|
-
}>;
|
19
|
-
export declare type IKgVarConfigStore = ReturnType<IKgVarConfigStoreDefinition>;
|
20
|
-
export declare const useKgVarConfigStore: () => IKgVarConfigStoreDefinition;
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgWarehouse.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* ๆฏๅฆ้่.
|
6
|
-
* ่ฏฅ็ปไปถ้่ฆๅจไธๅ็ๅฐๆนไฝฟ็จ,
|
7
|
-
* ๅจๆ็ๅฐๆน้่ฆๆพ็คบๅฝๅ้ๆฉ็ไปๅบ, ๅนถไธๅฏไปฅ้่ฟ็นๅปๆๅผๅผน็ช, ๆฏๅฆ้กถ้จๅฏผ่ชๆ ,
|
8
|
-
* ๅจๆ็ๅฐๆน, ไธ้่ฆๆพ็คบ่ฏฅ็ปไปถ, ็จๆท้่ฟๅๆฐๆงๅถๆฏๅฆๆๅผๅผน็ช, ๆฏๅฆ็ปๅฝ้กต,
|
9
|
-
* @default undefined
|
10
|
-
*/
|
11
|
-
kgInvisible: PropType<boolean>;
|
12
|
-
onKgOk: PropType<() => void>;
|
13
|
-
};
|
14
|
-
export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
15
|
-
declare const _default: import("vue").DefineComponent<{
|
16
|
-
/**
|
17
|
-
* ๆฏๅฆ้่.
|
18
|
-
* ่ฏฅ็ปไปถ้่ฆๅจไธๅ็ๅฐๆนไฝฟ็จ,
|
19
|
-
* ๅจๆ็ๅฐๆน้่ฆๆพ็คบๅฝๅ้ๆฉ็ไปๅบ, ๅนถไธๅฏไปฅ้่ฟ็นๅปๆๅผๅผน็ช, ๆฏๅฆ้กถ้จๅฏผ่ชๆ ,
|
20
|
-
* ๅจๆ็ๅฐๆน, ไธ้่ฆๆพ็คบ่ฏฅ็ปไปถ, ็จๆท้่ฟๅๆฐๆงๅถๆฏๅฆๆๅผๅผน็ช, ๆฏๅฆ็ปๅฝ้กต,
|
21
|
-
* @default undefined
|
22
|
-
*/
|
23
|
-
kgInvisible: PropType<boolean>;
|
24
|
-
onKgOk: PropType<() => void>;
|
25
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
26
|
-
/**
|
27
|
-
* ๆฏๅฆ้่.
|
28
|
-
* ่ฏฅ็ปไปถ้่ฆๅจไธๅ็ๅฐๆนไฝฟ็จ,
|
29
|
-
* ๅจๆ็ๅฐๆน้่ฆๆพ็คบๅฝๅ้ๆฉ็ไปๅบ, ๅนถไธๅฏไปฅ้่ฟ็นๅปๆๅผๅผน็ช, ๆฏๅฆ้กถ้จๅฏผ่ชๆ ,
|
30
|
-
* ๅจๆ็ๅฐๆน, ไธ้่ฆๆพ็คบ่ฏฅ็ปไปถ, ็จๆท้่ฟๅๆฐๆงๅถๆฏๅฆๆๅผๅผน็ช, ๆฏๅฆ็ปๅฝ้กต,
|
31
|
-
* @default undefined
|
32
|
-
*/
|
33
|
-
kgInvisible: PropType<boolean>;
|
34
|
-
onKgOk: PropType<() => void>;
|
35
|
-
}>> & {
|
36
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
37
|
-
}, {}>;
|
38
|
-
export default _default;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Pinia } from 'pinia';
|
2
|
-
import { type Router } from 'vue-router';
|
3
|
-
/**
|
4
|
-
* ๅฆๆๅฏ็จไบไปๅบ้ๆฉๅ่ฝ, ๅๅฟ
้กป้ๆฉไปๅบ, ๅฆๅๆ ๆณ่ฟๅ
ฅ้กต้ข.
|
5
|
-
* @param router
|
6
|
-
* @param pinia
|
7
|
-
*/
|
8
|
-
export declare function createKgWarehouseGuard(router: Router, pinia: Pinia): void;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { Pinia } from 'pinia';
|
2
|
-
import { ComputedRef } from 'vue';
|
3
|
-
import { WhDTO } from '../../apis/WMS/models';
|
4
|
-
import { IRemoveEventListenerHandler } from '../../consts';
|
5
|
-
import { IKgWarehouseMountedCb, IKgWarehouseStore } from './index.store';
|
6
|
-
export declare type IUseKgWarehouse = {
|
7
|
-
store: IKgWarehouseStore;
|
8
|
-
visible: ComputedRef<boolean>;
|
9
|
-
/** ๅฝๅไปๅบ. */
|
10
|
-
warehouse: ComputedRef<WhDTO | null>;
|
11
|
-
/**
|
12
|
-
* ็ๅฌไบไปถ: ็ปไปถๅ ่ฝฝๅฎๆ.
|
13
|
-
* @param cb ๅ่ฐๅฝๆฐ.
|
14
|
-
* @param once ๆฏๅฆๅชไผ่งฆๅไธๆฌก. ้ป่ฎคไธบ undefined.
|
15
|
-
*/
|
16
|
-
onMounted(cb: IKgWarehouseMountedCb, once?: boolean): IRemoveEventListenerHandler;
|
17
|
-
};
|
18
|
-
/**
|
19
|
-
* ๅจๆไบๅฐๆน่ฐ็จๆถ(ๆฏๅฆๅจ่ทฏ็ฑๅฎๅซไธญ), pinia ๅฐๆช่ฎพ็ฝฎ, ๆญคๆถ้่ฆๆๅจไผ ๅ
ฅ pinia ๅฎไพ.
|
20
|
-
* @param pinia
|
21
|
-
*/
|
22
|
-
export declare function useKgWarehouse(pinia?: Pinia): IUseKgWarehouse;
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { Pinia, StoreDefinition } from 'pinia';
|
2
|
-
import { WhDTO } from '../../apis/WMS/models';
|
3
|
-
import { IKgEventCb } from '../../consts';
|
4
|
-
/**
|
5
|
-
* ไบไปถ็ฑปๅ.
|
6
|
-
* 'mounted': ็ปไปถๅ ่ฝฝๅฎๆ
|
7
|
-
*/
|
8
|
-
export declare type IKgWarehouseEvent = 'mounted';
|
9
|
-
/** ไบไปถ็ๅฌๅฝๆฐ: mounted. */
|
10
|
-
export declare type IKgWarehouseMountedCb = (() => void) & IKgEventCb;
|
11
|
-
export declare type IKgWarehouseCb = IKgWarehouseMountedCb;
|
12
|
-
export interface IKgWarehouseState {
|
13
|
-
/** ๅผน็ชๆฏๅฆๆพ็คบ. */
|
14
|
-
visible: boolean;
|
15
|
-
warehouse: WhDTO | null;
|
16
|
-
mountedListeners: Array<IKgWarehouseMountedCb>;
|
17
|
-
}
|
18
|
-
export declare type IKgWarehouseStoreDefinition = StoreDefinition<'KgWarehouse', IKgWarehouseState, {
|
19
|
-
getVisible: boolean;
|
20
|
-
/** ่ทๅๅฝๅไปๅบ. */
|
21
|
-
getWarehouse: WhDTO | null;
|
22
|
-
}, {
|
23
|
-
/**
|
24
|
-
* ๆณจๅไบไปถ็ๅฌ.
|
25
|
-
* @param event ไบไปถๅ็งฐ.
|
26
|
-
* @param cb ๅ่ฐๅฝๆฐ.
|
27
|
-
*/
|
28
|
-
addEventListener(event: IKgWarehouseEvent, cb: IKgWarehouseCb): void;
|
29
|
-
/**
|
30
|
-
* ้่ฎขไบไปถ็ๅฌ.
|
31
|
-
* @param event ไบไปถๅ็งฐ.
|
32
|
-
* @param cb ๅ่ฐๅฝๆฐ.
|
33
|
-
*/
|
34
|
-
removeEventListener(event: IKgWarehouseEvent, cb?: IKgWarehouseCb): void;
|
35
|
-
/**
|
36
|
-
* ่งฆๅไบไปถ.
|
37
|
-
* @param event ไบไปถๅ็งฐ.
|
38
|
-
* @param args ๆฐๆฎ.
|
39
|
-
*/
|
40
|
-
emit(event: IKgWarehouseEvent, args?: any | null): void;
|
41
|
-
/**
|
42
|
-
* ๆพ็คบๆ่
้่ๅผน็ช.
|
43
|
-
* @param visible ๆฏๅฆๆพ็คบ.
|
44
|
-
*/
|
45
|
-
setVisible(visible: boolean): void;
|
46
|
-
/**
|
47
|
-
* ่ฎพ็ฝฎ้ๆฉ็ไปๅบ.
|
48
|
-
* @param warehouse ้ๆฉ็ไปๅบ.
|
49
|
-
*/
|
50
|
-
setWarehouse(warehouse?: WhDTO | null): void;
|
51
|
-
}>;
|
52
|
-
export declare type IKgWarehouseStore = ReturnType<IKgWarehouseStoreDefinition>;
|
53
|
-
export declare const useKgWarehouseStore: (_pinia?: Pinia) => IKgWarehouseStoreDefinition;
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgYesOrNo.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
-
* ๅธๅฐๆฐๆฎ.
|
6
|
-
* @default undefined
|
7
|
-
*/
|
8
|
-
kgValue: {
|
9
|
-
type: PropType<boolean>;
|
10
|
-
default: undefined;
|
11
|
-
};
|
12
|
-
/**
|
13
|
-
* ๆฏๅฆๅฐ null/undefined ๅฝๆ false.
|
14
|
-
* @default false
|
15
|
-
*/
|
16
|
-
kgNilAsFalse: {
|
17
|
-
type: PropType<boolean>;
|
18
|
-
default: boolean;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
export declare type IKgYesOrNoProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
22
|
-
declare const _default: import("vue").DefineComponent<{
|
23
|
-
/**
|
24
|
-
* ๅธๅฐๆฐๆฎ.
|
25
|
-
* @default undefined
|
26
|
-
*/
|
27
|
-
kgValue: {
|
28
|
-
type: PropType<boolean>;
|
29
|
-
default: undefined;
|
30
|
-
};
|
31
|
-
/**
|
32
|
-
* ๆฏๅฆๅฐ null/undefined ๅฝๆ false.
|
33
|
-
* @default false
|
34
|
-
*/
|
35
|
-
kgNilAsFalse: {
|
36
|
-
type: PropType<boolean>;
|
37
|
-
default: boolean;
|
38
|
-
};
|
39
|
-
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
40
|
-
/**
|
41
|
-
* ๅธๅฐๆฐๆฎ.
|
42
|
-
* @default undefined
|
43
|
-
*/
|
44
|
-
kgValue: {
|
45
|
-
type: PropType<boolean>;
|
46
|
-
default: undefined;
|
47
|
-
};
|
48
|
-
/**
|
49
|
-
* ๆฏๅฆๅฐ null/undefined ๅฝๆ false.
|
50
|
-
* @default false
|
51
|
-
*/
|
52
|
-
kgNilAsFalse: {
|
53
|
-
type: PropType<boolean>;
|
54
|
-
default: boolean;
|
55
|
-
};
|
56
|
-
}>>, {
|
57
|
-
kgValue: boolean;
|
58
|
-
kgNilAsFalse: boolean;
|
59
|
-
}>;
|
60
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as KgYesOrNo, type IKgYesOrNoProps } from './KgYesOrNo';
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export * from './KgAppSelect';
|
2
|
-
export * from './KgModal';
|
3
|
-
export * from './KgProgressA';
|
4
|
-
export * from './KgResizable';
|
5
|
-
export * from './KgSearch';
|
6
|
-
export * from './KgSubmit';
|
7
|
-
export * from './KgTable';
|
8
|
-
export * from './KgVar';
|
9
|
-
export * from './KgVarConfig';
|
10
|
-
export * from './KgWarehouse';
|
11
|
-
export * from './KgYesOrNo';
|
12
|
-
export * from './KgButton';
|
13
|
-
export { default as KgButton } from './KgButton';
|
14
|
-
export * from './KgForm';
|
15
|
-
export { default as KgForm } from './KgForm';
|
16
|
-
export * from './KgForm.Item';
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { IKgEventCb, IRemoveEventListenerHandler } from '../consts';
|
2
|
-
/**
|
3
|
-
* ๆ้ ไบไปถ็ๅฌ.
|
4
|
-
* @param frm_id ็้ขๆ ่ฏ.
|
5
|
-
* @param store ็ถๆ็ฎก็.
|
6
|
-
* @param event ไบไปถๅ็งฐ.
|
7
|
-
*/
|
8
|
-
export declare function onEventFactory<S extends {
|
9
|
-
addEventListener(frm_id: string, event: E, cb: C): void;
|
10
|
-
removeEventListener(frm_id: string, event: E, cb?: C): void;
|
11
|
-
} | {
|
12
|
-
addEventListener(event: E, cb: C): void;
|
13
|
-
removeEventListener(event: E, cb?: C): void;
|
14
|
-
} = any, E = any, C extends IKgEventCb = any>(frm_id: string | null, store: S, event: E): (cb: C) => IRemoveEventListenerHandler;
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { Pinia } from 'pinia';
|
2
|
-
import { ComputedRef, Ref } from 'vue';
|
3
|
-
import { Router } from 'vue-router';
|
4
|
-
import { IKgLocale } from '../consts';
|
5
|
-
import { IKgStateOption, IKgStore, P, T } from './index.store';
|
6
|
-
export declare type IUseKg = {
|
7
|
-
store: IKgStore;
|
8
|
-
/** ่ฏญ่จ. */
|
9
|
-
locale: ComputedRef<IKgLocale> | null;
|
10
|
-
router: ComputedRef<Router | null>;
|
11
|
-
/** ้
็ฝฎๅๆฐ. */
|
12
|
-
option: ComputedRef<IKgStateOption>;
|
13
|
-
/** ็ฟป่ฏ. */
|
14
|
-
t: T;
|
15
|
-
/** ๆฃๆฅๆ้. */
|
16
|
-
p: P;
|
17
|
-
};
|
18
|
-
/**
|
19
|
-
* @param pinia ๅจๆไบๅฐๆน่ฐ็จๆถ(ๆฏๅฆๅจ่ทฏ็ฑๅฎๅซไธญ), pinia ๅฐๆช่ฎพ็ฝฎ, ๆญคๆถ้่ฆๆๅจไผ ๅ
ฅ pinia ๅฎไพ.
|
20
|
-
*/
|
21
|
-
export declare function useKg(pinia?: Pinia): IUseKg;
|
22
|
-
export interface IUseKgDragModal {
|
23
|
-
draggable: Ref<boolean> | ComputedRef<boolean>;
|
24
|
-
visible: Ref<boolean> | ComputedRef<boolean>;
|
25
|
-
destroyOnClose: Ref<boolean | undefined> | undefined | ComputedRef<boolean>;
|
26
|
-
/**
|
27
|
-
* @default '.ant-modal-wrap'
|
28
|
-
*/
|
29
|
-
containerElementSelector: string;
|
30
|
-
/**
|
31
|
-
* @default '.ant-modal-header'
|
32
|
-
*/
|
33
|
-
handleElementSelector: string;
|
34
|
-
/**
|
35
|
-
* @default '.ant-modal'
|
36
|
-
*/
|
37
|
-
contentElementSelector: string;
|
38
|
-
}
|
39
|
-
/**
|
40
|
-
* ๆๆฝ็งปๅจ.
|
41
|
-
* @param param ๅๆฐ.
|
42
|
-
*/
|
43
|
-
export declare function useKgDragModal(param: IUseKgDragModal): void;
|
@@ -1,184 +0,0 @@
|
|
1
|
-
import { Pinia, StoreDefinition } from 'pinia';
|
2
|
-
import { ComputedRef } from 'vue';
|
3
|
-
import { Router } from 'vue-router';
|
4
|
-
import { SysUserWarehouseDTO } from '../apis/WMS/models';
|
5
|
-
import { IKgLocale, KG_APP, Menu } from '../consts';
|
6
|
-
export declare type IKgStateOption = {
|
7
|
-
/** ๆจกๅ้ฆ้กตๅฐๅ. */
|
8
|
-
appIndex?: {
|
9
|
-
/** ้ป่ฎคไธบ '/wms/data-manager/index'. */
|
10
|
-
[KG_APP.WMS_DATA_MANAGER]?: string;
|
11
|
-
/** ้ป่ฎคไธบ '/wms/business-manager/index'. */
|
12
|
-
[KG_APP.WMS_BUSINESS_MANAGER]?: string;
|
13
|
-
/** ้ป่ฎคไธบ '/wcs/index'. */
|
14
|
-
[KG_APP.WCS]?: string;
|
15
|
-
/** ้ป่ฎคไธบ '/sys/index'. */
|
16
|
-
[KG_APP.SYS]?: string;
|
17
|
-
};
|
18
|
-
/** ๆจกๅๆ ้ข. */
|
19
|
-
appTitle?: {
|
20
|
-
/** ้ป่ฎคไธบ 'ๆฐๆฎ็ฎก็'. */
|
21
|
-
[KG_APP.WMS_DATA_MANAGER]?: string;
|
22
|
-
/** ้ป่ฎคไธบ 'ไปๅบ็ฎก็'. */
|
23
|
-
[KG_APP.WMS_BUSINESS_MANAGER]?: string;
|
24
|
-
/** ้ป่ฎคไธบ 'WCS'. */
|
25
|
-
[KG_APP.WCS]?: string;
|
26
|
-
/** ้ป่ฎคไธบ '็ณป็ป้
็ฝฎ'. */
|
27
|
-
[KG_APP.SYS]?: string;
|
28
|
-
};
|
29
|
-
KgModal?: {
|
30
|
-
/** ๆๆฝ็งปๅจ. */
|
31
|
-
drag?: {
|
32
|
-
/**
|
33
|
-
* ๆฏๅฆๅฏ็จๅ่ฝ.
|
34
|
-
* @default false
|
35
|
-
*/
|
36
|
-
on?: boolean;
|
37
|
-
};
|
38
|
-
};
|
39
|
-
KgSearch?: {
|
40
|
-
/** ้ซ็บงๆฅ่ฏข. */
|
41
|
-
dynamicQuery?: {
|
42
|
-
/**
|
43
|
-
* ๆฏๅฆๅฏ็จๅ่ฝ.
|
44
|
-
* @default false
|
45
|
-
*/
|
46
|
-
on?: boolean;
|
47
|
-
};
|
48
|
-
};
|
49
|
-
KgTable?: {
|
50
|
-
/** ๅ็่ฟๆปค. */
|
51
|
-
filter?: {
|
52
|
-
/**
|
53
|
-
* ๆฏๅฆๅฏ็จๅ่ฝ.
|
54
|
-
* @default false
|
55
|
-
*/
|
56
|
-
on?: boolean;
|
57
|
-
};
|
58
|
-
/** ่กจๆ ผ่ฎพ็ฝฎ่ๅ. */
|
59
|
-
Setting?: {
|
60
|
-
/** ่ก้ซ. */
|
61
|
-
rowHeight?: {
|
62
|
-
/**
|
63
|
-
* ๆฏๅฆๅฏ็จๅ่ฝ.
|
64
|
-
* @default false
|
65
|
-
*/
|
66
|
-
on?: boolean;
|
67
|
-
};
|
68
|
-
};
|
69
|
-
};
|
70
|
-
/** ไปๅบ้ๆฉ. */
|
71
|
-
KgWarehouse?: {
|
72
|
-
/**
|
73
|
-
* ๆฏๅฆๅฏ็จๅ่ฝ.
|
74
|
-
* @default true
|
75
|
-
*/
|
76
|
-
on?: boolean;
|
77
|
-
/** ้ป่ฎค็ไปๅบ็ผ็ , ๅชๆๅจ {@link IKgStateOption.KgWarehouse.on} ไธบ false ๆถๆ็ๆ. */
|
78
|
-
defaultWarehouseID?: string;
|
79
|
-
};
|
80
|
-
};
|
81
|
-
/** ็ฟป่ฏ็ๆนๆณ. */
|
82
|
-
export declare type T = {
|
83
|
-
(key: string | null | undefined): string;
|
84
|
-
(key: string | null | undefined, locale: string): string;
|
85
|
-
(key: string | null | undefined, locale: string, list: unknown[]): string;
|
86
|
-
(key: string | null | undefined, locale: string, named: Record<string, unknown>): string;
|
87
|
-
(key: string | null | undefined, list: unknown[]): string;
|
88
|
-
(key: string | null | undefined, named: Record<string, unknown>): string;
|
89
|
-
};
|
90
|
-
/** ๆฃๆฅๆ้็ๆนๆณ. */
|
91
|
-
export declare type P = {
|
92
|
-
(permissionCode?: string | Array<string> | null): boolean;
|
93
|
-
};
|
94
|
-
export interface RoleInfo {
|
95
|
-
roleName: string;
|
96
|
-
value: string;
|
97
|
-
}
|
98
|
-
export interface UserInfo {
|
99
|
-
id: string | number;
|
100
|
-
userId: string | number;
|
101
|
-
username: string;
|
102
|
-
realname: string;
|
103
|
-
avatar: string;
|
104
|
-
desc?: string;
|
105
|
-
homePath?: string;
|
106
|
-
tenantid?: string | number;
|
107
|
-
roles: RoleInfo[];
|
108
|
-
orgCode?: string;
|
109
|
-
}
|
110
|
-
interface UserState {
|
111
|
-
userInfo: UserInfo | null;
|
112
|
-
token?: string;
|
113
|
-
roleList: any[];
|
114
|
-
userWarehouses: SysUserWarehouseDTO[];
|
115
|
-
sessionTimeout?: boolean;
|
116
|
-
}
|
117
|
-
interface AuthItem {
|
118
|
-
/** ๆ้็ผ็ . */
|
119
|
-
action: string;
|
120
|
-
/** ๆ้็ญ็ฅ. 1:ๆพ็คบ, 2:็ฆ็จ. */
|
121
|
-
type: string | number;
|
122
|
-
/** ๆ้็ถๆ. 0:ๆ ๆ, 1:ๆๆ. */
|
123
|
-
status: string | number;
|
124
|
-
/** ๆ้ๅ็งฐ. */
|
125
|
-
describe?: string;
|
126
|
-
}
|
127
|
-
interface PermissionState {
|
128
|
-
/** ๅฝๅ็ปๅฝ็จๆทๆๆฅๆ็ๆ้็ผ็ ๅ่กจ. */
|
129
|
-
permCodeList: string[] | number[];
|
130
|
-
/** ่ๅๅ่กจ. */
|
131
|
-
backMenuList: Menu[];
|
132
|
-
/** ๅฝๅ็ปๅฝ็จๆทๆๆฅๆ็ๆ้้
็ฝฎ. */
|
133
|
-
authList: AuthItem[];
|
134
|
-
/** ๅ
จ้จๆ้้
็ฝฎ. */
|
135
|
-
allAuthList: AuthItem[];
|
136
|
-
}
|
137
|
-
export interface IKgState {
|
138
|
-
/** ่ฏญ่จ. */
|
139
|
-
locale: ComputedRef<IKgLocale> | null;
|
140
|
-
/** ็ฟป่ฏ็ๆนๆณ. */
|
141
|
-
tFunction: T | null;
|
142
|
-
/** ๆฃๆฅๆ้็ๆนๆณ. */
|
143
|
-
pFunction: P | null;
|
144
|
-
router: Router | null;
|
145
|
-
/** ็จๆทๆฐๆฎ. */
|
146
|
-
useUserStore: StoreDefinition | null;
|
147
|
-
/** ๆ้ๆฐๆฎ. */
|
148
|
-
usePermissionStore: StoreDefinition | null;
|
149
|
-
/** ้
็ฝฎๅๆฐ. */
|
150
|
-
option: IKgStateOption;
|
151
|
-
}
|
152
|
-
export declare type IKgStoreDefinition = StoreDefinition<'Kg', IKgState, {
|
153
|
-
/** ่ทๅ้
็ฝฎๅๆฐ. */
|
154
|
-
getLocale: ComputedRef<IKgLocale> | null;
|
155
|
-
getRouter: Router | null;
|
156
|
-
getUseUserStore(): StoreDefinition<string, UserState, {
|
157
|
-
getToken(): string;
|
158
|
-
getRoleList(): any[];
|
159
|
-
getUserWarehouses(): SysUserWarehouseDTO[];
|
160
|
-
getSessionTimeout(): boolean;
|
161
|
-
getUserInfo(): UserInfo;
|
162
|
-
}, {}> | null;
|
163
|
-
getUsePermissionStore(): StoreDefinition<string, PermissionState, {
|
164
|
-
getPermCodeList(): string[] | number[];
|
165
|
-
getBackMenuList(): Menu[];
|
166
|
-
}> | null;
|
167
|
-
/** ่ทๅ้
็ฝฎๅๆฐ. */
|
168
|
-
getOption: IKgStateOption;
|
169
|
-
}, {
|
170
|
-
setLocale(locale: ComputedRef<IKgLocale> | null): void;
|
171
|
-
setRouter(router: Router): void;
|
172
|
-
setUseUserStore(useUserStore: StoreDefinition<any, any, any, any>): void;
|
173
|
-
setUsePermissionStore(usePermissionStore: StoreDefinition<any, any, any, any>): void;
|
174
|
-
setT(i18n: any): void;
|
175
|
-
setP(fn: P): void;
|
176
|
-
setOption(option: IKgStateOption): void;
|
177
|
-
/** ็ฟป่ฏ. */
|
178
|
-
t: T;
|
179
|
-
/** ๆฃๆฅๆ้. */
|
180
|
-
p: P;
|
181
|
-
}>;
|
182
|
-
export declare type IKgStore = ReturnType<IKgStoreDefinition>;
|
183
|
-
export declare const useKgStore: (_pinia?: Pinia) => IKgStoreDefinition;
|
184
|
-
export {};
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { Pinia, StoreDefinition } from 'pinia';
|
2
|
-
import { App, ComputedRef } from 'vue';
|
3
|
-
import { Router } from 'vue-router';
|
4
|
-
import { IKgLocale } from '../consts';
|
5
|
-
import { IKgStateOption, P } from './index.store';
|
6
|
-
/**
|
7
|
-
* ้
็ฝฎ pinia ๅฎไพ.
|
8
|
-
* @param pinia pinia ๅฎไพ.
|
9
|
-
*/
|
10
|
-
export declare function setPinia(pinia: Pinia): void;
|
11
|
-
/**
|
12
|
-
* ่ทๅ pinia ๅฎไพ.
|
13
|
-
*/
|
14
|
-
export declare function pinia(): Pinia | null;
|
15
|
-
export declare type IKgOptions = {
|
16
|
-
app: App;
|
17
|
-
/** ๅฝๅ่ฏญ่จ. */
|
18
|
-
locale: ComputedRef<IKgLocale>;
|
19
|
-
/**
|
20
|
-
* import { createI18n } from 'vue-i18n';
|
21
|
-
* ReturnType<typeof createI18n>
|
22
|
-
*/
|
23
|
-
i18n: any;
|
24
|
-
router: Router;
|
25
|
-
/** ็ถๆๆฐๆฎ: ็จๆท. */
|
26
|
-
useUserStore: StoreDefinition<any, any, any, any>;
|
27
|
-
/** ็ถๆๆฐๆฎ: ๆ้. */
|
28
|
-
usePermissionStore: StoreDefinition<any, any, any, any>;
|
29
|
-
/** ๆ้ๆนๆณ, ็จๆฅๅคๆญๆฏๅฆๅ
ทๆๆไธช(ๆไบ)ๆ้. */
|
30
|
-
pFunction: P;
|
31
|
-
/** ้
็ฝฎๅๆฐ. */
|
32
|
-
option?: IKgStateOption;
|
33
|
-
};
|
34
|
-
/**
|
35
|
-
* ๅๅงๅ pinia.
|
36
|
-
* @param pinia pinia.
|
37
|
-
*/
|
38
|
-
export declare function setupKgStore(pinia: Pinia): void;
|
39
|
-
/**
|
40
|
-
* ๅๅงๅ็ปไปถๅบ.
|
41
|
-
* @param options ๅๆฐ.
|
42
|
-
*/
|
43
|
-
export declare function setup(options: IKgOptions): void;
|