zet-lib 1.5.30 → 2.0.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 (49) hide show
  1. package/lib/Modal.js +85 -30
  2. package/lib/Model.js +118 -2
  3. package/lib/config_generator.js +24 -0
  4. package/lib/generatorApi.js +1328 -0
  5. package/lib/generatorApp.js +1342 -0
  6. package/lib/generatorModel.js +733 -0
  7. package/lib/index.js +39 -12
  8. package/lib/lang_en.js +115 -0
  9. package/lib/routes/api.js +52 -0
  10. package/lib/routes/index.js +9 -0
  11. package/lib/views/error.ejs +3 -0
  12. package/lib/views/zgenerator/bootstrap3/_form.ejs +24 -0
  13. package/lib/views/zgenerator/bootstrap3/create.ejs +9 -0
  14. package/lib/views/zgenerator/bootstrap3/createjs.ejs +3 -0
  15. package/lib/views/zgenerator/bootstrap3/import.ejs +52 -0
  16. package/lib/views/zgenerator/bootstrap3/importjs.ejs +3 -0
  17. package/lib/views/zgenerator/bootstrap3/index.ejs +29 -0
  18. package/lib/views/zgenerator/bootstrap3/indexcss.ejs +1 -0
  19. package/lib/views/zgenerator/bootstrap3/indexjs.ejs +307 -0
  20. package/lib/views/zgenerator/bootstrap3/update.ejs +8 -0
  21. package/lib/views/zgenerator/bootstrap3/updatejs.ejs +3 -0
  22. package/lib/views/zgenerator/bootstrap3/view.ejs +57 -0
  23. package/lib/views/zgenerator/head.ejs +12 -0
  24. package/lib/views/zgenerator/index.ejs +271 -0
  25. package/lib/views/zgenerator/indexcss.ejs +87 -0
  26. package/lib/views/zgenerator/indexjs.ejs +705 -0
  27. package/lib/views/zgenerator/layout.ejs +198 -0
  28. package/lib/views/zgenerator/manual_basic.ejs +2 -0
  29. package/lib/views/zgenerator/manual_dropdown.ejs +126 -0
  30. package/lib/views/zgenerator/manual_modules.ejs +192 -0
  31. package/lib/views/zgenerator/manual_virtual.ejs +143 -0
  32. package/lib/views/zgenerator/mini.ejs +341 -0
  33. package/lib/views/zgenerator/routerApp.ejs +359 -0
  34. package/lib/views/zgenerator/views/_form.ejs +25 -0
  35. package/lib/views/zgenerator/views/approval.ejs +42 -0
  36. package/lib/views/zgenerator/views/create.ejs +7 -0
  37. package/lib/views/zgenerator/views/createjs.ejs +16 -0
  38. package/lib/views/zgenerator/views/import.ejs +49 -0
  39. package/lib/views/zgenerator/views/importjs.ejs +4 -0
  40. package/lib/views/zgenerator/views/index.ejs +9 -0
  41. package/lib/views/zgenerator/views/indexcss.ejs +2 -0
  42. package/lib/views/zgenerator/views/indexjs.ejs +2 -0
  43. package/lib/views/zgenerator/views/preview.ejs +34 -0
  44. package/lib/views/zgenerator/views/update.ejs +7 -0
  45. package/lib/views/zgenerator/views/updatejs.ejs +16 -0
  46. package/lib/views/zgenerator/views/view.ejs +36 -0
  47. package/lib/zGeneratorRouter.js +46 -22
  48. package/lib/zRoute.js +14 -3
  49. package/package.json +17 -11
@@ -0,0 +1,87 @@
1
+ <meta name="usertoken" content="<%- token %>"/>
2
+ <meta name="socketUrl" content="<%- socketUrl %>"/>
3
+ <meta name="csrf-token" content="<%- csrfToken %>">
4
+ <title>CRUD GENERATOR</title>
5
+ <!-- Font Awesome -->
6
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
7
+ <!-- Bootstrap core CSS -->
8
+ <link href="/mdb/css/bootstrap.min.css" rel="stylesheet">
9
+ <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
10
+ <link rel="stylesheet" href="/js/sortable.css">
11
+
12
+ <!-- Material Design Bootstrap -->
13
+ <link href="/mdb/css/mdb.min.css" rel="stylesheet">
14
+ <!-- Your custom styles (optional) -->
15
+ <link href="/mdb/css/style.css" rel="stylesheet">
16
+ <style type="text/css">
17
+ .ide_editor {
18
+ width: 100%;
19
+ height: 400px;
20
+ }
21
+ .ide_editor_200 {
22
+ width: 100%;
23
+ height: 200px;
24
+ }
25
+ #modalpopup {
26
+ display: none;
27
+ position: fixed;
28
+ z-index: 1000;
29
+ top: 0;
30
+ left: 0;
31
+ height: 100%;
32
+ width: 100%;
33
+ background: rgba(255, 255, 255, .8) url('/img/cms.gif') 50% 50% no-repeat;
34
+ opacity: 0.80;
35
+ -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
36
+ filter: alpha(opacity=80)
37
+ }
38
+
39
+ .divbox {
40
+ border: 1px solid green;
41
+ min-height: 100px;
42
+ margin: 30px 1px 30px 1px;
43
+ padding-top: 10px;
44
+ padding-bottom: 5px;
45
+ }
46
+ .tab-content {
47
+ width:100%;
48
+ }
49
+ .tab-pane {
50
+ width:100%;
51
+ }
52
+
53
+ .divboxlittle {
54
+ border: 1px solid green;
55
+ min-height: 50px;
56
+ width: 100%;
57
+ padding-top: 10px;
58
+ padding-bottom: 5px;
59
+ }
60
+
61
+ ol.mydragable li {
62
+ cursor: grabbing;
63
+ }
64
+
65
+ body.dragging, body.dragging * {
66
+ cursor: move !important;
67
+ }
68
+
69
+ .dragged {
70
+ position: absolute;
71
+ opacity: 0.5;
72
+ z-index: 2000;
73
+ }
74
+
75
+ ol.mydragable li.placeholder {
76
+ position: relative;
77
+ }
78
+
79
+ ol.mydragable li.placeholder:before {
80
+ position: absolute;
81
+ }
82
+
83
+ .icon-floats {
84
+ position: absolute;
85
+ }
86
+
87
+ </style>