fix(api): use bcrypt directly instead of passlib for compatibility

This commit is contained in:
bwstudio
2026-05-21 22:18:36 +08:00
parent 7f51d200f1
commit 4651781bc3
23511 changed files with 2587254 additions and 8 deletions
@@ -0,0 +1,46 @@
import { EpPropFinalized } from "../../../../utils/vue/props/types.js";
import { GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds } from "../common/props.js";
import * as _$vue from "vue";
import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
import { Dayjs } from "dayjs";
//#region ../../packages/components/time-picker/src/props/basic-time-spinner.d.ts
declare const basicTimeSpinnerProps: {
readonly disabledHours: {
readonly type: _$vue.PropType<GetDisabledHours>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabledMinutes: {
readonly type: _$vue.PropType<GetDisabledMinutes>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabledSeconds: {
readonly type: _$vue.PropType<GetDisabledSeconds>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly role: {
readonly type: _$vue.PropType<string>;
readonly required: true;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly spinnerDate: {
readonly type: _$vue.PropType<Dayjs>;
readonly required: true;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly showSeconds: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
readonly arrowControl: BooleanConstructor;
readonly amPmMode: EpPropFinalized<(new (...args: any[]) => "" | "a" | "A") | (() => "" | "a" | "A") | (((new (...args: any[]) => "" | "a" | "A") | (() => "" | "a" | "A")) | null)[], unknown, unknown, "", boolean>;
};
type BasicTimeSpinnerProps = ExtractPropTypes<typeof basicTimeSpinnerProps>;
type BasicTimeSpinnerPropsPublic = ExtractPublicPropTypes<typeof basicTimeSpinnerProps>;
//#endregion
export { BasicTimeSpinnerProps, BasicTimeSpinnerPropsPublic, basicTimeSpinnerProps };
@@ -0,0 +1,27 @@
import { buildProps, definePropType } from "../../../../utils/vue/props/runtime.mjs";
import { disabledTimeListsProps } from "./shared.mjs";
//#region ../../packages/components/time-picker/src/props/basic-time-spinner.ts
const basicTimeSpinnerProps = buildProps({
role: {
type: String,
required: true
},
spinnerDate: {
type: definePropType(Object),
required: true
},
showSeconds: {
type: Boolean,
default: true
},
arrowControl: Boolean,
amPmMode: {
type: definePropType(String),
default: ""
},
...disabledTimeListsProps
});
//#endregion
export { basicTimeSpinnerProps };
//# sourceMappingURL=basic-time-spinner.mjs.map
@@ -0,0 +1 @@
{"version":3,"file":"basic-time-spinner.mjs","names":[],"sources":["../../../../../../../packages/components/time-picker/src/props/basic-time-spinner.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { disabledTimeListsProps } from '../props/shared'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const basicTimeSpinnerProps = buildProps({\n role: {\n type: String,\n required: true,\n },\n spinnerDate: {\n type: definePropType<Dayjs>(Object),\n required: true,\n },\n showSeconds: {\n type: Boolean,\n default: true,\n },\n arrowControl: Boolean,\n amPmMode: {\n // 'a': am/pm; 'A': AM/PM\n type: definePropType<'a' | 'A' | ''>(String),\n default: '',\n },\n ...disabledTimeListsProps,\n} as const)\n\nexport type BasicTimeSpinnerProps = ExtractPropTypes<\n typeof basicTimeSpinnerProps\n>\nexport type BasicTimeSpinnerPropsPublic = ExtractPublicPropTypes<\n typeof basicTimeSpinnerProps\n>\n"],"mappings":";;;AAMA,MAAa,wBAAwB,WAAW;CAC9C,MAAM;EACJ,MAAM;EACN,UAAU;EACX;CACD,aAAa;EACX,MAAM,eAAsB,OAAO;EACnC,UAAU;EACX;CACD,aAAa;EACX,MAAM;EACN,SAAS;EACV;CACD,cAAc;CACd,UAAU;EAER,MAAM,eAA+B,OAAO;EAC5C,SAAS;EACV;CACD,GAAG;CACJ,CAAU"}
@@ -0,0 +1,22 @@
import { EpPropFinalized } from "../../../../utils/vue/props/types.js";
import * as _$vue from "vue";
import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
import { Dayjs } from "dayjs";
//#region ../../packages/components/time-picker/src/props/panel-time-picker.d.ts
declare const panelTimePickerProps: {
readonly datetimeRole: StringConstructor;
readonly parsedValue: {
readonly type: _$vue.PropType<Dayjs>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly visible: BooleanConstructor;
readonly actualVisible: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
readonly format: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
};
type PanelTimePickerProps = ExtractPropTypes<typeof panelTimePickerProps>;
type PanelTimePickerPropsPublic = ExtractPublicPropTypes<typeof panelTimePickerProps>;
//#endregion
export { PanelTimePickerProps, PanelTimePickerPropsPublic, panelTimePickerProps };
@@ -0,0 +1,12 @@
import { buildProps, definePropType } from "../../../../utils/vue/props/runtime.mjs";
import { timePanelSharedProps } from "./shared.mjs";
//#region ../../packages/components/time-picker/src/props/panel-time-picker.ts
const panelTimePickerProps = buildProps({
...timePanelSharedProps,
datetimeRole: String,
parsedValue: { type: definePropType(Object) }
});
//#endregion
export { panelTimePickerProps };
//# sourceMappingURL=panel-time-picker.mjs.map
@@ -0,0 +1 @@
{"version":3,"file":"panel-time-picker.mjs","names":[],"sources":["../../../../../../../packages/components/time-picker/src/props/panel-time-picker.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { timePanelSharedProps } from './shared'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const panelTimePickerProps = buildProps({\n ...timePanelSharedProps,\n datetimeRole: String,\n parsedValue: {\n type: definePropType<Dayjs>(Object),\n },\n} as const)\n\nexport type PanelTimePickerProps = ExtractPropTypes<typeof panelTimePickerProps>\nexport type PanelTimePickerPropsPublic = ExtractPublicPropTypes<\n typeof panelTimePickerProps\n>\n"],"mappings":";;;AAMA,MAAa,uBAAuB,WAAW;CAC7C,GAAG;CACH,cAAc;CACd,aAAa,EACX,MAAM,eAAsB,OAAO,EACpC;CACF,CAAU"}
@@ -0,0 +1,21 @@
import { EpPropFinalized } from "../../../../utils/vue/props/types.js";
import * as _$vue from "vue";
import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
import { Dayjs } from "dayjs";
//#region ../../packages/components/time-picker/src/props/panel-time-range.d.ts
declare const panelTimeRangeProps: {
readonly parsedValue: {
readonly type: _$vue.PropType<[Dayjs, Dayjs]>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly visible: BooleanConstructor;
readonly actualVisible: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
readonly format: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
};
type PanelTimeRangeProps = ExtractPropTypes<typeof panelTimeRangeProps>;
type PanelTimeRangePropsPublic = ExtractPublicPropTypes<typeof panelTimeRangeProps>;
//#endregion
export { PanelTimeRangeProps, PanelTimeRangePropsPublic, panelTimeRangeProps };
@@ -0,0 +1,11 @@
import { buildProps, definePropType } from "../../../../utils/vue/props/runtime.mjs";
import { timePanelSharedProps } from "./shared.mjs";
//#region ../../packages/components/time-picker/src/props/panel-time-range.ts
const panelTimeRangeProps = buildProps({
...timePanelSharedProps,
parsedValue: { type: definePropType(Array) }
});
//#endregion
export { panelTimeRangeProps };
//# sourceMappingURL=panel-time-range.mjs.map
@@ -0,0 +1 @@
{"version":3,"file":"panel-time-range.mjs","names":[],"sources":["../../../../../../../packages/components/time-picker/src/props/panel-time-range.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { timePanelSharedProps } from './shared'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const panelTimeRangeProps = buildProps({\n ...timePanelSharedProps,\n parsedValue: {\n type: definePropType<[Dayjs, Dayjs]>(Array),\n },\n} as const)\n\nexport type PanelTimeRangeProps = ExtractPropTypes<typeof panelTimeRangeProps>\nexport type PanelTimeRangePropsPublic = ExtractPublicPropTypes<\n typeof panelTimeRangeProps\n>\n"],"mappings":";;;AAMA,MAAa,sBAAsB,WAAW;CAC5C,GAAG;CACH,aAAa,EACX,MAAM,eAA+B,MAAM,EAC5C;CACF,CAAU"}
@@ -0,0 +1,37 @@
import { EpPropFinalized } from "../../../../utils/vue/props/types.js";
import { GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds } from "../common/props.js";
import * as _$vue from "vue";
import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
//#region ../../packages/components/time-picker/src/props/shared.d.ts
declare const disabledTimeListsProps: {
readonly disabledHours: {
readonly type: _$vue.PropType<GetDisabledHours>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabledMinutes: {
readonly type: _$vue.PropType<GetDisabledMinutes>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabledSeconds: {
readonly type: _$vue.PropType<GetDisabledSeconds>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
};
type DisabledTimeListsProps = ExtractPropTypes<typeof disabledTimeListsProps>;
type DisabledTimeListsPropsPublic = ExtractPublicPropTypes<typeof disabledTimeListsProps>;
declare const timePanelSharedProps: {
readonly visible: BooleanConstructor;
readonly actualVisible: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
readonly format: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
};
type TimePanelSharedProps = ExtractPropTypes<typeof timePanelSharedProps>;
type TimePanelSharedPropsPublic = ExtractPublicPropTypes<typeof timePanelSharedProps>;
//#endregion
export { DisabledTimeListsProps, DisabledTimeListsPropsPublic, TimePanelSharedProps, TimePanelSharedPropsPublic, disabledTimeListsProps, timePanelSharedProps };
@@ -0,0 +1,31 @@
import { buildProps, definePropType } from "../../../../utils/vue/props/runtime.mjs";
//#region ../../packages/components/time-picker/src/props/shared.ts
const disabledTimeListsProps = buildProps({
/**
* @description To specify the array of hours that cannot be selected
*/
disabledHours: { type: definePropType(Function) },
/**
* @description To specify the array of minutes that cannot be selected
*/
disabledMinutes: { type: definePropType(Function) },
/**
* @description To specify the array of seconds that cannot be selected
*/
disabledSeconds: { type: definePropType(Function) }
});
const timePanelSharedProps = buildProps({
visible: Boolean,
actualVisible: {
type: Boolean,
default: void 0
},
format: {
type: String,
default: ""
}
});
//#endregion
export { disabledTimeListsProps, timePanelSharedProps };
//# sourceMappingURL=shared.mjs.map
@@ -0,0 +1 @@
{"version":3,"file":"shared.mjs","names":[],"sources":["../../../../../../../packages/components/time-picker/src/props/shared.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type {\n GetDisabledHours,\n GetDisabledMinutes,\n GetDisabledSeconds,\n} from '../common/props'\n\nexport const disabledTimeListsProps = buildProps({\n /**\n * @description To specify the array of hours that cannot be selected\n */\n disabledHours: {\n type: definePropType<GetDisabledHours>(Function),\n },\n /**\n * @description To specify the array of minutes that cannot be selected\n */\n disabledMinutes: {\n type: definePropType<GetDisabledMinutes>(Function),\n },\n /**\n * @description To specify the array of seconds that cannot be selected\n */\n disabledSeconds: {\n type: definePropType<GetDisabledSeconds>(Function),\n },\n} as const)\n\nexport type DisabledTimeListsProps = ExtractPropTypes<\n typeof disabledTimeListsProps\n>\nexport type DisabledTimeListsPropsPublic = ExtractPublicPropTypes<\n typeof disabledTimeListsProps\n>\n\nexport const timePanelSharedProps = buildProps({\n visible: Boolean,\n actualVisible: {\n type: Boolean,\n default: undefined,\n },\n format: {\n type: String,\n default: '',\n },\n} as const)\n\nexport type TimePanelSharedProps = ExtractPropTypes<typeof timePanelSharedProps>\nexport type TimePanelSharedPropsPublic = ExtractPublicPropTypes<\n typeof timePanelSharedProps\n>\n"],"mappings":";;AASA,MAAa,yBAAyB,WAAW;;;;CAI/C,eAAe,EACb,MAAM,eAAiC,SAAS,EACjD;;;;CAID,iBAAiB,EACf,MAAM,eAAmC,SAAS,EACnD;;;;CAID,iBAAiB,EACf,MAAM,eAAmC,SAAS,EACnD;CACF,CAAU;AASX,MAAa,uBAAuB,WAAW;CAC7C,SAAS;CACT,eAAe;EACb,MAAM;EACN,SAAS,KAAA;EACV;CACD,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CACF,CAAU"}