isite 2021.11.17 → 2021.11.23

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 (41) hide show
  1. package/README.md +486 -475
  2. package/apps/client-side/app.js +27 -1
  3. package/apps/client-side/site_files/css/btn.css +98 -0
  4. package/apps/client-side/site_files/css/checkbox.css +12 -7
  5. package/apps/client-side/site_files/css/dropdown.css +61 -0
  6. package/apps/client-side/site_files/css/effect.css +283 -280
  7. package/apps/client-side/site_files/css/font-awesome.css +4615 -3
  8. package/apps/client-side/site_files/css/font-awesome.min.css +5 -0
  9. package/apps/client-side/site_files/css/form.css +5 -100
  10. package/apps/client-side/site_files/css/modal.css +184 -164
  11. package/apps/client-side/site_files/css/tabs.css +3 -3
  12. package/apps/client-side/site_files/css/theme.css +1 -1
  13. package/apps/client-side/site_files/css/theme_dark.css +1 -1
  14. package/apps/client-side/site_files/css/theme_paper.css +175 -151
  15. package/apps/client-side/site_files/html/sub/i-date2.content.html +64 -0
  16. package/apps/client-side/site_files/html/sub/i-list.content.html +31 -0
  17. package/apps/client-side/site_files/html/sub/i-list2.content.html +22 -0
  18. package/apps/client-side/site_files/js/directive.js +1570 -1650
  19. package/apps/client-side/site_files/js/directive.min.js +2 -2
  20. package/apps/client-side/site_files/js/site.js +6 -0
  21. package/apps/client-side/site_files/js/site.min.js +1 -1
  22. package/apps/client-side/site_files/webfonts/fa-brands-400.eot +0 -0
  23. package/apps/client-side/site_files/webfonts/fa-brands-400.svg +3717 -0
  24. package/apps/client-side/site_files/webfonts/fa-brands-400.ttf +0 -0
  25. package/apps/client-side/site_files/webfonts/fa-brands-400.woff +0 -0
  26. package/apps/client-side/site_files/webfonts/fa-brands-400.woff2 +0 -0
  27. package/apps/client-side/site_files/webfonts/fa-regular-400.eot +0 -0
  28. package/apps/client-side/site_files/webfonts/fa-regular-400.svg +801 -0
  29. package/apps/client-side/site_files/webfonts/fa-regular-400.ttf +0 -0
  30. package/apps/client-side/site_files/webfonts/fa-regular-400.woff +0 -0
  31. package/apps/client-side/site_files/webfonts/fa-regular-400.woff2 +0 -0
  32. package/apps/client-side/site_files/webfonts/fa-solid-900.eot +0 -0
  33. package/apps/client-side/site_files/webfonts/fa-solid-900.svg +5034 -0
  34. package/apps/client-side/site_files/webfonts/fa-solid-900.ttf +0 -0
  35. package/apps/client-side/site_files/webfonts/fa-solid-900.woff +0 -0
  36. package/apps/client-side/site_files/webfonts/fa-solid-900.woff2 +0 -0
  37. package/lib/parser.js +24 -12
  38. package/lib/routing.js +21 -2
  39. package/object-options/index.js +1 -1
  40. package/object-options/lib/fn.js +1 -1
  41. package/package.json +1 -1
