@simai-studio/view 1.0.0 → 1.1.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/README.md +1 -1
- package/dist/package-receipt.json +97 -96
- package/dist/smart/view/component.json +10 -2
- package/dist/smart/view/component.json.gz +0 -0
- package/dist/smart/view/js/view.js +23 -6
- package/dist/smart/view/js/view.js.gz +0 -0
- package/dist/smart/view/js/view.min.js +1 -1
- package/dist/smart/view/js/view.min.js.gz +0 -0
- package/dist/smart/view/smart.manifest.json +10 -3
- package/dist/smart/view/smart.manifest.json.gz +0 -0
- package/dist/smart/view/static/default/open-record.html +11 -16
- package/dist/smart/view/static/default/open-record.html.gz +0 -0
- package/dist/smart/view/static/default/reference.html +11 -16
- package/dist/smart/view/static/default/reference.html.gz +0 -0
- package/dist/smart/view-properties/component.json +10 -2
- package/dist/smart/view-properties/component.json.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.css +24 -19
- package/dist/smart/view-properties/css/view-properties.css.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.min.css +1 -1
- package/dist/smart/view-properties/css/view-properties.min.css.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.js +306 -171
- package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.min.js +92 -121
- package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
- package/dist/smart/view-properties/lang/en.json +0 -7
- package/dist/smart/view-properties/lang/en.json.gz +0 -0
- package/dist/smart/view-properties/lang/ru.json +0 -7
- package/dist/smart/view-properties/lang/ru.json.gz +0 -0
- package/dist/smart/view-properties/smart.manifest.json +12 -9
- package/dist/smart/view-properties/smart.manifest.json.gz +0 -0
- package/dist/smart/view-properties/template/default.css +22 -19
- package/dist/smart/view-properties/template/default.css.gz +0 -0
- package/dist/smart/view-properties/template/default.js +8 -10
- package/dist/smart/view-properties/template/default.js.gz +0 -0
- package/dist/smart/view-table/component.json +10 -2
- package/dist/smart/view-table/component.json.gz +0 -0
- package/dist/smart/view-table/js/view-table.js +375 -88
- package/dist/smart/view-table/js/view-table.js.gz +0 -0
- package/dist/smart/view-table/js/view-table.min.js +56 -56
- package/dist/smart/view-table/js/view-table.min.js.gz +0 -0
- package/dist/smart/view-table/smart.manifest.json +11 -4
- package/dist/smart/view-table/smart.manifest.json.gz +0 -0
- package/dist/smart/view-table/template/default.js +1 -1
- package/dist/smart/view-table/template/default.js.gz +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ and tags `view-<12>`; it is not run yet.
|
|
|
66
66
|
or, from a base the page serves itself:
|
|
67
67
|
|
|
68
68
|
```js
|
|
69
|
-
window.SF_BOOT_CONFIG = {packages: {view: {base: '/assets/ui-view/smart', version: '1.
|
|
69
|
+
window.SF_BOOT_CONFIG = {packages: {view: {base: '/assets/ui-view/smart', version: '1.1.0'}}};
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
## Moving to a newer SIMAI Framework
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"package_source": {
|
|
11
11
|
"repository": "simai/ui-view",
|
|
12
|
-
"revision": "
|
|
12
|
+
"revision": "4d7070623fe181ccc5f0b7b9230098c4ea24e8dd",
|
|
13
13
|
"path": "package",
|
|
14
|
-
"tree": "
|
|
14
|
+
"tree": "1a6af18160d763b1d2f0a3cc4705e235cfaa6f5f"
|
|
15
15
|
},
|
|
16
16
|
"licence": {
|
|
17
17
|
"ref": "PolyForm-Small-Business-1.0.0 OR PolyForm-Noncommercial-1.0.0 OR LicenseRef-SIMAI-Commercial"
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"unsafeHTML"
|
|
56
56
|
],
|
|
57
57
|
"page-language": [
|
|
58
|
+
"pageLocale",
|
|
58
59
|
"pageText"
|
|
59
60
|
],
|
|
60
61
|
"position": [
|
|
@@ -83,9 +84,9 @@
|
|
|
83
84
|
"output": {
|
|
84
85
|
"runtime_path": "smart",
|
|
85
86
|
"files_count": 123,
|
|
86
|
-
"manifest_sha256": "
|
|
87
|
+
"manifest_sha256": "f47a61827c8c4d936e28047bbe4a900f6b59a479592d37283935c7f1461c4c7c",
|
|
87
88
|
"archive": "package-view.tar",
|
|
88
|
-
"archive_sha256": "
|
|
89
|
+
"archive_sha256": "8de1749c047f73f09e3009dc867cfddaee7a2676cbe8975ddc725a09b6e18442",
|
|
89
90
|
"archive_format": "ustar; entries sorted; owner 0:0; mtime 0; modes 0755/0644"
|
|
90
91
|
},
|
|
91
92
|
"required_files": [
|
|
@@ -96,8 +97,8 @@
|
|
|
96
97
|
},
|
|
97
98
|
{
|
|
98
99
|
"path": "smart/view/js/view.js",
|
|
99
|
-
"sha256": "
|
|
100
|
-
"size":
|
|
100
|
+
"sha256": "e4dbc7272dc3f12d33f159a3dc0230c1f213a656f4da7e0cfc994f62bf9add08",
|
|
101
|
+
"size": 181652
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
104
|
"path": "smart/view/css/view.css",
|
|
@@ -106,18 +107,18 @@
|
|
|
106
107
|
},
|
|
107
108
|
{
|
|
108
109
|
"path": "smart/view-properties/js/view-properties.js",
|
|
109
|
-
"sha256": "
|
|
110
|
-
"size":
|
|
110
|
+
"sha256": "b0b96da9ffc63d80607acd68d07eb8ab3364072c859f4b6fe3dd9cb3eb54e7e8",
|
|
111
|
+
"size": 486561
|
|
111
112
|
},
|
|
112
113
|
{
|
|
113
114
|
"path": "smart/view-properties/css/view-properties.css",
|
|
114
|
-
"sha256": "
|
|
115
|
-
"size":
|
|
115
|
+
"sha256": "2c78eb262ab35b0df45a9c2495447ebffbde210f6f3ec673605f08b3f42984a6",
|
|
116
|
+
"size": 57054
|
|
116
117
|
},
|
|
117
118
|
{
|
|
118
119
|
"path": "smart/view-table/js/view-table.js",
|
|
119
|
-
"sha256": "
|
|
120
|
-
"size":
|
|
120
|
+
"sha256": "dba17cf9c61e3d370bb6202e4bd2946706169c9ada4af0bbc601bb316a961f66",
|
|
121
|
+
"size": 612039
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
124
|
"path": "smart/view-table/css/view-table.css",
|
|
@@ -376,13 +377,13 @@
|
|
|
376
377
|
},
|
|
377
378
|
{
|
|
378
379
|
"path": "smart/view/component.json",
|
|
379
|
-
"sha256": "
|
|
380
|
-
"size":
|
|
380
|
+
"sha256": "3745d5a1fe079a98490e638a01d5b015d824fb14ce0a2830737cf0aadc5659c5",
|
|
381
|
+
"size": 68892
|
|
381
382
|
},
|
|
382
383
|
{
|
|
383
384
|
"path": "smart/view/component.json.gz",
|
|
384
|
-
"sha256": "
|
|
385
|
-
"size":
|
|
385
|
+
"sha256": "0324361fb47ecb9533857c6fbddd8ee80020167c47416a886dfeaaa0341f2aae",
|
|
386
|
+
"size": 16333
|
|
386
387
|
},
|
|
387
388
|
{
|
|
388
389
|
"path": "smart/view/css/view.css",
|
|
@@ -416,23 +417,23 @@
|
|
|
416
417
|
},
|
|
417
418
|
{
|
|
418
419
|
"path": "smart/view/js/view.js",
|
|
419
|
-
"sha256": "
|
|
420
|
-
"size":
|
|
420
|
+
"sha256": "e4dbc7272dc3f12d33f159a3dc0230c1f213a656f4da7e0cfc994f62bf9add08",
|
|
421
|
+
"size": 181652
|
|
421
422
|
},
|
|
422
423
|
{
|
|
423
424
|
"path": "smart/view/js/view.js.gz",
|
|
424
|
-
"sha256": "
|
|
425
|
-
"size":
|
|
425
|
+
"sha256": "fd3275f7532e2dcfbd610d214dd2da723c1661eb4ae1646e7ea9c7443a4d756f",
|
|
426
|
+
"size": 50907
|
|
426
427
|
},
|
|
427
428
|
{
|
|
428
429
|
"path": "smart/view/js/view.min.js",
|
|
429
|
-
"sha256": "
|
|
430
|
-
"size":
|
|
430
|
+
"sha256": "dc133c6ffbbb600ad6d445100e5cb968b5864d1673bbbd140b45031c5eebddba",
|
|
431
|
+
"size": 84586
|
|
431
432
|
},
|
|
432
433
|
{
|
|
433
434
|
"path": "smart/view/js/view.min.js.gz",
|
|
434
|
-
"sha256": "
|
|
435
|
-
"size":
|
|
435
|
+
"sha256": "e4e6fb5a22af170b11c389cc167e2b317987a8f68c9447aec927ed181370564a",
|
|
436
|
+
"size": 24341
|
|
436
437
|
},
|
|
437
438
|
{
|
|
438
439
|
"path": "smart/view/lang/en.json",
|
|
@@ -466,13 +467,13 @@
|
|
|
466
467
|
},
|
|
467
468
|
{
|
|
468
469
|
"path": "smart/view/smart.manifest.json",
|
|
469
|
-
"sha256": "
|
|
470
|
-
"size":
|
|
470
|
+
"sha256": "ec6c95386a44179404d215aa6bd80e19984b708ef449150ce0e92a024da9d6d2",
|
|
471
|
+
"size": 54748
|
|
471
472
|
},
|
|
472
473
|
{
|
|
473
474
|
"path": "smart/view/smart.manifest.json.gz",
|
|
474
|
-
"sha256": "
|
|
475
|
-
"size":
|
|
475
|
+
"sha256": "316aa04b50d88a1acc0e7ef77d45a8764895db104f89067fa578ccad27c0850f",
|
|
476
|
+
"size": 11694
|
|
476
477
|
},
|
|
477
478
|
{
|
|
478
479
|
"path": "smart/view/static/default/embedded.html",
|
|
@@ -486,23 +487,23 @@
|
|
|
486
487
|
},
|
|
487
488
|
{
|
|
488
489
|
"path": "smart/view/static/default/open-record.html",
|
|
489
|
-
"sha256": "
|
|
490
|
-
"size":
|
|
490
|
+
"sha256": "0e298f14e7cc9d3d2e26afeeb606f6125f2ed4e478460e36a48455c4afc9c473",
|
|
491
|
+
"size": 18584
|
|
491
492
|
},
|
|
492
493
|
{
|
|
493
494
|
"path": "smart/view/static/default/open-record.html.gz",
|
|
494
|
-
"sha256": "
|
|
495
|
-
"size":
|
|
495
|
+
"sha256": "24567243806b4fa10db954f5eb933f1e28bb840220baef7ee5c9850761994535",
|
|
496
|
+
"size": 2645
|
|
496
497
|
},
|
|
497
498
|
{
|
|
498
499
|
"path": "smart/view/static/default/reference.html",
|
|
499
|
-
"sha256": "
|
|
500
|
-
"size":
|
|
500
|
+
"sha256": "acf707bf17e021856bf4329e902791a43f407ea8c99770ed61e3fd2222d5c063",
|
|
501
|
+
"size": 18585
|
|
501
502
|
},
|
|
502
503
|
{
|
|
503
504
|
"path": "smart/view/static/default/reference.html.gz",
|
|
504
|
-
"sha256": "
|
|
505
|
-
"size":
|
|
505
|
+
"sha256": "c36655853e76a112f45161f67d2c3c511699eb90e5c1917b97ac133c43d5a563",
|
|
506
|
+
"size": 2658
|
|
506
507
|
},
|
|
507
508
|
{
|
|
508
509
|
"path": "smart/view/static/sheets.json",
|
|
@@ -526,33 +527,33 @@
|
|
|
526
527
|
},
|
|
527
528
|
{
|
|
528
529
|
"path": "smart/view-properties/component.json",
|
|
529
|
-
"sha256": "
|
|
530
|
-
"size":
|
|
530
|
+
"sha256": "bff5d5fbfb4b6460e165be1c2508894c8641c1194e67a799188b112e073a5ee0",
|
|
531
|
+
"size": 85297
|
|
531
532
|
},
|
|
532
533
|
{
|
|
533
534
|
"path": "smart/view-properties/component.json.gz",
|
|
534
|
-
"sha256": "
|
|
535
|
-
"size":
|
|
535
|
+
"sha256": "7410418e750913488a1f5cff89011c02a7e3caad6e0226dc43afd3547854e686",
|
|
536
|
+
"size": 19808
|
|
536
537
|
},
|
|
537
538
|
{
|
|
538
539
|
"path": "smart/view-properties/css/view-properties.css",
|
|
539
|
-
"sha256": "
|
|
540
|
-
"size":
|
|
540
|
+
"sha256": "2c78eb262ab35b0df45a9c2495447ebffbde210f6f3ec673605f08b3f42984a6",
|
|
541
|
+
"size": 57054
|
|
541
542
|
},
|
|
542
543
|
{
|
|
543
544
|
"path": "smart/view-properties/css/view-properties.css.gz",
|
|
544
|
-
"sha256": "
|
|
545
|
-
"size":
|
|
545
|
+
"sha256": "fc62f3d220799cc4bda837e90da00642eef6611154719331e35fce35c10bb4d1",
|
|
546
|
+
"size": 14305
|
|
546
547
|
},
|
|
547
548
|
{
|
|
548
549
|
"path": "smart/view-properties/css/view-properties.min.css",
|
|
549
|
-
"sha256": "
|
|
550
|
-
"size":
|
|
550
|
+
"sha256": "aa42baf163a997b6898d0b4d112642863021d936539f3d0c6b893531571fca3d",
|
|
551
|
+
"size": 20728
|
|
551
552
|
},
|
|
552
553
|
{
|
|
553
554
|
"path": "smart/view-properties/css/view-properties.min.css.gz",
|
|
554
|
-
"sha256": "
|
|
555
|
-
"size":
|
|
555
|
+
"sha256": "f3e2778f4f6506f700a9281b62d70eb21c63f95e54831fcc5063d3b06d746f0c",
|
|
556
|
+
"size": 3166
|
|
556
557
|
},
|
|
557
558
|
{
|
|
558
559
|
"path": "smart/view-properties/examples.json",
|
|
@@ -566,43 +567,43 @@
|
|
|
566
567
|
},
|
|
567
568
|
{
|
|
568
569
|
"path": "smart/view-properties/js/view-properties.js",
|
|
569
|
-
"sha256": "
|
|
570
|
-
"size":
|
|
570
|
+
"sha256": "b0b96da9ffc63d80607acd68d07eb8ab3364072c859f4b6fe3dd9cb3eb54e7e8",
|
|
571
|
+
"size": 486561
|
|
571
572
|
},
|
|
572
573
|
{
|
|
573
574
|
"path": "smart/view-properties/js/view-properties.js.gz",
|
|
574
|
-
"sha256": "
|
|
575
|
-
"size":
|
|
575
|
+
"sha256": "515f4f0f41d189a7d7a4886f368d075a7e0c044d95f644f152fa7bfbd1f88e82",
|
|
576
|
+
"size": 123050
|
|
576
577
|
},
|
|
577
578
|
{
|
|
578
579
|
"path": "smart/view-properties/js/view-properties.min.js",
|
|
579
|
-
"sha256": "
|
|
580
|
-
"size":
|
|
580
|
+
"sha256": "d02793cc4adad22d4177f90d8992b36bd7fd11c3f72328b0f27fa2c6f64e42f3",
|
|
581
|
+
"size": 212978
|
|
581
582
|
},
|
|
582
583
|
{
|
|
583
584
|
"path": "smart/view-properties/js/view-properties.min.js.gz",
|
|
584
|
-
"sha256": "
|
|
585
|
-
"size":
|
|
585
|
+
"sha256": "c3b3ee008ab6e4fc855a73cb2464aefaeb8866d80e2d22784a4d34952fb14b51",
|
|
586
|
+
"size": 50258
|
|
586
587
|
},
|
|
587
588
|
{
|
|
588
589
|
"path": "smart/view-properties/lang/en.json",
|
|
589
|
-
"sha256": "
|
|
590
|
-
"size":
|
|
590
|
+
"sha256": "797be319b6b4fb7bcd563cd40747b661295bc82306799edd6f02f106615fe634",
|
|
591
|
+
"size": 3350
|
|
591
592
|
},
|
|
592
593
|
{
|
|
593
594
|
"path": "smart/view-properties/lang/en.json.gz",
|
|
594
|
-
"sha256": "
|
|
595
|
-
"size":
|
|
595
|
+
"sha256": "0de2e8f3aee31fe42eb1cd94b4511ef8b86080ae38dcd6647c37c96e3015fc8e",
|
|
596
|
+
"size": 1110
|
|
596
597
|
},
|
|
597
598
|
{
|
|
598
599
|
"path": "smart/view-properties/lang/ru.json",
|
|
599
|
-
"sha256": "
|
|
600
|
-
"size":
|
|
600
|
+
"sha256": "917528569b83d9b495fa69bad5f0946df19adf8cff4029d401d0954928967b66",
|
|
601
|
+
"size": 4541
|
|
601
602
|
},
|
|
602
603
|
{
|
|
603
604
|
"path": "smart/view-properties/lang/ru.json.gz",
|
|
604
|
-
"sha256": "
|
|
605
|
-
"size":
|
|
605
|
+
"sha256": "aca7b735e147ab0447696761ce86790e8d8fed5be3c223f444150ce2618e634b",
|
|
606
|
+
"size": 1487
|
|
606
607
|
},
|
|
607
608
|
{
|
|
608
609
|
"path": "smart/view-properties/probe.json",
|
|
@@ -626,13 +627,13 @@
|
|
|
626
627
|
},
|
|
627
628
|
{
|
|
628
629
|
"path": "smart/view-properties/smart.manifest.json",
|
|
629
|
-
"sha256": "
|
|
630
|
-
"size":
|
|
630
|
+
"sha256": "857ed42b74ae2111d81ecacf92f4d089267c7d2a0a44cb06e6d14f6651bab0ed",
|
|
631
|
+
"size": 61008
|
|
631
632
|
},
|
|
632
633
|
{
|
|
633
634
|
"path": "smart/view-properties/smart.manifest.json.gz",
|
|
634
|
-
"sha256": "
|
|
635
|
-
"size":
|
|
635
|
+
"sha256": "dd1cbef67dbffb3e49420a821eda9a71fce8f036f8dced11946cac249c966ba3",
|
|
636
|
+
"size": 14482
|
|
636
637
|
},
|
|
637
638
|
{
|
|
638
639
|
"path": "smart/view-properties/static/default/full.html",
|
|
@@ -686,23 +687,23 @@
|
|
|
686
687
|
},
|
|
687
688
|
{
|
|
688
689
|
"path": "smart/view-properties/template/default.css",
|
|
689
|
-
"sha256": "
|
|
690
|
-
"size":
|
|
690
|
+
"sha256": "896e8ee5427819f04ca61bb097ec0c887b2317f4389f6b7f87fa1beda087ad75",
|
|
691
|
+
"size": 44273
|
|
691
692
|
},
|
|
692
693
|
{
|
|
693
694
|
"path": "smart/view-properties/template/default.css.gz",
|
|
694
|
-
"sha256": "
|
|
695
|
-
"size":
|
|
695
|
+
"sha256": "8e5b8001ed1f836247ebf768543dfd19e9250f051616b60de3114506f72aaabf",
|
|
696
|
+
"size": 13322
|
|
696
697
|
},
|
|
697
698
|
{
|
|
698
699
|
"path": "smart/view-properties/template/default.js",
|
|
699
|
-
"sha256": "
|
|
700
|
-
"size":
|
|
700
|
+
"sha256": "9aaa4a7143ef16617609a2461ccaa5edbfdd5e6277f111dd83ced3d1736a9a24",
|
|
701
|
+
"size": 89943
|
|
701
702
|
},
|
|
702
703
|
{
|
|
703
704
|
"path": "smart/view-properties/template/default.js.gz",
|
|
704
|
-
"sha256": "
|
|
705
|
-
"size":
|
|
705
|
+
"sha256": "604f7421b5e08f22876c15c9bd2d6109af03fe82c154ba6495caa2ec7cb93188",
|
|
706
|
+
"size": 21381
|
|
706
707
|
},
|
|
707
708
|
{
|
|
708
709
|
"path": "smart/view-table/aliases.json",
|
|
@@ -716,13 +717,13 @@
|
|
|
716
717
|
},
|
|
717
718
|
{
|
|
718
719
|
"path": "smart/view-table/component.json",
|
|
719
|
-
"sha256": "
|
|
720
|
-
"size":
|
|
720
|
+
"sha256": "f6ead799c5735c7879ceaf2b8d6765537414530e6aa7947417665dada78b154a",
|
|
721
|
+
"size": 98299
|
|
721
722
|
},
|
|
722
723
|
{
|
|
723
724
|
"path": "smart/view-table/component.json.gz",
|
|
724
|
-
"sha256": "
|
|
725
|
-
"size":
|
|
725
|
+
"sha256": "eaa04f1496e48ffe294b535f5907fe791e99eb4ff5f178f55cc099c04e6a877b",
|
|
726
|
+
"size": 20689
|
|
726
727
|
},
|
|
727
728
|
{
|
|
728
729
|
"path": "smart/view-table/css/view-table.css",
|
|
@@ -756,23 +757,23 @@
|
|
|
756
757
|
},
|
|
757
758
|
{
|
|
758
759
|
"path": "smart/view-table/js/view-table.js",
|
|
759
|
-
"sha256": "
|
|
760
|
-
"size":
|
|
760
|
+
"sha256": "dba17cf9c61e3d370bb6202e4bd2946706169c9ada4af0bbc601bb316a961f66",
|
|
761
|
+
"size": 612039
|
|
761
762
|
},
|
|
762
763
|
{
|
|
763
764
|
"path": "smart/view-table/js/view-table.js.gz",
|
|
764
|
-
"sha256": "
|
|
765
|
-
"size":
|
|
765
|
+
"sha256": "920989c91bd274b34c16c256cf7c3287e16413475856c9c17072be47cf7d34d6",
|
|
766
|
+
"size": 154187
|
|
766
767
|
},
|
|
767
768
|
{
|
|
768
769
|
"path": "smart/view-table/js/view-table.min.js",
|
|
769
|
-
"sha256": "
|
|
770
|
-
"size":
|
|
770
|
+
"sha256": "57e724d444f200cc358efebb600aaf88c45771498b57368818a9f114d4ae9bda",
|
|
771
|
+
"size": 289167
|
|
771
772
|
},
|
|
772
773
|
{
|
|
773
774
|
"path": "smart/view-table/js/view-table.min.js.gz",
|
|
774
|
-
"sha256": "
|
|
775
|
-
"size":
|
|
775
|
+
"sha256": "9ed14ab87f7ba8c4e891b04f650a5707989c1e709b7149f0e124c7830178943c",
|
|
776
|
+
"size": 72749
|
|
776
777
|
},
|
|
777
778
|
{
|
|
778
779
|
"path": "smart/view-table/lang/en.json",
|
|
@@ -806,13 +807,13 @@
|
|
|
806
807
|
},
|
|
807
808
|
{
|
|
808
809
|
"path": "smart/view-table/smart.manifest.json",
|
|
809
|
-
"sha256": "
|
|
810
|
-
"size":
|
|
810
|
+
"sha256": "e9ab41d9e90d2102d5d58d57cac951eb3fde54b1fe7971743a7e2bdf306fb2f7",
|
|
811
|
+
"size": 75727
|
|
811
812
|
},
|
|
812
813
|
{
|
|
813
814
|
"path": "smart/view-table/smart.manifest.json.gz",
|
|
814
|
-
"sha256": "
|
|
815
|
-
"size":
|
|
815
|
+
"sha256": "54247807673e6182c502bc23ced6d9fbc95cf0396ce38ccdbb642de5227f5d84",
|
|
816
|
+
"size": 15185
|
|
816
817
|
},
|
|
817
818
|
{
|
|
818
819
|
"path": "smart/view-table/static/default/current.html",
|
|
@@ -946,13 +947,13 @@
|
|
|
946
947
|
},
|
|
947
948
|
{
|
|
948
949
|
"path": "smart/view-table/template/default.js",
|
|
949
|
-
"sha256": "
|
|
950
|
-
"size":
|
|
950
|
+
"sha256": "3e715b7fc97a248d718a599a777476a9c08fe43d4f08cf06d2e6f388b2605d6a",
|
|
951
|
+
"size": 66402
|
|
951
952
|
},
|
|
952
953
|
{
|
|
953
954
|
"path": "smart/view-table/template/default.js.gz",
|
|
954
|
-
"sha256": "
|
|
955
|
-
"size":
|
|
955
|
+
"sha256": "d101f34bab130c001a7e8ff9a0d2f57b390d59fb5f2e646e2b41ad6fe2430991",
|
|
956
|
+
"size": 16137
|
|
956
957
|
},
|
|
957
958
|
{
|
|
958
959
|
"path": "smart/view-table/template/link-cell-contract.js",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$comment": "sf-data-view from its component.json (standard simai.smart-component 1.3.8, vocabulary 1.1.5), migrated from ui-control control/smart-architecture/migration/out/data-view; every x-todo decided in x-decisions.",
|
|
3
3
|
"id": "smart.view",
|
|
4
4
|
"tag": "sf-view",
|
|
5
|
-
"version": "1.8.
|
|
5
|
+
"version": "1.8.1",
|
|
6
6
|
"kind": "leaf",
|
|
7
7
|
"family": "table",
|
|
8
8
|
"settings": {
|
|
@@ -1064,7 +1064,8 @@
|
|
|
1064
1064
|
"loader-ensure": "version 1.6.5: the parts, the move dialog's elements and sf-table for the row-action catalogue are asked for through SF.Loader.ensure (core.runtime 1.19.0), not ensureSmartElementLoaded or a race of whenDefined against 3 s of its own (reuse audit 2026-11-02, finding 4). Needs core.runtime >= 1.19.0.",
|
|
1065
1065
|
"layer-stack-dialog": "version 1.7.0: the move dialog and the host's confirmation (confirm_required) are sf-modal, not a native <dialog> shown with showModal() (reuse audit 2026-11-02, findings 1 and 2): a modal layer of the one document stack, so a drawer or a modal opened over it or under it is ordered with it, Escape and a press outside close the top one only, focus returns by the stack's rule, the page lock is the stack's. The window is made in slot dialog and drawn in sf-modal's portal; open() asked with a signal answers when it closes (§19.4), accepted only through the apply button (sf-modal confirm()); Escape, the scrim, the close button and «Отмена» answer null as Escape and «Отмена» did. sf-modal, sf-button and sf-radio are asked for through SF.Loader.ensure before it opens; without sf-modal the view says unavailable and writes nothing. Visible: the shared scrim (black at 60) in place of the browser's light backdrop, the title in sf-modal's header with its close button, sf-modal's panel and footer. Needs core.runtime >= 1.19.0.",
|
|
1066
1066
|
"framework-tag-renames": "version 1.7.1: the Framework elements it draws, finds and listens to are named by their new tags (Smart component naming of 2026-11-02, sf-[set]-<block>): the bulk clear button is sf-button-icon. The rule relations and the registry ids follow (cl-<new>, smart.<new>; the package reference pro.package.json of the pair). The former tags stay dated aliases of the Framework until 2027-01-01; public CSS variables and classes keep their names. No visible change. Needs the SIMAI Framework pair with the tag renames (core.runtime 1.21.0).",
|
|
1067
|
-
"tag-rename": "version 1.8.0: the tag is sf-view (naming decision 2026-11-02: sf-[set]-<block>[-<variant>]; rename plan R2); the folder view, the id smart.view and the bundle cl-view follow it. sf-data-view stays a dated alias until 2027-01-01: a subclass the Smart base defines beside the new tag, listed in the package rule, in sheets as :is(sf-view, sf-data-view), its events named after the tag followed by their former names (ui-source change journal tag-sf-data-view-to-sf-view, path-smart-data-view-to-view)."
|
|
1067
|
+
"tag-rename": "version 1.8.0: the tag is sf-view (naming decision 2026-11-02: sf-[set]-<block>[-<variant>]; rename plan R2); the folder view, the id smart.view and the bundle cl-view follow it. sf-data-view stays a dated alias until 2027-01-01: a subclass the Smart base defines beside the new tag, listed in the package rule, in sheets as :is(sf-view, sf-data-view), its events named after the tag followed by their former names (ui-source change journal tag-sf-data-view-to-sf-view, path-smart-data-view-to-view).",
|
|
1068
|
+
"host-chrome": "version 1.8.1: a table the host wrote selectable=\"false\" or settings=\"false\" on keeps it. The view wrote its own chrome (select, settings) over both on every projection, so a list the host had turned them off on came back with a box in every row and the settings column (Larena, the sites list, 2026-11-05). What the table carried before the view first touched it is kept in data-sf-host-selectable and data-sf-host-settings, as data-sf-host-row-actions already was, and the first-paint skeleton draws the same columns."
|
|
1068
1069
|
},
|
|
1069
1070
|
"x-rule": {
|
|
1070
1071
|
"$comment": [
|
|
@@ -1339,6 +1340,13 @@
|
|
|
1339
1340
|
"changes": [
|
|
1340
1341
|
"The tag is sf-view (rename plan R2, naming decision 2026-11-02: sf-[set]-<block>); the folder view, the id smart.view and the bundle cl-view follow it (were data-view, smart.data-view-composite, cl-data-view). sf-data-view stays a dated alias until 2027-01-01: old markup upgrades as this element, the Loader forwards cl-data-view, and every event fires under its former name as well, with the same detail. Public CSS variables and classes keep their names; the opaque instance_id of the state and answer events reads sf-view-<n> (was sf-data-view-<n>). Needs the SIMAI Framework pair whose package reference lists the former tag (core.runtime 1.22.0). Nothing to change for a host until 2027-01-01; new markup writes sf-view."
|
|
1341
1342
|
]
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"from": "1.8.0",
|
|
1346
|
+
"to": "1.8.1",
|
|
1347
|
+
"changes": [
|
|
1348
|
+
"A table the host wrote selectable=\"false\" or settings=\"false\" on keeps it inside the view (no row boxes, no settings column); before, the view's chrome overwrote both. Nothing to change for a host; a host that wanted the view's boxes on such a table removes its own attribute."
|
|
1349
|
+
]
|
|
1342
1350
|
}
|
|
1343
1351
|
]
|
|
1344
1352
|
},
|
|
Binary file
|
|
@@ -482,6 +482,17 @@ const COLUMN_PRESENTATION = {
|
|
|
482
482
|
min_width: "minWidth"
|
|
483
483
|
}; // The sentence a host answer carries for a person (port answer `message`):
|
|
484
484
|
// a non-empty string, trimmed; anything else is no message.
|
|
485
|
+
// A chrome part the host turned off on its own table (selectable="false",
|
|
486
|
+
// settings="false") stays off. The view writes these attributes on every
|
|
487
|
+
// projection, so what the table carried before the view first touched it is
|
|
488
|
+
// kept aside, as data-sf-host-row-actions is, and read from there.
|
|
489
|
+
|
|
490
|
+
function hostWroteOff(table, name) {
|
|
491
|
+
if (!table) return false;
|
|
492
|
+
const marker = `data-sf-host-${name}`;
|
|
493
|
+
if (!table.hasAttribute?.(marker)) table.setAttribute?.(marker, table.getAttribute?.(name) ?? "");
|
|
494
|
+
return table.getAttribute?.(marker) === "false";
|
|
495
|
+
}
|
|
485
496
|
|
|
486
497
|
function hostMessage(answer) {
|
|
487
498
|
return typeof answer?.message === "string" ? answer.message.trim() : "";
|
|
@@ -1375,8 +1386,8 @@ class SfDataView extends DataViewElement {
|
|
|
1375
1386
|
|
|
1376
1387
|
const toolbar = table ? table.getAttribute("toolbar") !== "false" : this.renders("toolbar");
|
|
1377
1388
|
const ownToolbar = Boolean(table) && this.renders("toolbar") && Boolean(this.querySelector(':scope > [slot="toolbar"]'));
|
|
1378
|
-
const select = this.renders("select");
|
|
1379
|
-
const settings = this.renders("settings");
|
|
1389
|
+
const select = this.renders("select") && !hostWroteOff(table, "selectable");
|
|
1390
|
+
const settings = this.renders("settings") && !hostWroteOff(table, "settings");
|
|
1380
1391
|
const layout = table?.getAttribute("layout") || (this.renders("toolbar") ? "auto" : "table");
|
|
1381
1392
|
skeleton.setAttribute("data-layout", ["auto", "table", "list"].includes(layout) ? layout : "table");
|
|
1382
1393
|
const columns = this.expectedColumns;
|
|
@@ -2734,8 +2745,14 @@ class SfDataView extends DataViewElement {
|
|
|
2734
2745
|
const refused = this._queryRefused === true;
|
|
2735
2746
|
if (!table.hasAttribute?.("data-sf-host-toolbar")) table.setAttribute("data-sf-host-toolbar", table.getAttribute?.("toolbar") ?? "");
|
|
2736
2747
|
const authorToolbar = table.getAttribute?.("data-sf-host-toolbar");
|
|
2737
|
-
if (refused) table.setAttribute("toolbar", "false");else if (authorToolbar) table.setAttribute("toolbar", authorToolbar);else table.removeAttribute?.("toolbar");
|
|
2738
|
-
|
|
2748
|
+
if (refused) table.setAttribute("toolbar", "false");else if (authorToolbar) table.setAttribute("toolbar", authorToolbar);else table.removeAttribute?.("toolbar"); // The row boxes and the gear column are the view's chrome, unless the
|
|
2749
|
+
// host wrote them off on its table: what the table carried before the
|
|
2750
|
+
// view first touched it is the host's word, as for row-actions below.
|
|
2751
|
+
// A table written selectable="false" came back selectable="true" and
|
|
2752
|
+
// drew a box in every row of a list that has no bulk actions (Larena,
|
|
2753
|
+
// the sites list, 2026-11-05).
|
|
2754
|
+
|
|
2755
|
+
table.setAttribute("selectable", this.renders("select") && !refused && !hostWroteOff(table, "selectable") ? "true" : "false"); // A page's list becomes the compact list on a narrow container; an
|
|
2739
2756
|
// embedded one (no toolbar) stays a table, and a layout the host
|
|
2740
2757
|
// wrote on its table is the host's.
|
|
2741
2758
|
|
|
@@ -2751,7 +2768,7 @@ class SfDataView extends DataViewElement {
|
|
|
2751
2768
|
|
|
2752
2769
|
this._tableScrollMode(table);
|
|
2753
2770
|
|
|
2754
|
-
table.setAttribute("settings", this.renders("settings") ? "true" : "false"); // The column settings, without the column: it also carries each
|
|
2771
|
+
table.setAttribute("settings", this.renders("settings") && !hostWroteOff(table, "settings") ? "true" : "false"); // The column settings, without the column: it also carries each
|
|
2755
2772
|
// row's menu, which is the host's row-actions, not this.
|
|
2756
2773
|
|
|
2757
2774
|
table.setAttribute("settings-menu", this.hostOffers("personal-column-settings") ? "true" : "false");
|
|
@@ -3745,7 +3762,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"$comment":"Dated aliases of sf-view
|
|
|
3745
3762
|
/***/ "7086146c00cc"
|
|
3746
3763
|
(module) {
|
|
3747
3764
|
|
|
3748
|
-
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.8.
|
|
3765
|
+
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.8.1","kind":"leaf","settings":{"chrome":{"type":"string","default":"toolbar pagination select settings"},"row-cap":{"type":"number","default":0,"integer":true,"min":0},"expected-columns":{"type":"number","default":4,"integer":true,"min":1},"port-owner":{"type":"string","default":""},"port-record":{"type":"string","default":""},"port-group":{"type":"string","default":""},"size":{"type":"enum","values":["1/2","1"],"default":"1"},"column-search-placeholder":{"type":"string"},"column-search-empty-text":{"type":"string"},"column-move-label":{"type":"string"},"filter-apply-text":{"type":"string"},"show-more-text":{"type":"string"},"selected-label":{"type":"string"},"total-label":{"type":"string"},"pages-label":{"type":"string"},"first-label":{"type":"string"},"previous-label":{"type":"string"},"page-label":{"type":"string"},"next-label":{"type":"string"},"last-label":{"type":"string"},"page-field-label":{"type":"string"},"action-choose-label":{"type":"string"},"actions-label":{"type":"string"},"actions-region-label":{"type":"string"},"clear-selection-label":{"type":"string"},"page-size-label":{"type":"string"},"pagination-aria-label":{"type":"string"},"preferences-key":{"type":"string","default":""},"accept-files":{"type":"boolean","default":false},"collection":{"type":"string","default":""},"current":{"type":"string","default":""},"bulk-actions":{"type":"list","of":{"id":"string","label":"string"}},"first-answer":{"type":"object","optional":true}},"values":{"state":{"type":"state"},"total":{"type":"number","nullable":true},"selected":{"type":"id","optional":true},"selection":{"type":"list"}},"events":{"open":{"carries":{"id":"id"},"cancelable":true},"deleted":{"carries":{"ids":"list"}},"answer":{"carries":{"intent":{"type":"string"},"answer":{"type":"enum","values":["applied","conflict","refused","unavailable"],"schema":{"type":"string"}},"reason":{"type":"string","optional":true},"message":{"type":"string","optional":true},"data":{"type":"object","optional":true},"sequence":{"type":"number","integer":true,"optional":true},"effects":{"type":"list","optional":true},"instance_id":{"type":"string"}},"own-verb":true},"state":{"carries":{"state":{"type":"enum","values":["loading","populated","empty","error","no-access"],"schema":{"type":"string"}},"message":{"type":"string"},"instance_id":{"type":"string"}},"own-verb":true},"tree":{"carries":{"intent":"string","payload":{"type":"object","optional":true}},"own-verb":true},"files-drop":{"carries":{"files":{"type":"list","schema":{"items":{"type":"object"},"minItems":1}}},"own-verb":true},"pagination-count":{"shared":"count-on-request@1","carries":{"component":{"type":"object"},"tagName":{"type":"string"},"template":{"type":"string"},"reason":{"type":"enum","values":["total","last-page","action-for-all"],"schema":{"type":"string"}},"current":{"type":"number","integer":true},"pageSize":{"type":"number","integer":true}}},"saved-view-intent":{"carries":{"key":{"type":"string"},"label":{"type":"string"},"revision":{"type":"string","schema":{"type":["string","integer"]},"optional":true},"roles":{"type":"object","optional":true}}},"table-action-intent":{"shared":"table-intents@1","carries":{"action_id":{"type":"string","schema":{"minLength":1}},"record_ids":{"type":"list","schema":{"items":{"type":["string","integer"]},"minItems":1}}}},"table-column-settings-change":{"shared":"table-intents@1","carries":{"reason":{"type":"string"},"columnSettings":{"type":"object"},"tableSettingsKey":{"type":"string"},"target":{"type":"enum","values":["personal","shared"],"schema":{"type":"string"},"optional":true},"base_revision":{"type":"string","schema":{"type":["string","number"]},"optional":true}}},"table-column-settings-reset":{"shared":"table-intents@1","carries":{"target":{"type":"enum","values":["personal"],"schema":{"type":"string"}},"tableSettingsKey":{"type":"string","schema":{"type":["string","null"]}}}},"table-create-intent":{"shared":"table-intents@1","carries":{"item":{"type":"string","schema":{"type":["string","null"]}}}},"table-query-intent":{"shared":"table-intents@1","carries":{"reason":{"type":"enum","values":["context"]},"context":{"type":"object"},"sequence":{"type":"number","integer":true,"schema":{"minimum":1}}}},"table-template-delete":{"shared":"table-intents@1","carries":{"key":{"type":"string","schema":{"minLength":1}}}},"table-template-save":{"shared":"table-intents@1","carries":{},"x-comment":"The detail is one template object or an array of them: a carries map cannot say that, so the payload schema is x-registry/event-fields until 1.4 has a home for a detail that is not a flat object."},"table-template-select":{"shared":"table-intents@1","carries":{"key":{"type":"string","schema":{"minLength":1}}}},"host-port-request":{"shared":"host-port@1","carries":{"component":{"type":"object","optional":true},"context":{"type":"object","optional":true}}},"list-open":{"carries":{"reason":{"type":"id","schema":{"enum":["row-cap"]}},"query":{"type":"object"}}},"table-cell-set":{"shared":"table-intents@1","carries":{"id":{"type":"string","schema":{"type":["string","integer"]}},"key":{"type":"string"},"value":{"type":"id"},"revision":{"type":"string","schema":{"type":["string","integer","null"]}}}},"table-rows-reorder":{"shared":"table-intents@1","carries":{"ids":{"type":"list","schema":{"items":{"type":"string"},"minItems":1}},"before":{"type":"string","schema":{"type":["string","null"]}},"order":{"type":"list","schema":{"items":{"type":"string"}}}}}},"actions":{"refresh":{"with":{"reason":{"type":"string","optional":true}}},"change-query":{"with":{"patch":"object","reason":{"type":"string","optional":true}},"concurrency":"latest"},"open-view":{"with":{"key":"string"}},"save-view":{"with":{"view":{"type":"object"}},"concurrency":"drop"},"delete-view":{"with":{"key":"string"},"concurrency":"drop"},"apply-under-filter":{"with":{"action-id":"string","confirmed-total":"number"},"concurrency":"drop"},"reset-column-settings":{},"clear-selection":{},"notify":{"with":{"text":"string","options":{"type":"object","optional":true}}}},"port":{"id":"simai.dataview-port","version":"1.13.0","contract":"src/core/contracts/ports/simai.dataview-port/1.13.0/port.json"},"presentation":{"skeleton":{"late":[]}},"css-variables":{"--sf-data-view-gap":{"type":"length","state":"default"},"--sf-data-view-drop-border-color":{"type":"color","state":"dragged-over"},"--sf-data-view-drop-background-color":{"type":"color","state":"dragged-over"},"--sf-data-view-drop-color":{"type":"color","state":"dragged-over"},"--sf-data-view-toolbar-gap":{"type":"length","state":"default"}},"host-states":{"data-state":"string","aria-busy":"string"}}');
|
|
3749
3766
|
|
|
3750
3767
|
/***/ },
|
|
3751
3768
|
|
|
Binary file
|