aldehyde 0.2.193 → 0.2.195

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 (42) hide show
  1. package/lib/controls/file-view/index.d.ts +0 -1
  2. package/lib/controls/file-view/index.d.ts.map +1 -1
  3. package/lib/controls/file-view/index.js +7 -54
  4. package/lib/controls/file-view/index.js.map +1 -1
  5. package/lib/controls/file-view/newin-file-view.d.ts +18 -0
  6. package/lib/controls/file-view/newin-file-view.d.ts.map +1 -0
  7. package/lib/controls/file-view/newin-file-view.js +28 -0
  8. package/lib/controls/file-view/newin-file-view.js.map +1 -0
  9. package/lib/layout/menu/reset-password.js +1 -1
  10. package/lib/layout/menu/reset-password.js.map +1 -1
  11. package/lib/login/login.d.ts.map +1 -1
  12. package/lib/login/login.js +8 -2
  13. package/lib/login/login.js.map +1 -1
  14. package/lib/login2/LoginPage.d.ts.map +1 -1
  15. package/lib/login2/LoginPage.js +6 -1
  16. package/lib/login2/LoginPage.js.map +1 -1
  17. package/lib/routable/ltmpl-route.js +0 -2
  18. package/lib/routable/ltmpl-route.js.map +1 -1
  19. package/lib/table/act-table.d.ts.map +1 -1
  20. package/lib/table/act-table.js +22 -3
  21. package/lib/table/act-table.js.map +1 -1
  22. package/lib/tmpl/hcservice-v3.d.ts +7 -2
  23. package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
  24. package/lib/tmpl/hcservice-v3.js +56 -5
  25. package/lib/tmpl/hcservice-v3.js.map +1 -1
  26. package/lib/tmpl/interface.d.ts +7 -1
  27. package/lib/tmpl/interface.d.ts.map +1 -1
  28. package/lib/tmpl/interface.js.map +1 -1
  29. package/lib/tmpl/tmpl-config-analysis.d.ts.map +1 -1
  30. package/lib/tmpl/tmpl-config-analysis.js +0 -1
  31. package/lib/tmpl/tmpl-config-analysis.js.map +1 -1
  32. package/package.json +2 -2
  33. package/src/aldehyde/controls/file-view/index.tsx +12 -59
  34. package/src/aldehyde/controls/file-view/newin-file-view.tsx +40 -0
  35. package/src/aldehyde/layout/menu/reset-password.tsx +3 -3
  36. package/src/aldehyde/login/login.tsx +237 -229
  37. package/src/aldehyde/login2/LoginPage.tsx +5 -0
  38. package/src/aldehyde/routable/ltmpl-route.tsx +2 -2
  39. package/src/aldehyde/table/act-table.tsx +33 -3
  40. package/src/aldehyde/tmpl/hcservice-v3.tsx +52 -5
  41. package/src/aldehyde/tmpl/interface.tsx +8 -1
  42. package/src/aldehyde/tmpl/tmpl-config-analysis.tsx +0 -1
@@ -81,6 +81,10 @@ export interface CustomButton extends ButtonConfig {
81
81
  windowWidth:string;
82
82
  }
83
83
 
84
+ export interface OpenFileButton extends ButtonConfig {
85
+ fieldId:string;
86
+ }
87
+
84
88
  export interface DoEditParam extends ShowViewParam {
85
89
 
86
90
  mode: AddOrUpdate;
@@ -379,6 +383,7 @@ export interface LtmplConfig extends SelectConfig {
379
383
  rowCustomButtons:CustomButton[];
380
384
  topCustomButtons:CustomButton[];
381
385
  fileExports?: ButtonConfig[];
386
+ rowFileButtons?:OpenFileButton[];
382
387
  topFileExports?: ButtonConfig[];
383
388
  rowFileExports?: ButtonConfig[];
384
389
  ractions?: RActionConfig[];
@@ -555,9 +560,11 @@ export interface CommonFilePath {
555
560
  //type:'completeURL'|'relativePath'|'KKFile',
556
561
  fileName?:string;
557
562
  contentType?:string;//文件类型
558
- path?:String;
563
+ path?:string;
559
564
  iconPath?:string;
560
565
  valid?:string;
566
+ baseType?:string;
567
+ basePath?:string;
561
568
  };
562
569
 
563
570
  export interface FileLoadInfo {
@@ -130,7 +130,6 @@ TmplConfigAnalysis.currentL1 = function(config: string, format: string) {
130
130
  date = date.startOf("second");
131
131
  return date.format("YYYY-MM-DD HH:mm:ss");
132
132
  }
133
- debugger
134
133
  return date.format(format);
135
134
  } else {
136
135
  return null;