Skip to content

Commit 3e720be

Browse files
author
kadir.avci
committed
Added RazorTable project to generate tables
1 parent e124d57 commit 3e720be

File tree

14 files changed

+149
-9
lines changed

14 files changed

+149
-9
lines changed
0 Bytes
Binary file not shown.

Data/bin/Debug/netcoreapp2.2/Data.deps.json

+18
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
"Data.dll": {}
2020
}
2121
},
22+
"EnumAgent/1.0.2": {
23+
"runtime": {
24+
"lib/netcoreapp2.2/EnumAgent.dll": {
25+
"assemblyVersion": "1.0.2.0",
26+
"fileVersion": "1.0.2.0"
27+
}
28+
}
29+
},
2230
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
2331
"dependencies": {
2432
"Microsoft.AspNetCore.Http.Features": "2.2.0",
@@ -671,6 +679,9 @@
671679
}
672680
},
673681
"RazorTable/1.0.0": {
682+
"dependencies": {
683+
"EnumAgent": "1.0.2"
684+
},
674685
"runtime": {
675686
"RazorTable.dll": {}
676687
}
@@ -723,6 +734,13 @@
723734
"serviceable": false,
724735
"sha512": ""
725736
},
737+
"EnumAgent/1.0.2": {
738+
"type": "package",
739+
"serviceable": true,
740+
"sha512": "sha512-BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
741+
"path": "enumagent/1.0.2",
742+
"hashPath": "enumagent.1.0.2.nupkg.sha512"
743+
},
726744
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
727745
"type": "package",
728746
"serviceable": true,

Data/obj/Data.csproj.nuget.dgspec.json

