@lingxiteam/assets 1.0.13-alpha.3 → 3.2.1-alpha.1

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 (65) hide show
  1. package/es/index.d.ts +2 -2
  2. package/es/index.js +2 -2
  3. package/es/rootConfig/mobile/BusiComp.js +3 -2
  4. package/es/rootConfig/mobile/MobileModal.js +6 -5
  5. package/es/rootConfig/mobile/MobilePopover.js +3 -2
  6. package/es/rootConfig/mobile/page.d.ts +16 -0
  7. package/es/rootConfig/mobile/page.js +19 -2
  8. package/es/rootConfig/pc/BusiComp.js +3 -2
  9. package/es/rootConfig/pc/Drawer.d.ts +6 -0
  10. package/es/rootConfig/pc/Drawer.js +9 -2
  11. package/es/rootConfig/pc/Modal.js +3 -2
  12. package/es/rootConfig/pc/Popover.js +3 -2
  13. package/es/rootConfig/pc/page.d.ts +0 -18
  14. package/es/rootConfig/pc/page.js +3 -15
  15. package/es/rootConfig/todoActionList.d.ts +170 -50
  16. package/es/rootConfig/todoActionList.js +201 -90
  17. package/es/rootConfig/todoOptionList.d.ts +14 -2
  18. package/es/rootConfig/todoOptionList.js +21 -11
  19. package/es/security/encipher/sign.js +4 -3
  20. package/es/security/fetch.js +7 -0
  21. package/es/utils/url.d.ts +1 -0
  22. package/es/utils/url.js +5 -0
  23. package/lib/index.d.ts +2 -2
  24. package/lib/index.js +9 -13
  25. package/lib/rootConfig/mobile/BusiComp.js +3 -2
  26. package/lib/rootConfig/mobile/MobileModal.js +6 -5
  27. package/lib/rootConfig/mobile/MobilePopover.js +3 -2
  28. package/lib/rootConfig/mobile/page.d.ts +16 -0
  29. package/lib/rootConfig/mobile/page.js +19 -2
  30. package/lib/rootConfig/pc/BusiComp.js +3 -2
  31. package/lib/rootConfig/pc/Drawer.d.ts +6 -0
  32. package/lib/rootConfig/pc/Drawer.js +9 -2
  33. package/lib/rootConfig/pc/Modal.js +3 -2
  34. package/lib/rootConfig/pc/Popover.js +3 -2
  35. package/lib/rootConfig/pc/page.d.ts +0 -18
  36. package/lib/rootConfig/pc/page.js +3 -15
  37. package/lib/rootConfig/todoActionList.d.ts +170 -50
  38. package/lib/rootConfig/todoActionList.js +201 -90
  39. package/lib/rootConfig/todoOptionList.d.ts +14 -2
  40. package/lib/rootConfig/todoOptionList.js +21 -11
  41. package/lib/security/encipher/sign.js +3 -2
  42. package/lib/security/fetch.js +7 -0
  43. package/lib/utils/url.d.ts +1 -0
  44. package/lib/utils/url.js +7 -1
  45. package/package.json +1 -1
  46. package/es/dealDsl/PropType.d.ts +0 -7
  47. package/es/dealDsl/PropType.js +0 -1
  48. package/es/dealDsl/index.d.ts +0 -1
  49. package/es/dealDsl/index.js +0 -1
  50. package/es/dealDsl/preprocess/common.d.ts +0 -9
  51. package/es/dealDsl/preprocess/common.js +0 -412
  52. package/es/dealDsl/preprocessDSL.d.ts +0 -9
  53. package/es/dealDsl/preprocessDSL.js +0 -38
  54. package/es/dealDsl/utils/index.d.ts +0 -13
  55. package/es/dealDsl/utils/index.js +0 -21
  56. package/lib/dealDsl/PropType.d.ts +0 -7
  57. package/lib/dealDsl/PropType.js +0 -5
  58. package/lib/dealDsl/index.d.ts +0 -1
  59. package/lib/dealDsl/index.js +0 -12
  60. package/lib/dealDsl/preprocess/common.d.ts +0 -9
  61. package/lib/dealDsl/preprocess/common.js +0 -419
  62. package/lib/dealDsl/preprocessDSL.d.ts +0 -9
  63. package/lib/dealDsl/preprocessDSL.js +0 -46
  64. package/lib/dealDsl/utils/index.d.ts +0 -13
  65. package/lib/dealDsl/utils/index.js +0 -29
package/es/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import security from './security';
2
2
  import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, drawerHandel, MobileDrawer } from './error';
3
3
  import { parseUrlExpression } from './utils/url';
4
- export * from './dealDsl';
4
+ import { getTodoActionListByKey } from './rootConfig/todoActionList';
5
5
  export * from './rootConfig';
6
6
  export declare const IconCheckSvg: string;
7
7
  export declare const IconNormalCheckSvg: string;
8
8
  export declare const IconWebViewErrorSvg: string;
