@civicactions/cmsds-open-data-components 3.6.0-rc.2 → 3.6.0-rc.4

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/main.js CHANGED
@@ -19,7 +19,6 @@ import {restrictToVerticalAxis as $hgUW1$restrictToVerticalAxis} from "@dnd-kit/
19
19
  import {CSS as $hgUW1$CSS} from "@dnd-kit/utilities";
20
20
  import $hgUW1$reactdatepicker from "react-datepicker";
21
21
  import "react-datepicker/dist/react-datepicker.css";
22
- import {usePopper as $hgUW1$usePopper} from "react-popper";
23
22
 
24
23
  // Components
25
24
 
@@ -1731,7 +1730,6 @@ var $e873081a6e8f024e$export$2e2bcd8739ae039 = (0, $61ff88fb3f6ee2c8$export$2e2b
1731
1730
 
1732
1731
 
1733
1732
 
1734
-
1735
1733
  const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl, additionalParams = {})=>{
1736
1734
  const [dataset, setDataset] = (0, $hgUW1$useState)({
1737
1735
  title: "",
@@ -3113,6 +3111,10 @@ var $5fe94aeb50e0798b$export$2e2bcd8739ae039 = $5fe94aeb50e0798b$var$Card;
3113
3111
 
3114
3112
 
3115
3113
 
3114
+ const $ebda441784d176a5$var$ManageColumnsContext = /*#__PURE__*/ (0, $hgUW1$createContext)({});
3115
+ var $ebda441784d176a5$export$2e2bcd8739ae039 = $ebda441784d176a5$var$ManageColumnsContext;
3116
+
3117
+
3116
3118
 
3117
3119
  class $5d9e2ce238d53d29$var$ExcludeCheckboxKeyboardSensor extends (0, $hgUW1$KeyboardSensor) {
3118
3120
  // Custom function to exclude checkbox from keyboard dragging
@@ -3151,7 +3153,7 @@ class $5d9e2ce238d53d29$var$ExcludeCheckboxPointerSensor extends (0, $hgUW1$Poin
3151
3153
  ];
3152
3154
  }
3153
3155
  const $5d9e2ce238d53d29$var$ManageColumns = ({ id: id, columns: columns, defaultColumnOrder: defaultColumnOrder, modalOpen: modalOpen, setModalOpen: setModalOpen })=>{
3154
- const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $39bc4d98030a5599$export$a5806b00c0db0089));
3156
+ const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $ebda441784d176a5$export$2e2bcd8739ae039));
3155
3157
  // maintain card state separately from table state - only sync states when the Save button is pressed
3156
3158
  const [cards, setCards] = (0, $hgUW1$useState)(columns.map((c)=>{
3157
3159
  return {
@@ -3440,10 +3442,16 @@ var $71b4324f265dec16$export$2e2bcd8739ae039 = $71b4324f265dec16$var$DataTableCo
3440
3442
 
3441
3443
 
3442
3444
 
3445
+ const $43a30d745a7bbc86$var$DataTableContext = /*#__PURE__*/ (0, $hgUW1$createContext)({
3446
+ id: null
3447
+ });
3448
+ var $43a30d745a7bbc86$export$2e2bcd8739ae039 = $43a30d745a7bbc86$var$DataTableContext;
3449
+
3450
+
3443
3451
 
3444
3452
  const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sortTransform, tablePadding: tablePadding, canResize: canResize, loading: loading = false, isModal: isModal, closeFullScreenModal: closeFullScreenModal })=>{
3445
- const { id: id, resource: resource, datasetTableControls: datasetTableControls } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
3446
- const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, columnVisibility: columnVisibility, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $39bc4d98030a5599$export$a5806b00c0db0089));
3453
+ const { id: id, resource: resource, datasetTableControls: datasetTableControls } = (0, $hgUW1$useContext)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039));
3454
+ const { columnOrder: columnOrder, setColumnOrder: setColumnOrder, columnVisibility: columnVisibility, setColumnVisibility: setColumnVisibility } = (0, $hgUW1$useContext)((0, $ebda441784d176a5$export$2e2bcd8739ae039));
3447
3455
  const data = resource.values;
3448
3456
  const [sorting, setSorting] = (0, $hgUW1$useState)([]);
3449
3457
  const [ariaLiveFeedback, setAriaLiveFeedback] = (0, $hgUW1$useState)("");
@@ -3460,7 +3468,7 @@ const $d98f94c79ddf4e0e$var$DataTable = ({ columns: columns, sortTransform: sort
3460
3468
  });
3461
3469
  const [highlightRow, setHighlightRow] = (0, $hgUW1$useState)(null);
3462
3470
  (0, $hgUW1$useEffect)(()=>{
3463
- if (!columnOrder.length) setColumnOrder(table_columns.map((c)=>c.accessorKey));
3471
+ if (columnOrder && !columnOrder.length) setColumnOrder(table_columns.map((c)=>c.accessorKey));
3464
3472
  }, [
3465
3473
  columnOrder
3466
3474
  ]);
@@ -4138,7 +4146,7 @@ function $ee4ad47aa483e5b5$var$updateQueryForDatastore(condition) {
4138
4146
  if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
4139
4147
  return cond;
4140
4148
  }