+4
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@
278278
"frameworks": {
279279
"netcoreapp2.2": {
280280
"dependencies": {
281+
"EnumAgent": {
282+
"target": "Package",
283+
"version": "[1.0.2, )"
284+
},
281285
"Microsoft.NETCore.App": {
282286
"suppressParent": "All",
283287
"target": "Package",

Data/obj/project.assets.json

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"version": 3,
33
"targets": {
44
".NETCoreApp,Version=v2.2": {
5+
"EnumAgent/1.0.2": {
6+
"type": "package",
7+
"compile": {
8+
"lib/netcoreapp2.2/EnumAgent.dll": {}
9+
},
10+
"runtime": {
11+
"lib/netcoreapp2.2/EnumAgent.dll": {}
12+
}
13+
},
514
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
615
"type": "package",
716
"dependencies": {
@@ -1130,6 +1139,9 @@
11301139
"RazorTable/1.0.0": {
11311140
"type": "project",
11321141
"framework": ".NETCoreApp,Version=v2.2",
1142+
"dependencies": {
1143+
"EnumAgent": "1.0.2"
1144+
},
11331145
"compile": {
11341146
"bin/placeholder/RazorTable.dll": {}
11351147
},
@@ -1140,6 +1152,18 @@
11401152
}
11411153
},
11421154
"libraries": {
1155+
"EnumAgent/1.0.2": {
1156+
"sha512": "BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
1157+
"type": "package",
1158+
"path": "enumagent/1.0.2",
1159+
"files": [
1160+
".nupkg.metadata",
1161+
".signature.p7s",
1162+
"enumagent.1.0.2.nupkg.sha512",
1163+
"enumagent.nuspec",
1164+
"lib/netcoreapp2.2/EnumAgent.dll"
1165+
]
1166+
},
11431167
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
11441168
"sha512": "IkuRKkTFEbO30FwfCVuL0piikRBK/kgsaLbfbeUg8Rejpe5nCRUDZ3RDLzaW0FPMZxdb1opQ/zBYibItL1AezQ==",
11451169
"type": "package",

RazorTable/Generator/SearchHelper.cs

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public static string AppendToQuery(SearchObj parameter)
119119
// TODO
120120
// Create nuget package for enum utilities and get it from there, we need to decouple project dependencies
121121
//EnumHelper.GetValueOf(parameter.ColumnType, parameter.Value);
122+
EnumAgent.Utilities.ConvertFromString(parameter.ColumnType,parameter.Value);
122123
break;
123124
}
124125
default:

RazorTable/RazorTable.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@
44
<TargetFramework>netcoreapp2.2</TargetFramework>
55
</PropertyGroup>
66

7+
<ItemGroup>
8+
<PackageReference Include="EnumAgent" Version="1.0.2" />
9+
</ItemGroup>
10+
711
</Project>

RazorTable/bin/Debug/netcoreapp2.2/RazorTable.deps.json

+18
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,20 @@
77
"targets": {
88
".NETCoreApp,Version=v2.2": {
99
"RazorTable/1.0.0": {
10+
"dependencies": {
11+
"EnumAgent": "1.0.2"
12+
},
1013
"runtime": {
1114
"RazorTable.dll": {}
1215
}
16+
},
17+
"EnumAgent/1.0.2": {
18+
"runtime": {
19+
"lib/netcoreapp2.2/EnumAgent.dll": {
20+
"assemblyVersion": "1.0.2.0",
21+
"fileVersion": "1.0.2.0"
22+
}
23+
}
1324
}
1425
}
1526
},
@@ -18,6 +29,13 @@
1829
"type": "project",
1930
"serviceable": false,
2031
"sha512": ""
32+
},
33+
"EnumAgent/1.0.2": {
34+
"type": "package",
35+
"serviceable": true,
36+
"sha512": "sha512-BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
37+
"path": "enumagent/1.0.2",
38+
"hashPath": "enumagent.1.0.2.nupkg.sha512"
2139
}
2240
}
2341
}

RazorTable/obj/RazorTable.csproj.nuget.dgspec.json

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
"frameworks": {
4242
"netcoreapp2.2": {
4343
"dependencies": {
44+
"EnumAgent": {
45+
"target": "Package",
46+
"version": "[1.0.2, )"
47+
},
4448
"Microsoft.NETCore.App": {
4549
"suppressParent": "All",
4650
"target": "Package",

RazorTable/obj/project.assets.json

+26
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"version": 3,
33
"targets": {
44
".NETCoreApp,Version=v2.2": {
5+
"EnumAgent/1.0.2": {
6+
"type": "package",
7+
"compile": {
8+
"lib/netcoreapp2.2/EnumAgent.dll": {}
9+
},
10+
"runtime": {
11+
"lib/netcoreapp2.2/EnumAgent.dll": {}
12+
}
13+
},
514
"Microsoft.NETCore.App/2.2.0": {
615
"type": "package",
716
"dependencies": {
@@ -211,6 +220,18 @@
211220
}
212221
},
213222
"libraries": {
223+
"EnumAgent/1.0.2": {
224+
"sha512": "BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
225+
"type": "package",
226+
"path": "enumagent/1.0.2",
227+
"files": [
228+
".nupkg.metadata",
229+
".signature.p7s",
230+
"enumagent.1.0.2.nupkg.sha512",
231+
"enumagent.nuspec",
232+
"lib/netcoreapp2.2/EnumAgent.dll"
233+
]
234+
},
214235
"Microsoft.NETCore.App/2.2.0": {
215236
"sha512": "QU8taCyeyePwatrj+h+750lMnsPCq3YPaGmsdtSHXPCjDyjto2KT7QDNVet0oRliX4PjaINpyg0Yzd9DnQ/Wkw==",
216237
"type": "package",
@@ -683,6 +704,7 @@
683704
},
684705
"projectFileDependencyGroups": {
685706
".NETCoreApp,Version=v2.2": [
707+
"EnumAgent >= 1.0.2",
686708
"Microsoft.NETCore.App >= 2.2.0"
687709
]
688710
},
@@ -727,6 +749,10 @@
727749
"frameworks": {
728750
"netcoreapp2.2": {
729751
"dependencies": {
752+
"EnumAgent": {
753+
"target": "Package",
754+
"version": "[1.0.2, )"
755+
},
730756
"Microsoft.NETCore.App": {
731757
"suppressParent": "All",
732758
"target": "Package",

VueJsTutorial.sln

-7
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Services", "Services\Servic
3131
EndProject
3232
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServicePattern", "ServicePattern\ServicePattern.csproj", "{89E77504-678A-424A-941B-17ADC17E38CF}"
3333
EndProject
34-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnumUtilities", "EnumUtilities\EnumUtilities.csproj", "{655B07C0-8A39-4A64-9D4F-885BA686640D}"
35-
EndProject
3634
Global
3735
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3836
Debug|Any CPU = Debug|Any CPU
@@ -75,10 +73,6 @@ Global
7573
{89E77504-678A-424A-941B-17ADC17E38CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
7674
{89E77504-678A-424A-941B-17ADC17E38CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
7775
{89E77504-678A-424A-941B-17ADC17E38CF}.Release|Any CPU.Build.0 = Release|Any CPU
78-
{655B07C0-8A39-4A64-9D4F-885BA686640D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79-
{655B07C0-8A39-4A64-9D4F-885BA686640D}.Debug|Any CPU.Build.0 = Debug|Any CPU
80-
{655B07C0-8A39-4A64-9D4F-885BA686640D}.Release|Any CPU.ActiveCfg = Release|Any CPU
81-
{655B07C0-8A39-4A64-9D4F-885BA686640D}.Release|Any CPU.Build.0 = Release|Any CPU
8276
EndGlobalSection
8377
GlobalSection(SolutionProperties) = preSolution
8478
HideSolutionNode = FALSE
@@ -93,7 +87,6 @@ Global
9387
{F3836D6F-CCC1-4383-A334-ABF9C74AA1E0} = {0CAE5FB2-8E0E-410D-B950-9489955593A6}
9488
{D71A56D8-7082-4C1F-8DAF-B4116FD9A2D1} = {6E4F0DBC-53F3-4616-A7E3-D97C25AA09A7}
9589
{89E77504-678A-424A-941B-17ADC17E38CF} = {0CAE5FB2-8E0E-410D-B950-9489955593A6}
96-
{655B07C0-8A39-4A64-9D4F-885BA686640D} = {636DE929-2762-497D-A0A4-790C82445F66}
9790
EndGlobalSection
9891
GlobalSection(ExtensibilityGlobals) = postSolution
9992
SolutionGuid = {8E7CC85E-093C-468C-B1F8-C4406691D4F3}

VueJsTutorial/bin/Debug/netcoreapp2.2/VueJsTutorial.deps.json

+21
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@
4747
"VueJsTutorial.dll": {}
4848
}
4949
},
50+
"EnumAgent/1.0.2": {
51+
"runtime": {
52+
"lib/netcoreapp2.2/EnumAgent.dll": {
53+
"assemblyVersion": "1.0.2.0",
54+
"fileVersion": "1.0.2.0"
55+
}
56+
},
57+
"compile": {
58+
"lib/netcoreapp2.2/EnumAgent.dll": {}
59+
}
60+
},
5061
"Microsoft.CodeAnalysis.Analyzers/2.9.3": {},
5162
"Microsoft.CodeAnalysis.Common/3.3.0": {
5263
"dependencies": {
@@ -1298,6 +1309,9 @@
12981309
}
12991310
},
13001311
"RazorTable/1.0.0": {
1312+
"dependencies": {
1313+
"EnumAgent": "1.0.2"
1314+
},
13011315
"runtime": {
13021316
"RazorTable.dll": {}
13031317
},
@@ -4214,6 +4228,13 @@
42144228
"serviceable": false,
42154229
"sha512": ""
42164230
},
4231+
"EnumAgent/1.0.2": {
4232+
"type": "package",
4233+
"serviceable": true,
4234+
"sha512": "sha512-BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
4235+
"path": "enumagent/1.0.2",
4236+
"hashPath": "enumagent.1.0.2.nupkg.sha512"
4237+
},
42174238
"Microsoft.CodeAnalysis.Analyzers/2.9.3": {
42184239
"type": "package",
42194240
"serviceable": true,

VueJsTutorial/obj/VueJsTutorial.csproj.nuget.dgspec.json

+4
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@
360360
"frameworks": {
361361
"netcoreapp2.2": {
362362
"dependencies": {
363+
"EnumAgent": {
364+
"target": "Package",
365+
"version": "[1.0.2, )"
366+
},
363367
"Microsoft.NETCore.App": {
364368
"suppressParent": "All",
365369
"target": "Package",

VueJsTutorial/obj/project.assets.json

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"version": 3,
33
"targets": {
44
".NETCoreApp,Version=v2.2": {
5+
"EnumAgent/1.0.2": {
6+
"type": "package",
7+
"compile": {
8+
"lib/netcoreapp2.2/EnumAgent.dll": {}
9+
},
10+
"runtime": {
11+
"lib/netcoreapp2.2/EnumAgent.dll": {}
12+
}
13+
},
514
"Microsoft.AspNet.WebApi.Client/5.2.6": {
615
"type": "package",
716
"dependencies": {
@@ -5279,6 +5288,9 @@
52795288
"RazorTable/1.0.0": {
52805289
"type": "project",
52815290
"framework": ".NETCoreApp,Version=v2.2",
5291+
"dependencies": {
5292+
"EnumAgent": "1.0.2"
5293+
},
52825294
"compile": {
52835295
"bin/placeholder/RazorTable.dll": {}
52845296
},
@@ -5307,6 +5319,18 @@
53075319
}
53085320
},
53095321
"libraries": {
5322+
"EnumAgent/1.0.2": {
5323+
"sha512": "BH/erzGPOqb1Exuc/Lgna2qFWi4BCBIhRxGV8O2vZjRpntpYqpNSH/zjHy3tRgPRKFet8EUvOlIK/+mDldS2OQ==",
5324+
"type": "package",
5325+
"path": "enumagent/1.0.2",
5326+
"files": [
5327+
".nupkg.metadata",
5328+
".signature.p7s",
5329+
"enumagent.1.0.2.nupkg.sha512",
5330+
"enumagent.nuspec",
5331+
"lib/netcoreapp2.2/EnumAgent.dll"
5332+
]
5333+
},
53105334
"Microsoft.AspNet.WebApi.Client/5.2.6": {
53115335
"sha512": "owAlEIUZXWSnkK8Z1c+zR47A0X6ykF4XjbPok4lQKNuciUfHLGPd6QnI+rt/8KlQ17PmF+I4S3f+m+Qe4IvViw==",
53125336
"type": "package",

VueJsTutorial/wwwroot/js/component/tableRecordComponent.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ Vue.component("otable", {
7070
fetch(localUrl + "/data/tablecomponent.json")
7171
.then(res => res.json())
7272
.then(function (response) {
73-
debugger
74-
for (searchValue of searchValues) {
73+
for (var searchValue of searchValues) {
7574
response.model = response.model.filter(x => {
7675
switch (searchValue.filterRule) {
7776
case "Begins with": {

0 commit comments

Comments
 (0)