pds-dev-kit-web-test 2.7.538 → 2.7.539

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.
@@ -106,7 +106,7 @@ function Button(props) {
106
106
  CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
107
107
  if (isDataConnected) {
108
108
  if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
109
- if (!queryContext.queryData.hasOwn(CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
109
+ if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
110
110
  if (mode === 'EDIT') {
111
111
  return (0, jsx_runtime_1.jsx)(DataNotFound_1.default, { stringKey: "str_10478" });
112
112
  }
@@ -118,7 +118,7 @@ function Image(props) {
118
118
  if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
119
119
  return true;
120
120
  }
121
- if (!queryContext.queryData.hasOwn(CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA)) {
121
+ if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA)) {
122
122
  if (mode === 'EDIT') {
123
123
  return true;
124
124
  }
@@ -94,7 +94,7 @@ function Text(props) {
94
94
  CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
95
95
  if (isDataConnected) {
96
96
  if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
97
- if (!queryContext.queryData.hasOwn(CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
97
+ if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA)) {
98
98
  if (mode === 'EDIT') {
99
99
  return (0, jsx_runtime_1.jsx)(DataNotFound_1.default, { stringKey: "str_10478" });
100
100
  }
@@ -152,7 +152,7 @@ function VideoPlayer(props) {
152
152
  if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
153
153
  return true;
154
154
  }
155
- if (!queryContext.queryData.hasOwn(CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA)) {
155
+ if (!Object.prototype.hasOwnProperty.call(queryContext.queryData, CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA)) {
156
156
  if (mode === 'EDIT') {
157
157
  return true;
158
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.538",
3
+ "version": "2.7.539",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",