4141
- const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams = true, customColumns: customColumns, isModal: isModal = false })=>{
4149
+ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns, isModal: isModal = false })=>{
4142
4150
  const { conditions: conditions, schema: schema, setConditions: setConditions } = resource;
4143
4151
  const fields = Object.keys(schema[id].fields);
4144
4152
  const [queryConditions, setQueryConditions] = (0, $hgUW1$useState)([]);
@@ -4195,16 +4203,14 @@ const $ee4ad47aa483e5b5$var$QueryBuilder = ({ resource: resource, id: id, includ
4195
4203
  };
4196
4204
  });
4197
4205
  const updateBrowserURL = (newConditions)=>{
4198
- if (includeSearchParams) {
4199
- const url = new URL(window.location.href);
4200
- const urlString = (0, $hgUW1$qs).stringify({
4201
- conditions: newConditions
4202
- }, {
4203
- encodeValuesOnly: true,
4204
- addQueryPrefix: true
4205
- });
4206
- window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
4207
- }
4206
+ const url = new URL(window.location.href);
4207
+ const urlString = (0, $hgUW1$qs).stringify({
4208
+ conditions: newConditions
4209
+ }, {
4210
+ encodeValuesOnly: true,
4211
+ addQueryPrefix: true
4212
+ });
4213
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
4208
4214
  };
4209
4215
  const submitConditions = (e)=>{
4210
4216
  // only update the data conditions when "Apply filters" is pressed
@@ -4311,8 +4317,8 @@ function $a35cf16d1488f54e$export$1147582dfae658c6(columns, schema) {
4311
4317
  }));
4312
4318
  }
4313
4319
  const $a35cf16d1488f54e$var$DatasetTable = ({ isModal: isModal = false, closeFullScreenModal: closeFullScreenModal })=>{
4314
- const { id: id, distribution: distribution, resource: resource, rootUrl: rootUrl, customColumns: customColumns = [], dataDictionaryBanner: dataDictionaryBanner } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
4315
- const { page: page, setPage: setPage } = (0, $hgUW1$useContext)((0, $39bc4d98030a5599$export$a5806b00c0db0089));
4320
+ const { id: id, distribution: distribution, resource: resource, rootUrl: rootUrl, customColumns: customColumns = [], dataDictionaryBanner: dataDictionaryBanner } = (0, $hgUW1$useContext)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039));
4321
+ const { page: page, setPage: setPage } = (0, $hgUW1$useContext)((0, $ebda441784d176a5$export$2e2bcd8739ae039));
4316
4322
  const defaultPageSize = 10;
4317
4323
  const customColumnHeaders = (0, $7264a673914aa746$export$8049e8f40a9bdfb8)(customColumns, resource.columns, resource.schema[distribution.identifier]);
4318
4324
  const columns = customColumnHeaders ? customColumnHeaders : $a35cf16d1488f54e$export$1147582dfae658c6(resource.columns, resource.schema[id]);
@@ -4380,9 +4386,9 @@ var $a35cf16d1488f54e$export$2e2bcd8739ae039 = $a35cf16d1488f54e$var$DatasetTabl
4380
4386
 
4381
4387
 
4382
4388
 
4383
- const $39bc4d98030a5599$export$a5806b00c0db0089 = /*#__PURE__*/ (0, $hgUW1$createContext)({});
4389
+
4384
4390
  const $39bc4d98030a5599$var$DataTableStateWrapper = ()=>{
4385
- const { id: id, datasetTableControls: datasetTableControls } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
4391
+ const { id: id, datasetTableControls: datasetTableControls } = (0, $hgUW1$useContext)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039));
4386
4392
  // a wrapper component to keep column state synced between full screen and regular modes
4387
4393
  const localStorageData = id ? JSON.parse(localStorage.getItem(id)) : null;
4388
4394
  const defaultPage = 1;
@@ -4395,7 +4401,7 @@ const $39bc4d98030a5599$var$DataTableStateWrapper = ()=>{
4395
4401
  if (datasetTableControls && localStorageData) return localStorageData.tableColumnVisibility;
4396
4402
  else return {};
4397
4403
  });
