zet-lib 3.1.5 → 3.2.0
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/lib/Model.js +10 -24
- package/lib/generatorApi.js +242 -375
- package/lib/generatorModel.js +10 -0
- package/lib/views/generatorjs.ejs +69 -0
- package/lib/zAppRouter.js +86 -0
- package/lib/zGeneratorRouter.js +1 -22
- package/lib/zRoute.js +239 -90
- package/package.json +1 -1
- package/lib/routes/api.js +0 -52
- package/lib/routes/index.js +0 -9
package/lib/Model.js
CHANGED
|
@@ -1042,9 +1042,6 @@ Model.number = {
|
|
|
1042
1042
|
"defaultValue",
|
|
1043
1043
|
"inputGroupLeft",
|
|
1044
1044
|
"inputGroupRight",
|
|
1045
|
-
"digitDecimal",
|
|
1046
|
-
"decimalPlaces",
|
|
1047
|
-
"thousandSeparator",
|
|
1048
1045
|
"information",
|
|
1049
1046
|
],
|
|
1050
1047
|
attributes: ["min", "max"],
|
|
@@ -1058,9 +1055,6 @@ Model.number = {
|
|
|
1058
1055
|
defaultValue: "Default Value",
|
|
1059
1056
|
inputGroupLeft: "Input Group Left",
|
|
1060
1057
|
inputGroupRight: "Input Group Right",
|
|
1061
|
-
digitDecimal:"Digit Decimal",
|
|
1062
|
-
decimalPlaces:"Decimal Places",
|
|
1063
|
-
thousandSeparator:"Use 1000 Separator",
|
|
1064
1058
|
information: "Additional Information",
|
|
1065
1059
|
},
|
|
1066
1060
|
defaultValues: {
|
|
@@ -1073,9 +1067,6 @@ Model.number = {
|
|
|
1073
1067
|
defaultValue: null,
|
|
1074
1068
|
inputGroupLeft: "",
|
|
1075
1069
|
inputGroupRight: "",
|
|
1076
|
-
digitDecimal: 0,
|
|
1077
|
-
decimalPlaces:",",
|
|
1078
|
-
thousandSeparator:".",
|
|
1079
1070
|
information: "",
|
|
1080
1071
|
},
|
|
1081
1072
|
typies: {
|
|
@@ -1115,18 +1106,6 @@ Model.number = {
|
|
|
1115
1106
|
tag: "input",
|
|
1116
1107
|
type: "text",
|
|
1117
1108
|
},
|
|
1118
|
-
digitDecimal: {
|
|
1119
|
-
tag: "input",
|
|
1120
|
-
type: "number",
|
|
1121
|
-
},
|
|
1122
|
-
decimalPlaces: {
|
|
1123
|
-
tag: "input",
|
|
1124
|
-
type: "text",
|
|
1125
|
-
},
|
|
1126
|
-
thousandSeparator: {
|
|
1127
|
-
tag: "input",
|
|
1128
|
-
type: "text",
|
|
1129
|
-
},
|
|
1130
1109
|
information: {
|
|
1131
1110
|
tag: "textarea",
|
|
1132
1111
|
type: "",
|
|
@@ -2418,7 +2397,8 @@ Model.relation = {
|
|
|
2418
2397
|
"hidden",
|
|
2419
2398
|
"isSearch",
|
|
2420
2399
|
"order_by",
|
|
2421
|
-
"import_field"
|
|
2400
|
+
"import_field",
|
|
2401
|
+
"relation_info"
|
|
2422
2402
|
],
|
|
2423
2403
|
labels: {
|
|
2424
2404
|
required: "Required",
|
|
@@ -2435,7 +2415,8 @@ Model.relation = {
|
|
|
2435
2415
|
hidden: "Hidden",
|
|
2436
2416
|
isSearch:"Auto complete Search",
|
|
2437
2417
|
order_by : "Order By",
|
|
2438
|
-
import_field :"Default Import Field (id)"
|
|
2418
|
+
import_field :"Default Import Field (id)",
|
|
2419
|
+
relation_info : "Relation Data"
|
|
2439
2420
|
},
|
|
2440
2421
|
defaultValues: {
|
|
2441
2422
|
required: false,
|
|
@@ -2452,7 +2433,8 @@ Model.relation = {
|
|
|
2452
2433
|
hidden: false,
|
|
2453
2434
|
isSearch:false,
|
|
2454
2435
|
order_by : "",
|
|
2455
|
-
import_field :"id"
|
|
2436
|
+
import_field :"id",
|
|
2437
|
+
relation_info : "",
|
|
2456
2438
|
},
|
|
2457
2439
|
typies: {
|
|
2458
2440
|
required: {
|
|
@@ -2515,6 +2497,10 @@ Model.relation = {
|
|
|
2515
2497
|
tag: "input",
|
|
2516
2498
|
type: "text",
|
|
2517
2499
|
},
|
|
2500
|
+
relation_info : {
|
|
2501
|
+
tag: "textarea",
|
|
2502
|
+
rows: "3",
|
|
2503
|
+
},
|
|
2518
2504
|
},
|
|
2519
2505
|
comment: (obj) => {
|
|
2520
2506
|
return `select`;
|