@ntlab/ntjs-assets 2.43.0 → 2.44.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.
@@ -157,7 +157,7 @@
157
157
  "cdnjs": "blueimp-JavaScript-Templates"
158
158
  },
159
159
  "jqGrid": {
160
- "version": "5.8.9",
160
+ "version": "5.8.10",
161
161
  "cdnjs": "jqgrid"
162
162
  },
163
163
  "jquery": {
@@ -155,10 +155,12 @@
155
155
  .ui-jqgrid tr.ui-search-toolbar td input {
156
156
  font-size: inherit;
157
157
  padding: 3px 0;
158
+ height : 30px;
158
159
  }
159
160
  .ui-jqgrid tr.ui-search-toolbar select {
160
161
  font-size: inherit;
161
162
  padding: 0;
163
+ height : 30px;
162
164
  }
163
165
  .ui-jqgrid .ui-th-column > .ui-th-div {
164
166
  padding-left: 7px;
@@ -223,6 +225,7 @@ div.tablediv > .table-bordered {
223
225
  overflow: hidden;
224
226
  white-space: pre;
225
227
  padding-right: 2px;
228
+ padding: 0.55rem 0.13rem 0.55rem 0.55rem;
226
229
  }
227
230
  .ui-jqgrid tr.jqgfirstrow td {
228
231
  height:auto;
@@ -281,7 +284,7 @@ div.tablediv > .table-bordered {
281
284
  font-weight: bold;
282
285
  overflow: hidden;
283
286
  white-space:nowrap;
284
- padding-right: 2px;
287
+ padding: 0.55rem 0.15rem 0.55rem 0.55rem;
285
288
  }
286
289
  .ui-jqgrid tr.footrow td {
287
290
  border-bottom: 0px none;
@@ -558,6 +561,7 @@ div.tablediv > .table-bordered {
558
561
  position: absolute;
559
562
  /*padding: 5px; */
560
563
  overflow:visible;
564
+ background-color: inherit;
561
565
  }
562
566
  .ui-jqdialog .ui-jqdialog-titlebar {
563
567
  padding: .1em .1em;
@@ -611,6 +615,9 @@ div.tablediv > .table-bordered {
611
615
  .jqgrid-overlay-modal {
612
616
  display : none;
613
617
  }
618
+ .info_content {
619
+ text-align: center;
620
+ }
614
621
  /* end Modal window*/
615
622
  /* Form edit */
616
623
  .ui-jqdialog-content .FormGrid {
@@ -1228,7 +1235,19 @@ a.colmenu .colmenuspan
1228
1235
  height: 17em;
1229
1236
  }
1230
1237
  .ui-jqgrid-btable td.selected-cell {
1231
- background-color: antiquewhite;
1238
+ background-color: antiquewhite !important;
1239
+ }
1240
+ .toast-success {
1241
+ background-color: #e8f6f3 !important;
1242
+ }
1243
+ .toast-warning {
1244
+ background-color: #fef9e7 !important;
1245
+ }
1246
+ .toast-info {
1247
+ background-color: #ebf5fb !important;
1248
+ }
1249
+ .toast-error {
1250
+ background-color: #fadbd8 !important;
1232
1251
  }
1233
1252
 
1234
1253
  /* frozen rows */
@@ -1236,25 +1255,88 @@ a.colmenu .colmenuspan
1236
1255
  z-index: 2;
1237
1256
  position: sticky;
1238
1257
  position: -webkit-sticky;
1239
- background-color: #fff !important;
1240
- box-shadow: inset 0px 1px 0 #ddd, inset 0px -1px 0 #ddd !important;
1258
+ background-color: #fff;
1259
+ /*outline: 1px solid #ddd !important;*/
1260
+ box-shadow: inset 0px 1px 0 var(--tbl-brd-color, #ddd), inset 0px -1px 0 var(--tbl-brd-color, #ddd) !important;
1241
1261
  }
1242
1262
  /* frozen columns */
1243
1263
  .frozen-col-class {
1244
1264
  z-index: 1;
1245
1265
  position: sticky;
1246
1266
  position: -webkit-sticky;
1247
- background-color: #fff !important;
1248
- box-shadow: inset -1px 0px 0 #ddd !important;
1267
+ background-color: #fff;
1268
+ /*outline: 1px solid #ddd !important;*/
1269
+ box-shadow: inset -1px 0px 0 var(--tbl-brd-color, #ddd) !important;
1249
1270
  }
1250
1271
  .frozen-col-class-rtl {
1251
1272
  z-index: 1;
1252
1273
  position: sticky;
1253
1274
  position: -webkit-sticky;
1254
- background-color: #fff !important;
1255
- box-shadow: inset 1px 0px 0 #ddd !important;
1275
+ background-color: #fff ;
1276
+ box-shadow: inset 1px 0px 0 var(--tbl-brd-color, #ddd) !important;
1256
1277
  }
1257
1278
  .for-sticky {
1279
+ outline: none !important;
1258
1280
  box-shadow :none !important;
1259
1281
  border-right-width: 0px !important;
1260
1282
  }
1283
+
1284
+ .top-0 {
1285
+ top: 0!important
1286
+ }
1287
+
1288
+ .top-50 {
1289
+ top: 50%!important
1290
+ }
1291
+
1292
+ .top-100 {
1293
+ top: 100%!important
1294
+ }
1295
+
1296
+ .bottom-0 {
1297
+ bottom: 0!important
1298
+ }
1299
+
1300
+ .bottom-50 {
1301
+ bottom: 50%!important
1302
+ }
1303
+
1304
+ .bottom-100 {
1305
+ bottom: 100%!important
1306
+ }
1307
+
1308
+ .start-0 {
1309
+ left: 0!important
1310
+ }
1311
+
1312
+ .start-50 {
1313
+ left: 50%!important
1314
+ }
1315
+
1316
+ .start-100 {
1317
+ left: 100%!important
1318
+ }
1319
+
1320
+ .end-0 {
1321
+ right: 0!important
1322
+ }
1323
+
1324
+ .end-50 {
1325
+ right: 50%!important
1326
+ }
1327
+
1328
+ .end-100 {
1329
+ right: 100%!important
1330
+ }
1331
+
1332
+ .translate-middle {
1333
+ transform: translate(-50%,-50%)!important
1334
+ }
1335
+
1336
+ .translate-middle-x {
1337
+ transform: translateX(-50%)!important
1338
+ }
1339
+
1340
+ .translate-middle-y {
1341
+ transform: translateY(-50%)!important
1342
+ }
@@ -202,7 +202,7 @@
202
202
  border-bottom-color: var(--tbl-brd-color, #ddd);
203
203
  }
204
204
  .ui-jqgrid .ui-jqgrid-htable tr.ui-jqgrid-labels:last-child th {
205
- padding-top: 8px;
205
+ padding-top: 10px;
206
206
  padding-bottom: 8px;
207
207
  }
208
208
 
@@ -421,7 +421,7 @@ div.tablediv > .table-bordered {
421
421
  margin: 0;
422
422
  width : 55px;
423
423
  padding: 3px 25px 3px 3px;
424
- border:2px 2px solid #ccc;
424
+ border: 2px solid #ccc;
425
425
  }
426
426
  .ui-jqgrid .ui-separator {
427
427
  height: 16px;
@@ -1345,7 +1345,7 @@ a.colmenu .colmenuspan
1345
1345
  /* <script>window.MSInputMethodContext && document.documentMode && document.write('<script src="https://cdn.jsdelivr.net/gh/nuxodin/ie11CustomProperties@4.1.0/ie11CustomProperties.min.js"><\/script>');</script>*/
1346
1346
 
1347
1347
  .ui-jqgrid-btable td.selected-cell {
1348
- background-color: antiquewhite;
1348
+ background-color: antiquewhite !important;
1349
1349
  }
1350
1350
  .toast-success {
1351
1351
  background-color: #e8f6f3 !important;
@@ -1365,25 +1365,35 @@ a.colmenu .colmenuspan
1365
1365
  z-index: 2;
1366
1366
  position: sticky;
1367
1367
  position: -webkit-sticky;
1368
- background-color: #fff !important;
1369
- box-shadow: inset 0px 1px 0 var(--tbl-brd-color, #ddd), inset 0px -1px 0 var(--tbl-brd-color, #ddd) !important;
1368
+ background-color: var(--bs-body-bg, #fff) !important;
1369
+ outline: 1px solid !important;
1370
+ outline-width: thin;
1371
+ outline-color: var(--tbl-brd-color, #ddd) !important;
1372
+ /*box-shadow: inset 0px 1px 0 var(--tbl-brd-color, #ddd), inset 0px -1px 0 var(--tbl-brd-color, #ddd) !important;*/
1370
1373
  }
1371
1374
  /* frozen columns */
1372
1375
  .frozen-col-class {
1373
1376
  z-index: 1;
1374
1377
  position: sticky;
1375
1378
  position: -webkit-sticky;
1376
- background-color: #fff !important;
1377
- box-shadow: inset -1px 0px 0 #ddd !important;
1379
+ background-color: var(--bs-body-bg, #fff) !important;
1380
+ outline-width: thin;
1381
+ outline: 1px solid !important;
1382
+ outline-color: var(--tbl-brd-color, #ddd) !important;
1383
+ /*box-shadow: inset -1px 0px 0 var(--tbl-brd-color, #ddd) !important;*/
1378
1384
  }
1379
1385
  .frozen-col-class-rtl {
1380
1386
  z-index: 1;
1381
1387
  position: sticky;
1382
1388
  position: -webkit-sticky;
1383
- background-color: #fff !important;
1384
- box-shadow: inset 1px 0px 0 #ddd !important;
1389
+ background-color: var(--bs-body-bg, #fff) ;
1390
+ outline: 1px solid !important;
1391
+ outline-width: thin;
1392
+ outline-color: var(--tbl-brd-color, #ddd) !important;
1393
+ /*box-shadow: inset 1px 0px 0 var(--tbl-brd-color, #ddd) !important;*/
1385
1394
  }
1386
1395
  .for-sticky {
1396
+ outline: none !important;
1387
1397
  box-shadow :none !important;
1388
1398
  border-right-width: 0px !important;
1389
1399
  }
@@ -4,7 +4,7 @@
4
4
  -moz-box-sizing: content-box;
5
5
  -webkit-box-sizing: content-box;
6
6
  box-sizing: content-box;
7
- font-size:11px;
7
+ font-size:12px;
8
8
  }
9
9
  .ui-jqgrid .ui-jqgrid-view {
10
10
  position: relative;
@@ -39,7 +39,8 @@
39
39
  .ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0;padding: 0; overflow: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
40
40
  .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;}
41
41
  .ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0;border-collapse: separate;}
42
- .ui-jqgrid .ui-jqgrid-htable th { height: 27px; padding: 0 2px 0 2px;}
42
+ .ui-jqgrid .ui-jqgrid-htable th { height: 27px; padding: 2px 2px;}
43
+ .ui-jqgrid .ui-jqgrid-htable .jqg-first-row-header th { padding-top: 0px; padding-bottom: 0px}
43
44
  .ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative;margin: .1em 0em .1em 0em;}
44
45
  .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0 none;border-bottom : 0 none;}
45
46
  .ui-th-column-header, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column-header {overflow: hidden;white-space: nowrap;text-align:center;border-top : 0 none; height: 26px;}
@@ -74,7 +75,7 @@
74
75
  overflow: hidden;
75
76
  white-space: pre;
76
77
  height: 23px;
77
- padding: 1px 2px 1px 2px;
78
+ padding: 3px 2px 3px 2px;
78
79
  border-bottom-width: 1px;
79
80
  border-bottom-color: inherit;
80
81
  border-bottom-style: solid;
@@ -92,13 +93,13 @@
92
93
  /* footer */
93
94
  .ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0;padding: 0; overflow: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
94
95
  .ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0;border-collapse: separate;}
95
- .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 23px;padding: 1px 2px 1px 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;border-bottom: 0 none;}
96
+ .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap; height: 23px;padding: 3px 2px 3px 2px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;border-bottom: 0 none;}
96
97
  .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
97
98
  .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;border-right-width: 0px !important; border-right-style: none !important}
98
99
  /* headerrow */
99
100
  .ui-jqgrid .ui-jqgrid-hrdiv {position: relative; margin: 0;padding: 0; overflow: hidden; border-left: 0 none !important; border-top : 0 none !important; border-right : 0 none !important;}
100
101
  .ui-jqgrid .ui-jqgrid-hrtable {table-layout:fixed; margin-bottom:0;border-collapse: separate;}
101
- .ui-jqgrid tr.hrheadrow td { overflow: hidden; white-space:nowrap; height: 23px;padding: 1px 2px 1px 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;border-top: 0 none;}
102
+ .ui-jqgrid tr.hrheadrow td { overflow: hidden; white-space:nowrap; height: 23px;padding: 3px 2px 3px 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;border-top: 0 none;}
102
103
  .ui-jqgrid tr.hrheadrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
103
104
  .ui-jqgrid tr.hrheadrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;border-right-width: 0px !important; border-right-style: none !important}
104
105
  /* Pager*/
@@ -117,7 +118,7 @@
117
118
  /*font-size:11px; */
118
119
  z-index:100
119
120
  }
120
- .ui-jqgrid .ui-jqgrid-toppager .ui-pager-control, .ui-jqgrid .ui-jqgrid-pager .ui-pager-control {position: relative;border-left: 0;border-bottom: 0;border-top: 0; height: 28px;}
121
+ .ui-jqgrid .ui-jqgrid-toppager .ui-pager-control, .ui-jqgrid .ui-jqgrid-pager .ui-pager-control {position: relative;border-left: 0;border-bottom: 0;border-top: 0; height: 33px;}
121
122
  .ui-jqgrid .ui-pg-table {position: relative; padding: 1px 0; width:auto; margin: 0;}
122
123
  .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; padding:0px 1px;}
123
124
  .ui-jqgrid .ui-pg-button { height:auto}
@@ -695,23 +696,23 @@ td.menu_text {
695
696
  z-index: 2;
696
697
  position: sticky;
697
698
  position: -webkit-sticky;
698
- background-color: #fff !important;
699
- box-shadow: inset 0px 1px 0 #ddd, inset 0px -1px 0 #ddd !important;
699
+ background-color: #fff ; /* Important - to be changed when other theme (for now)) */
700
+ /*box-shadow: inset 0px 1px 0 #ddd, inset 0px -1px 0 #ddd !important;*/
700
701
  }
701
702
  /* frozen columns */
702
703
  .frozen-col-class {
703
704
  z-index: 1;
704
705
  position: sticky;
705
706
  position: -webkit-sticky;
706
- background-color: #fff !important;
707
- box-shadow: inset -1px 0px 0 #ddd !important;
707
+ background-color: inherit ;
708
+ /*box-shadow: inset -1px 0px 0 #ddd !important;*/
708
709
  }
709
710
  .frozen-col-class-rtl {
710
711
  z-index: 1;
711
712
  position: sticky;
712
713
  position: -webkit-sticky;
713
- background-color: #fff !important;
714
- box-shadow: inset 1px 0px 0 #ddd !important;
714
+ background-color: inherit;
715
+ /*box-shadow: inset 1px 0px 0 #ddd !important;*/
715
716
  }
716
717
  .for-sticky {
717
718
  box-shadow :none !important;
@@ -19,7 +19,7 @@ if(!$.jgrid.hasOwnProperty("defaults")) {
19
19
  $.jgrid.defaults = {};
20
20
  }
21
21
  $.extend($.jgrid,{
22
- version : "5.8.9",
22
+ version : "5.8.10",
23
23
  isNull : function( p, strict_eq) {
24
24
  if(strict_eq && strict_eq === true) {
25
25
  return p === null;
@@ -5172,7 +5172,7 @@ $.fn.jqGrid = function( pin ) {
5172
5172
 
5173
5173
  if(ts.p.grouping===true) {
5174
5174
  ts.p.scroll = false;
5175
- ts.p.rownumbers = false;
5175
+ //ts.p.rownumbers = false;
5176
5176
  //ts.p.subGrid = false; expiremental
5177
5177
  ts.p.treeGrid = false;
5178
5178
  ts.p.gridview = true;
@@ -7673,6 +7673,9 @@ $.jgrid.extend({
7673
7673
  var pos =0;
7674
7674
  for(i=0;i<$t.p.frozenColCount+1;i++){
7675
7675
  // from left
7676
+ if(cm[i].hidden) {
7677
+ continue;
7678
+ }
7676
7679
  var nm = this.id+"_"+cm[i].name;
7677
7680
  $("#"+$.jgrid.jqID(this.id) +' td[aria-describedby="'+nm+'"]').addClass(frzclass).css("inset-inline-start", pos+"px");
7678
7681
  pos = pos +$('.ui-jqgrid-htable th#'+nm, "#gbox_" + $.jgrid.jqID(this.p.id)).outerWidth();
@@ -443,6 +443,9 @@ $.jgrid.extend({
443
443
  }, prm || {});
444
444
 
445
445
  return this.each(function(){
446
+ if(this.p.isClipboard) {
447
+ return;
448
+ }
446
449
  var colmenustyle = $.jgrid.styleUI[(this.p.styleUI || 'jQueryUI')].colmenu, $t=this;
447
450
  var arf1 = '<ul id="'+this.id+'_copypaste" class="ui-search-menu modal-content column-menu ui-menu jqgrid-caption-menu ' + colmenustyle.menu_widget+'" role="menu" tabindex="0"></ul>';
448
451
  $("#gbox_"+this.id).append(arf1);
@@ -327,6 +327,7 @@ $.jgrid.extend({
327
327
  //vv = this.v;
328
328
  }
329
329
  tmpdata= "<td role=\"gridcell\" "+$t.formatCol(k,1,'')+">"+$.jgrid.template(tplfld, vv, fdata.cnt, fdata.dataIndex, fdata.displayValue, fdata.summary)+ "</td>";
330
+ this.v = this.uv;
330
331
  return false;
331
332
  }
332
333
  });
@@ -572,8 +572,8 @@ $.jgrid.extend({
572
572
  }
573
573
  }
574
574
  jQuery($t).jqGrid($.extend(true, {
575
- data: $.extend(query.select(),footerrow ? {userdata:pivotGrid.summary} : {}),
576
- datatype: 'local',
575
+ datastr: $.extend(query.select(),footerrow ? {userdata:pivotGrid.summary} : {}),
576
+ datatype: 'jsonstring',
577
577
  footerrow : footerrow,
578
578
  userDataOnFooter: footerrow,
579
579
  colModel: pivotGrid.colModel,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  *
3
- * @license Guriddo jqGrid JS - v5.8.9 - 2025-04-01
3
+ * @license Guriddo jqGrid JS - v5.8.10 - 2025-04-03
4
4
  * Copyright(c) 2008, Tony Tomov, tony@trirand.com
5
5
  *
6
6
  * License: http://guriddo.net/?page_id=103334
@@ -24,7 +24,7 @@ if(!$.jgrid.hasOwnProperty("defaults")) {
24
24
  $.jgrid.defaults = {};
25
25
  }
26
26
  $.extend($.jgrid,{
27
- version : "5.8.9",
27
+ version : "5.8.10",
28
28
  isNull : function( p, strict_eq) {
29
29
  if(strict_eq && strict_eq === true) {
30
30
  return p === null;
@@ -5177,7 +5177,7 @@ $.fn.jqGrid = function( pin ) {
5177
5177
 
5178
5178
  if(ts.p.grouping===true) {
5179
5179
  ts.p.scroll = false;
5180
- ts.p.rownumbers = false;
5180
+ //ts.p.rownumbers = false;
5181
5181
  //ts.p.subGrid = false; expiremental
5182
5182
  ts.p.treeGrid = false;
5183
5183
  ts.p.gridview = true;
@@ -7678,6 +7678,9 @@ $.jgrid.extend({
7678
7678
  var pos =0;
7679
7679
  for(i=0;i<$t.p.frozenColCount+1;i++){
7680
7680
  // from left
7681
+ if(cm[i].hidden) {
7682
+ continue;
7683
+ }
7681
7684
  var nm = this.id+"_"+cm[i].name;
7682
7685
  $("#"+$.jgrid.jqID(this.id) +' td[aria-describedby="'+nm+'"]').addClass(frzclass).css("inset-inline-start", pos+"px");
7683
7686
  pos = pos +$('.ui-jqgrid-htable th#'+nm, "#gbox_" + $.jgrid.jqID(this.p.id)).outerWidth();
@@ -24382,6 +24385,9 @@ $.jgrid.extend({
24382
24385
  }, prm || {});
24383
24386
 
24384
24387
  return this.each(function(){
24388
+ if(this.p.isClipboard) {
24389
+ return;
24390
+ }
24385
24391
  var colmenustyle = $.jgrid.styleUI[(this.p.styleUI || 'jQueryUI')].colmenu, $t=this;
24386
24392
  var arf1 = '<ul id="'+this.id+'_copypaste" class="ui-search-menu modal-content column-menu ui-menu jqgrid-caption-menu ' + colmenustyle.menu_widget+'" role="menu" tabindex="0"></ul>';
24387
24393
  $("#gbox_"+this.id).append(arf1);