4398
- return /*#__PURE__*/ (0, $hgUW1$jsx)($39bc4d98030a5599$export$a5806b00c0db0089.Provider, {
4404
+ return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $ebda441784d176a5$export$2e2bcd8739ae039).Provider, {
4399
4405
  value: {
4400
4406
  columnOrder: columnOrder,
4401
4407
  setColumnOrder: setColumnOrder,
@@ -4410,9 +4416,41 @@ const $39bc4d98030a5599$var$DataTableStateWrapper = ()=>{
4410
4416
  var $39bc4d98030a5599$export$2e2bcd8739ae039 = $39bc4d98030a5599$var$DataTableStateWrapper;
4411
4417
 
4412
4418
 
4413
- const $a0f13962e513caa1$export$a7997ae78b143b = /*#__PURE__*/ (0, $hgUW1$createContext)({
4414
- id: null
4415
- });
4419
+
4420
+
4421
+
4422
+
4423
+ const $2bd73bb95b0c04ed$var$DatasetDescription = ({ distribution: distribution, dataset: dataset, resource: resource, customDescription: customDescription, updateAriaLive: updateAriaLive })=>{
4424
+ const [description, setDescription] = (0, $hgUW1$useState)("");
4425
+ if (!distribution && !dataset?.identifier) return null;
4426
+ (0, $hgUW1$useEffect)(()=>{
4427
+ let newDescription = "";
4428
+ if (customDescription) newDescription = customDescription(dataset, distribution, resource);
4429
+ else {
4430
+ if (distribution.data && distribution.data.description) newDescription = distribution.data.description;
4431
+ else if (dataset.description) newDescription = dataset.description;
4432
+ }
4433
+ if (description !== newDescription && updateAriaLive) updateAriaLive(newDescription);
4434
+ setDescription(newDescription);
4435
+ }, [
4436
+ resource,
4437
+ distribution,
4438
+ dataset,
4439
+ customDescription
4440
+ ]);
4441
+ return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4442
+ className: "ds-u-measure--wide ds-u-margin-bottom--7",
4443
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4444
+ className: "ds-u-margin-top--0 dc-c-metadata-description",
4445
+ dangerouslySetInnerHTML: {
4446
+ __html: (0, $hgUW1$dompurify).sanitize(description)
4447
+ }
4448
+ })
4449
+ });
4450
+ };
4451
+ var $2bd73bb95b0c04ed$export$2e2bcd8739ae039 = $2bd73bb95b0c04ed$var$DatasetDescription;
4452
+
4453
+
4416
4454
  const $a0f13962e513caa1$var$getDataDictionary = (dataDictionaryUrl, additionalParams)=>{
4417
4455
  const { data: data, isPending: isPending, error: error } = (0, $hgUW1$useQuery)({
4418
4456
  queryKey: [
@@ -4430,7 +4468,7 @@ const $a0f13962e513caa1$var$getDataDictionary = (dataDictionaryUrl, additionalPa
4430
4468
  dataDictionaryLoading: isPending
4431
4469
  };
4432
4470
  };
4433
- const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, additionalParams: additionalParams, customColumns: customColumns, setDatasetTitle: setDatasetTitle, customMetadataMapping: customMetadataMapping, apiPageUrl: apiPageUrl = "/api", dataDictionaryUrl: dataDictionaryUrl, borderlessTabs: borderlessTabs = false, defaultPageSize: defaultPageSize = 25, dataDictionaryCSV: dataDictionaryCSV = false, dataDictionaryBanner: dataDictionaryBanner = false, disableTableControls: disableTableControls = false })=>{
4471
+ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, additionalParams: additionalParams, customColumns: customColumns, setDatasetTitle: setDatasetTitle, customMetadataMapping: customMetadataMapping, apiPageUrl: apiPageUrl = "/api", dataDictionaryUrl: dataDictionaryUrl, borderlessTabs: borderlessTabs = false, defaultPageSize: defaultPageSize = 25, dataDictionaryCSV: dataDictionaryCSV = false, dataDictionaryBanner: dataDictionaryBanner = false, disableTableControls: disableTableControls = false, hideDataDictionary: hideDataDictionary = false, customDescription: customDescription, updateAriaLive: updateAriaLive })=>{
4434
4472
  const options = location.search ? {
4435
4473
  ...(0, $hgUW1$qs).parse(location.search, {
4436
4474
  ignoreQueryPrefix: true
@@ -4546,14 +4584,12 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, additionalPar
4546
4584
  }),
4547
4585
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4548
4586
  className: "ds-l-md-col--9",
4549
- children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4550
- className: "ds-u-measure--wide ds-u-margin-bottom--7",
4551
- children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
4552
- className: "dc-c-metadata-description ds-u-margin--0",
4553
- dangerouslySetInnerHTML: {
4554
- __html: (0, $hgUW1$dompurify).sanitize(dataset.description)
4555
- }
4556
- })
4587
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
4588
+ distribution: distribution,
4589
+ dataset: dataset,
4590
+ resource: resource,
4591
+ customDescription: customDescription,
4592
+ updateAriaLive: updateAriaLive
4557
4593
  })
4558
4594
  })
4559
4595
  ]
@@ -4580,7 +4616,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, additionalPar
4580
4616
  ]
4581
4617
  }),
4582
4618
  className: borderlessTabs ? "ds-u-border--0 ds-u-padding-x--0" : "",