9
- export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer };
9
+ export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer, getTodoActionListByKey };
package/es/index.js CHANGED
@@ -2,9 +2,9 @@ import { getSvgImageBase64 } from './utils/img';
2
2
  import security from './security';
3
3
  import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, drawerHandel, MobileDrawer } from './error';
4
4
  import { parseUrlExpression } from './utils/url';
5
- export * from './dealDsl';
5
+ import { getTodoActionListByKey } from './rootConfig/todoActionList';
6
6
  export * from './rootConfig';
7
7
  export var IconCheckSvg = getSvgImageBase64("<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"22px\" height=\"22px\" viewBox=\"0 0 22 22\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>\u5168\u5C40\u6837\u5F0F:20/\u539F\u5B50\u7EA7\u63A7\u4EF6/\u590D\u9009/\u72B6\u6001:#\u9009\u4E2D</title><g id=\"\u63A7\u4EF6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"system-complete\"><path d=\"M11,0 C17.075904,0 22,4.92409598 22,11 C22,17.075904 17.0734732,22 11,22 C4.92652679,22 0,17.0734732 0,11 C0,4.92652679 4.92409598,0 11,0 Z\" id=\"Shape\" fill=\"#1890FF\"></path><path d=\"M9.42871875,12.9681652 L7.2069029,10.7463493 C6.90006126,10.4395077 6.40257267,10.4395077 6.09573103,10.7463493 C5.78889035,11.05319 5.78889035,11.550677 6.09573103,11.8575177 C6.09573161,11.8575183 6.0957322,11.8575189 6.09573278,11.8575195 L8.72212536,14.4838955 C9.11265701,14.8744045 9.74581424,14.874407 10.136349,14.483901 L10.5404063,14.0798527 L10.5404063,14.0798527 L16.2813591,8.33795955 C16.588183,8.03108543 16.5881626,7.53359119 16.2813136,7.22674219 C15.974472,6.91990055 15.4769834,6.91990055 15.1701417,7.22674219 L9.42871875,12.9681652 L9.42871875,12.9681652 Z\" id=\"Path\" fill=\"#FFFFFF\"></path></g></g></svg>");
8
8
  export var IconNormalCheckSvg = getSvgImageBase64("<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"22px\" height=\"22px\" viewBox=\"0 0 22 22\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>\u5168\u5C40\u6837\u5F0F:20/\u539F\u5B50\u7EA7\u63A7\u4EF6/\u590D\u9009/\u72B6\u6001:\u672A\u9009\u4E2D</title><g id=\"\u63A7\u4EF6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"\u5143\u7D20/\u9009\u62E9/\u672A\u9009\u4E2D\"><path d=\"M11,22 C4.93492502,22 0,17.0653546 0,10.999496 C0,4.9337633 4.93492502,0 11,0 C17.065075,0 22,4.93464539 22,10.999496 C22,17.0644725 17.0660846,22 11,22\" id=\"Fill\" fill=\"#FFFFFF\"></path><path d=\"M11,0.5 C13.8998633,0.5 16.5248731,1.67505184 18.4249106,3.57508938 C20.3249482,5.47512693 21.5,8.10013672 21.5,11 C21.5,13.8995696 20.3245821,16.5243277 18.4245965,18.4243132 C16.5242275,20.3246822 13.8989967,21.5 11,21.5 C8.10129687,21.5 5.47631792,20.324316 3.57600094,18.4239991 C1.67568396,16.5236821 0.5,13.8987031 0.5,11 C0.5,8.10100334 1.67531776,5.47577251 3.57568679,3.57540349 C5.47567234,1.67541793 8.10043037,0.5 11,0.5 Z\" id=\"Shape\" stroke=\"#CCCCCC\"></path></g></g></svg>");
