@osdk/react-components 0.60.0 → 0.61.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/CHANGELOG.md +6 -0
- package/build/browser/filter-list/FilterListApi.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterListState.js +15 -2
- package/build/browser/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/browser/util/UserAgent.js +1 -1
- package/build/cjs/chunk-2L52ISL4.cjs +11 -0
- package/build/cjs/{chunk-AIQ7KF4M.cjs.map → chunk-2L52ISL4.cjs.map} +1 -1
- package/build/cjs/{chunk-RRIUU6RR.cjs → chunk-3CGO6BJA.cjs} +8 -8
- package/build/cjs/{chunk-RRIUU6RR.cjs.map → chunk-3CGO6BJA.cjs.map} +1 -1
- package/build/cjs/{chunk-KCM63FLA.cjs → chunk-3SBGGTFL.cjs} +4 -4
- package/build/cjs/{chunk-KCM63FLA.cjs.map → chunk-3SBGGTFL.cjs.map} +1 -1
- package/build/cjs/{chunk-QB6PFRJW.cjs → chunk-4N5G4SGE.cjs} +4 -4
- package/build/cjs/{chunk-QB6PFRJW.cjs.map → chunk-4N5G4SGE.cjs.map} +1 -1
- package/build/cjs/chunk-57GL4OIU.cjs +12 -0
- package/build/cjs/{chunk-CDS3AINF.cjs.map → chunk-57GL4OIU.cjs.map} +1 -1
- package/build/cjs/{chunk-AHUBRJTM.cjs → chunk-7R2QPKDB.cjs} +4 -4
- package/build/cjs/{chunk-AHUBRJTM.cjs.map → chunk-7R2QPKDB.cjs.map} +1 -1
- package/build/cjs/chunk-ACHOHMXA.cjs +11 -0
- package/build/cjs/{chunk-2OMAFA4E.cjs.map → chunk-ACHOHMXA.cjs.map} +1 -1
- package/build/cjs/chunk-BOUML6UZ.cjs +34 -0
- package/build/cjs/{chunk-F2ABEL3W.cjs.map → chunk-BOUML6UZ.cjs.map} +1 -1
- package/build/cjs/{chunk-N3OQQ7O2.cjs → chunk-CHPLIOOB.cjs} +4 -4
- package/build/cjs/{chunk-N3OQQ7O2.cjs.map → chunk-CHPLIOOB.cjs.map} +1 -1
- package/build/cjs/{chunk-ARAI6NC3.cjs → chunk-DIFKL7BU.cjs} +4 -4
- package/build/cjs/{chunk-ARAI6NC3.cjs.map → chunk-DIFKL7BU.cjs.map} +1 -1
- package/build/cjs/{chunk-SSUE2MSG.cjs → chunk-DTRPRRNF.cjs} +4 -4
- package/build/cjs/{chunk-SSUE2MSG.cjs.map → chunk-DTRPRRNF.cjs.map} +1 -1
- package/build/cjs/{chunk-G2BO6HXZ.cjs → chunk-HMCDTUEW.cjs} +4 -4
- package/build/cjs/{chunk-G2BO6HXZ.cjs.map → chunk-HMCDTUEW.cjs.map} +1 -1
- package/build/cjs/{chunk-AH6MXN5I.cjs → chunk-IZ74MWVK.cjs} +4 -4
- package/build/cjs/{chunk-AH6MXN5I.cjs.map → chunk-IZ74MWVK.cjs.map} +1 -1
- package/build/cjs/chunk-K4EZHHG5.cjs +11 -0
- package/build/cjs/{chunk-BDJOLFRZ.cjs.map → chunk-K4EZHHG5.cjs.map} +1 -1
- package/build/cjs/chunk-L4LPGT2S.cjs +11 -0
- package/build/cjs/{chunk-BZSTIG6Z.cjs.map → chunk-L4LPGT2S.cjs.map} +1 -1
- package/build/cjs/chunk-LNOI7H2O.cjs +11 -0
- package/build/cjs/{chunk-W6YOJGYN.cjs.map → chunk-LNOI7H2O.cjs.map} +1 -1
- package/build/cjs/chunk-MWNYJFG6.cjs +12 -0
- package/build/cjs/{chunk-3XZEEYCH.cjs.map → chunk-MWNYJFG6.cjs.map} +1 -1
- package/build/cjs/{chunk-6OY2PXVD.cjs → chunk-N6FIHXUT.cjs} +5 -5
- package/build/cjs/{chunk-6OY2PXVD.cjs.map → chunk-N6FIHXUT.cjs.map} +1 -1
- package/build/cjs/{chunk-QUIU2R3K.cjs → chunk-NBECY2US.cjs} +3 -3
- package/build/cjs/{chunk-QUIU2R3K.cjs.map → chunk-NBECY2US.cjs.map} +1 -1
- package/build/cjs/{chunk-FNTWVHEV.cjs → chunk-NTBCTN2U.cjs} +18 -5
- package/build/cjs/chunk-NTBCTN2U.cjs.map +1 -0
- package/build/cjs/{chunk-PGRRA4BL.cjs → chunk-NUK5FOSF.cjs} +4 -4
- package/build/cjs/{chunk-PGRRA4BL.cjs.map → chunk-NUK5FOSF.cjs.map} +1 -1
- package/build/cjs/{chunk-NL4CBWG2.cjs → chunk-QCVVEZ4E.cjs} +5 -5
- package/build/cjs/{chunk-NL4CBWG2.cjs.map → chunk-QCVVEZ4E.cjs.map} +1 -1
- package/build/cjs/{chunk-YQQTH5L6.cjs → chunk-RJXOGQTP.cjs} +4 -4
- package/build/cjs/{chunk-YQQTH5L6.cjs.map → chunk-RJXOGQTP.cjs.map} +1 -1
- package/build/cjs/chunk-ROVEY2XZ.cjs +11 -0
- package/build/cjs/{chunk-KCAVAISN.cjs.map → chunk-ROVEY2XZ.cjs.map} +1 -1
- package/build/cjs/chunk-WL56Z5NS.cjs +48 -0
- package/build/cjs/{chunk-TZLL7BKE.cjs.map → chunk-WL56Z5NS.cjs.map} +1 -1
- package/build/cjs/{chunk-IOXGHPSW.cjs → chunk-YHMDFD5J.cjs} +4 -4
- package/build/cjs/{chunk-IOXGHPSW.cjs.map → chunk-YHMDFD5J.cjs.map} +1 -1
- package/build/cjs/{filter-list-DiC8K42a.d.cts → filter-list-CSsx52WJ.d.cts} +4 -0
- package/build/cjs/public/action-form.cjs +4 -4
- package/build/cjs/public/document-viewer.cjs +4 -4
- package/build/cjs/public/email-viewer.cjs +3 -3
- package/build/cjs/public/experimental/action-form.cjs +5 -5
- package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
- package/build/cjs/public/experimental/document-viewer.cjs +5 -5
- package/build/cjs/public/experimental/email-viewer.cjs +5 -5
- package/build/cjs/public/experimental/filter-list.cjs +16 -16
- package/build/cjs/public/experimental/filter-list.d.cts +1 -1
- package/build/cjs/public/experimental/image-viewer.cjs +5 -5
- package/build/cjs/public/experimental/markdown-renderer.cjs +7 -7
- package/build/cjs/public/experimental/object-table.cjs +23 -23
- package/build/cjs/public/experimental/pdf-viewer.cjs +25 -25
- package/build/cjs/public/experimental/spreadsheet-viewer.cjs +5 -5
- package/build/cjs/public/experimental/tiff-renderer.cjs +7 -7
- package/build/cjs/public/experimental/video-viewer.cjs +5 -5
- package/build/cjs/public/experimental/xml-viewer.cjs +5 -5
- package/build/cjs/public/experimental.cjs +112 -112
- package/build/cjs/public/experimental.d.cts +1 -1
- package/build/cjs/public/filter-list.cjs +15 -15
- package/build/cjs/public/filter-list.d.cts +1 -1
- package/build/cjs/public/image-viewer.cjs +3 -3
- package/build/cjs/public/markdown-viewer.cjs +3 -3
- package/build/cjs/public/object-table.cjs +22 -22
- package/build/cjs/public/pdf-viewer.cjs +7 -7
- package/build/cjs/public/spreadsheet-viewer.cjs +3 -3
- package/build/cjs/public/tiff-viewer.cjs +3 -3
- package/build/cjs/public/video-viewer.cjs +3 -3
- package/build/cjs/public/xml-viewer.cjs +3 -3
- package/build/esm/filter-list/FilterListApi.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterListState.js +15 -2
- package/build/esm/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/esm/util/UserAgent.js +1 -1
- package/build/types/filter-list/FilterListApi.d.ts +2 -0
- package/build/types/filter-list/FilterListApi.d.ts.map +1 -1
- package/package.json +3 -3
- package/build/cjs/chunk-2OMAFA4E.cjs +0 -11
- package/build/cjs/chunk-3XZEEYCH.cjs +0 -12
- package/build/cjs/chunk-AIQ7KF4M.cjs +0 -11
- package/build/cjs/chunk-BDJOLFRZ.cjs +0 -11
- package/build/cjs/chunk-BZSTIG6Z.cjs +0 -11
- package/build/cjs/chunk-CDS3AINF.cjs +0 -12
- package/build/cjs/chunk-F2ABEL3W.cjs +0 -34
- package/build/cjs/chunk-FNTWVHEV.cjs.map +0 -1
- package/build/cjs/chunk-KCAVAISN.cjs +0 -11
- package/build/cjs/chunk-TZLL7BKE.cjs +0 -48
- package/build/cjs/chunk-W6YOJGYN.cjs +0 -11
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDTYFQRFD_cjs = require('./chunk-DTYFQRFD.cjs');
|
|
4
|
+
var chunkNBECY2US_cjs = require('./chunk-NBECY2US.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/tiff-viewer.ts
|
|
7
|
+
var TiffViewer2 = chunkNBECY2US_cjs.withOsdkMetrics(chunkDTYFQRFD_cjs.TiffViewer, "TiffViewer");
|
|
8
|
+
|
|
9
|
+
exports.TiffViewer = TiffViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-K4EZHHG5.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-K4EZHHG5.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/tiff-viewer.ts"],"names":["TiffViewer","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,WAAAA,GAAaC,iCAAA,CAAgBD,4BAAA,EAAa,YAAY","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/tiff-viewer.ts"],"names":["TiffViewer","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,WAAAA,GAAaC,iCAAA,CAAgBD,4BAAA,EAAa,YAAY","file":"chunk-K4EZHHG5.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { TiffViewer as _TiffViewer } from \"../images/tiff-viewer/TiffViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\n\n// BaseTiffViewer\nexport { BaseTiffViewer } from \"../images/tiff-viewer/BaseTiffViewer.js\";\n// TiffViewer (Media wrapper)\nexport const TiffViewer = withOsdkMetrics(_TiffViewer, \"TiffViewer\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
|
|
4
|
+
var chunkNBECY2US_cjs = require('./chunk-NBECY2US.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/image-viewer.ts
|
|
7
|
+
var ImageViewer2 = chunkNBECY2US_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
|
|
8
|
+
|
|
9
|
+
exports.ImageViewer = ImageViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-L4LPGT2S.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-L4LPGT2S.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-L4LPGT2S.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseImageViewer\nexport { BaseImageViewer } from \"../images/image-viewer/BaseImageViewer.js\";\n// ImageViewer (Media wrapper)\nimport { ImageViewer as _ImageViewer } from \"../images/image-viewer/ImageViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const ImageViewer = withOsdkMetrics(_ImageViewer, \"ImageViewer\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
|
|
4
|
+
var chunkNBECY2US_cjs = require('./chunk-NBECY2US.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/video-viewer.ts
|
|
7
|
+
var VideoViewer2 = chunkNBECY2US_cjs.withOsdkMetrics(chunkKHMOMROL_cjs.VideoViewer, "VideoViewer");
|
|
8
|
+
|
|
9
|
+
exports.VideoViewer = VideoViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-LNOI7H2O.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-LNOI7H2O.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/video-viewer.ts"],"names":["VideoViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/video-viewer.ts"],"names":["VideoViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-LNOI7H2O.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseVideoViewer\nexport { BaseVideoViewer } from \"../video-viewer/BaseVideoViewer.js\";\n// VideoViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nimport { VideoViewer as _VideoViewer } from \"../video-viewer/VideoViewer.js\";\nexport const VideoViewer = withOsdkMetrics(_VideoViewer, \"VideoViewer\");"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDIFKL7BU_cjs = require('./chunk-DIFKL7BU.cjs');
|
|
4
|
+
|
|
5
|
+
// src/public/experimental/action-form.ts
|
|
6
|
+
var ActionForm2 = chunkDIFKL7BU_cjs.ActionForm;
|
|
7
|
+
var BaseForm2 = chunkDIFKL7BU_cjs.BaseForm;
|
|
8
|
+
|
|
9
|
+
exports.ActionForm = ActionForm2;
|
|
10
|
+
exports.BaseForm = BaseForm2;
|
|
11
|
+
//# sourceMappingURL=chunk-MWNYJFG6.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-MWNYJFG6.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/action-form.ts"],"names":["ActionForm","BaseForm"],"mappings":";;;;;AAmBO,IAAMA,WAAAA,GAAoBA;AAe1B,IAAMC,SAAAA,GAAkBA","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/action-form.ts"],"names":["ActionForm","BaseForm"],"mappings":";;;;;AAmBO,IAAMA,WAAAA,GAAoBA;AAe1B,IAAMC,SAAAA,GAAkBA","file":"chunk-MWNYJFG6.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as Stable from \"../action-form.js\";\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\nexport const ActionForm = Stable.ActionForm;\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\nexport const BaseForm = Stable.BaseForm;\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */\n\n/** @deprecated Import from `@osdk/react-components/action-form` instead. */"]}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkROVEY2XZ_cjs = require('./chunk-ROVEY2XZ.cjs');
|
|
4
4
|
var chunkKFV264XS_cjs = require('./chunk-KFV264XS.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/markdown-renderer.ts
|
|
7
7
|
var BaseMarkdownViewer2 = chunkKFV264XS_cjs.BaseMarkdownViewer;
|
|
8
|
-
var MarkdownViewer2 =
|
|
8
|
+
var MarkdownViewer2 = chunkROVEY2XZ_cjs.MarkdownViewer;
|
|
9
9
|
var MarkdownRenderer = chunkKFV264XS_cjs.BaseMarkdownViewer;
|
|
10
|
-
var MarkdownViewerMedia =
|
|
10
|
+
var MarkdownViewerMedia = chunkROVEY2XZ_cjs.MarkdownViewer;
|
|
11
11
|
|
|
12
12
|
exports.BaseMarkdownViewer = BaseMarkdownViewer2;
|
|
13
13
|
exports.MarkdownRenderer = MarkdownRenderer;
|
|
14
14
|
exports.MarkdownViewer = MarkdownViewer2;
|
|
15
15
|
exports.MarkdownViewerMedia = MarkdownViewerMedia;
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-N6FIHXUT.cjs.map
|
|
17
|
+
//# sourceMappingURL=chunk-N6FIHXUT.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["BaseMarkdownViewer","MarkdownViewer"],"mappings":";;;;;;AAmBO,IAAMA,mBAAAA,GAA4BA;AAOlC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAM,gBAAA,GAA0BD;AAKhC,IAAM,mBAAA,GAA6BC","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["BaseMarkdownViewer","MarkdownViewer"],"mappings":";;;;;;AAmBO,IAAMA,mBAAAA,GAA4BA;AAOlC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAM,gBAAA,GAA0BD;AAKhC,IAAM,mBAAA,GAA6BC","file":"chunk-N6FIHXUT.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as Stable from \"../markdown-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const BaseMarkdownViewer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const MarkdownViewer = Stable.MarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewer` instead. */\nexport const MarkdownRenderer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewerProps` instead. */\n\n/** @deprecated Use `MarkdownViewer` instead. */\nexport const MarkdownViewerMedia = Stable.MarkdownViewer;"]}
|
|
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
10
10
|
// src/util/withOsdkMetrics.ts
|
|
11
11
|
|
|
12
12
|
// src/util/UserAgent.ts
|
|
13
|
-
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.61.0"}`;
|
|
14
14
|
function componentUserAgent(componentName) {
|
|
15
15
|
return `${PACKAGE_USER_AGENT}/${componentName}`;
|
|
16
16
|
}
|
|
@@ -26,5 +26,5 @@ function withOsdkMetrics(Component, name) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
exports.withOsdkMetrics = withOsdkMetrics;
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-NBECY2US.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-NBECY2US.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,CAAA,CAAA;AACxE,SAAS,mBAAmB,aAAA,EAAe;AAChD,EAAA,OAAO,CAAA,EAAG,kBAAkB,CAAA,CAAA,EAAI,aAAa,CAAA,CAAA;AAC/C;;;ACKO,SAAS,eAAA,CAAgB,WAAW,IAAA,EAAM;AAC/C,EAAA,MAAM,UAAU,CAAA,KAAA,KAAS;AACvB,IAAAA,0BAAA,CAAqB,kBAAA,CAAmB,IAAI,CAAC,CAAA;AAC7C,IAAA,uBAAoBC,sBAAA,CAAM,aAAA,CAAc,SAAA,EAAW,KAAK,CAAA;AAAA,EAC1D,CAAA;AACA,EAAA,OAAA,CAAQ,WAAA,GAAc,mBAAmB,IAAI,CAAA,CAAA,CAAA;AAC7C,EAAA,OAAO,OAAA;AACT","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,CAAA,CAAA;AACxE,SAAS,mBAAmB,aAAA,EAAe;AAChD,EAAA,OAAO,CAAA,EAAG,kBAAkB,CAAA,CAAA,EAAI,aAAa,CAAA,CAAA;AAC/C;;;ACKO,SAAS,eAAA,CAAgB,WAAW,IAAA,EAAM;AAC/C,EAAA,MAAM,UAAU,CAAA,KAAA,KAAS;AACvB,IAAAA,0BAAA,CAAqB,kBAAA,CAAmB,IAAI,CAAC,CAAA;AAC7C,IAAA,uBAAoBC,sBAAA,CAAM,aAAA,CAAc,SAAA,EAAW,KAAK,CAAA;AAAA,EAC1D,CAAA;AACA,EAAA,OAAA,CAAQ,WAAA,GAAc,mBAAmB,IAAI,CAAA,CAAA,CAAA;AAC7C,EAAA,OAAO,OAAA;AACT","file":"chunk-NBECY2US.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst PACKAGE_USER_AGENT = `osdk-react-components/${process.env.PACKAGE_VERSION}`;\nexport function componentUserAgent(componentName) {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useRegisterUserAgent } from \"@osdk/react\";\nimport React from \"react\";\nimport { componentUserAgent } from \"./UserAgent.js\";\n\n// `any` is required: FunctionComponent defaults to FunctionComponent<{}> which\n// rejects components with required props. A generic P parameter doesn't help\n// because TS can't infer both P and C simultaneously from a single argument.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function withOsdkMetrics(Component, name) {\n const Wrapped = props => {\n useRegisterUserAgent(componentUserAgent(name));\n return /*#__PURE__*/React.createElement(Component, props);\n };\n Wrapped.displayName = `withOsdkMetrics(${name})`;\n return Wrapped;\n}"]}
|
|
@@ -6,7 +6,7 @@ var chunk62TDTOSI_cjs = require('./chunk-62TDTOSI.cjs');
|
|
|
6
6
|
var chunkYE4F6HIR_cjs = require('./chunk-YE4F6HIR.cjs');
|
|
7
7
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
8
8
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkNBECY2US_cjs = require('./chunk-NBECY2US.cjs');
|
|
10
10
|
var button = require('@base-ui/react/button');
|
|
11
11
|
var classnames3 = require('classnames');
|
|
12
12
|
var React16 = require('react');
|
|
@@ -5308,7 +5308,7 @@ function deriveSnapshot(definitions, filterStates, propertyTypes, objectSet) {
|
|
|
5308
5308
|
function useFilterListState(props) {
|
|
5309
5309
|
const {
|
|
5310
5310
|
objectType,
|
|
5311
|
-
objectSet,
|
|
5311
|
+
objectSet: objectSetProp,
|
|
5312
5312
|
filterDefinitions,
|
|
5313
5313
|
// eslint-disable-next-line @typescript-eslint/no-deprecated -- back-compat callback still supported
|
|
5314
5314
|
onFilterStateChanged,
|
|
@@ -5322,6 +5322,7 @@ function useFilterListState(props) {
|
|
|
5322
5322
|
initialFilterStates
|
|
5323
5323
|
} = props;
|
|
5324
5324
|
const seededFilterStates = defaultFilterStates ?? initialFilterStates;
|
|
5325
|
+
const objectSet = react.useStableObjectSet(objectSetProp);
|
|
5325
5326
|
const {
|
|
5326
5327
|
metadata,
|
|
5327
5328
|
loading: metadataLoading
|
|
@@ -5428,15 +5429,27 @@ function useFilterListState(props) {
|
|
|
5428
5429
|
effectiveObjectSet
|
|
5429
5430
|
} = React16.useMemo(() => deriveSnapshot(filterDefinitions, filterStates, propertyTypes, objectSet), [filterDefinitions, filterStates, propertyTypes, objectSet]);
|
|
5430
5431
|
const hasEmittedInit = React16.useRef(false);
|
|
5432
|
+
const prevObjectSetRef = React16.useRef(objectSet);
|
|
5431
5433
|
React16.useEffect(() => {
|
|
5432
5434
|
if (hasEmittedInit.current || metadataLoading) {
|
|
5433
5435
|
return;
|
|
5434
5436
|
}
|
|
5435
5437
|
hasEmittedInit.current = true;
|
|
5438
|
+
prevObjectSetRef.current = objectSetRef.current;
|
|
5436
5439
|
emitFilterListChanged(filterStatesRef.current, {
|
|
5437
5440
|
type: "FILTER_LIST_INITIALIZED"
|
|
5438
5441
|
});
|
|
5439
5442
|
}, [metadataLoading, emitFilterListChanged]);
|
|
5443
|
+
React16.useEffect(() => {
|
|
5444
|
+
if (!hasEmittedInit.current || prevObjectSetRef.current === objectSet) {
|
|
5445
|
+
prevObjectSetRef.current = objectSet;
|
|
5446
|
+
return;
|
|
5447
|
+
}
|
|
5448
|
+
prevObjectSetRef.current = objectSet;
|
|
5449
|
+
emitFilterListChanged(filterStatesRef.current, {
|
|
5450
|
+
type: "OBJECT_SET_CHANGED"
|
|
5451
|
+
});
|
|
5452
|
+
}, [objectSet, emitFilterListChanged]);
|
|
5440
5453
|
React16.useEffect(() => {
|
|
5441
5454
|
onFilterClauseChangedRef.current?.(whereClause);
|
|
5442
5455
|
}, [whereClause]);
|
|
@@ -6006,7 +6019,7 @@ function summarizeFilterValue(definition, state) {
|
|
|
6006
6019
|
}
|
|
6007
6020
|
|
|
6008
6021
|
// src/public/filter-list.ts
|
|
6009
|
-
var FilterList2 =
|
|
6022
|
+
var FilterList2 = chunkNBECY2US_cjs.withOsdkMetrics(FilterList, "FilterList");
|
|
6010
6023
|
|
|
6011
6024
|
exports.BaseFilterList = BaseFilterList;
|
|
6012
6025
|
exports.FilterInput = FilterInput;
|
|
@@ -6021,5 +6034,5 @@ exports.narrowObjectSet = narrowObjectSet;
|
|
|
6021
6034
|
exports.serializeFilterStates = serializeFilterStates;
|
|
6022
6035
|
exports.summarizeFilterValue = summarizeFilterValue;
|
|
6023
6036
|
exports.useFilterListState = useFilterListState;
|
|
6024
|
-
//# sourceMappingURL=chunk-
|
|
6025
|
-
//# sourceMappingURL=chunk-
|
|
6037
|
+
//# sourceMappingURL=chunk-NTBCTN2U.cjs.map
|
|
6038
|
+
//# sourceMappingURL=chunk-NTBCTN2U.cjs.map
|