4583
- children: /*#__PURE__*/ (0, $hgUW1$jsx)($a0f13962e513caa1$export$a7997ae78b143b.Provider, {
4619
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
4584
4620
  value: {
4585
4621
  id: id,
4586
4622
  resource: resource,
@@ -4612,7 +4648,7 @@ const $a0f13962e513caa1$var$Dataset = ({ id: id, rootUrl: rootUrl, additionalPar
4612
4648
  metadataMapping: metadataMapping
4613
4649
  })
4614
4650
  }),
4615
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TabPanel), {
4651
+ !hideDataDictionary && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$TabPanel), {
4616
4652
  id: "data-dictionary",
4617
4653
  tab: /*#__PURE__*/ (0, $hgUW1$jsxs)("span", {
4618
4654
  className: "ds-u-color--primary",
@@ -5427,6 +5463,8 @@ var $669d2782ec2e2250$export$2e2bcd8739ae039 = $669d2782ec2e2250$var$SpecsAndLim
5427
5463
 
5428
5464
 
5429
5465
 
5466
+
5467
+
5430
5468
  const $efc410f5f7ac5ef3$var$useSearchAPI = (rootUrl, initialSearchParams = {}, additionalParams = {})=>{
5431
5469
  const defaultSort = "";
5432
5470
  const defaultFulltext = "";
@@ -5617,8 +5655,6 @@ var $59a079354baa335c$export$2e2bcd8739ae039 = $59a079354baa335c$var$Hero;
5617
5655
 
5618
5656
 
5619
5657
 
5620
-
5621
-
5622
5658
  const $1e012d1e3b534af0$var$DataTableDensity = ({ setTablePadding: setTablePadding, tablePadding: tablePadding })=>{
5623
5659
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5624
5660
  className: "ds-u-display--flex",
@@ -5774,122 +5810,96 @@ var $ec9e1550b0b034d0$export$2e2bcd8739ae039 = $ec9e1550b0b034d0$var$SettingsIco
5774
5810
 
5775
5811
 
5776
5812
 
5777
- const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding, id: id, distribution: distribution, includeFiltered: includeFiltered, includeDensity: includeDensity, includeDownload: includeDownload, resource: resource, tablePadding: tablePadding, downloadUrl: downloadUrl })=>{
5813
+ const $af099c546cb226c7$var$ResourceHeader = ({ setTablePadding: setTablePadding, includeDensity: includeDensity, includeDownload: includeDownload, resource: resource, tablePadding: tablePadding, downloadUrl: downloadUrl })=>{
5778
5814
  const md = (0, $hgUW1$useMediaQuery)({
5779
5815
  minWidth: 0,
5780
5816
  maxWidth: 768
5781
5817
  });
5782
5818
  const { limit: limit, offset: offset, count: count, setLimit: setLimit, setOffset: setOffset } = resource;
5783
5819
  const intCount = count ? parseInt(count) : 0;
5784
- const [referenceElement, setReferenceElement] = (0, $hgUW1$useState)(null);
5785
- const [popperElement, setPopperElement] = (0, $hgUW1$useState)(null);
5786
- const [arrowElement, setArrowElement] = (0, $hgUW1$useState)(null);
5787
- const { styles: styles, attributes: attributes } = (0, $hgUW1$usePopper)(referenceElement, popperElement, {
5788
- modifiers: [
5789
- {
5790
- name: "arrow",
5791
- options: {
5792
- element: arrowElement
5793
- }
5794
- }
5795
- ]
5796
- });
5797
- return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5820
+ return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5798
5821
  className: "dc-c-resource-header",
5799
- children: [
5800
- /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5801
- className: "ds-l-row",
5802
- children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5803
- className: "ds-l-col--12",
5804
- children: includeFiltered && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Link), {
5805
- className: "ds-c-button ds-c-button--solid",
5806
- to: `/dataset/${id}/data`,
5807
- children: "View and filter data"
5808
- })
5809
- })
5810
- }),
5811
- /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5812
- className: "ds-l-row ds-u-align-items--center",
5813
- children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5814
- className: "ds-l-col--12 ds-u-display--flex ds-u-justify-content--between ds-u-align-items--center",
5815
- children: [
5816
- /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5817
- className: "ds-u-font-weight--bold ds-u-margin-bottom--2",
5818
- children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2ed0091f7e32d1e6$export$2e2bcd8739ae039), {
5819
- totalRows: parseInt(intCount),
5820
- limit: parseInt(limit),
5821
- offset: parseInt(offset)
5822
- })
5823
- }),
5824
- /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5825
- className: "dc-c-resource-header--buttons",
5826
- children: [
5827
- includeDownload && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
5828
- children: [
5829
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
5830
- size: "small",
5831
- className: "ds-u-text-align--left ds-u-font-weight--normal ds-u-font-size--base ds-u-margin-right--1",
5832
- href: downloadUrl,
5833
- children: [
5834
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $e973bc477cdc2dc7$export$2e2bcd8739ae039), {}),
5835
- !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5836
- className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5837
- children: "Download filtered data (CSV)"
5838
- })
5839
- ]
5840
- }),
5841
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
5842
- onOpen: ()=>{
5843
- navigator.clipboard.writeText(window.location.href);
5844
- },
5845
- className: "ds-c-button ds-c-button--small ds-u-text-align--left ds-u-margin-right--1 display-settings-font",
5846
- placement: "bottom",
5847
- dialog: true,
5848
- ariaLabel: "Copy link to filtered data",
5849
- title: "Link copied to clipboard",
5850
- children: [
5851
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $7ec5423a30aa3f61$export$2e2bcd8739ae039), {}),
5852
- !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5853
- className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5854
- children: "Copy link to filtered data"
5855
- })
5856
- ]
5857
- })
5858
- ]
5859
- }),
5860
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
5861
- className: "ds-c-button ds-c-button--small ds-u-text-align--left display-settings-font",
5862
- placement: "bottom",
5863
- dialog: true,
5864
- ariaLabel: "Display settings",
5865
- title: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5866
- className: "dc-c-display-settings",
5822
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5823
+ className: "ds-l-row ds-u-align-items--center",
5824
+ children: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5825
+ className: "ds-l-col--12 ds-u-display--flex ds-u-justify-content--between ds-u-align-items--center ds-u-margin-bottom--2",
5826
+ children: [
5827
+ /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5828
+ className: "ds-u-font-weight--bold",
5829
+ children: !resource.loading && resource.count !== null && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2ed0091f7e32d1e6$export$2e2bcd8739ae039), {
5830
+ totalRows: parseInt(intCount),
5831
+ limit: parseInt(limit),
5832
+ offset: parseInt(offset)
5833
+ })
5834
+ }),
5835
+ /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5836
+ className: "dc-c-resource-header--buttons",
5837
+ children: [
5838
+ includeDownload && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Fragment), {
5839
+ children: [
5840
+ /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Button), {
5841
+ size: "small",
5842
+ className: "ds-u-text-align--left ds-u-font-weight--normal ds-u-font-size--base ds-u-margin-right--1",
5843
+ href: downloadUrl,
5867
5844
  children: [
5868
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $7848c69a021266f7$export$2e2bcd8739ae039), {
5869
- limit: limit,
5870
- setLimit: setLimit,
5871
- setOffset: setOffset
5872
- }),
5873
- includeDensity && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $1e012d1e3b534af0$export$2e2bcd8739ae039), {
5874
- setTablePadding: setTablePadding,
5875
- tablePadding: tablePadding
5845
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $e973bc477cdc2dc7$export$2e2bcd8739ae039), {}),
5846
+ !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5847
+ className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5848
+ children: "Download filtered data (CSV)"
5876
5849
  })
