isite 2024.8.17 → 2024.8.18
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/apps/client-side/site_files/css/bootstrap5-addon.css +6 -1
- package/apps/client-side/site_files/css/effect.css +1 -0
- package/apps/client-side/site_files/css/modal.css +9 -5
- package/apps/client-side/site_files/html/directive/i-radio.html +1 -1
- package/apps/client-side/site_files/js/bootstrap-5-directive.js +8 -1
- package/package.json +1 -1
|
@@ -197,8 +197,13 @@ i-datetime input {
|
|
|
197
197
|
overflow-y: auto;
|
|
198
198
|
}
|
|
199
199
|
.modal-footer {
|
|
200
|
-
display:
|
|
200
|
+
display: flex;
|
|
201
201
|
width: 100%;
|
|
202
|
+
flex-wrap: nowrap;
|
|
203
|
+
align-content: center;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
align-items: center;
|
|
206
|
+
flex-direction: row;
|
|
202
207
|
}
|
|
203
208
|
.dropdown-content {
|
|
204
209
|
display: none;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
position: relative;
|
|
20
20
|
color: var(--modal-color);
|
|
21
21
|
background-color: var(--modal-content-background);
|
|
22
|
-
margin: auto
|
|
23
|
-
padding: 0
|
|
22
|
+
margin: auto;
|
|
23
|
+
padding: 0;
|
|
24
24
|
width: 90vw;
|
|
25
|
-
height: auto
|
|
25
|
+
height: auto;
|
|
26
26
|
box-shadow: 0 4px 8px 0 var(--modal-box-shadow-color), 0 6px 20px 0 var(--modal-box-shadow-color);
|
|
27
27
|
-webkit-animation-name: var(--modal-animation-name);
|
|
28
28
|
-webkit-animation-duration: var(--modal-animation-duration);
|
|
@@ -158,7 +158,11 @@
|
|
|
158
158
|
color: #ffffff;
|
|
159
159
|
font-weight: bold;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
.modal-header p {
|
|
162
|
+
width: 100%;
|
|
163
|
+
text-align: center;
|
|
164
|
+
display: block;
|
|
165
|
+
}
|
|
162
166
|
.popup {
|
|
163
167
|
overflow: auto;
|
|
164
168
|
display: block;
|
|
@@ -250,7 +254,7 @@
|
|
|
250
254
|
width: 95vw;
|
|
251
255
|
margin: 2vw !important;
|
|
252
256
|
}
|
|
253
|
-
.modal-content{
|
|
257
|
+
.modal-content {
|
|
254
258
|
width: 96vw;
|
|
255
259
|
margin: 1vw !important;
|
|
256
260
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<div class="form-check">
|
|
2
|
-
<input class="form-check-input" type="radio" ng-value="ngValue" id="{{id2}}" ng-change="
|
|
2
|
+
<input class="form-check-input" type="radio" ng-value="ngValue" id="{{id2}}" ng-change="changed()" ng-disabled="disabled" ng-model="ngModel" name="{{group}}" />
|
|
3
3
|
<label class="form-check-label" for="{{id2}}"> {{label}} </label>
|
|
4
4
|
</div>
|
|
@@ -181,7 +181,7 @@ app.directive('iCheckbox', function ($timeout) {
|
|
|
181
181
|
};
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
app.directive('iRadio', function () {
|
|
184
|
+
app.directive('iRadio', function ($timeout) {
|
|
185
185
|
return {
|
|
186
186
|
restrict: 'E',
|
|
187
187
|
require: 'ngModel',
|
|
@@ -202,6 +202,13 @@ app.directive('iRadio', function () {
|
|
|
202
202
|
|
|
203
203
|
$scope.group = $scope.group || attrs.ngModel.replaceAll('.', '_');
|
|
204
204
|
$scope.id2 = $scope.id2 || 'input_' + Math.random().toString().replace('0.', '');
|
|
205
|
+
$scope.changed = function () {
|
|
206
|
+
$timeout(() => {
|
|
207
|
+
if ($scope.ngChange) {
|
|
208
|
+
$scope.ngChange();
|
|
209
|
+
}
|
|
210
|
+
}, 100);
|
|
211
|
+
};
|
|
205
212
|
},
|
|
206
213
|
template: `/*##client-side/directive/i-radio.html*/`,
|
|
207
214
|
};
|