@vitrosoftware/common-ui-ts 1.0.4 → 1.0.6
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/css/white/controls/tree-view/tree-view.css +47 -3
- package/css/white/controls/uploader/uploader.css +5 -1
- package/css/white/third-party/treegrid.css +13 -0
- package/dist/controls/TableView/TableView.d.ts +2 -0
- package/dist/controls/TableView/TableViewConstants.d.ts +3 -0
- package/dist/controls/TableView/TreeGrid.d.ts +0 -3
- package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +2 -0
- package/dist/index.css +52 -4
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +17 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -26403,6 +26403,10 @@ var TABLE_VIEW_CONTROLLER;
|
|
|
26403
26403
|
(function (TABLE_VIEW_CONTROLLER) {
|
|
26404
26404
|
TABLE_VIEW_CONTROLLER["REQUEST"] = "TableViewRequest";
|
|
26405
26405
|
})(TABLE_VIEW_CONTROLLER || (TABLE_VIEW_CONTROLLER = {}));
|
|
26406
|
+
var TABLE_VIEW_CACHE;
|
|
26407
|
+
(function (TABLE_VIEW_CACHE) {
|
|
26408
|
+
TABLE_VIEW_CACHE[TABLE_VIEW_CACHE["DEFAULT"] = 2] = "DEFAULT";
|
|
26409
|
+
})(TABLE_VIEW_CACHE || (TABLE_VIEW_CACHE = {}));
|
|
26406
26410
|
|
|
26407
26411
|
function _defineProperties(target, props) {
|
|
26408
26412
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -26437,6 +26441,13 @@ function _toPropertyKey(arg) {
|
|
|
26437
26441
|
}
|
|
26438
26442
|
|
|
26439
26443
|
var w$2 = window;
|
|
26444
|
+
if (!w$2.tableViewList) {
|
|
26445
|
+
w$2.tableViewList = new Map();
|
|
26446
|
+
}
|
|
26447
|
+
var tableViewList = w$2.tableViewList;
|
|
26448
|
+
function getTableViewById(id) {
|
|
26449
|
+
return tableViewList.get(id);
|
|
26450
|
+
}
|
|
26440
26451
|
var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
|
|
26441
26452
|
function TreeGridTableViewContextImpl(grid) {
|
|
26442
26453
|
this.suggestValue = '';
|
|
@@ -26624,10 +26635,6 @@ var w$3 = window;
|
|
|
26624
26635
|
if (!w$3.tableViewList) {
|
|
26625
26636
|
w$3.tableViewList = new Map();
|
|
26626
26637
|
}
|
|
26627
|
-
var tableViewList = w$3.tableViewList;
|
|
26628
|
-
function getTableViewById(id) {
|
|
26629
|
-
return tableViewList.get(id);
|
|
26630
|
-
}
|
|
26631
26638
|
var TreeGrid = function TreeGrid(props) {
|
|
26632
26639
|
var disposeTableViewById = function disposeTableViewById(gridId) {
|
|
26633
26640
|
if (gridId && w$3.Grids) {
|
|
@@ -26709,7 +26716,9 @@ var TreeGrid = function TreeGrid(props) {
|
|
|
26709
26716
|
Text: {
|
|
26710
26717
|
Url: props.textUrl || TABLE_VIEW_URL.TREEGRID_TEXT
|
|
26711
26718
|
},
|
|
26712
|
-
Debug: props.debug || ''
|
|
26719
|
+
Debug: props.debug || '',
|
|
26720
|
+
Cache: props.cache || TABLE_VIEW_CACHE.DEFAULT,
|
|
26721
|
+
CacheVersion: props.cacheVersion
|
|
26713
26722
|
}, "vitro-table-view" + props.id);
|
|
26714
26723
|
} else {
|
|
26715
26724
|
w$3.TreeGrid({
|
|
@@ -26726,7 +26735,9 @@ var TreeGrid = function TreeGrid(props) {
|
|
|
26726
26735
|
Text: {
|
|
26727
26736
|
Url: props.textUrl || TABLE_VIEW_URL.TREEGRID_TEXT
|
|
26728
26737
|
},
|
|
26729
|
-
Debug: props.debug || ''
|
|
26738
|
+
Debug: props.debug || '',
|
|
26739
|
+
Cache: props.cache || TABLE_VIEW_CACHE.DEFAULT,
|
|
26740
|
+
CacheVersion: props.cacheVersion
|
|
26730
26741
|
}, "vitro-table-view" + props.id);
|
|
26731
26742
|
}
|
|
26732
26743
|
return function () {
|