5877
5850
  ]
5878
5851
  }),
5852
+ /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
5853
+ onOpen: ()=>{
5854
+ navigator.clipboard.writeText(window.location.href);
5855
+ },
5856
+ className: "ds-c-button ds-c-button--small ds-u-text-align--left ds-u-margin-right--1 display-settings-font",
5857
+ placement: "bottom",
5858
+ dialog: true,
5859
+ ariaLabel: "Copy link to filtered data",
5860
+ title: "Link copied to clipboard",
5861
+ children: [
5862
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $7ec5423a30aa3f61$export$2e2bcd8739ae039), {}),
5863
+ !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5864
+ className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5865
+ children: "Copy link to filtered data"
5866
+ })
5867
+ ]
5868
+ })
5869
+ ]
5870
+ }),
5871
+ /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $hgUW1$Tooltip), {
5872
+ className: "ds-c-button ds-c-button--small ds-u-text-align--left display-settings-font",
5873
+ placement: "bottom",
5874
+ dialog: true,
5875
+ ariaLabel: "Display settings",
5876
+ title: /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
5877
+ className: "dc-c-display-settings",
5879
5878
  children: [
5880
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $ec9e1550b0b034d0$export$2e2bcd8739ae039), {}),
5881
- !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5882
- className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5883
- children: "Display settings"
5879
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $7848c69a021266f7$export$2e2bcd8739ae039), {
5880
+ limit: Number(limit),
5881
+ setLimit: setLimit,
5882
+ setOffset: setOffset
5883
+ }),
5884
+ includeDensity && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $1e012d1e3b534af0$export$2e2bcd8739ae039), {
5885
+ setTablePadding: setTablePadding,
5886
+ tablePadding: tablePadding
5884
5887
  })
5885
5888
  ]
5886
- })
5887
- ]
5888
- })
5889
- ]
5890
- })
5889
+ }),
5890
+ children: [
5891
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $ec9e1550b0b034d0$export$2e2bcd8739ae039), {}),
5892
+ !md && /*#__PURE__*/ (0, $hgUW1$jsx)("span", {
5893
+ className: "ds-u-font-weight--semibold ds-u-margin-left--1",
5894
+ children: "Display settings"
5895
+ })
5896
+ ]
5897
+ })
5898
+ ]
5899
+ })
5900
+ ]
5891
5901
  })
5892
- ]
5902
+ })
5893
5903
  });
5894
5904
  };
5895
5905
  var $af099c546cb226c7$export$2e2bcd8739ae039 = $af099c546cb226c7$var$ResourceHeader;
@@ -5921,7 +5931,7 @@ function $626282d9a03c51d5$var$DefaultColumnFilter({ column: { Header: Header, a
5921
5931
  });
5922
5932
  }
5923
5933
  const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id: id, canResize: canResize = true })=>{
5924
- const { resource: resource, customColumns: customColumns } = (0, $hgUW1$useContext)((0, $a0f13962e513caa1$export$a7997ae78b143b));
5934
+ const { resource: resource, customColumns: customColumns } = (0, $hgUW1$useContext)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039));
5925
5935
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5926
5936
  id: "resource-preview",
5927
5937
  className: "ds-u-overflow--auto ds-u-border-x--1 ds-u-border-bottom--1",
@@ -5930,6 +5940,7 @@ const $626282d9a03c51d5$var$ResourcePreview = ({ tablePadding: tablePadding, id:
5930
5940
  columns: customColumns ? customColumns : $626282d9a03c51d5$export$1147582dfae658c6(resource.columns, resource.schema[id]),
5931
5941
  sortTransform: (0, $aa4450dcbeef3ac0$export$385a5aba38cc3325),
5932
5942
  tablePadding: tablePadding,
5943
+ loading: resource.loading,
5933
5944
  className: "dc-c-datatable",
5934
5945
  customColumnFilter: $626282d9a03c51d5$var$DefaultColumnFilter
5935
5946
  })
