@bit-sun/business-component 4.2.1-alpha.7-longya → 4.2.1-alpha.8

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.
Files changed (27) hide show
  1. package/.claude/settings.local.json +8 -0
  2. package/dist/components/Functional/SearchSelect/pagination.d.ts +3 -3
  3. package/dist/index.esm.js +416 -953
  4. package/dist/index.js +415 -952
  5. package/docs/error-record.md +0 -9
  6. package/package.json +1 -1
  7. package/src/components/Business/AddSelectBusiness/index.tsx +8 -124
  8. package/src/components/Business/SearchSelect/BusinessUtils.tsx +12 -106
  9. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +1 -1
  10. package/src/components/Functional/AddSelect/helps.ts +0 -2
  11. package/src/components/Functional/AddSelect/index.less +0 -17
  12. package/src/components/Functional/AddSelect/index.tsx +9 -66
  13. package/src/components/Functional/SearchSelect/index.less +0 -16
  14. package/src/components/Functional/SearchSelect/index.md +2 -0
  15. package/src/components/Functional/SearchSelect/index.tsx +65 -77
  16. package/src/components/Functional/SearchSelect/pagination.ts +4 -4
  17. package/src/components/Solution/RuleComponent/ruleFiled.js +155 -176
  18. package/dist/components/Functional/QueryAutoComplete/buildOptions.d.ts +0 -3
  19. package/dist/components/Functional/QueryAutoComplete/buildOptions.test.d.ts +0 -1
  20. package/dist/components/Functional/QueryAutoComplete/index.d.ts +0 -23
  21. package/dist/components/Functional/SearchSelect/currentPageFilter.d.ts +0 -41
  22. package/docs/superpowers/plans/2026-10-12-IKJX29-sku-name-autocomplete.md +0 -489
  23. package/docs/superpowers/specs/2026-10-12-IKJX29-sku-name-autocomplete-design.md +0 -115
  24. package/src/components/Functional/QueryAutoComplete/buildOptions.test.ts +0 -22
  25. package/src/components/Functional/QueryAutoComplete/buildOptions.ts +0 -17
  26. package/src/components/Functional/QueryAutoComplete/index.tsx +0 -140
  27. package/src/components/Functional/SearchSelect/currentPageFilter.ts +0 -135
@@ -0,0 +1,8 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npx tsc *)",
5
+ "Bash(echo \"exit: $?\")"
6
+ ]
7
+ }
8
+ }
@@ -1,8 +1,8 @@
1
- export declare const SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 200;
1
+ export declare const SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 100;
2
2
  export declare const SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS: number[];
3
3
  export declare const SEARCH_SELECT_MODAL_PAGE_SIZE_CACHE_KEY = "businessComponentSearchSelectPageSize";
4
4
  /**
5
- * 规范化选择器弹窗分页大小,缓存异常时统一回退到默认条数。
5
+ * 规范化选择器弹窗分页大小,缓存异常时统一回退到每页 100 条。
6
6
  *
7
7
  * @param pageSize 待校验的分页大小
8
8
  * @returns 合法的分页大小
@@ -11,7 +11,7 @@ export declare const normalizeSearchSelectModalPageSize: (pageSize: unknown) =>
11
11
  /**
12
12
  * 读取所有选择器弹窗共用的分页大小。
13
13
  *
14
- * @returns 缓存中的分页大小,无有效缓存时返回默认条数
14
+ * @returns 缓存中的分页大小,无有效缓存时返回每页 100 条
15
15
  */
16
16
  export declare const getSearchSelectModalPageSize: () => number;
17
17
  /**