@lingxiteam/assets 1.0.13-alpha.2 → 3.2.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.
- package/es/error/index.js +2 -2
- package/es/index.d.ts +3 -3
- package/es/index.js +3 -3
- package/es/rootConfig/mobile/BusiComp.js +3 -2
- package/es/rootConfig/mobile/MobileModal.js +3 -2
- package/es/rootConfig/mobile/MobilePopover.js +3 -2
- package/es/rootConfig/mobile/page.d.ts +6 -0
- package/es/rootConfig/mobile/page.js +9 -2
- package/es/rootConfig/pc/BusiComp.js +3 -2
- package/es/rootConfig/pc/Drawer.js +3 -2
- package/es/rootConfig/pc/Modal.js +3 -2
- package/es/rootConfig/pc/Popover.js +3 -2
- package/es/rootConfig/pc/page.js +3 -2
- package/es/rootConfig/todoActionList.d.ts +15 -0
- package/es/rootConfig/todoActionList.js +22 -6
- package/es/rootConfig/todoOptionList.d.ts +1 -0
- package/es/rootConfig/todoOptionList.js +2 -1
- package/lib/error/index.js +7 -7
- package/lib/index.d.ts +3 -3
- package/lib/index.js +16 -20
- package/lib/rootConfig/mobile/BusiComp.js +3 -2
- package/lib/rootConfig/mobile/MobileModal.js +3 -2
- package/lib/rootConfig/mobile/MobilePopover.js +3 -2
- package/lib/rootConfig/mobile/page.d.ts +6 -0
- package/lib/rootConfig/mobile/page.js +9 -2
- package/lib/rootConfig/pc/BusiComp.js +3 -2
- package/lib/rootConfig/pc/Drawer.js +3 -2
- package/lib/rootConfig/pc/Modal.js +3 -2
- package/lib/rootConfig/pc/Popover.js +3 -2
- package/lib/rootConfig/pc/page.js +3 -2
- package/lib/rootConfig/todoActionList.d.ts +15 -0
- package/lib/rootConfig/todoActionList.js +22 -6
- package/lib/rootConfig/todoOptionList.d.ts +1 -0
- package/lib/rootConfig/todoOptionList.js +2 -1
- package/package.json +1 -1
- package/es/dealDsl/PropType.d.ts +0 -7
- package/es/dealDsl/PropType.js +0 -1
- package/es/dealDsl/index.d.ts +0 -1
- package/es/dealDsl/index.js +0 -1
- package/es/dealDsl/preprocess/common.d.ts +0 -9
- package/es/dealDsl/preprocess/common.js +0 -412
- package/es/dealDsl/preprocessDSL.d.ts +0 -9
- package/es/dealDsl/preprocessDSL.js +0 -38
- package/es/dealDsl/utils/index.d.ts +0 -13
- package/es/dealDsl/utils/index.js +0 -21
- package/lib/dealDsl/PropType.d.ts +0 -7
- package/lib/dealDsl/PropType.js +0 -5
- package/lib/dealDsl/index.d.ts +0 -1
- package/lib/dealDsl/index.js +0 -12
- package/lib/dealDsl/preprocess/common.d.ts +0 -9
- package/lib/dealDsl/preprocess/common.js +0 -419
- package/lib/dealDsl/preprocessDSL.d.ts +0 -9
- package/lib/dealDsl/preprocessDSL.js +0 -46
- package/lib/dealDsl/utils/index.d.ts +0 -13
- package/lib/dealDsl/utils/index.js +0 -29
package/es/error/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ErrorMsg from './errorDisplay/Web/ErrorMsg';
|
|
2
2
|
import MobileErrorMsg from './errorDisplay/Mobile/ErrorMsg';
|
|
3
3
|
import MobileDrawer from './errorDisplay/Mobile/Drawer';
|
|
4
|
-
import
|
|
4
|
+
import { drawerHandel } from './errorDisplay/Web/Drawer';
|
|
5
5
|
import { getHttpErrorByCode } from './errorDisplay/compUtils';
|
|
6
6
|
import errorCatch from './errorCatch';
|
|
7
|
-
export { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, MobileDrawer,
|
|
7
|
+
export { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, MobileDrawer, drawerHandel };
|
package/es/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import security from './security';
|
|
2
|
-
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch,
|
|
2
|
+
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, drawerHandel, MobileDrawer } from './error';
|
|
3
3
|
import { parseUrlExpression } from './utils/url';
|
|
4
|
-
|
|
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,
|
|
9
|
+
export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer, getTodoActionListByKey };
|
package/es/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getSvgImageBase64 } from './utils/img';
|
|
2
2
|
import security from './security';
|
|
3
|
-
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch,
|
|
3
|
+
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, drawerHandel, MobileDrawer } from './error';
|
|
4
4
|
import { parseUrlExpression } from './utils/url';
|
|
5
|
-
|
|
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=\"页面-1\"><g id=\"1920X1000\"><g id=\"此页面未找到~\"><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=\"形状结合\" 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=\"路径-2\"><path id=\"路径\" 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=\"形状结合_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=\"形状结合_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=\"矩形\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M70.4931 61H76.4931V64.806H70.4931V61Z\" fill=\"white\"/><g id=\"编组\"><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=\"形状结合_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=\"编组备份\"><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=\"形状结合_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=\"椭圆形\" 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=\"路径_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=\"路径备份-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,
|
|
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: '页面类',
|
|
@@ -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: '页面类',
|
|
@@ -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
|
classification: [{
|
|
57
58
|
label: '页面类',
|
|
@@ -116,6 +117,12 @@ export default {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
},
|
|
120
|
+
pageTitle: {
|
|
121
|
+
label: '页面标题',
|
|
122
|
+
type: 'Input',
|
|
123
|
+
groupsName: '基础',
|
|
124
|
+
istodoBind: true
|
|
125
|
+
},
|
|
119
126
|
catalogItemId: {
|
|
120
127
|
label: '分组',
|
|
121
128
|
type: 'CatalogTreeSelect',
|
|
@@ -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: '预览方式',
|
|
@@ -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: '预览方式',
|
|
@@ -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: '预览方式',
|
package/es/rootConfig/pc/page.js
CHANGED
|
@@ -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: '预览方式',
|
|
@@ -2440,6 +2440,11 @@ declare const todoActionObject: {
|
|
|
2440
2440
|
label: string;
|
|
2441
2441
|
type: string;
|
|
2442
2442
|
}[];
|
|
2443
|
+
todoCallbacks: string[];
|
|
2444
|
+
classification: {
|
|
2445
|
+
label: string;
|
|
2446
|
+
value: string;
|
|
2447
|
+
}[];
|
|
2443
2448
|
};
|
|
2444
2449
|
getBlockSelectValues: {
|
|
2445
2450
|
key: string;
|
|
@@ -3187,6 +3192,16 @@ declare const todoActionObject: {
|
|
|
3187
3192
|
value: string;
|
|
3188
3193
|
}[];
|
|
3189
3194
|
};
|
|
3195
|
+
callCurrentFunc: {
|
|
3196
|
+
key: string;
|
|
3197
|
+
label: string;
|
|
3198
|
+
todoOptions: {
|
|
3199
|
+
key: string;
|
|
3200
|
+
label: string;
|
|
3201
|
+
type: string;
|
|
3202
|
+
}[];
|
|
3203
|
+
todoCallbacks: string[];
|
|
3204
|
+
};
|
|
3190
3205
|
};
|
|
3191
3206
|
/**
|
|
3192
3207
|
* 通过数组key获取对应的动作
|
|
@@ -2709,7 +2709,7 @@ var todoActionObject = {
|
|
|
2709
2709
|
label: '文件预览',
|
|
2710
2710
|
todoOptions: [{
|
|
2711
2711
|
key: 'fileId',
|
|
2712
|
-
label: '文件ID',
|
|
2712
|
+
label: '文件ID/URL',
|
|
2713
2713
|
type: 'SetExpression'
|
|
2714
2714
|
}],
|
|
2715
2715
|
classification: [{
|
|
@@ -2795,6 +2795,11 @@ var todoActionObject = {
|
|
|
2795
2795
|
key: 'copyText',
|
|
2796
2796
|
label: '复制内容',
|
|
2797
2797
|
type: 'SetExpression'
|
|
2798
|
+
}],
|
|
2799
|
+
todoCallbacks: ['callback1'],
|
|
2800
|
+
classification: [{
|
|
2801
|
+
label: '常用',
|
|
2802
|
+
value: 'others'
|
|
2798
2803
|
}]
|
|
2799
2804
|
},
|
|
2800
2805
|
getBlockSelectValues: {
|
|
@@ -3691,15 +3696,26 @@ var todoActionObject = {
|
|
|
3691
3696
|
label: '显示/隐藏',
|
|
3692
3697
|
value: 'visible'
|
|
3693
3698
|
}]
|
|
3699
|
+
},
|
|
3700
|
+
callCurrentFunc: {
|
|
3701
|
+
key: 'callCurrentFunc',
|
|
3702
|
+
label: '调用自定义事件',
|
|
3703
|
+
todoOptions: [{
|
|
3704
|
+
key: 'customFuncName',
|
|
3705
|
+
label: '自定义事件',
|
|
3706
|
+
type: 'SelectCustomFunc'
|
|
3707
|
+
}, {
|
|
3708
|
+
key: 'customFuncParams',
|
|
3709
|
+
label: '事件入参',
|
|
3710
|
+
type: 'SelectParams'
|
|
3711
|
+
}],
|
|
3712
|
+
todoCallbacks: ['callback1', 'callback2']
|
|
3694
3713
|
}
|
|
3695
3714
|
};
|
|
3696
3715
|
var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'showDrawer', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setStatesByKeyAndValue', 'getStatesByKey', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'saveBlobFile', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
|
|
3697
3716
|
// 'previewFile',
|
|
3698
|
-
'return', 'copyToClipboard', 'addDebugger', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation'
|
|
3699
|
-
|
|
3700
|
-
];
|
|
3701
|
-
|
|
3702
|
-
var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
|
|
3717
|
+
'return', 'copyToClipboard', 'addDebugger', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState'];
|
|
3718
|
+
var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'dropPageByCatch', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
|
|
3703
3719
|
// 'previewFile',
|
|
3704
3720
|
'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState'];
|
|
3705
3721
|
// 指定页面类型展示动作,别的类型需过滤掉该动作
|
|
@@ -665,7 +665,8 @@ var todoOptionList = {
|
|
|
665
665
|
fileId: {
|
|
666
666
|
key: 'fileId',
|
|
667
667
|
label: '文件ID',
|
|
668
|
-
type: 'SetExpression'
|
|
668
|
+
type: 'SetExpression',
|
|
669
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
669
670
|
},
|
|
670
671
|
loadMoreTotal: {
|
|
671
672
|
key: 'total',
|
package/lib/error/index.js
CHANGED
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "Drawer", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _Drawer2.default;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
6
|
Object.defineProperty(exports, "ErrorMsg", {
|
|
13
7
|
enumerable: true,
|
|
14
8
|
get: function get() {
|
|
@@ -27,6 +21,12 @@ Object.defineProperty(exports, "MobileErrorMsg", {
|
|
|
27
21
|
return _ErrorMsg2.default;
|
|
28
22
|
}
|
|
29
23
|
});
|
|
24
|
+
Object.defineProperty(exports, "drawerHandel", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _Drawer2.drawerHandel;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
30
|
Object.defineProperty(exports, "errorCatch", {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function get() {
|
|
@@ -42,7 +42,7 @@ Object.defineProperty(exports, "getHttpErrorByCode", {
|
|
|
42
42
|
var _ErrorMsg = _interopRequireDefault(require("./errorDisplay/Web/ErrorMsg"));
|
|
43
43
|
var _ErrorMsg2 = _interopRequireDefault(require("./errorDisplay/Mobile/ErrorMsg"));
|
|
44
44
|
var _Drawer = _interopRequireDefault(require("./errorDisplay/Mobile/Drawer"));
|
|
45
|
-
var _Drawer2 =
|
|
45
|
+
var _Drawer2 = require("./errorDisplay/Web/Drawer");
|
|
46
46
|
var _compUtils = require("./errorDisplay/compUtils");
|
|
47
47
|
var _errorCatch = _interopRequireDefault(require("./errorCatch"));
|
|
48
48
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import security from './security';
|
|
2
|
-
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch,
|
|
2
|
+
import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, drawerHandel, MobileDrawer } from './error';
|
|
3
3
|
import { parseUrlExpression } from './utils/url';
|
|
4
|
-
|
|
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,
|
|
9
|
+
export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch, parseUrlExpression, drawerHandel, MobileDrawer, getTodoActionListByKey };
|
package/lib/index.js
CHANGED
|
@@ -12,16 +12,11 @@ var _exportNames = {
|
|
|
12
12
|
MobileErrorMsg: true,
|
|
13
13
|
getHttpErrorByCode: true,
|
|
14
14
|
errorCatch: true,
|
|
15
|
-
|
|
15
|
+
drawerHandel: true,
|
|
16
16
|
MobileDrawer: true,
|
|
17
|
-
parseUrlExpression: true
|
|
17
|
+
parseUrlExpression: true,
|
|
18
|
+
getTodoActionListByKey: true
|
|
18
19
|
};
|
|
19
|
-
Object.defineProperty(exports, "Drawer", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _error.Drawer;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
20
|
Object.defineProperty(exports, "ErrorMsg", {
|
|
26
21
|
enumerable: true,
|
|
27
22
|
get: function get() {
|
|
@@ -41,6 +36,12 @@ Object.defineProperty(exports, "MobileErrorMsg", {
|
|
|
41
36
|
return _error.MobileErrorMsg;
|
|
42
37
|
}
|
|
43
38
|
});
|
|
39
|
+
Object.defineProperty(exports, "drawerHandel", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function get() {
|
|
42
|
+
return _error.drawerHandel;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
44
45
|
Object.defineProperty(exports, "errorCatch", {
|
|
45
46
|
enumerable: true,
|
|
46
47
|
get: function get() {
|
|
@@ -53,6 +54,12 @@ Object.defineProperty(exports, "getHttpErrorByCode", {
|
|
|
53
54
|
return _error.getHttpErrorByCode;
|
|
54
55
|
}
|
|
55
56
|
});
|
|
57
|
+
Object.defineProperty(exports, "getTodoActionListByKey", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function get() {
|
|
60
|
+
return _todoActionList.getTodoActionListByKey;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
56
63
|
Object.defineProperty(exports, "parseUrlExpression", {
|
|
57
64
|
enumerable: true,
|
|
58
65
|
get: function get() {
|
|
@@ -69,18 +76,7 @@ var _img = require("./utils/img");
|
|
|
69
76
|
var _security = _interopRequireDefault(require("./security"));
|
|
70
77
|
var _error = require("./error");
|
|
71
78
|
var _url = require("./utils/url");
|
|
72
|
-
var
|
|
73
|
-
Object.keys(_dealDsl).forEach(function (key) {
|
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
|
75
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
76
|
-
if (key in exports && exports[key] === _dealDsl[key]) return;
|
|
77
|
-
Object.defineProperty(exports, key, {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function get() {
|
|
80
|
-
return _dealDsl[key];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
});
|
|
79
|
+
var _todoActionList = require("./rootConfig/todoActionList");
|
|
84
80
|
var _rootConfig = require("./rootConfig");
|
|
85
81
|
Object.keys(_rootConfig).forEach(function (key) {
|
|
86
82
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -44,8 +44,9 @@ var _default = {
|
|
|
44
44
|
label: '文件预览',
|
|
45
45
|
todoOptions: [{
|
|
46
46
|
key: 'fileId',
|
|
47
|
-
label: '文件ID',
|
|
48
|
-
type: 'SetExpression'
|
|
47
|
+
label: '文件ID/URL',
|
|
48
|
+
type: 'SetExpression',
|
|
49
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
49
50
|
}],
|
|
50
51
|
classification: [{
|
|
51
52
|
label: '页面类',
|
|
@@ -44,8 +44,9 @@ var _default = {
|
|
|
44
44
|
label: '文件预览',
|
|
45
45
|
todoOptions: [{
|
|
46
46
|
key: 'fileId',
|
|
47
|
-
label: '文件ID',
|
|
48
|
-
type: 'SetExpression'
|
|
47
|
+
label: '文件ID/URL',
|
|
48
|
+
type: 'SetExpression',
|
|
49
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
49
50
|
}],
|
|
50
51
|
classification: [{
|
|
51
52
|
label: '页面类',
|
|
@@ -46,8 +46,9 @@ var _default = {
|
|
|
46
46
|
label: '文件预览',
|
|
47
47
|
todoOptions: [{
|
|
48
48
|
key: 'fileId',
|
|
49
|
-
label: '文件ID',
|
|
50
|
-
type: 'SetExpression'
|
|
49
|
+
label: '文件ID/URL',
|
|
50
|
+
type: 'SetExpression',
|
|
51
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
51
52
|
}],
|
|
52
53
|
classification: [{
|
|
53
54
|
label: '页面类',
|
|
@@ -56,8 +56,9 @@ var _default = {
|
|
|
56
56
|
label: '文件预览',
|
|
57
57
|
todoOptions: [{
|
|
58
58
|
key: 'fileId',
|
|
59
|
-
label: '文件ID',
|
|
60
|
-
type: 'SetExpression'
|
|
59
|
+
label: '文件ID/URL',
|
|
60
|
+
type: 'SetExpression',
|
|
61
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
61
62
|
}],
|
|
62
63
|
classification: [{
|
|
63
64
|
label: '页面类',
|
|
@@ -122,6 +123,12 @@ var _default = {
|
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
125
|
},
|
|
126
|
+
pageTitle: {
|
|
127
|
+
label: '页面标题',
|
|
128
|
+
type: 'Input',
|
|
129
|
+
groupsName: '基础',
|
|
130
|
+
istodoBind: true
|
|
131
|
+
},
|
|
125
132
|
catalogItemId: {
|
|
126
133
|
label: '分组',
|
|
127
134
|
type: 'CatalogTreeSelect',
|
|
@@ -43,8 +43,9 @@ var _default = {
|
|
|
43
43
|
label: '文件预览',
|
|
44
44
|
todoOptions: [{
|
|
45
45
|
key: 'fileId',
|
|
46
|
-
label: '文件ID',
|
|
47
|
-
type: 'SetExpression'
|
|
46
|
+
label: '文件ID/URL',
|
|
47
|
+
type: 'SetExpression',
|
|
48
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
48
49
|
}, {
|
|
49
50
|
key: 'viewMode',
|
|
50
51
|
label: '预览方式',
|
|
@@ -44,8 +44,9 @@ var _default = {
|
|
|
44
44
|
label: '文件预览',
|
|
45
45
|
todoOptions: [{
|
|
46
46
|
key: 'fileId',
|
|
47
|
-
label: '文件ID',
|
|
48
|
-
type: 'SetExpression'
|
|
47
|
+
label: '文件ID/URL',
|
|
48
|
+
type: 'SetExpression',
|
|
49
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
49
50
|
}, {
|
|
50
51
|
key: 'viewMode',
|
|
51
52
|
label: '预览方式',
|
|
@@ -45,8 +45,9 @@ var _default = {
|
|
|
45
45
|
label: '文件预览',
|
|
46
46
|
todoOptions: [{
|
|
47
47
|
key: 'fileId',
|
|
48
|
-
label: '文件ID',
|
|
49
|
-
type: 'SetExpression'
|
|
48
|
+
label: '文件ID/URL',
|
|
49
|
+
type: 'SetExpression',
|
|
50
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
50
51
|
}, {
|
|
51
52
|
key: 'viewMode',
|
|
52
53
|
label: '预览方式',
|
|
@@ -42,8 +42,9 @@ var _default = {
|
|
|
42
42
|
label: '文件预览',
|
|
43
43
|
todoOptions: [{
|
|
44
44
|
key: 'fileId',
|
|
45
|
-
label: '文件ID',
|
|
46
|
-
type: 'SetExpression'
|
|
45
|
+
label: '文件ID/URL',
|
|
46
|
+
type: 'SetExpression',
|
|
47
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
47
48
|
}, {
|
|
48
49
|
key: 'viewMode',
|
|
49
50
|
label: '预览方式',
|
|
@@ -56,8 +56,9 @@ var _default = {
|
|
|
56
56
|
label: '文件预览',
|
|
57
57
|
todoOptions: [{
|
|
58
58
|
key: 'fileId',
|
|
59
|
-
label: '文件ID',
|
|
60
|
-
type: 'SetExpression'
|
|
59
|
+
label: '文件ID/URL',
|
|
60
|
+
type: 'SetExpression',
|
|
61
|
+
labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等'
|
|
61
62
|
}, {
|
|
62
63
|
key: 'viewMode',
|
|
63
64
|
label: '预览方式',
|
|
@@ -2440,6 +2440,11 @@ declare const todoActionObject: {
|
|
|
2440
2440
|
label: string;
|
|
2441
2441
|
type: string;
|
|
2442
2442
|
}[];
|
|
2443
|
+
todoCallbacks: string[];
|
|
2444
|
+
classification: {
|
|
2445
|
+
label: string;
|
|
2446
|
+
value: string;
|
|
2447
|
+
}[];
|
|
2443
2448
|
};
|
|
2444
2449
|
getBlockSelectValues: {
|
|
2445
2450
|
key: string;
|
|
@@ -3187,6 +3192,16 @@ declare const todoActionObject: {
|
|
|
3187
3192
|
value: string;
|
|
3188
3193
|
}[];
|
|
3189
3194
|
};
|
|
3195
|
+
callCurrentFunc: {
|
|
3196
|
+
key: string;
|
|
3197
|
+
label: string;
|
|
3198
|
+
todoOptions: {
|
|
3199
|
+
key: string;
|
|
3200
|
+
label: string;
|
|
3201
|
+
type: string;
|
|
3202
|
+
}[];
|
|
3203
|
+
todoCallbacks: string[];
|
|
3204
|
+
};
|
|
3190
3205
|
};
|
|
3191
3206
|
/**
|
|
3192
3207
|
* 通过数组key获取对应的动作
|