@@ -5945,7 +5956,6 @@ const $072291d44ce1834a$var$ResourceFooter = ({ resource: resource })=>{
5945
5956
  const { limit: limit, values: values, offset: offset, count: count, setOffset: setOffset } = resource;
5946
5957
  return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
5947
5958
  children: values.length > 0 && /*#__PURE__*/ (0, $hgUW1$jsx)((0, $hgUW1$Pagination), {
5948
- id: "test-default",
5949
5959
  currentPage: Number(offset) / limit + 1,
5950
5960
  totalPages: Math.ceil(Number(count) / limit),
5951
5961
  onPageChange: (evt, page)=>{
@@ -6168,7 +6178,7 @@ function $3b6ca952e79f0695$var$updateQueryForDatastore(condition) {
6168
6178
  if (Array.isArray(cond.value)) cond.value = cond.value.map((v)=>v.trim().replace(/(^\%+|\%+$)/gm, ""));
6169
6179
  return cond;
6170
6180
  }
6171
- const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, includeSearchParams: includeSearchParams = true, customColumns: customColumns })=>{
6181
+ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, customColumns: customColumns })=>{
6172
6182
  const { conditions: conditions, schema: schema, setConditions: setConditions } = resource;
6173
6183
  const fields = Object.keys(schema[id].fields);
6174
6184
  const [queryConditions, setQueryConditions] = (0, $hgUW1$useState)([]);
@@ -6217,16 +6227,14 @@ const $3b6ca952e79f0695$var$QueryBuilder = ({ resource: resource, id: id, includ
6217
6227
  setConditions(submitConditions);
6218
6228
  setTitleConditions(queryConditions.map((oc)=>Object.assign({}, oc)));
6219
6229
  setConditionsChanged(false);
6220
- if (includeSearchParams) {
6221
- const url = new URL(window.location);
6222
- const urlString = (0, $hgUW1$qs).stringify({
6223
- conditions: submitConditions
6224
- }, {
6225
- encodeValuesOnly: true,
6226
- addQueryPrefix: true
6227
- });
6228
- window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
6229
- }
6230
+ const url = new URL(window.location);
6231
+ const urlString = (0, $hgUW1$qs).stringify({
6232
+ conditions: submitConditions
6233
+ }, {
6234
+ encodeValuesOnly: true,
6235
+ addQueryPrefix: true
6236
+ });
6237
+ window.history.pushState({}, "", `${url.origin}${url.pathname}${urlString}`);
6230
6238
  };
6231
6239
  const updateCondition = (index, key, value)=>{
6232
6240
  let newConditions = [
@@ -6296,28 +6304,8 @@ var $3b6ca952e79f0695$export$2e2bcd8739ae039 = $3b6ca952e79f0695$var$QueryBuilde
6296
6304
 
6297
6305
 
6298
6306
 
6299
- const $de780c924c98fa31$var$FilteredResourceDescription = ({ distribution: distribution, dataset: dataset })=>{
6300
- if (!distribution && !dataset) return null;
6301
- let description = "";
6302
- if (distribution.data && distribution.data.description) description = distribution.data.description;
6303
- else if (dataset.description) description = dataset.description;
6304
- return /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6305
- className: "ds-u-measure--wide ds-u-margin-bottom--7",
6306
- children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6307
- className: "ds-u-margin-top--0 dc-c-metadata-description",
6308
- dangerouslySetInnerHTML: {
6309
- __html: (0, $hgUW1$dompurify).sanitize(description)
6310
- }
6311
- })
6312
- });
6313
- };
6314
- var $de780c924c98fa31$export$2e2bcd8739ae039 = $de780c924c98fa31$var$FilteredResourceDescription;
6315
-
6316
-
6317
-
6318
-
6319
6307
 
6320
- const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset, distIndex: distIndex, location: location, additionalParams: additionalParams, customColumns: customColumns, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, rootUrl: rootUrl })=>{
6308
+ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset, distIndex: distIndex, location: location, additionalParams: additionalParams, customColumns: customColumns, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, customDescription: customDescription, rootUrl: rootUrl, updateAriaLive: updateAriaLive })=>{
6321
6309
  const [tablePadding, setTablePadding] = (0, $hgUW1$react).useState("ds-u-padding-y--1");
6322
6310
  let apiDocs = (0, $hgUW1$useRef)();
6323
6311
  let distribution = {};
@@ -6383,9 +6371,12 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6383
6371
  }),
6384
6372
  /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
6385
6373
  className: "ds-l-md-col--9",
6386
- children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $de780c924c98fa31$export$2e2bcd8739ae039), {
6374
+ children: /*#__PURE__*/ (0, $hgUW1$jsx)((0, $2bd73bb95b0c04ed$export$2e2bcd8739ae039), {
6387
6375
  distribution: distribution,
6388
- dataset: dataset
6376
+ dataset: dataset,
6377
+ resource: resource,
6378
+ customDescription: customDescription,
6379
+ updateAriaLive: updateAriaLive
6389
6380
  })
6390
6381
  }),
6391
6382
  Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length && /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
@@ -6396,7 +6387,7 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6396
6387
  customColumns: customColumns
6397
6388
  })
6398
6389
  }),
6399
- Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $a0f13962e513caa1$export$a7997ae78b143b).Provider, {
6390
+ Object.keys(resource).length && resource.columns && Object.keys(resource.schema).length ? /*#__PURE__*/ (0, $hgUW1$jsx)((0, $43a30d745a7bbc86$export$2e2bcd8739ae039).Provider, {
6400
6391
  value: {
6401
6392
  id: id,
6402
6393
  resource: resource,
@@ -6410,32 +6401,19 @@ const $dd6eb2b30d7ad75d$var$FilteredResourceBody = ({ id: id, dataset: dataset,
6410
6401
  /*#__PURE__*/ (0, $hgUW1$jsx)((0, $af099c546cb226c7$export$2e2bcd8739ae039), {
6411
6402
  includeDensity: true,
6412
6403
  setTablePadding: setTablePadding,
6413
- distribution: distribution,
6414
6404
  resource: resource,
6415
6405
  downloadUrl: downloadUrl,
6416
6406
  tablePadding: tablePadding,
6417
6407
  includeDownload: true
6418
6408
  }),
6419
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $39bc4d98030a5599$export$a5806b00c0db0089).Provider, {
6420
- value: {
6421
- columnOrder: [],
6422
- setColumnOrder: ()=>{},
6423
- columnVisibility: {},
6424
- setColumnVisibility: ()=>{},
6425
- page: 1,
6426
- setPage: ()=>{}
6427
- },
6428
- children: [
6429
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $626282d9a03c51d5$export$2e2bcd8739ae039), {
6430
- id: distribution.identifier,
6431
- tablePadding: tablePadding,
6432
- columnSettings: columnSettings,
6433
- columnWidths: columnWidths
6434
- }),
6435
- /*#__PURE__*/ (0, $hgUW1$jsx)((0, $072291d44ce1834a$export$2e2bcd8739ae039), {
6436
- resource: resource
6437
- })
6438
- ]
6409
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $626282d9a03c51d5$export$2e2bcd8739ae039), {
6410
+ id: distribution.identifier,
6411
+ tablePadding: tablePadding,
6412
+ columnSettings: columnSettings,
6413
+ columnWidths: columnWidths
6414
+ }),
6415
+ /*#__PURE__*/ (0, $hgUW1$jsx)((0, $072291d44ce1834a$export$2e2bcd8739ae039), {
6416
+ resource: resource
6439
6417
  })
6440
6418
  ]
6441
6419
  })