9
9
  export var IconWebViewErrorSvg = getSvgImageBase64("<svg width=\"181\" height=\"170\" viewBox=\"0 0 181 170\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Frame\"><g id=\"&#233;&#161;&#181;&#233;&#157;&#162;-1\"><g id=\"1920X1000\"><g id=\"&#230;&#173;&#164;&#233;&#161;&#181;&#233;&#157;&#162;&#230;&#156;&#170;&#230;&#137;&#190;&#229;&#136;&#176;~\"><g id=\"Group 2\"><path id=\"Stroke-1\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M47.5789 45.7989C47.5789 42.6064 48.8474 39.5438 51.1051 37.2858C53.3629 35.0284 56.4252 33.7597 59.6182 33.7597H59.6193C59.9774 33.7597 60.3209 33.9019 60.5741 34.1552C60.8272 34.4085 60.9695 34.7522 60.9695 35.1099C60.9695 39.9093 60.9695 55.8563 60.9695 55.8563L47.5789 56.0773V45.7989Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"Stroke-2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M132.386 45.8145C132.386 39.1572 126.989 33.7597 120.331 33.7597H120.33C119.976 33.7597 119.636 33.9003 119.386 34.1508C119.136 34.4013 118.995 34.7405 118.995 35.0943C118.995 39.8741 118.995 55.8563 118.995 55.8563L132.386 56.0773V45.8145Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"Fill-4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M145.776 80.8136C145.776 57.3996 126.767 38.3906 103.353 38.3906H76.6114C53.1975 38.3906 34.1884 57.3996 34.1884 80.8136V85.238C34.1884 108.652 46.4826 125.429 69.8965 125.429H110.068C133.482 125.429 145.776 108.652 145.776 85.238V80.8136Z\" fill=\"white\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M116.64 40.0003C133.598 45.5561 145.861 61.52 145.861 80.3254V84.7498C145.861 108.164 133.566 124.941 110.153 124.941H69.9808C63.4458 124.941 57.7771 123.634 53.0001 121.241C56.5982 122.352 60.5944 122.941 64.9808 122.941H105.153C128.566 122.941 140.861 106.164 140.861 82.7498V78.3254C140.861 61.4673 131.006 46.8928 116.749 40.0527L116.64 40.0003Z\" fill=\"#DCE7FA\"/><path id=\"Stroke-5\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M145.776 80.8136C145.776 57.3996 126.767 38.3906 103.353 38.3906H76.6114C53.1975 38.3906 34.1884 57.3996 34.1884 80.8136V85.238C34.1884 108.652 46.4826 125.429 69.8965 125.429H110.068C133.482 125.429 145.776 108.652 145.776 85.238V80.8136Z\" stroke=\"#9DB9F5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path id=\"Fill-10\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M96.9342 38.863C96.9342 42.1561 93.3046 43 90.2136 43C87.1227 43 83.4931 42.1561 83.4931 38.863C83.4931 34.9214 86.767 29.1802 88.9891 25.6778C89.2536 25.2563 89.7158 25.0005 90.2136 25C90.7114 25 91.1742 25.2563 91.4387 25.6778C93.6603 29.1802 96.9342 34.9214 96.9342 38.863Z\" fill=\"#E0E8FA\" stroke=\"#9DB9F5\"/><path id=\"Fill-6\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M132.386 81.9099C132.386 66.513 119.886 54.0129 104.489 54.0129H75.476C60.0792 54.0129 47.5789 66.513 47.5789 81.9099C47.5789 97.3067 52.268 107.575 67.6648 107.575H112.3C127.697 107.575 132.386 97.3067 132.386 81.9099Z\" fill=\"white\"/><path id=\"Stroke-7\" d=\"M104.489 50.6653H75.476C58.2303 50.6653 44.2313 64.6642 44.2313 81.9099C44.2313 90.7375 45.7017 97.4992 49.092 102.417C52.9783 108.053 59.1903 110.923 67.6648 110.923H112.3C120.775 110.923 126.987 108.053 130.873 102.417C134.263 97.4992 135.734 90.7375 135.734 81.9099C135.734 64.6641 121.735 50.6653 104.489 50.6653Z\" fill=\"#9DB9F5\"/><g id=\"&#232;&#183;&#175;&#229;&#190;&#132;-2\"><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;\" d=\"M75.476 57.3605H104.489C118.037 57.3605 129.038 68.3618 129.038 81.9099C129.038 97.3996 124.331 104.228 112.3 104.228H67.6648C55.6342 104.228 50.9266 97.3996 50.9266 81.9099C50.9266 68.3619 61.928 57.3605 75.476 57.3605Z\" fill=\"#E0E8FA\"/></g><path id=\"Fill-8\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M84.1137 95.9463C85.4031 95.6201 86.6775 95.4603 87.9468 95.3546C88.7982 95.2837 89.6435 95.2645 90.4899 95.2639C91.1254 95.2634 91.7597 95.2636 92.3969 95.297C93.876 95.3745 95.3613 95.5534 96.8638 95.9458C97.3955 96.1229 97.9702 95.8352 98.1476 95.3038C98.3245 94.7723 98.0366 94.1972 97.5054 94.0202C95.903 93.3659 94.2973 92.8946 92.6647 92.6492C91.9422 92.5406 91.2158 92.4767 90.4888 92.4767C89.5219 92.4766 88.5549 92.5743 87.5953 92.7544C86.2043 93.0155 84.8402 93.454 83.4746 94.0198C82.9429 94.1961 82.6544 94.7709 82.8308 95.3025C83.0071 95.8341 83.5819 96.1226 84.1137 95.9463Z\" fill=\"#9DB9F5\"/><path id=\"Fill-9\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M117.27 77.4622C117.27 74.9977 115.272 73 112.808 73H112.806C110.341 73 108.343 74.9977 108.343 77.4622C108.343 80.1433 108.343 83.5432 108.343 86.2243C108.343 88.6888 110.341 90.6867 112.806 90.6867H112.808C115.272 90.6867 117.27 88.6888 117.27 86.2243C117.27 83.5432 117.27 80.1433 117.27 77.4622Z\" fill=\"#9DB9F5\"/><path id=\"Fill-9_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M72.927 77.6596C72.927 75.1951 70.9291 73.1974 68.4646 73.1974H68.4624C65.998 73.1974 64 75.1951 64 77.6596C64 80.3407 64 83.7406 64 86.4217C64 88.8862 65.998 90.8841 68.4624 90.8841H68.4646C70.9291 90.8841 72.927 88.8862 72.927 86.4217C72.927 83.7406 72.927 80.3407 72.927 77.6596Z\" fill=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M68.5 76.1974C69.88 76.1974 71 77.3176 71 78.6974C71 80.0772 69.88 81.1974 68.5 81.1974C67.12 81.1974 66 80.0772 66 78.6974C66 77.3176 67.12 76.1974 68.5 76.1974ZM112.843 76C114.223 76 115.343 77.1202 115.343 78.5C115.343 79.8798 114.223 81 112.843 81C111.463 81 110.343 79.8798 110.343 78.5C110.343 77.1202 111.463 76 112.843 76Z\" fill=\"white\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_3\" d=\"M68.4934 61.2901L68.4933 64.8168C63.005 66.1839 58.9321 71.1569 58.9321 77.0741C58.9321 77.3899 58.9359 77.6987 58.9436 78.0005L55.504 78.0002C55.4967 77.6966 55.4931 77.3879 55.4931 77.0741C55.4931 69.2458 61.0911 62.7179 68.4934 61.2901Z\" fill=\"white\"/><path id=\"&#231;&#159;&#169;&#229;&#189;&#162;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M70.4931 61H76.4931V64.806H70.4931V61Z\" fill=\"white\"/><g id=\"&#231;&#188;&#150;&#231;&#187;&#132;\"><path id=\"Fill-11\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M36.927 70.1091C36.927 69.4966 36.4306 69 35.8182 69C35.493 69 35.1116 69 34.6953 69C32.9196 69 31.2166 69.7056 29.961 70.9612C28.7054 72.2168 28 73.9198 28 75.6955C28 79.785 28 84.9965 28 89.086C28 90.8617 28.7054 92.5647 29.961 93.8203C31.2166 95.076 32.9196 95.7813 34.6953 95.7813C35.1116 95.7813 35.493 95.7813 35.8182 95.7813C36.4306 95.7813 36.927 95.2849 36.927 94.6725C36.927 90.3236 36.927 74.4579 36.927 70.1091Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M29.5069 73.4835V86.874C29.5069 88.6497 30.2123 90.3527 31.4679 91.6083C32.7236 92.864 34.4265 93.5693 36.2022 93.5693L36.4339 93.5692L36.434 94.4605C36.434 95.032 36.0015 95.5026 35.4459 95.5628L35.3251 95.5693H34.2022C32.4265 95.5693 31.7236 94.864 30.4679 93.6083C29.2123 92.3527 28.5069 90.6497 28.5069 88.874V75.8337C28.5069 74.4889 28.9115 73.1858 29.6533 72.0872C29.5569 72.543 29.5069 73.0106 29.5069 73.4835Z\" fill=\"#DFE9FB\"/></g><g id=\"&#231;&#188;&#150;&#231;&#187;&#132;&#229;&#164;&#135;&#228;&#187;&#189;\"><path id=\"Fill-11_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M144 70.1091C144 69.4966 144.496 69 145.109 69C145.434 69 145.815 69 146.232 69C148.007 69 149.71 69.7056 150.966 70.9612C152.222 72.2168 152.927 73.9198 152.927 75.6955C152.927 79.785 152.927 84.9965 152.927 89.086C152.927 90.8617 152.222 92.5647 150.966 93.8203C149.71 95.076 148.007 95.7813 146.232 95.7813C145.815 95.7813 145.434 95.7813 145.109 95.7813C144.496 95.7813 144 95.2849 144 94.6725C144 90.3236 144 74.4579 144 70.1091Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_5\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M151.42 73.4835V86.874C151.42 88.6497 150.715 90.3527 149.459 91.6083C148.204 92.864 146.501 93.5693 144.725 93.5693L144.493 93.5692L144.493 94.4605C144.493 95.032 144.926 95.5026 145.481 95.5628L145.602 95.5693H146.725C148.501 95.5693 149.204 94.864 150.459 93.6083C151.715 92.3527 152.42 90.6497 152.42 88.874V75.8337C152.42 74.4889 152.016 73.1858 151.274 72.0872C151.37 72.543 151.42 73.0106 151.42 73.4835Z\" fill=\"#DFE9FB\"/></g><path id=\"&#230;&#164;&#173;&#229;&#156;&#134;&#229;&#189;&#162;\" d=\"M90 145C110.987 145 128 142.09 128 138.5C128 134.91 110.987 132 90 132C69.0132 132 52 134.91 52 138.5C52 142.09 69.0132 145 90 145Z\" fill=\"#E0E8FA\"/><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;_2\" d=\"M171.537 94.931C167.868 99.3728 161.059 99.807 161.059 99.807C161.059 99.807 160.2 93.0389 163.871 88.597C167.541 84.1555 174.349 83.7213 174.349 83.7213C174.349 83.7213 175.207 90.4891 171.537 94.931Z\" fill=\"#E0E8FA\"/><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;&#229;&#164;&#135;&#228;&#187;&#189;-2\" d=\"M23.1487 112.332C20.7639 115.219 16.3383 115.501 16.3383 115.501C16.3383 115.501 15.7803 111.102 18.1661 108.215C20.5514 105.328 24.977 105.045 24.977 105.045C24.977 105.045 25.5346 109.444 23.1487 112.332Z\" fill=\"#E0E8FA\"/></g></g></g></g></g></svg>");
