@schedule-x/react
Advanced tools
Comparing version 2.18.0 to 2.19.0
@@ -20,7 +20,7 @@ 'use strict'; | ||
var _a, _b; | ||
const ccid = (_b = (_a = component.wrapperElement) === null || _a === undefined ? undefined : _a.dataset) === null || _b === undefined ? undefined : _b.ccid; | ||
const ccid = (_b = (_a = component.wrapperElement) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.ccid; | ||
if (!ccid) | ||
return prev; | ||
const newComponents = [...prev]; | ||
const existingComponent = newComponents.find((c) => { var _a, _b; return ((_b = (_a = c.wrapperElement) === null || _a === undefined ? undefined : _a.dataset) === null || _b === undefined ? undefined : _b.ccid) === ccid; }); | ||
const existingComponent = newComponents.find((c) => { var _a, _b; return ((_b = (_a = c.wrapperElement) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.ccid) === ccid; }); | ||
if (existingComponent) { | ||
@@ -27,0 +27,0 @@ newComponents.splice(newComponents.indexOf(existingComponent), 1); |
@@ -18,7 +18,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime'; | ||
var _a, _b; | ||
const ccid = (_b = (_a = component.wrapperElement) === null || _a === undefined ? undefined : _a.dataset) === null || _b === undefined ? undefined : _b.ccid; | ||
const ccid = (_b = (_a = component.wrapperElement) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.ccid; | ||
if (!ccid) | ||
return prev; | ||
const newComponents = [...prev]; | ||
const existingComponent = newComponents.find((c) => { var _a, _b; return ((_b = (_a = c.wrapperElement) === null || _a === undefined ? undefined : _a.dataset) === null || _b === undefined ? undefined : _b.ccid) === ccid; }); | ||
const existingComponent = newComponents.find((c) => { var _a, _b; return ((_b = (_a = c.wrapperElement) === null || _a === void 0 ? void 0 : _a.dataset) === null || _b === void 0 ? void 0 : _b.ccid) === ccid; }); | ||
if (existingComponent) { | ||
@@ -25,0 +25,0 @@ newComponents.splice(newComponents.indexOf(existingComponent), 1); |
@@ -18,3 +18,3 @@ { | ||
"types": "dist/types/index.d.ts", | ||
"version": "2.18.0", | ||
"version": "2.19.0", | ||
"type": "module", | ||
@@ -21,0 +21,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
15744