@@ -6468,7 +6446,7 @@ var $dd6eb2b30d7ad75d$export$2e2bcd8739ae039 = $dd6eb2b30d7ad75d$var$FilteredRes
6468
6446
 
6469
6447
 
6470
6448
 
6471
- const $f61ecf9f84951a61$var$FilteredResource = ({ id: id, dist_id: dist_id, location: location, apiDocPage: apiDocPage, additionalParams: additionalParams, customColumns: customColumns, setDatasetTitle: setDatasetTitle, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, rootUrl: rootUrl })=>{
6449
+ const $f61ecf9f84951a61$var$FilteredResource = ({ id: id, dist_id: dist_id, location: location, apiDocPage: apiDocPage, additionalParams: additionalParams, customColumns: customColumns, setDatasetTitle: setDatasetTitle, columnSettings: columnSettings, columnWidths: columnWidths, customTitle: customTitle, customDescription: customDescription, rootUrl: rootUrl, updateAriaLive: updateAriaLive })=>{
6472
6450
  const [ready, setReady] = (0, $hgUW1$useState)(false);
6473
6451
  const [error, setError] = (0, $hgUW1$useState)(false);
6474
6452
  const { dataset: dataset } = (0, $b4aa9c66f2e86959$export$2e2bcd8739ae039)(id, rootUrl, additionalParams);
@@ -6531,7 +6509,9 @@ const $f61ecf9f84951a61$var$FilteredResource = ({ id: id, dist_id: dist_id, loca
6531
6509
  columnSettings: columnSettings,
6532
6510
  columnWidths: columnWidths,
6533
6511
  customTitle: customTitle,
6534
- rootUrl: rootUrl
6512
+ customDescription: customDescription,
6513
+ rootUrl: rootUrl,
6514
+ updateAriaLive: updateAriaLive
6535
6515
  })
6536
6516
  })
6537
6517
  });
@@ -6584,5 +6564,5 @@ var $90fb213ab8eeb2e7$export$2e2bcd8739ae039 = $90fb213ab8eeb2e7$var$useScrollTo
6584
6564
 
6585
6565
 
6586
6566
 
