@vue-start/pro 0.5.20 → 0.5.22

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/dist/index.css CHANGED
@@ -1,8 +1,10 @@
1
1
  :root {
2
- /*layout*/
2
+ /***************layout****************/
3
3
  --pro-header-hei: 60px;
4
4
  --pro-divide-ver-hei: 2px;
5
5
  --pro-left-menu-wid: 220px;
6
+ /*horizontal模式下,菜单的高度,如果添加了"menu-start"/"menu-end"插槽,需要重写此变量*/
7
+ --pro-left-menu-hei: 100vh;
6
8
  /*page*/
7
9
  --pro-page-header-hei: 40px;
8
10
  --pro-page-footer-hei: 46px;
@@ -59,7 +61,7 @@
59
61
  width: var(--pro-left-menu-wid);
60
62
  min-width: var(--pro-left-menu-wid);
61
63
  max-width: var(--pro-left-menu-wid);
62
- max-height: 100vh;
64
+ height: var(--pro-left-menu-hei);
63
65
  overflow-y: auto;
64
66
  overflow-x: hidden;
65
67
  }
package/dist/index.d.ts CHANGED
@@ -197,6 +197,7 @@ interface IHighConfig {
197
197
  registerStateList?: {
198
198
  name: NamePath;
199
199
  mapName?: NamePath;
200
+ target?: "prop" | "slot";
200
201
  }[];
201
202
  registerEventList?: {
202
203
  name: string;
@@ -1401,6 +1402,18 @@ declare const proListProps: () => {
1401
1402
  pageState: {
1402
1403
  type: PropType<TPageState>;
1403
1404
  };
1405
+ start: {
1406
+ type: FunctionConstructor;
1407
+ };
1408
+ divide: {
1409
+ type: FunctionConstructor;
1410
+ };
1411
+ divide2: {
1412
+ type: FunctionConstructor;
1413
+ };
1414
+ end: {
1415
+ type: FunctionConstructor;
1416
+ };
1404
1417
  };
1405
1418
  declare type ProListProps = Partial<ExtractPropTypes<ReturnType<typeof proListProps>>>;
1406
1419
  declare type SearchSlotProps = {
@@ -1440,6 +1453,18 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
1440
1453
  pageState: {
1441
1454
  type: PropType<TPageState>;
1442
1455
  };
1456
+ start: {
1457
+ type: FunctionConstructor;
1458
+ };
1459
+ divide: {
1460
+ type: FunctionConstructor;
1461
+ };
1462
+ divide2: {
1463
+ type: FunctionConstructor;
1464
+ };
1465
+ end: {
1466
+ type: FunctionConstructor;
1467
+ };
1443
1468
  }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
1444
1469
  /**
1445
1470
  * class名称
@@ -1465,6 +1490,18 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
1465
1490
  pageState: {
1466
1491
  type: PropType<TPageState>;
1467
1492
  };
1493
+ start: {
1494
+ type: FunctionConstructor;
1495
+ };
1496
+ divide: {
1497
+ type: FunctionConstructor;
1498
+ };
1499
+ divide2: {
1500
+ type: FunctionConstructor;
1501
+ };
1502
+ end: {
1503
+ type: FunctionConstructor;
1504
+ };
1468
1505
  }>>>, {}>;
1469
1506
 
1470
1507
  declare const proDescProps: () => {
@@ -1939,7 +1976,7 @@ declare const ProUploaderText: vue.DefineComponent<Record<string, any>, {}, {},
1939
1976
  /**
1940
1977
  * 文件列表
1941
1978
  */
1942
- declare const UploadList: vue.DefineComponent<{
1979
+ declare const ProUploadList: vue.DefineComponent<{
1943
1980
  value: (ArrayConstructor | StringConstructor)[];
1944
1981
  fieldNames: {
1945
1982
  type: ObjectConstructor;
@@ -2262,4 +2299,4 @@ declare const getSignValue: <T = any>(item: TColumn, signName: string) => T;
2262
2299
  */
2263
2300
  declare const filterSlotsByPrefix: (slots: Record<string, any>, prefix: string) => lodash.Dictionary<any>;
2264
2301
 
2265
- export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, IUser, InternalNamePath, LogonUser, LogonUserKey, MustLogon, NamePath, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTypography, ProTypographyProps, ProUploaderText, RequestAction, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColumn, TColumns, TConfigData, TCurdActionEvent, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLogonUserProvide, TMeta, TOpen, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRouter, TTableColumn, TTableColumns, TValueType, TreeOption, TreeOptions, UploadList, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getFormItemEl, getItemEl, getSignValue, getValidValues, isValidConfig, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderElement, renderElements, useAccess, useAccessMgr, useComposeRequestActor, useDispatchMeta, useDispatchStore, useDoneRequestActor, useFailedRequestActor, useGetCompByKey, useHasPer, useLogonUser, useMetaRegister, useModuleEvent, useProConfig, useProCurd, useProForm, useProFormList, useProModule, useProRouter, useProTable, useReadStore };
2302
+ export { AddButton, BooleanObjType, BooleanRulesObjType, ColumnSetting, CurdAction, CurdAddAction, CurdCurrentMode, CurdMethods, CurdSubAction, ElementKeys, FieldNames, FormAction, FormItemProps, FormRulePrefixMap, IAccess, ICurdAction, ICurdAddAction, ICurdCurrentMode, ICurdOperateOpts, ICurdState, ICurdSubAction, IElementConfig, IHighConfig, IListData, IOpeItem, IOperateItem, IPer, IProConfigProvide, IProCurdProvide, IProFormProvideExtra, IProModuleProvide, IProTableProvide, IProTableProvideExtra, IRequestOpts, ISearchMode, ITableOperate, IUser, InternalNamePath, LogonUser, LogonUserKey, MustLogon, NamePath, PageHeaderProps, PaginationSlotProps, PerSuffix, Permission, PermissionProps, ProBaseProps, ProColumnSettingProps, ProConfig, ProConfigProps, ProCurd, ProCurdDesc, ProCurdDescConnect, ProCurdDescProps, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalForm, ProCurdModalFormConnect, ProCurdModalProps, ProCurdProps, ProDesc, ProDescProps, ProDispatchRequestType, ProForm, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProGrid, ProGridProps, ProLayout, ProList, ProListProps, ProModalCurd, ProModalCurdProps, ProModule, ProModuleProps, ProOperate, ProOperateProps, ProPage, ProPageCurd, ProPageCurdProps, ProPageProps, ProSearchForm, ProSearchFormProps, ProShowDate, ProShowDigit, ProShowOptions, ProShowText, ProShowTree, ProTable, ProTableProps, ProTypography, ProTypographyProps, ProUploadList, ProUploaderText, RequestAction, SearchMode, SearchSlotProps, TAccess, TActionEvent, TActionState, TColumn, TColumns, TConfigData, TCurdActionEvent, TDefaultValueType, TElementMap, TExecuteFunName, TExecuteItem, TExecuteName, TFile, TFormExtraMap, TInitialState, TLogonUserProvide, TMeta, TOpen, TOpenMenu, TOption, TOptions, TPageState, TProFormOperate, TRegisterStore, TRegisterStoreMap, TRouter, TTableColumn, TTableColumns, TValueType, TreeOption, TreeOptions, Wrapper, convertPathToList, convertResData, createExpose, createExposeObj, createFormItemCompFn, createModule, createProConfig, defaultPage, filterSlotsByPrefix, getColumnFormItemName, getColumnValueType, getFirstPropName, getFormItemEl, getItemEl, getSignValue, getValidValues, isValidConfig, mergeStateToList, proBaseProps, provideProCurd, provideProFormList, provideProModule, renderElement, renderElements, useAccess, useAccessMgr, useComposeRequestActor, useDispatchMeta, useDispatchStore, useDoneRequestActor, useFailedRequestActor, useGetCompByKey, useHasPer, useLogonUser, useMetaRegister, useModuleEvent, useProConfig, useProCurd, useProForm, useProFormList, useProModule, useProRouter, useProTable, useReadStore };