@revolist/revogrid 4.24.2 → 4.25.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/dist/cjs/app-globals-Dmf-wvGw.js +8 -0
- package/dist/cjs/{cell-renderer-DnOCJ9ge.js → cell-renderer-Cf2Pu4S0.js} +3 -3
- package/dist/cjs/{column.drag.plugin-DSiFObaj.js → column.drag.plugin-E_K6cIAy.js} +101 -13
- package/dist/cjs/{column.service-CD70rNL2.js → column.service-C7p5eC5V.js} +1 -1
- package/dist/cjs/{dimension.helpers-CB5sNw5J.js → dimension.helpers-CgHhnN1d.js} +1 -1
- package/dist/cjs/{edit.utils-DDxnq9lw.js → edit.utils-rAcGublN.js} +1 -1
- package/dist/cjs/{filter.button-C4xpvyyE.js → filter.button-F2Bw3UAd.js} +1 -1
- package/dist/cjs/{header-cell-renderer-JXYFwayd.js → header-cell-renderer-DHClfIto.js} +2 -2
- package/dist/cjs/{index-BF6JDcMr.js → index--FdNLz1Z.js} +1 -1
- package/dist/cjs/{index-Dq8Xzj5l.js → index-DRvxCueo.js} +61 -20
- package/dist/cjs/index.cjs.js +556 -47
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/revo-grid.cjs.entry.js +256 -28
- package/dist/cjs/revo-grid.cjs.js +4 -5
- package/dist/cjs/revogr-attribution_7.cjs.entry.js +9 -9
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js +6 -6
- package/dist/cjs/revogr-data_4.cjs.entry.js +8 -8
- package/dist/cjs/revogr-filter-panel.cjs.entry.js +19 -6
- package/dist/cjs/{text-editor-CvgloQdG.js → text-editor-F04kTx53.js} +2 -2
- package/dist/cjs/{viewport.store-Ci8H1bI9.js → viewport.store-B4Clk4m9.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/editors/revogr-edit-style.css +2 -2
- package/dist/collection/components/header/revogr-header-style.css +2 -2
- package/dist/collection/components/overlay/revogr-overlay-style.css +9 -6
- package/dist/collection/components/revoGrid/revo-grid-style.css +451 -276
- package/dist/collection/components/revoGrid/revo-grid.js +106 -35
- package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +6 -4
- package/dist/collection/components/selectionFocus/revogr-focus-style.css +1 -1
- package/dist/collection/components/selectionTempRange/revogr-temp-range-style.css +2 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/plugins/filter/filter.panel.js +36 -3
- package/dist/collection/plugins/filter/filter.plugin.js +21 -6
- package/dist/collection/plugins/filter/filter.style.css +43 -38
- package/dist/collection/serve/controller.js +18 -2
- package/dist/collection/themeManager/presets/aurora.js +89 -0
- package/dist/collection/themeManager/presets/high-contrast-dark.js +89 -0
- package/dist/collection/themeManager/presets/high-contrast.js +89 -0
- package/dist/collection/themeManager/presets/index.js +25 -0
- package/dist/collection/themeManager/presets/midnight.js +89 -0
- package/dist/collection/themeManager/presets/ocean.js +89 -0
- package/dist/collection/themeManager/presets/shared.js +64 -0
- package/dist/collection/themeManager/theme.service.js +141 -20
- package/dist/collection/types/theme.js +73 -1
- package/dist/esm/app-globals-CA4dvSNd.js +6 -0
- package/dist/{revo-grid/cell-renderer-BQjko1zB.js → esm/cell-renderer-11cf-lu3.js} +3 -3
- package/dist/{revo-grid/column.drag.plugin-Cf9DYdQj.js → esm/column.drag.plugin-DKgC_0I1.js} +100 -14
- package/dist/esm/{column.service-BnFqXqQG.js → column.service-Cfw3L0PN.js} +1 -1
- package/dist/esm/{dimension.helpers-CXrsUc6f.js → dimension.helpers-fl4HSSK9.js} +1 -1
- package/dist/esm/{edit.utils-CXmmCnxE.js → edit.utils-4e9fsqOR.js} +1 -1
- package/dist/esm/{filter.button-B-RBiF67.js → filter.button-DMhpuAiw.js} +1 -1
- package/dist/esm/{header-cell-renderer-B3mYpZD3.js → header-cell-renderer-Cqtg1ETB.js} +2 -2
- package/dist/esm/{index-Chp_81rd.js → index-CtimkLsB.js} +62 -20
- package/dist/esm/{index-DBqlJITb.js → index-D24ku9ej.js} +1 -1
- package/dist/esm/index.js +513 -13
- package/dist/esm/loader.js +4 -5
- package/dist/esm/revo-grid.entry.js +255 -27
- package/dist/esm/revo-grid.js +5 -6
- package/dist/esm/revogr-attribution_7.entry.js +9 -9
- package/dist/esm/revogr-clipboard_3.entry.js +6 -6
- package/dist/esm/revogr-data_4.entry.js +8 -8
- package/dist/esm/revogr-filter-panel.entry.js +19 -6
- package/dist/{revo-grid/text-editor-DQtz2Y7B.js → esm/text-editor-DlMnLkRK.js} +2 -2
- package/dist/{revo-grid/viewport.store-D5jEuhLq.js → esm/viewport.store-BSXmsiZc.js} +1 -1
- package/dist/revo-grid/app-globals-CA4dvSNd.js +6 -0
- package/dist/{esm/cell-renderer-BQjko1zB.js → revo-grid/cell-renderer-11cf-lu3.js} +3 -3
- package/dist/{esm/column.drag.plugin-Cf9DYdQj.js → revo-grid/column.drag.plugin-DKgC_0I1.js} +100 -14
- package/dist/revo-grid/{column.service-BnFqXqQG.js → column.service-Cfw3L0PN.js} +1 -1
- package/dist/revo-grid/{dimension.helpers-CXrsUc6f.js → dimension.helpers-fl4HSSK9.js} +1 -1
- package/dist/revo-grid/{edit.utils-CXmmCnxE.js → edit.utils-4e9fsqOR.js} +1 -1
- package/dist/revo-grid/{filter.button-B-RBiF67.js → filter.button-DMhpuAiw.js} +1 -1
- package/dist/revo-grid/{header-cell-renderer-B3mYpZD3.js → header-cell-renderer-Cqtg1ETB.js} +2 -2
- package/dist/revo-grid/{index-Chp_81rd.js → index-CtimkLsB.js} +62 -20
- package/dist/revo-grid/{index-DBqlJITb.js → index-D24ku9ej.js} +1 -1
- package/dist/revo-grid/index.esm.js +513 -13
- package/dist/revo-grid/revo-grid.entry.js +255 -27
- package/dist/revo-grid/revo-grid.esm.js +5 -6
- package/dist/revo-grid/revogr-attribution_7.entry.js +9 -9
- package/dist/revo-grid/revogr-clipboard_3.entry.js +6 -6
- package/dist/revo-grid/revogr-data_4.entry.js +8 -8
- package/dist/revo-grid/revogr-filter-panel.entry.js +19 -6
- package/dist/{esm/text-editor-DQtz2Y7B.js → revo-grid/text-editor-DlMnLkRK.js} +2 -2
- package/dist/{esm/viewport.store-D5jEuhLq.js → revo-grid/viewport.store-BSXmsiZc.js} +1 -1
- package/dist/types/components/revoGrid/revo-grid.d.ts +16 -4
- package/dist/types/components.d.ts +28 -7
- package/dist/types/index.d.ts +1 -0
- package/dist/types/plugins/filter/filter.panel.d.ts +4 -0
- package/dist/types/plugins/filter/filter.plugin.d.ts +1 -0
- package/dist/types/plugins/filter/filter.types.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/themeManager/presets/aurora.d.ts +8 -0
- package/dist/types/themeManager/presets/high-contrast-dark.d.ts +8 -0
- package/dist/types/themeManager/presets/high-contrast.d.ts +8 -0
- package/dist/types/themeManager/presets/index.d.ts +33 -0
- package/dist/types/themeManager/presets/midnight.d.ts +8 -0
- package/dist/types/themeManager/presets/ocean.d.ts +8 -0
- package/dist/types/themeManager/presets/shared.d.ts +81 -0
- package/dist/types/themeManager/theme.service.d.ts +9 -6
- package/dist/types/types/theme.d.ts +88 -1
- package/hydrate/index.js +1307 -597
- package/hydrate/index.mjs +1307 -597
- package/package.json +4 -4
- package/standalone/index.js +1 -1
- package/standalone/revo-grid.js +1 -1
- package/standalone/revogr-edit2.js +1 -1
- package/standalone/revogr-filter-panel.js +1 -1
- package/standalone/revogr-focus2.js +1 -1
- package/standalone/revogr-header2.js +1 -1
- package/standalone/revogr-overlay-selection2.js +1 -1
- package/standalone/revogr-temp-range2.js +1 -1
- package/standalone/revogr-viewport-scroll2.js +1 -1
- package/dist/cjs/app-globals-CPPhEXmy.js +0 -26
- package/dist/cjs/theme.service-BgnxGIjK.js +0 -72
- package/dist/collection/global/global.js +0 -18
- package/dist/collection/themeManager/theme.compact.js +0 -8
- package/dist/collection/themeManager/theme.default.js +0 -8
- package/dist/collection/themeManager/theme.material.js +0 -8
- package/dist/esm/app-globals-B_B_OtEa.js +0 -24
- package/dist/esm/theme.service-BmnDvr6P.js +0 -69
- package/dist/revo-grid/app-globals-B_B_OtEa.js +0 -24
- package/dist/revo-grid/theme.service-BmnDvr6P.js +0 -69
- package/dist/types/global/global.d.ts +0 -1
- package/dist/types/themeManager/theme.compact.d.ts +0 -4
- package/dist/types/themeManager/theme.default.d.ts +0 -4
- package/dist/types/themeManager/theme.material.d.ts +0 -4
|
@@ -6,7 +6,7 @@ const BUILD = /* revo-grid */ { allRenderFn: false, appendChildSlotFix: false, a
|
|
|
6
6
|
const Env = /* revo-grid */ {};
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Platform v4.43.
|
|
9
|
+
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
var Build = {
|
|
@@ -2144,6 +2144,31 @@ var getMode = (ref) => {
|
|
|
2144
2144
|
return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
|
|
2145
2145
|
};
|
|
2146
2146
|
|
|
2147
|
+
// src/runtime/normalize-watchers.ts
|
|
2148
|
+
var normalizeWatchers = (raw) => {
|
|
2149
|
+
if (!raw) return void 0;
|
|
2150
|
+
const keys = Object.keys(raw);
|
|
2151
|
+
if (keys.length === 0) return void 0;
|
|
2152
|
+
let hasLegacy = false;
|
|
2153
|
+
for (const propName of keys) {
|
|
2154
|
+
if (hasLegacy) break;
|
|
2155
|
+
for (const h2 of raw[propName]) {
|
|
2156
|
+
if (typeof h2 === "string") {
|
|
2157
|
+
hasLegacy = true;
|
|
2158
|
+
break;
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
if (!hasLegacy) return raw;
|
|
2163
|
+
const out = {};
|
|
2164
|
+
for (const propName of keys) {
|
|
2165
|
+
out[propName] = raw[propName].map(
|
|
2166
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
2167
|
+
);
|
|
2168
|
+
}
|
|
2169
|
+
return out;
|
|
2170
|
+
};
|
|
2171
|
+
|
|
2147
2172
|
// src/utils/remote-value.ts
|
|
2148
2173
|
var RemoteValue = class _RemoteValue {
|
|
2149
2174
|
/**
|
|
@@ -2240,11 +2265,19 @@ var RemoteValue = class _RemoteValue {
|
|
|
2240
2265
|
};
|
|
2241
2266
|
|
|
2242
2267
|
// src/utils/serialize.ts
|
|
2268
|
+
function decodeBase64Unicode(base64) {
|
|
2269
|
+
const binary = atob(base64);
|
|
2270
|
+
const bytes = new Uint8Array(binary.length);
|
|
2271
|
+
for (let i2 = 0; i2 < binary.length; i2++) {
|
|
2272
|
+
bytes[i2] = binary.charCodeAt(i2);
|
|
2273
|
+
}
|
|
2274
|
+
return new TextDecoder().decode(bytes);
|
|
2275
|
+
}
|
|
2243
2276
|
function deserializeProperty(value) {
|
|
2244
2277
|
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
2245
2278
|
return value;
|
|
2246
2279
|
}
|
|
2247
|
-
return RemoteValue.fromLocalValue(JSON.parse(
|
|
2280
|
+
return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
|
|
2248
2281
|
}
|
|
2249
2282
|
|
|
2250
2283
|
// src/runtime/parse-property-value.ts
|
|
@@ -3542,7 +3575,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3542
3575
|
if (BUILD.member && cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
3543
3576
|
if (BUILD.propChangeCallback) {
|
|
3544
3577
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
3545
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3578
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
3546
3579
|
}
|
|
3547
3580
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
3548
3581
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -3720,11 +3753,13 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3720
3753
|
return;
|
|
3721
3754
|
}
|
|
3722
3755
|
const propFlags = members.find(([m]) => m === propName);
|
|
3723
|
-
|
|
3756
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
3757
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
3758
|
+
if (isBooleanTarget) {
|
|
3724
3759
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
3725
3760
|
}
|
|
3726
3761
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3727
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
3762
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
3728
3763
|
this[propName] = newValue;
|
|
3729
3764
|
}
|
|
3730
3765
|
});
|
|
@@ -3772,7 +3807,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3772
3807
|
}
|
|
3773
3808
|
if (BUILD.member && !Cstr.isProxied) {
|
|
3774
3809
|
if (BUILD.propChangeCallback) {
|
|
3775
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3810
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
3776
3811
|
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3777
3812
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
3778
3813
|
}
|
|
@@ -3984,7 +4019,7 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
3984
4019
|
cmpMeta.$listeners$ = compactMeta[3];
|
|
3985
4020
|
}
|
|
3986
4021
|
if (BUILD.propChangeCallback) {
|
|
3987
|
-
cmpMeta.$watchers$ = Cstr.$watchers
|
|
4022
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.$watchers$);
|
|
3988
4023
|
cmpMeta.$deserializers$ = Cstr.$deserializers$;
|
|
3989
4024
|
cmpMeta.$serializers$ = Cstr.$serializers$;
|
|
3990
4025
|
}
|
|
@@ -4140,7 +4175,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4140
4175
|
let hasSlotRelocation = false;
|
|
4141
4176
|
lazyBundles.map((lazyBundle) => {
|
|
4142
4177
|
lazyBundle[1].map((compactMeta) => {
|
|
4143
|
-
var _a2, _b
|
|
4178
|
+
var _a2, _b;
|
|
4144
4179
|
const cmpMeta = {
|
|
4145
4180
|
$flags$: compactMeta[0],
|
|
4146
4181
|
$tagName$: compactMeta[1],
|
|
@@ -4160,9 +4195,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4160
4195
|
cmpMeta.$attrsToReflect$ = [];
|
|
4161
4196
|
}
|
|
4162
4197
|
if (BUILD.propChangeCallback) {
|
|
4163
|
-
cmpMeta.$watchers$ = (
|
|
4164
|
-
cmpMeta.$serializers$ = (
|
|
4165
|
-
cmpMeta.$deserializers$ = (
|
|
4198
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
4199
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
4200
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
4166
4201
|
}
|
|
4167
4202
|
if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
4168
4203
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
@@ -4370,15 +4405,21 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
4370
4405
|
var setPlatformOptions = (opts) => Object.assign(plt, opts);
|
|
4371
4406
|
|
|
4372
4407
|
// src/runtime/render.ts
|
|
4408
|
+
var hostRefCache = /* @__PURE__ */ new WeakMap();
|
|
4373
4409
|
function render(vnode, container) {
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4410
|
+
let ref = hostRefCache.get(container);
|
|
4411
|
+
if (!ref) {
|
|
4412
|
+
const cmpMeta = {
|
|
4413
|
+
$flags$: 0,
|
|
4414
|
+
$tagName$: container.tagName
|
|
4415
|
+
};
|
|
4416
|
+
ref = {
|
|
4417
|
+
$flags$: 0,
|
|
4418
|
+
$cmpMeta$: cmpMeta,
|
|
4419
|
+
$hostElement$: container
|
|
4420
|
+
};
|
|
4421
|
+
hostRefCache.set(container, ref);
|
|
4422
|
+
}
|
|
4382
4423
|
renderVdom(ref, vnode);
|
|
4383
4424
|
}
|
|
4384
4425
|
|
|
@@ -4634,6 +4675,7 @@ var StencilCore = /*#__PURE__*/Object.freeze({
|
|
|
4634
4675
|
modeResolutionChain: modeResolutionChain,
|
|
4635
4676
|
needsScopedSSR: needsScopedSSR,
|
|
4636
4677
|
nextTick: nextTick,
|
|
4678
|
+
normalizeWatchers: normalizeWatchers,
|
|
4637
4679
|
parsePropertyValue: parsePropertyValue,
|
|
4638
4680
|
plt: plt,
|
|
4639
4681
|
postUpdateComponent: postUpdateComponent,
|
|
@@ -4664,4 +4706,4 @@ var StencilCore = /*#__PURE__*/Object.freeze({
|
|
|
4664
4706
|
writeTask: writeTask
|
|
4665
4707
|
});
|
|
4666
4708
|
|
|
4667
|
-
export { BUILD as B, H, NAMESPACE as N, StencilCore as S,
|
|
4709
|
+
export { BUILD as B, H, NAMESPACE as N, StencilCore as S, createEvent as a, bootstrapLazy as b, consoleDevInfo as c, Host as d, Build as e, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s, win as w };
|