6587
- export {$a8accc31bf9e0bda$export$2e2bcd8739ae039 as CMSTopNav, $c49454ea7d1c4579$export$2e2bcd8739ae039 as ErrorBoundary, $046ded0064bd0a3d$export$2e2bcd8739ae039 as FAQAccordion, $b939b31651e82908$export$2e2bcd8739ae039 as HeaderNav, $1555e1cb3eb7b3e3$export$2e2bcd8739ae039 as HeaderNavIconLink, $fea9297ba4dd394c$export$2e2bcd8739ae039 as HeaderSearch, $9a8892c5ac150556$export$2e2bcd8739ae039 as HeaderSiteTitle, $3c72c298c3a7f21f$export$2e2bcd8739ae039 as HeaderTagline, $403833a4b442d5df$export$2e2bcd8739ae039 as MobileMenuButton, $f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $953b286f7778640e$export$2e2bcd8739ae039 as SidebarNavigation, $b0968edc60d7d3a4$export$2e2bcd8739ae039 as SidebarPage, $4f153ca537d853e5$export$2e2bcd8739ae039 as SubMenu, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $a0f13962e513caa1$export$2e2bcd8739ae039 as Dataset, $a35cf16d1488f54e$export$2e2bcd8739ae039 as DatasetTable, $b9af6ce5e2c06331$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $669d2782ec2e2250$export$2e2bcd8739ae039 as SpecsAndLimits, $11500a65bd7d9cf1$export$2e2bcd8739ae039 as HeaderContext, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $52c6454cae137465$export$2e2bcd8739ae039 as DatasetSearchListItem, $789279954d8eff7f$export$2e2bcd8739ae039 as ApiDocumentation, $af099c546cb226c7$export$2e2bcd8739ae039 as ResourceHeader, $626282d9a03c51d5$export$2e2bcd8739ae039 as ResourcePreview, $072291d44ce1834a$export$2e2bcd8739ae039 as ResourceFooter, $ec3e23baa005dc03$export$2e2bcd8739ae039 as Breadcrumb, $bd76a91923d7e8a7$export$2e2bcd8739ae039 as TransformedDate, $d98f94c79ddf4e0e$export$2e2bcd8739ae039 as DataTable, $5644ebd2c3dbfd7b$export$eea3a12df15499ca as buildRows, $f61ecf9f84951a61$export$2e2bcd8739ae039 as FilteredResource, $bef7bff2823feea2$export$2e2bcd8739ae039 as QueryTitle, $7264a673914aa746$export$2b9377795161999 as buildOperatorOptions, $7264a673914aa746$export$e284ae5d89467c8f as convertUTCToLocalDate, $7264a673914aa746$export$6b5e57d20078142b as cleanText, $7264a673914aa746$export$8049e8f40a9bdfb8 as buildCustomColHeaders, $eb7821d186b1a389$export$2e2bcd8739ae039 as useAddLoginLink, $90fb213ab8eeb2e7$export$2e2bcd8739ae039 as useScrollToTop, $b4aa9c66f2e86959$export$2e2bcd8739ae039 as useMetastoreDataset, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039 as withQueryProvider, $6da0396069e23175$export$bc27cf7ecf44639d as defaultMetadataMapping, $2ed0091f7e32d1e6$export$2e2bcd8739ae039 as DataTablePageResults, $1a2bf34e2a8f6b80$export$59a943b34a82e690 as truncateText};
6567
+ export {$a8accc31bf9e0bda$export$2e2bcd8739ae039 as CMSTopNav, $c49454ea7d1c4579$export$2e2bcd8739ae039 as ErrorBoundary, $046ded0064bd0a3d$export$2e2bcd8739ae039 as FAQAccordion, $b939b31651e82908$export$2e2bcd8739ae039 as HeaderNav, $1555e1cb3eb7b3e3$export$2e2bcd8739ae039 as HeaderNavIconLink, $fea9297ba4dd394c$export$2e2bcd8739ae039 as HeaderSearch, $9a8892c5ac150556$export$2e2bcd8739ae039 as HeaderSiteTitle, $3c72c298c3a7f21f$export$2e2bcd8739ae039 as HeaderTagline, $403833a4b442d5df$export$2e2bcd8739ae039 as MobileMenuButton, $f57121650539d8c5$export$2e2bcd8739ae039 as NavBar, $953b286f7778640e$export$2e2bcd8739ae039 as SidebarNavigation, $b0968edc60d7d3a4$export$2e2bcd8739ae039 as SidebarPage, $4f153ca537d853e5$export$2e2bcd8739ae039 as SubMenu, $c96c4b9ef7203c1f$export$2e2bcd8739ae039 as APIPage, $026cb986f9fea2b1$export$2e2bcd8739ae039 as PageNotFound, $e873081a6e8f024e$export$2e2bcd8739ae039 as DatasetSearch, $a0f13962e513caa1$export$2e2bcd8739ae039 as Dataset, $a35cf16d1488f54e$export$2e2bcd8739ae039 as DatasetTable, $b9af6ce5e2c06331$export$2e2bcd8739ae039 as Header, $a6df0aa147323304$export$2e2bcd8739ae039 as Footer, $669d2782ec2e2250$export$2e2bcd8739ae039 as SpecsAndLimits, $11500a65bd7d9cf1$export$2e2bcd8739ae039 as HeaderContext, $43a30d745a7bbc86$export$2e2bcd8739ae039 as DataTableContext, $ebda441784d176a5$export$2e2bcd8739ae039 as ManageColumnsContext, $efc410f5f7ac5ef3$export$2e2bcd8739ae039 as useSearchAPI, $1d3d480a9cfaabe0$export$2e2bcd8739ae039 as useDatastore, $aa4450dcbeef3ac0$export$385a5aba38cc3325 as transformTableSortToQuerySort, $59a079354baa335c$export$2e2bcd8739ae039 as Hero, $52c6454cae137465$export$2e2bcd8739ae039 as DatasetSearchListItem, $789279954d8eff7f$export$2e2bcd8739ae039 as ApiDocumentation, $af099c546cb226c7$export$2e2bcd8739ae039 as ResourceHeader, $626282d9a03c51d5$export$2e2bcd8739ae039 as ResourcePreview, $072291d44ce1834a$export$2e2bcd8739ae039 as ResourceFooter, $ec3e23baa005dc03$export$2e2bcd8739ae039 as Breadcrumb, $bd76a91923d7e8a7$export$2e2bcd8739ae039 as TransformedDate, $d98f94c79ddf4e0e$export$2e2bcd8739ae039 as DataTable, $5644ebd2c3dbfd7b$export$eea3a12df15499ca as buildRows, $f61ecf9f84951a61$export$2e2bcd8739ae039 as FilteredResource, $bef7bff2823feea2$export$2e2bcd8739ae039 as QueryTitle, $7264a673914aa746$export$2b9377795161999 as buildOperatorOptions, $7264a673914aa746$export$e284ae5d89467c8f as convertUTCToLocalDate, $7264a673914aa746$export$6b5e57d20078142b as cleanText, $7264a673914aa746$export$8049e8f40a9bdfb8 as buildCustomColHeaders, $eb7821d186b1a389$export$2e2bcd8739ae039 as useAddLoginLink, $90fb213ab8eeb2e7$export$2e2bcd8739ae039 as useScrollToTop, $b4aa9c66f2e86959$export$2e2bcd8739ae039 as useMetastoreDataset, $61ff88fb3f6ee2c8$export$2e2bcd8739ae039 as withQueryProvider, $6da0396069e23175$export$bc27cf7ecf44639d as defaultMetadataMapping, $2ed0091f7e32d1e6$export$2e2bcd8739ae039 as DataTablePageResults, $1a2bf34e2a8f6b80$export$59a943b34a82e690 as truncateText};
6588
6568
  //# sourceMappingURL=main.js.map