@sd-angular/core 1.1.65 → 1.1.68
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/bundles/sd-angular-core-grid-material.umd.js +26 -22
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-popover.umd.js +29 -5
- package/bundles/sd-angular-core-popover.umd.js.map +1 -1
- package/bundles/sd-angular-core-popover.umd.min.js +2 -2
- package/bundles/sd-angular-core-popover.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +6 -4
- package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +8 -6
- package/esm2015/popover/src/lib/directives/popover-content.directive.js +15 -0
- package/esm2015/popover/src/lib/directives/popover-trigger.directive.js +8 -3
- package/esm2015/popover/src/lib/popover/popover.component.js +5 -3
- package/esm2015/popover/src/lib/popover.module.js +6 -3
- package/esm2015/popover/src/public-api.js +2 -1
- package/fesm2015/sd-angular-core-grid-material.js +12 -8
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-popover.js +29 -7
- package/fesm2015/sd-angular-core-popover.js.map +1 -1
- package/grid-material/src/lib/models/grid-editor.model.d.ts +1 -0
- package/package.json +1 -1
- package/popover/sd-angular-core-popover.metadata.json +1 -1
- package/popover/src/lib/directives/popover-content.directive.d.ts +5 -0
- package/popover/src/lib/directives/popover-trigger.directive.d.ts +1 -0
- package/popover/src/lib/popover/popover.component.d.ts +2 -0
- package/popover/src/public-api.d.ts +1 -0
- package/{sd-angular-core-1.1.65.tgz → sd-angular-core-1.1.68.tgz} +0 -0
|
@@ -1538,11 +1538,13 @@
|
|
|
1538
1538
|
result.firstHeaders.push(__classPrivateFieldGet(_this, _COLUMNS).SELECTION);
|
|
1539
1539
|
result.displayedColumns.push(__classPrivateFieldGet(_this, _COLUMNS).SELECTION);
|
|
1540
1540
|
}
|
|
1541
|
-
if ((editor === null || editor === void 0 ? void 0 : editor.
|
|
1542
|
-
|| ((editor === null || editor === void 0 ? void 0 : editor.type) === '
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1541
|
+
if (!(editor === null || editor === void 0 ? void 0 : editor.hidden)) {
|
|
1542
|
+
if ((editor === null || editor === void 0 ? void 0 : editor.addable) || ((editor === null || editor === void 0 ? void 0 : editor.type) === 'inline' && ((editor === null || editor === void 0 ? void 0 : editor.removable) || typeof (editor === null || editor === void 0 ? void 0 : editor.disabled) === 'function' || !(editor === null || editor === void 0 ? void 0 : editor.disabled)))
|
|
1543
|
+
|| ((editor === null || editor === void 0 ? void 0 : editor.type) === 'focus' && (typeof (editor === null || editor === void 0 ? void 0 : editor.disabled) === 'function' || !(editor === null || editor === void 0 ? void 0 : editor.disabled)))
|
|
1544
|
+
|| ((editor === null || editor === void 0 ? void 0 : editor.type) === 'popup' && (typeof (editor === null || editor === void 0 ? void 0 : editor.disabled) === 'function' || !(editor === null || editor === void 0 ? void 0 : editor.disabled)))) {
|
|
1545
|
+
result.firstHeaders.push(__classPrivateFieldGet(_this, _COLUMNS).EDITOR);
|
|
1546
|
+
result.displayedColumns.push(__classPrivateFieldGet(_this, _COLUMNS).EDITOR);
|
|
1547
|
+
}
|
|
1546
1548
|
}
|
|
1547
1549
|
if (commands === null || commands === void 0 ? void 0 : commands.length) {
|
|
1548
1550
|
result.firstHeaders.push(__classPrivateFieldGet(_this, _COLUMNS).COMMAND);
|
|
@@ -3731,25 +3733,27 @@
|
|
|
3731
3733
|
case 1:
|
|
3732
3734
|
_e.sent();
|
|
3733
3735
|
first = items.find(function (t) { var _a; return (_a = t.actions) === null || _a === void 0 ? void 0 : _a.length; });
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
for (_b = __values(first.actions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
3741
|
-
action = _c.value;
|
|
3742
|
-
state_1 = _loop_1(action);
|
|
3743
|
-
if (typeof state_1 === "object")
|
|
3744
|
-
return [2 /*return*/, state_1.value];
|
|
3745
|
-
}
|
|
3746
|
-
}
|
|
3747
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3748
|
-
finally {
|
|
3736
|
+
if (first) {
|
|
3737
|
+
_loop_1 = function (action) {
|
|
3738
|
+
if (items.filter(function (t) { var _a; return (_a = t.actions) === null || _a === void 0 ? void 0 : _a.length; }).every(function (e) { return e.actions.includes(action); })) {
|
|
3739
|
+
return { value: true };
|
|
3740
|
+
}
|
|
3741
|
+
};
|
|
3749
3742
|
try {
|
|
3750
|
-
|
|
3743
|
+
for (_b = __values(first.actions), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
3744
|
+
action = _c.value;
|
|
3745
|
+
state_1 = _loop_1(action);
|
|
3746
|
+
if (typeof state_1 === "object")
|
|
3747
|
+
return [2 /*return*/, state_1.value];
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3751
|
+
finally {
|
|
3752
|
+
try {
|
|
3753
|
+
if (_c && !_c.done && (_d = _b.return)) _d.call(_b);
|
|
3754
|
+
}
|
|
3755
|
+
finally { if (e_1) throw e_1.error; }
|
|
3751
3756
|
}
|
|
3752
|
-
finally { if (e_1) throw e_1.error; }
|
|
3753
3757
|
}
|
|
3754
3758
|
return [2 /*return*/, false];
|
|
3755
3759
|
}
|