10
- export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer };
10
+ export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer, getTodoActionListByKey };
@@ -38,8 +38,9 @@ export default {
38
38
  label: '文件预览',
39
39
  todoOptions: [{
40
40
  key: 'fileId',
41
- label: '文件ID',
42
- type: 'SetExpression'
41
+ label: '文件ID/URL',
42
+ type: 'SetExpression',
43
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
43
44
  }],
44
45
  classification: [{
45
46
  label: '页面类',
@@ -15,9 +15,9 @@ export default {
15
15
  catalogItemId: -1,
16
16
  ignoreLogin: false,
17
17
  mode: 'alert',
18
- closeOnClickOverlay: false,
19
- destroyOnClose: false,
20
- showCloseButton: false,
18
+ closeOnClickOverlay: true,
19
+ destroyOnClose: true,
20
+ showCloseButton: true,
21
21
  compState: [{
22
22
  name: '业务主键',
23
23
  code: 'bizId'
@@ -38,8 +38,9 @@ export default {
38
38
  label: '文件预览',
39
39
  todoOptions: [{
40
40
  key: 'fileId',
41
- label: '文件ID',
42
- type: 'SetExpression'
41
+ label: '文件ID/URL',
42
+ type: 'SetExpression',
43
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
43
44
  }],
44
45
  classification: [{
45
46
  label: '页面类',
@@ -40,8 +40,9 @@ export default {
40
40
  label: '文件预览',
41
41
  todoOptions: [{
42
42
  key: 'fileId',
43
- label: '文件ID',
44
- type: 'SetExpression'
43
+ label: '文件ID/URL',
44
+ type: 'SetExpression',
45
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
45
46
  }],
46
47
  classification: [{
47
48
  label: '页面类',
@@ -9,6 +9,7 @@ declare const _default: {
9
9
  pageDynamicFlag: boolean;
10
10
  catalogItemId: number;
11
11
  ignoreLogin: boolean;
12
+ hideNavBar: boolean;
12
13
  layout: string;
13
14
  searchParams: {
14
15
  name: string;
@@ -88,6 +89,15 @@ declare const _default: {
88
89
  };
89
90
  };
90
91
  };
92
+ pageTitle: {
93
+ label: string;
94
+ type: string;
95
+ groupsName: string;
96
+ istodoBind: boolean;
97
+ props: {
98
+ description: string;
99
+ };
100
+ };
91
101
  catalogItemId: {
92
102
  label: string;
93
103
  type: string;
@@ -172,6 +182,12 @@ declare const _default: {
172
182
  type: string;
173
183
  props: {};
174
184
  };
185
+ colorType: {
186
+ groupsName: string;
187
+ label: string;
188
+ type: string;
189
+ props: {};
190
+ };
175
191
  };
176
192
  };
177
193
  export default _default;
@@ -16,6 +16,7 @@ export default {
16
16
  pageDynamicFlag: false,
17
17
  catalogItemId: -1,
18
18
  ignoreLogin: false,
19
+ hideNavBar: false,
19
20
  layout: 'BaseLayout',
20
21
  searchParams: [{
21
22
  name: '业务主键',
@@ -50,8 +51,9 @@ export default {
50
51
  label: '文件预览',
51
52
  todoOptions: [{
52
53
  key: 'fileId',
53
- label: '文件ID',
54
- type: 'SetExpression'
54
+ label: '文件ID/URL',
55
+ type: 'SetExpression',
56
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
55
57
  }],
56
58
  classification: [{
57
59
  label: '页面类',
@@ -116,6 +118,15 @@ export default {
116
118
  }
117
119
  }
118
120
  },
121
+ pageTitle: {
122
+ label: '页面标题',
123
+ type: 'Input',
124
+ groupsName: '基础',
125
+ istodoBind: true,
126
+ props: {
127
+ description: '适用场景:当前页面需要动态更改页面名称的时候,可通过表达式进行绑定。默认名称'
128
+ }
129
+ },
119
130
  catalogItemId: {
120
131
  label: '分组',
121
132
  type: 'CatalogTreeSelect',
@@ -209,6 +220,12 @@ export default {
209
220
  label: '填充类型',
210
221
  type: 'BackgroundType',
211
222
  props: {}
223
+ },
224
+ colorType: {
225
+ groupsName: '标题&返回键颜色',
226
+ label: '填充类型',
227
+ type: 'BackgroundType',
228
+ props: {}
212
229
  }
213
230
  }
214
231
  };
@@ -37,8 +37,9 @@ export default {
37
37
  label: '文件预览',
38
38
  todoOptions: [{
39
39
  key: 'fileId',
40
- label: '文件ID',
41
- type: 'SetExpression'
40
+ label: '文件ID/URL',
41
+ type: 'SetExpression',
42
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
42
43
  }, {
43
44
  key: 'viewMode',
44
45
  label: '预览方式',
@@ -71,6 +71,9 @@ declare const _default: {
71
71
  type: string;
72
72
  groupsName: string;
73
73
  props: {
74
+ dependProps: {
75
+ placement: string[];
76
+ };
74
77
  options: {
75
78
  value: number;
76
79
  title: string;
@@ -82,6 +85,9 @@ declare const _default: {
82
85
  type: string;
83
86
  groupsName: string;
84
87
  props: {
88
+ dependProps: {
89
+ placement: string[];
90
+ };
85
91
  options: {
86
92
  value: number;
87
93
  title: string;
@@ -38,8 +38,9 @@ export default {
38
38
  label: '文件预览',
39
39
  todoOptions: [{
40
40
  key: 'fileId',
41
- label: '文件ID',
42
- type: 'SetExpression'
41
+ label: '文件ID/URL',
42
+ type: 'SetExpression',
43
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
43
44
  }, {
44
45
  key: 'viewMode',
45
46
  label: '预览方式',
@@ -139,6 +140,9 @@ export default {
139
140
  type: 'Select',
140
141
  groupsName: '基础',
141
142
  props: {
143
+ dependProps: {
144
+ placement: ['right', 'left']
145
+ },
142
146
  options: [{
143
147
  value: 560,
144
148
  title: 's'
@@ -159,6 +163,9 @@ export default {
159
163
  type: 'Select',
160
164
  groupsName: '基础',
161
165
  props: {
166
+ dependProps: {
167
+ placement: ['top', 'bottom']
168
+ },
162
169
  options: [{
163
170
  value: 200,
164
171
  title: 's'
@@ -39,8 +39,9 @@ export default {
39
39
  label: '文件预览',
40
40
  todoOptions: [{
41
41
  key: 'fileId',
42
- label: '文件ID',
43
- type: 'SetExpression'
42
+ label: '文件ID/URL',
43
+ type: 'SetExpression',
44
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
44
45
  }, {
45
46
  key: 'viewMode',
46
47
  label: '预览方式',
@@ -36,8 +36,9 @@ export default {
36
36
  label: '文件预览',
37
37
  todoOptions: [{
38
38
  key: 'fileId',
39
- label: '文件ID',
40
- type: 'SetExpression'
39
+ label: '文件ID/URL',
40
+ type: 'SetExpression',
41
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
41
42
  }, {
42
43
  key: 'viewMode',
43
44
  label: '预览方式',
@@ -30,25 +30,8 @@ declare const _default: {
30
30
  todoEvents: ({
31
31
  value: string;
32
32
  label: string;
33
- terminal?: undefined;
34
- params?: undefined;
35
33
  dependProps?: undefined;
36
- } | {
37
- value: string;
38
- label: string;
39
- terminal: string[];
40
34
  params?: undefined;
41
- dependProps?: undefined;
42
- } | {
43
- value: string;
44
- label: string;
45
- terminal: string[];
46
- params: {
47
- title: string;
48
- name: string;
49
- value: string;
50
- }[];
51
- dependProps?: undefined;
52
35
  } | {
53
36
  value: string;
54
37
  label: string;
@@ -60,7 +43,6 @@ declare const _default: {
60
43
  name: string;
61
44
  value: string;
62
45
  }[];
63
- terminal?: undefined;
64
46
  })[];
65
47
  todoProps: {
66
48
  pageName: {
@@ -50,8 +50,9 @@ export default {
50
50
  label: '文件预览',
51
51
  todoOptions: [{
52
52
  key: 'fileId',
53
- label: '文件ID',
54
- type: 'SetExpression'
53
+ label: '文件ID/URL',
54
+ type: 'SetExpression',
55
+ labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
55
56
  }, {
56
57
  key: 'viewMode',
57
58
  label: '预览方式',
@@ -100,19 +101,6 @@ export default {
100
101
  }, {
101
102
  value: 'willUnmount',
102
103
  label: '页面退出'
103
- }, {
104
- value: 'onLeftClick',
105
- label: '页面返回点击事件',
106
- terminal: ['mobile']
107
- }, {
108
- value: 'otherPageMessage',
109
- label: '接收页面信息',
110
- terminal: ['mobile'],
111
- params: [{
112
- title: '接收数据信息',
113
- name: 'p',
114
- value: '$p$'
115
- }]
116
104
  }, {
117
105
  value: 'onPageCacheRefresh',
118
106
  label: '页面缓存刷新',
@@ -609,35 +609,6 @@ declare const todoActionObject: {
609
609
  }[];
610
610
  hidden: boolean;
611
611
  };
612
- setStatesByKeyAndValue: {
613
- key: string;
614
- label: string;
615
- todoOptions: {
616
- key: string;
617
- label: string;
618
- type: string;
619
- }[];
620
- classification: {
621
- label: string;
622
- value: string;
623
- }[];
624
- hidden: boolean;
625
- };
626
- getStatesByKey: {
627
- key: string;
628
- label: string;
629
- todoOptions: {
630
- key: string;
631
- label: string;
632
- type: string;
633
- }[];
634
- todoCallbacks: string[];
635
- classification: {
636
- label: string;
637
- value: string;
638
- }[];
639
- hidden: boolean;
640
- };
641
612
  setCompNestedState: {
642
613
  key: string;
643
614
  label: string;
@@ -1295,25 +1266,6 @@ declare const todoActionObject: {
1295
1266
  };
1296
1267
  })[];
1297
1268
  };
1298
- triggerMobileRelDataSource: {
1299
- key: string;
1300
- label: string;
1301
- todoOptions: ({
1302
- key: string;
1303
- label: string;
1304
- type: string;
1305
- props?: undefined;
1306
- } | {
1307
- key: string;
1308
- label: string;
1309
- type: string;
1310
- props: {
1311
- options: {
1312
- noCustom: boolean;
1313
- };
1314
- };
1315
- })[];
1316
- };
1317
1269
  validateMsg: {
1318
1270
  key: string;
1319
1271
  label: string;
@@ -1416,6 +1368,17 @@ declare const todoActionObject: {
1416
1368
  labelTip: string;
1417
1369
  props: {
1418
1370
  placeholder: string;
1371
+ defaultValue?: undefined;
1372
+ };
1373
+ aliasKey?: undefined;
1374
+ } | {
1375
+ key: string;
1376
+ label: string;
1377
+ type: string;
1378
+ labelTip: string;
1379
+ props: {
1380
+ defaultValue: boolean;
1381
+ placeholder?: undefined;
1419
1382
  };
1420
1383
  aliasKey?: undefined;
1421
1384
  })[];
@@ -1688,6 +1651,7 @@ declare const todoActionObject: {
1688
1651
  type: string;
1689
1652
  }[];
1690
1653
  todoCallbacks: string[];
1654
+ hidden: boolean;
1691
1655
  };
1692
1656
  setCompContentValue: {
1693
1657
  key: string;
@@ -1698,6 +1662,7 @@ declare const todoActionObject: {
1698
1662
  type: string;
1699
1663
  }[];
1700
1664
  todoCallbacks: string[];
1665
+ hidden: boolean;
1701
1666
  };
1702
1667
  setPageSrc: {
1703
1668
  key: string;
@@ -1850,6 +1815,7 @@ declare const todoActionObject: {
1850
1815
  label: string;
1851
1816
  type: string;
1852
1817
  }[];
1818
+ tips: string;
1853
1819
  };
1854
1820
  postObjectData: {
1855
1821
  key: string;
@@ -2064,12 +2030,31 @@ declare const todoActionObject: {
2064
2030
  props: {
2065
2031
  isRequired: boolean;
2066
2032
  valuePropName: string;
2033
+ options?: undefined;
2034
+ };
2035
+ labelTip?: undefined;
2036
+ defaultValue?: undefined;
2037
+ } | {
2038
+ key: string;
2039
+ label: string;
2040
+ type: string;
2041
+ labelTip: string;
2042
+ defaultValue: string;
2043
+ props: {
2044
+ options: {
2045
+ title: string;
2046
+ value: string;
2047
+ }[];
2048
+ isRequired?: undefined;
2049
+ valuePropName?: undefined;
2067
2050
  };
2068
2051
  } | {
2069
2052
  key: string;
2070
2053
  label: string;
2071
2054
  type: string;
2072
2055
  props?: undefined;
2056
+ labelTip?: undefined;
2057
+ defaultValue?: undefined;
2073
2058
  })[];
2074
2059
  todoCallbacks: string[];
2075
2060
  classification: {
@@ -2089,6 +2074,22 @@ declare const todoActionObject: {
2089
2074
  valuePropName: string;
2090
2075
  options?: undefined;
2091
2076
  };
2077
+ labelTip?: undefined;
2078
+ defaultValue?: undefined;
2079
+ } | {
2080
+ key: string;
2081
+ label: string;
2082
+ type: string;
2083
+ labelTip: string;
2084
+ defaultValue: string;
2085
+ props: {
2086
+ options: {
2087
+ title: string;
2088
+ value: string;
2089
+ }[];
2090
+ isRequired?: undefined;
2091
+ valuePropName?: undefined;
2092
+ };
2092
2093
  } | {
2093
2094
  key: string;
2094
2095
  label: string;
@@ -2146,6 +2147,8 @@ declare const todoActionObject: {
2146
2147
  props?: undefined;
2147
2148
  })[];
2148
2149
  };
2150
+ labelTip?: undefined;
2151
+ defaultValue?: undefined;
2149
2152
  })[];
2150
2153
  todoCallbacks: string[];
2151
2154
  classification: {
@@ -2206,7 +2209,23 @@ declare const todoActionObject: {
2206
2209
  key: string;
2207
2210
  label: string;
2208
2211
  type: string;
2212
+ labelTip?: undefined;
2213
+ defaultValue?: undefined;
2209
2214
  props?: undefined;
2215
+ } | {
2216
+ key: string;
2217
+ label: string;
2218
+ type: string;
2219
+ labelTip: string;
2220
+ defaultValue: string;
2221
+ props: {
2222
+ options: {
2223
+ title: string;
2224
+ value: string;
2225
+ }[];
2226
+ isRequired?: undefined;
2227
+ valuePropName?: undefined;
2228
+ };
2210
2229
  } | {
2211
2230
  key: string;
2212
2231
  label: string;
@@ -2214,7 +2233,10 @@ declare const todoActionObject: {
2214
2233
  props: {
2215
2234
  isRequired: boolean;
2216
2235
  valuePropName: string;
2236
+ options?: undefined;
2217
2237
  };
2238
+ labelTip?: undefined;
2239
+ defaultValue?: undefined;
2218
2240
  })[];
2219
2241
  todoCallbacks: string[];
2220
2242
  classification: {
@@ -2308,12 +2330,31 @@ declare const todoActionObject: {
2308
2330
  props: {
2309
2331
  isRequired: boolean;
2310
2332
  valuePropName: string;
2333
+ options?: undefined;
2334
+ };
2335
+ labelTip?: undefined;
2336
+ defaultValue?: undefined;
2337
+ } | {
2338
+ key: string;
2339
+ label: string;
2340
+ type: string;
2341
+ labelTip: string;
2342
+ defaultValue: string;
2343
+ props: {
2344
+ options: {
2345
+ title: string;
2346
+ value: string;
2347
+ }[];
2348
+ isRequired?: undefined;
2349
+ valuePropName?: undefined;
2311
2350
  };
2312
2351
  } | {
2313
2352
  key: string;
2314
2353
  label: string;
2315
2354
  type: string;
2316
2355
  props?: undefined;
2356
+ labelTip?: undefined;
2357
+ defaultValue?: undefined;
2317
2358
  })[];
2318
2359
  todoCallbacks: string[];
2319
2360
  classification: {
@@ -2363,9 +2404,20 @@ declare const todoActionObject: {
2363
2404
  isRequired: boolean;
2364
2405
  valuePropName: string;
2365
2406
  options: {
2366
- fileUpload: boolean;
2367
2407
  refreshKey: string[];
2368
- serviceTabs: string[];
2408
+ serviceTabs: ({
2409
+ key: string;
2410
+ description: string;
2411
+ filterParams: {
2412
+ fileInputEnabled: string;
2413
+ };
2414
+ fileUpload?: undefined;
2415
+ } | {
2416
+ key: string;
2417
+ fileUpload: boolean;
2418
+ description: string;
2419
+ filterParams?: undefined;
2420
+ })[];
2369
2421
  };
2370
2422
  };
2371
2423
  } | {
@@ -2440,6 +2492,11 @@ declare const todoActionObject: {
2440
2492
  label: string;
2441
2493
  type: string;
2442
2494
  }[];
2495
+ todoCallbacks: string[];
2496
+ classification: {
2497
+ label: string;
2498
+ value: string;
2499
+ }[];
2443
2500
  };
2444
2501
  getBlockSelectValues: {
2445
2502
  key: string;
@@ -3187,6 +3244,69 @@ declare const todoActionObject: {
3187
3244
  value: string;
3188
3245
  }[];
3189
3246
  };
3247
+ callCurrentFunc: {
3248
+ key: string;
3249
+ label: string;
3250
+ todoOptions: {
3251
+ key: string;
3252
+ label: string;
3253
+ type: string;
3254
+ }[];
3255
+ todoCallbacks: string[];
3256
+ };
3257
+ sysSetFormItemStatus: {
3258
+ key: string;
3259
+ label: string;
3260
+ classification: {
3261
+ label: string;
3262
+ value: string;
3263
+ }[];
3264
+ todoOptions: {
3265
+ key: string;
3266
+ type: string;
3267
+ label: string;
3268
+ props: {
3269
+ showAdd: boolean;
3270
+ noRepeatSelect: {
3271
+ key: string;
3272
+ };
3273
+ options: ({
3274
+ key: string;
3275
+ type: string;
3276
+ label: string;
3277
+ description: string;
3278
+ props: {
3279
+ includeType: string[];
3280
+ required: boolean;
3281
+ };
3282
+ } | {
3283
+ key: string;
3284
+ type: string;
3285
+ label: string;
3286
+ description: string;
3287
+ props: {
3288
+ required: boolean;
3289
+ includeType?: undefined;
3290
+ };
3291
+ } | {
3292
+ key: string;
3293
+ type: string;
3294
+ label: string;
3295
+ description: string;
3296
+ props: {
3297
+ includeType?: undefined;
3298
+ required?: undefined;
3299
+ };
3300
+ })[];
3301
+ titlePrefix: string;
3302
+ };
3303
+ hideLabel: boolean;
3304
+ }[];
3305
+ remarks: {
3306
+ label: string;
3307
+ content: string;
3308
+ }[];
3309
+ };
3190
3310
  };
3191
3311
  /**
3192
3312
  * 通过数组key获取对应的动作