@@ -1,153 +1,177 @@
1
1
  :root {
2
- --theme-color: #3f51b5;
3
- --theme-color2: #2f8033;
4
- --font-family: Droid , Cairo, sans-serif, Tahoma, serif;
5
- --font-weight: normal;
6
- --font-size: 14px;
7
- --line-height: 1.5;
8
- --float: left;
9
- --direction: ltr;
10
- --text-align: left;
11
- --color: #030303;
12
- --background-color: #ffffff;
13
- --box-shadow-color: #272727;
14
- --border: 1px solid #353535;
15
- --zoom: 90%;
16
- --user-select: none;
17
-
18
- --body-background: #ffffff;
19
- --body-margin-top: 70px;
20
- --body-margin-bottom: 300px;
21
-
22
- --h-font-weight: normal;
23
-
24
- --navbar-color: #fff;
25
- --navbar-span-color: #fff;
26
- --navbar-background-color: var(--theme-color);
27
- --navbar-box-shadow-color: #272727;
28
- --navbar-li-border-radius: 15px;
29
- --navbar-li-border: none;
30
-
31
- --tabs-color: #fff;
32
- --tabs-background-color: var(--theme-color);
33
- --tabs-background-color2: var(--theme-color);
34
- --tabs-header-width: 20%;
35
- --tabs-content-width: 80%;
36
- --tabs-header-link-color: #000000;
37
- --tabs-header-link-color2: #ffffff;
38
- --tabs-header-link-background: none;
39
- --tabs-header-link-border: none;
40
- --tabs-header-link-border-bottom: 1px solid rgba(211, 211, 211, 0.91);
41
- --tabs-header-link-radius: 0px;
42
- --tab-animation-name: animateleft;
43
- --tab-animation-duration: 1s;
44
-
45
- --treeview-color: #000000;
46
- --treeview-color2: #ffffff;
47
- --treeview-background-color: none;
48
- --treeview-border-color: #000000;
49
- --treeview-background-color2: #404040;
50
- --treeview-display-color: #0000ff;
51
-
52
- --form-color: #000000;
53
- --form-background-color: none;
54
- --label-font-size: var(--font-size);
55
- --label-font-weight: bold;
56
- --label-text-align: var(--text-align);
57
-
58
- --input-color: #0000ff;
59
- --input-background-color: #ffffff;
60
- --input-height: 35px;
61
- --input-padding: 6px 12px;
62
- --input-font-size: 16px;
63
- --input-font-wight: normal;
64
- --input-border-radius: 0px;
65
- --input-border-width: 0 0 1px;
66
- --input-border-color: rgba(211, 211, 211, 0.91);
67
- --input-focus-border-width: 0 0 2px;
68
- --input-focus-border-color: blue;
69
-
70
- --textarea-border-width: 1px;
71
- --select-appearance: none;
72
- --select-font-size: var(--input-font-size);
73
- --select-color: #ffffff;
74
- --select-height: 35px;
75
-
76
- --btn-color: #ffffff;
77
- --btn-background-color: var(--theme-color);
78
- --btn-add-color: #ffffff;
79
- --btn-add-background-color: #118011;
80
- --btn-update-color: #ffffff;
81
- --btn-update-background-color: #117380;
82
- --btn-save-color: #ffffff;
83
- --btn-save-background-color: #117380;
84
- --btn-delete-color: #ffffff;
85
- --btn-delete-background-color: #801117;
86
- --btn-view-color: #ffffff;
87
- --btn-view-background-color: #451180;
88
- --btn-exit-color: #ffffff;
89
- --btn-exit-background-color: #811e1e;
90
- --btn-search-color: #ffffff;
91
- --btn-search-background-color: #243688;
92
- --btn-print-color: #ffffff;
93
- --btn-print-background-color: #000000;
94
- --btn-export-color: #000000;
95
- --btn-export-background-color: #ffffff;
96
- --btn-sgin-color: #000000;
97
- --btn-sgin-background-color: #ffffff;
98
- --btn-box-shadow-color: #272727;
99
- --btn-border-radius: 5px;
100
-
101
- --i-image-border: 2px dashed var(--theme-color);
102
- --i-image-view-border: 2px solid var(--theme-color);
103
-
104
- --fieldset-border: 2px solid #292929;
105
- --fieldset-background: none;
106
- --legend-color: #000000;
107
- --legend-text-shadow: none;
108
- --legend-font-size: 18px;
109
- --legend-font-weight: bold;
110
- --legend-border: none;
111
-
112
- --modal-background: #ffffff;
113
- --modal-content-background: #ffffff;
114
- --modal-content-border: 3px solid var(--theme-color);
115
- --modal-color: #fff;
116
- --modal-animation-name: animateleft;
117
- --modal-animation-duration: 0.4s;
118
- --modal-header-color: #fff;
119
- --modal-footer-color: #fff;
120
- --modal-header-background-color: var(--theme-color);
121
- --modal-footer-background-color: #ffffff;
122
- --modal-box-shadow-color: #272727;
123
-
124
- --table-color: #030303;
125
- --table-background-color: #ffffff;
126
- --table-border: 1px solid #bbb;
127
- --table-hover-background-color: yellow;
128
- --table-th-color: #fff;
129
-
130
- --help-height: 110px;
131
- --help-border: 1px solid #272727;
132
- --help-border-radius: 0px;
133
- --help-background-color: #3f51b5;
134
- --help-opacity: 1;
135
- --help-content-color: #ffffff;
136
-
137
- --main-menu-item-padding: 5px;
138
- --main-menu-item-border: 3px solid var(--theme-color);
139
- --main-menu-item-border-radius: 15px;
140
- --main-menu-item-background-color: #fff;
141
- --main-menu-h2-color: #000;
142
- --main-menu-p-color: #000;
143
-
144
- --scrollbar-background-color: var(--theme-color);
145
- --scrollbar-color: #fff;
146
- --scrollbar-box-shadow-color: #fff;
147
- }
148
-
149
- i-checkbox .selector.un-selected {
150
- background: #787d72;
151
- border: 1px solid #000;
152
- color: #fff;
2
+
3
+ --theme-color: #317cb9;
4
+ --theme-color2: #2f8033;
5
+ --theme-color3: #3f51b5;
6
+ --font-family: Droid, Cairo, sans-serif, Tahoma, serif;
7
+ --font-weight: normal;
8
+ --font-size: 14px;
9
+ --line-height: 1.5;
10
+ --float: left;
11
+ --direction: ltr;
12
+ --text-align: left;
13
+ --color: #030303;
14
+ --background-color: #ffffff;
15
+ --box-shadow-color: #272727;
16
+ --border: 1px solid #353535;
17
+ --zoom: 90%;
18
+ --user-select: none;
19
+
20
+ --body-background: #ffffff;
21
+ --body-margin-top: 70px;
22
+ --body-margin-bottom: 300px;
23
+
24
+ --h-font-weight: normal;
25
+
26
+ --navbar-color: #fff;
27
+ --navbar-span-color: #fff;
28
+ --navbar-background-color: var(--theme-color);
29
+ --navbar-box-shadow-color: #272727;
30
+ --navbar-li-border-radius: 15px;
31
+ --navbar-li-border: none;
32
+
33
+ --tabs-color: #fff;
34
+ --tabs-background-color: var(--theme-color);
35
+ --tabs-background-color2: var(--theme-color);
36
+ --tabs-header-width: 20%;
37
+ --tabs-content-width: 80%;
38
+
39
+ --tabs-header-link-font-size: 18px;
40
+ --tabs-header-link-font-weight: 700;
41
+ --tabs-header-link-color: #272727;
42
+ --tabs-header-link-color2: #ffffff;
43
+ --tabs-header-link-background: none;
44
+ --tabs-header-link-border: none;
45
+ --tabs-header-link-border-bottom: 1px solid var(--theme-color);
46
+ --tabs-header-link-radius: 0px;
47
+
48
+ --tab-animation-name: animateleft;
49
+ --tab-animation-duration: 1s;
50
+
51
+ --treeview-color: #000000;
52
+ --treeview-color2: #ffffff;
53
+ --treeview-background-color: none;
54
+ --treeview-border-color: #000000;
55
+ --treeview-background-color2: #404040;
56
+ --treeview-display-color: #0000ff;
57
+
58
+ --form-color: #000000;
59
+ --form-background-color: none;
60
+ --label-color : #000;
61
+ --label-font-size: 16px;
62
+ --label-font-weight: normal;
63
+ --label-text-align: var(--text-align);
64
+
65
+ --input-color: #0000ff;
66
+ --input-background-color: #ffffff;
67
+ --input-height: 35px;
68
+ --input-padding: 6px 12px;
69
+ --input-font-size: 14px;
70
+ --input-font-wight: normal;
71
+ --input-border-radius: 0px;
72
+ --input-border-width: 0 0 1px;
73
+ --input-border-color: rgba(211, 211, 211, 0.91);
74
+ --input-focus-border-width: 0 0 2px;
75
+ --input-focus-border-color: var(--theme-color);
76
+
77
+ --dropdown-color : green;
78
+ --dropdown-background : #fff;
79
+ --dropdown-font-size : 14px;
80
+ --dropdown-color2 : #000;
81
+ --dropdown-font-size2 : 12px;
82
+
83
+ --textarea-border-width: 1px;
84
+ --select-appearance: none;
85
+ --select-font-size: var(--input-font-size);
86
+ --select-color: #ffffff;
87
+ --select-height: 35px;
88
+
89
+ --btn-color: #000;
90
+ --btn-background: #ffffff;
91
+ --btn-box-shadow: none;
92
+ --btn-box-shadow-color: #272727;
93
+ --btn-border-radius: 5px;
94
+ --btn-border: 1px solid #ddd;
95
+
96
+ --btn-display: inline-block;
97
+ --btn-cursor: pointer;
98
+ --btn-min-width: 90px;
99
+ --btn-min-height: 36px;
100
+ --btn-font-weight: 400;
101
+
102
+ --btn-text-decoration: none;
103
+ --btn-text-align: center;
104
+ --btn-vertical-align: middle;
105
+ --btn-margin: 10px;
106
+ --btn-padding: 7px 9px;
107
+ --btn-font-size: 14px;
108
+ --btn-user-select: none;
109
+
110
+ --btn-add-color: #000;
111
+ --btn-add-background-color: #ffffff;
112
+ --btn-update-color: #000;
113
+ --btn-update-background-color: #ffffff;
114
+ --btn-save-color: #000;
115
+ --btn-save-background-color: #ffffff;
116
+ --btn-delete-color: #000;
117
+ --btn-delete-background-color: #ffffff;
118
+ --btn-view-color: #000;
119
+ --btn-view-background-color: #ffffff;
120
+ --btn-exit-color: #000;
121
+ --btn-exit-background-color: #ffffff;
122
+ --btn-search-color: #000;
123
+ --btn-search-background-color: #ffffff;
124
+ --btn-print-color: #000;
125
+ --btn-print-background-color: #ffffff;
126
+ --btn-export-color: #000000;
127
+ --btn-export-background-color: #ffffff;
128
+ --btn-sgin-color: #000000;
129
+ --btn-sgin-background-color: #ffffff;
130
+
131
+ --i-image-border: 2px dashed var(--theme-color);
132
+ --i-image-view-border: 2px solid var(--theme-color);
133
+
134
+ --fieldset-border: 1px solid var(--theme-color);
135
+ --fieldset-background: none;
136
+ --legend-color: var(--theme-color);
137
+ --legend-text-shadow: none;
138
+ --legend-font-size: 18px;
139
+ --legend-font-weight: bold;
140
+ --legend-border: none;
141
+
142
+ --modal-background: var(--theme-color);
143
+ --modal-content-background: #ffffff;
144
+ --modal-content-border: 3px solid var(--theme-color);
145
+ --modal-color: #fff;
146
+ --modal-animation-name: animateleft;
147
+ --modal-animation-duration: 0.4s;
148
+ --modal-header-color: #fff;
149
+ --modal-footer-color: #fff;
150
+ --modal-header-background-color: var(--theme-color);
151
+ --modal-footer-background-color: #ffffff;
152
+ --modal-box-shadow-color: #272727;
153
+
154
+ --table-color: #030303;
155
+ --table-background-color: #ffffff;
156
+ --table-border: 1px solid #bbb;
157
+ --table-hover-background-color: #eee;
158
+ --table-th-color: #fff;
159
+
160
+ --help-height: 110px;
161
+ --help-border: 1px solid #272727;
162
+ --help-border-radius: 0px;
163
+ --help-background-color: #3f51b5;
164
+ --help-opacity: 1;
165
+ --help-content-color: #ffffff;
166
+
167
+ --main-menu-item-padding: 5px;
168
+ --main-menu-item-border: 3px solid var(--theme-color);
169
+ --main-menu-item-border-radius: 15px;
170
+ --main-menu-item-background-color: #fff;
171
+ --main-menu-h2-color: #000;
172
+ --main-menu-p-color: #000;
173
+
174
+ --scrollbar-background-color: var(--theme-color);
175
+ --scrollbar-color: #fff;
176
+ --scrollbar-box-shadow-color: #fff;
153
177
  }
@@ -0,0 +1,64 @@
1
+ <div class="row i-date2">
2
+ <div class="control">
3
+ <label> {{label}} </label>
4
+ <div class="row">
5
+ <div class="col1 center" ng-click="setDay()">
6
+ <i class="fa fa-calendar-day"></i>
7
+ </div>
8
+ <div class="col2 day">
9
+ <div class="dropdown">
10
+ <div class="control">
11
+ <input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.day_name" />
12
+ </div>
13
+
14
+ <div class="dropdown-content">
15
+ <div class="row padding" >
16
+ <input class="full-width search" ng-model="d_search" />
17
+ <br />
18
+ </div>
19
+
20
+ <div class="row padding dropdown-item" ng-repeat="d in days1| filter : d_search">
21
+ <p class="center" ng-click="updateDate({day : d})">{{d.name}}</p>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <div class="col5 month">
27
+ <div class="dropdown">
28
+ <div class="control">
29
+ <input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.month_name" />
30
+ </div>
31
+
32
+ <div class="dropdown-content">
33
+ <div class="row padding" >
34
+ <input class="full-width search" ng-model="m_search" />
35
+ <br />
36
+ </div>
37
+
38
+ <div class="row padding dropdown-item" ng-repeat="m in monthes1 | filter : m_search">
39
+ <p class="center" ng-click="updateDate({month : m})">{{m.name}}</p>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ <div class="col4 year">
45
+ <div class="dropdown">
46
+ <div class="control">
47
+ <input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.year_name" />
48
+ </div>
49
+
50
+ <div class="dropdown-content">
51
+ <div class="row padding">
52
+ <input class="full-width search" ng-model="y_search" />
53
+ <br />
54
+ </div>
55
+
56
+ <div class="row padding dropdown-item" ng-repeat="y in years1 | filter : y_search">
57
+ <p class="center" ng-click="updateDate({year : y})">{{y.name}}</p>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </div>
@@ -0,0 +1,31 @@
1
+ <div class="control">
2
+ <label> {{label}} </label>
3
+ <input class="full-width text {{css}}" ng-disabled="disabled" v="{{v}}" readonly />
4
+ <input type="hidden" ng-model="ngModel.$display" />
5
+ <div class="popup">
6
+ <div ng-show="showSearch" class="row search-box">
7
+ <div class="col1">
8
+ <div class="pointer icon-close" ng-click="hide()">
9
+ <i class="fa fa-times center"></i>
10
+ </div>
11
+ </div>
12
+ <div class="col10">
13
+ <input ng-disabled="disabled" class="full-width search" ng-model="ngSearch" />
14
+ </div>
15
+ <div class="col1">
16
+ <div class="center pointer icon-search" ng-click="ngAdd()">
17
+ <i class="fa {{fa_add}} center"></i>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ <item ng-repeat="item in items | filter:{ $display : ngSearch}" ng-click="updateModel(item)"> {{getValue(item)}} <small class="left"> {{getValue2(item)}} </small> </item>
22
+ <br />
23
+ <div class="row">
24
+ <div class="col4"></div>
25
+ <div class="col4 center bg-red padding pointer" ng-click="updateModel({})">
26
+ <i class="fa fa-trash white" aria-hidden="true"></i>
27
+ </div>
28
+ <div class="col4"></div>
29
+ </div>
30
+ </div>
31
+ </div>
@@ -0,0 +1,22 @@
1
+ <div class="dropdown i-list" >
2
+ <div class="control">
3
+ <label> {{label}} </label>
4
+ <input ng-focus="focus()" class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="ngModel.$display" />
5
+ </div>
6
+
7
+ <div class="dropdown-content">
8
+ <div class="row padding" ng-show="showSearch">
9
+ <input class="full-width search" ng-model="ngSearch" />
10
+ <br />
11
+ </div>
12
+
13
+ <div class="row padding dropdown-item center" ng-repeat="item in items | filter:{ $display : ngSearch}" ng-click="updateModel(item)">
14
+ <p>{{getValue(item)}}</p>
15
+ <small> {{getValue2(item)}} </small>
16
+ </div>
17
+
18
+ <div class="row center padding pointer">
19
+ <a class="btn red" ng-click="updateModel({})"> <i class="fa fa-trash"></i> Clear </a>
20
+ </div>
21
+ </div>
22
+ </div>