sanity-plugin-seofields 1.5.4 → 1.6.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.
Files changed (70) hide show
  1. package/README.md +4 -4
  2. package/dist/SeoHealthDashboard-7XMPVJRX.cjs +10 -0
  3. package/dist/{SeoHealthDashboard-KPBNXSL4.cjs.map → SeoHealthDashboard-7XMPVJRX.cjs.map} +1 -1
  4. package/dist/SeoHealthDashboard-UWPLB5DM.js +4 -0
  5. package/dist/{SeoHealthDashboard-QKVB5HK3.js.map → SeoHealthDashboard-UWPLB5DM.js.map} +1 -1
  6. package/dist/{SeoHealthTool-ON3SRXCF.cjs → SeoHealthTool-2H4XZR4I.cjs} +4 -4
  7. package/dist/{SeoHealthTool-ON3SRXCF.cjs.map → SeoHealthTool-2H4XZR4I.cjs.map} +1 -1
  8. package/dist/{SeoHealthTool-EPPOEDTW.js → SeoHealthTool-XCXINAQI.js} +3 -3
  9. package/dist/{SeoHealthTool-EPPOEDTW.js.map → SeoHealthTool-XCXINAQI.js.map} +1 -1
  10. package/dist/{SeoPreview-G3LPA7GV.js → SeoPreview-F6GGPZWI.js} +2 -2
  11. package/dist/SeoPreview-F6GGPZWI.js.map +1 -0
  12. package/dist/{SeoPreview-Y3CFDVBR.cjs → SeoPreview-JDROKZLP.cjs} +2 -2
  13. package/dist/SeoPreview-JDROKZLP.cjs.map +1 -0
  14. package/dist/chunk-6NIHHOVS.js +3918 -0
  15. package/dist/chunk-6NIHHOVS.js.map +1 -0
  16. package/dist/chunk-7HCP5O62.cjs +4027 -0
  17. package/dist/chunk-7HCP5O62.cjs.map +1 -0
  18. package/dist/{chunk-527WXITP.js → chunk-KWUITSHS.js} +218 -54
  19. package/dist/chunk-KWUITSHS.js.map +1 -0
  20. package/dist/{chunk-UCVSMPEJ.js → chunk-NHJBEV3A.js} +2 -2
  21. package/dist/{chunk-UCVSMPEJ.js.map → chunk-NHJBEV3A.js.map} +1 -1
  22. package/dist/chunk-WCLEWFAJ.cjs +669 -0
  23. package/dist/chunk-WCLEWFAJ.cjs.map +1 -0
  24. package/dist/{chunk-G2SVI2SP.cjs → chunk-Z74QPO75.cjs} +2 -2
  25. package/dist/{chunk-G2SVI2SP.cjs.map → chunk-Z74QPO75.cjs.map} +1 -1
  26. package/dist/cli.js +25 -25
  27. package/dist/component-7rqDvuy2.d.ts +534 -0
  28. package/dist/component-J2nEQkOw.d.cts +534 -0
  29. package/dist/index.cjs +159 -185
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +43 -51
  32. package/dist/index.d.ts +43 -51
  33. package/dist/index.js +159 -185
  34. package/dist/index.js.map +1 -1
  35. package/dist/next.cjs +155 -51
  36. package/dist/next.d.cts +3 -3
  37. package/dist/next.d.ts +3 -3
  38. package/dist/next.js +2 -2
  39. package/dist/schema/next.cjs +171 -52
  40. package/dist/schema/next.cjs.map +1 -1
  41. package/dist/schema/next.d.cts +12 -428
  42. package/dist/schema/next.d.ts +12 -428
  43. package/dist/schema/next.js +20 -2
  44. package/dist/schema/next.js.map +1 -1
  45. package/dist/schema.cjs +831 -156
  46. package/dist/schema.cjs.map +1 -1
  47. package/dist/schema.d.cts +318 -41
  48. package/dist/schema.d.ts +318 -41
  49. package/dist/schema.js +567 -86
  50. package/dist/schema.js.map +1 -1
  51. package/dist/types-BRn3hfQb.d.ts +24 -0
  52. package/dist/types-BSgolLj3.d.cts +24 -0
  53. package/dist/{types-R3n9Fu4w.d.cts → types-BtSRRG6C.d.cts} +1 -1
  54. package/dist/{types-R3n9Fu4w.d.ts → types-BtSRRG6C.d.ts} +1 -1
  55. package/dist/types-DnVvOp3o.d.ts +1215 -0
  56. package/dist/types-DoUYMRVf.d.cts +1215 -0
  57. package/package.json +2 -1
  58. package/dist/SeoHealthDashboard-KPBNXSL4.cjs +0 -10
  59. package/dist/SeoHealthDashboard-QKVB5HK3.js +0 -4
  60. package/dist/SeoPreview-G3LPA7GV.js.map +0 -1
  61. package/dist/SeoPreview-Y3CFDVBR.cjs.map +0 -1
  62. package/dist/chunk-527WXITP.js.map +0 -1
  63. package/dist/chunk-6CYMVS3O.js +0 -1245
  64. package/dist/chunk-6CYMVS3O.js.map +0 -1
  65. package/dist/chunk-D2GWRRK5.cjs +0 -1293
  66. package/dist/chunk-D2GWRRK5.cjs.map +0 -1
  67. package/dist/chunk-L3L3FSPJ.cjs +0 -478
  68. package/dist/chunk-L3L3FSPJ.cjs.map +0 -1
  69. package/dist/types-CVaAX7uy.d.cts +0 -589
  70. package/dist/types-Ci-ZZT7A.d.ts +0 -589
package/dist/index.js CHANGED
@@ -653,110 +653,154 @@ function twitter(config = {}) {
653
653
  }
654
654
 
655
655
  // src/schemas/index.ts
656
- var LazySeoPreview = React12.lazy(() => import('./SeoPreview-G3LPA7GV.js'));
656
+ var LazySeoPreview = React12.lazy(() => import('./SeoPreview-F6GGPZWI.js'));
657
657
  var SeoPreviewWrapper = (props) => React12.createElement(React12.Suspense, { fallback: null }, React12.createElement(LazySeoPreview, props));
658
+ function buildFieldGroupMap(groups) {
659
+ const map = /* @__PURE__ */ new Map();
660
+ for (const g of groups) {
661
+ for (const fieldName of g.fields) {
662
+ const existing = map.get(fieldName);
663
+ if (existing) {
664
+ existing.push(g.name);
665
+ } else {
666
+ map.set(fieldName, [g.name]);
667
+ }
668
+ }
669
+ }
670
+ return map;
671
+ }
672
+ function toSanityGroups(groups) {
673
+ return groups.map((g) => {
674
+ const def = {
675
+ name: g.name,
676
+ title: g.title,
677
+ default: g.default
678
+ };
679
+ if (g.icon && typeof g.icon !== "string") {
680
+ def.icon = g.icon;
681
+ }
682
+ return def;
683
+ });
684
+ }
685
+ function withGroup(field, fieldGroupMap) {
686
+ if (!fieldGroupMap) return field;
687
+ const groups = fieldGroupMap.get(field.name);
688
+ if (!groups || groups.length === 0) return field;
689
+ return __spreadProps(__spreadValues({}, field), { group: groups.length === 1 ? groups[0] : groups });
690
+ }
658
691
  function seoFieldsSchema(config = {}) {
659
- return defineType({
692
+ const groupsCfg = config.fieldGroups;
693
+ const fieldGroupMap = (groupsCfg == null ? void 0 : groupsCfg.length) ? buildFieldGroupMap(groupsCfg) : void 0;
694
+ const sanityGroups = (groupsCfg == null ? void 0 : groupsCfg.length) ? toSanityGroups(groupsCfg) : void 0;
695
+ return defineType(__spreadProps(__spreadValues({
660
696
  name: "seoFields",
661
697
  title: "SEO Fields",
662
- type: "object",
698
+ type: "object"
699
+ }, sanityGroups ? { groups: sanityGroups } : {}), {
663
700
  fields: [
664
- defineField({
665
- name: "robots",
666
- title: "Robots Settings",
667
- type: "robots",
668
- // Use the separate robots type here
669
- hidden: getFieldHiddenFunction("robots", config)
670
- }),
701
+ withGroup(
702
+ defineField({
703
+ name: "robots",
704
+ title: "Robots Settings",
705
+ type: "robots",
706
+ hidden: getFieldHiddenFunction("robots", config)
707
+ }),
708
+ fieldGroupMap
709
+ ),
671
710
  // 👇 conditionally spread preview field
672
711
  ...typeof config.seoPreview === "boolean" && config.seoPreview || typeof config.seoPreview === "object" && !isEmpty(config.seoPreview) ? [
673
- defineField({
674
- name: "preview",
675
- title: "SEO Preview",
676
- type: "string",
677
- components: { input: SeoPreviewWrapper },
678
- options: __spreadValues({
679
- baseUrl: config.baseUrl || "https://www.example.com"
680
- }, typeof config.seoPreview === "object" && config.seoPreview && config.seoPreview.prefix ? { prefix: config.seoPreview.prefix } : {}),
681
- // Use a readOnly field to prevent editing
682
- // This field is just for preview purposes
683
- initialValue: "",
684
- // Set an initial value
685
- readOnly: true
686
- })
712
+ withGroup(
713
+ defineField({
714
+ name: "preview",
715
+ title: "SEO Preview",
716
+ type: "string",
717
+ components: { input: SeoPreviewWrapper },
718
+ options: __spreadValues({
719
+ baseUrl: config.baseUrl || "https://www.example.com"
720
+ }, typeof config.seoPreview === "object" && config.seoPreview && config.seoPreview.prefix ? { prefix: config.seoPreview.prefix } : {}),
721
+ initialValue: "",
722
+ readOnly: true
723
+ }),
724
+ fieldGroupMap
725
+ )
687
726
  ] : [],
688
- defineField(__spreadProps(__spreadValues({
689
- name: "title"
690
- }, getFieldInfo("title", config.fieldOverrides)), {
691
- // title: 'Meta Title',
692
- type: "string",
693
- // description:
694
- // 'The meta title is displayed in search engine results as the clickable headline for a given result. It should be concise and accurately reflect the content of the page.',
695
- components: {
696
- input: MetaTitle_default
697
- },
698
- // validation: (Rule) => Rule.max(60).warning('Meta title should be under 60 characters.'),
699
- hidden: getFieldHiddenFunction("title", config)
700
- })),
701
- defineField(__spreadProps(__spreadValues({
702
- name: "description"
703
- }, getFieldInfo("description", config.fieldOverrides)), {
704
- // title: 'Meta Description',
705
- // description:
706
- // 'Provide a concise summary of the page content. This description may be used by search engines in search results.',
707
- type: "text",
708
- rows: 3,
709
- components: {
710
- input: MetaDescription_default
711
- },
712
- // validation: (Rule) => Rule.max(160).warning('Meta description should be under 160 characters.'),
713
- hidden: getFieldHiddenFunction("description", config)
714
- })),
715
- defineField(__spreadProps(__spreadValues({
716
- name: "metaImage"
717
- }, getFieldInfo("metaImage", config.fieldOverrides)), {
718
- // title: 'Meta Image',
719
- // description:
720
- // 'Upload an image that represents the content of the page. This image may be used in social media previews and search engine results.',
721
- type: "image",
722
- options: {
723
- hotspot: true
724
- },
725
- components: {
726
- input: MetaImage_default
727
- },
728
- hidden: getFieldHiddenFunction("metaImage", config)
729
- })),
730
- defineField(__spreadProps(__spreadValues({
731
- name: "metaAttributes"
732
- }, getFieldInfo("metaAttributes", config.fieldOverrides)), {
733
- type: "array",
734
- of: [{ type: "metaAttribute" }],
735
- // description:
736
- // 'Add custom meta attributes to the head of the document for additional SEO and social media integration.',
737
- hidden: getFieldHiddenFunction("metaAttributes", config)
738
- })),
739
- defineField(__spreadProps(__spreadValues({
740
- name: "keywords"
741
- }, getFieldInfo("keywords", config.fieldOverrides)), {
742
- title: "Keywords",
743
- type: "array",
744
- of: [{ type: "string" }],
745
- description: "Add relevant keywords for this page. These keywords will be used for SEO purposes.",
746
- hidden: getFieldHiddenFunction("keywords", config)
747
- })),
748
- defineField(__spreadProps(__spreadValues({
749
- name: "canonicalUrl"
750
- }, getFieldInfo("canonicalUrl", config.fieldOverrides)), {
751
- title: "Canonical URL",
752
- type: "url",
753
- description: "Specify the canonical URL for this page. This helps prevent duplicate content issues by indicating the preferred version of a page.",
754
- hidden: getFieldHiddenFunction("canonicalUrl", config)
755
- })),
756
- openGraph(config),
757
- twitter(config)
727
+ withGroup(
728
+ defineField(__spreadProps(__spreadValues({
729
+ name: "title"
730
+ }, getFieldInfo("title", config.fieldOverrides)), {
731
+ type: "string",
732
+ components: {
733
+ input: MetaTitle_default
734
+ },
735
+ hidden: getFieldHiddenFunction("title", config)
736
+ })),
737
+ fieldGroupMap
738
+ ),
739
+ withGroup(
740
+ defineField(__spreadProps(__spreadValues({
741
+ name: "description"
742
+ }, getFieldInfo("description", config.fieldOverrides)), {
743
+ type: "text",
744
+ rows: 3,
745
+ components: {
746
+ input: MetaDescription_default
747
+ },
748
+ hidden: getFieldHiddenFunction("description", config)
749
+ })),
750
+ fieldGroupMap
751
+ ),
752
+ withGroup(
753
+ defineField(__spreadProps(__spreadValues({
754
+ name: "metaImage"
755
+ }, getFieldInfo("metaImage", config.fieldOverrides)), {
756
+ type: "image",
757
+ options: {
758
+ hotspot: true
759
+ },
760
+ components: {
761
+ input: MetaImage_default
762
+ },
763
+ hidden: getFieldHiddenFunction("metaImage", config)
764
+ })),
765
+ fieldGroupMap
766
+ ),
767
+ withGroup(
768
+ defineField(__spreadProps(__spreadValues({
769
+ name: "metaAttributes"
770
+ }, getFieldInfo("metaAttributes", config.fieldOverrides)), {
771
+ type: "array",
772
+ of: [{ type: "metaAttribute" }],
773
+ hidden: getFieldHiddenFunction("metaAttributes", config)
774
+ })),
775
+ fieldGroupMap
776
+ ),
777
+ withGroup(
778
+ defineField(__spreadProps(__spreadValues({
779
+ name: "keywords"
780
+ }, getFieldInfo("keywords", config.fieldOverrides)), {
781
+ title: "Keywords",
782
+ type: "array",
783
+ of: [{ type: "string" }],
784
+ description: "Add relevant keywords for this page. These keywords will be used for SEO purposes.",
785
+ hidden: getFieldHiddenFunction("keywords", config)
786
+ })),
787
+ fieldGroupMap
788
+ ),
789
+ withGroup(
790
+ defineField(__spreadProps(__spreadValues({
791
+ name: "canonicalUrl"
792
+ }, getFieldInfo("canonicalUrl", config.fieldOverrides)), {
793
+ title: "Canonical URL",
794
+ type: "url",
795
+ description: "Specify the canonical URL for this page. This helps prevent duplicate content issues by indicating the preferred version of a page.",
796
+ hidden: getFieldHiddenFunction("canonicalUrl", config)
797
+ })),
798
+ fieldGroupMap
799
+ ),
800
+ withGroup(openGraph(config), fieldGroupMap),
801
+ withGroup(twitter(config), fieldGroupMap)
758
802
  ]
759
- });
803
+ }));
760
804
  }
761
805
  function baseMeta(config = {}) {
762
806
  return defineType({
@@ -935,100 +979,30 @@ function types(config = {}) {
935
979
  }
936
980
 
937
981
  // src/plugin.ts
938
- var V132 = "v1.3.2";
939
- var CHANGELOG_V132 = `https://github.com/hardik-143/sanity-plugin-seofields/blob/main/CHANGELOG.md#132--2026-03-23`;
940
982
  var resolveDashboardConfig = (healthDashboard) => {
941
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
983
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
942
984
  const cfg = typeof healthDashboard === "object" ? healthDashboard : void 0;
943
- const deprecationWarnings = [];
944
- if (((_a = cfg == null ? void 0 : cfg.display) == null ? void 0 : _a.typeColumn) !== void 0) {
945
- deprecationWarnings.push({
946
- key: "display.typeColumn \u2192 showTypeColumn",
947
- version: V132,
948
- changelogUrl: CHANGELOG_V132
949
- });
950
- if (cfg.showTypeColumn) {
951
- console.warn(
952
- `[sanity-plugin-seofields] Both "healthDashboard.display.typeColumn" and "healthDashboard.showTypeColumn" are set. "showTypeColumn" will take precedence. Please remove "healthDashboard.display.typeColumn". See ${CHANGELOG_V132}`
953
- );
954
- } else {
955
- console.warn(
956
- `[sanity-plugin-seofields] "healthDashboard.display.typeColumn" is deprecated. Use "healthDashboard.showTypeColumn" instead. See ${CHANGELOG_V132}`
957
- );
958
- }
959
- }
960
- if (((_b = cfg == null ? void 0 : cfg.display) == null ? void 0 : _b.documentId) !== void 0) {
961
- deprecationWarnings.push({
962
- key: "display.documentId \u2192 showDocumentId",
963
- version: V132,
964
- changelogUrl: CHANGELOG_V132
965
- });
966
- if (cfg.showDocumentId) {
967
- console.warn(
968
- `[sanity-plugin-seofields] Both "healthDashboard.display.documentId" and "healthDashboard.showDocumentId" are set. "showDocumentId" will take precedence. Please remove "healthDashboard.display.documentId". See ${CHANGELOG_V132}`
969
- );
970
- } else {
971
- console.warn(
972
- `[sanity-plugin-seofields] "healthDashboard.display.documentId" is deprecated. Use "healthDashboard.showDocumentId" instead. See ${CHANGELOG_V132}`
973
- );
974
- }
975
- }
976
- if (cfg == null ? void 0 : cfg.typeLabels) {
977
- deprecationWarnings.push({
978
- key: "typeLabels \u2192 typeDisplayLabels",
979
- version: V132,
980
- changelogUrl: CHANGELOG_V132
981
- });
982
- if (cfg.typeDisplayLabels) {
983
- console.warn(
984
- `[sanity-plugin-seofields] Both "healthDashboard.typeLabels" and "healthDashboard.typeDisplayLabels" are set. "typeDisplayLabels" will take precedence. Please remove "typeLabels". See ${CHANGELOG_V132}`
985
- );
986
- } else {
987
- console.warn(
988
- `[sanity-plugin-seofields] "healthDashboard.typeLabels" is deprecated. Use "healthDashboard.typeDisplayLabels" instead. See ${CHANGELOG_V132}`
989
- );
990
- }
991
- }
992
- if (cfg == null ? void 0 : cfg.docBadge) {
993
- deprecationWarnings.push({
994
- key: "docBadge \u2192 getDocumentBadge",
995
- version: V132,
996
- changelogUrl: CHANGELOG_V132
997
- });
998
- if (cfg == null ? void 0 : cfg.getDocumentBadge) {
999
- console.warn(
1000
- `[sanity-plugin-seofields] Both "healthDashboard.docBadge" and "healthDashboard.getDocumentBadge" are set. "getDocumentBadge" will take precedence. Please remove "docBadge". See ${CHANGELOG_V132}`
1001
- );
1002
- } else {
1003
- console.warn(
1004
- `[sanity-plugin-seofields] "healthDashboard.docBadge" is deprecated. Use "healthDashboard.getDocumentBadge" instead. See ${CHANGELOG_V132}`
1005
- );
1006
- }
1007
- }
1008
985
  return {
1009
986
  enabled: healthDashboard !== false,
1010
- toolTitle: (_d = (_c = cfg == null ? void 0 : cfg.tool) == null ? void 0 : _c.title) != null ? _d : "SEO Health",
1011
- toolName: (_f = (_e = cfg == null ? void 0 : cfg.tool) == null ? void 0 : _e.name) != null ? _f : "seo-health-dashboard",
1012
- icon: (_g = cfg == null ? void 0 : cfg.content) == null ? void 0 : _g.icon,
1013
- title: (_h = cfg == null ? void 0 : cfg.content) == null ? void 0 : _h.title,
1014
- description: (_i = cfg == null ? void 0 : cfg.content) == null ? void 0 : _i.description,
1015
- // New flat keys take precedence; fall back to deprecated display.* for backwards compat
1016
- showTypeColumn: (_k = cfg == null ? void 0 : cfg.showTypeColumn) != null ? _k : (_j = cfg == null ? void 0 : cfg.display) == null ? void 0 : _j.typeColumn,
1017
- showDocumentId: (_m = cfg == null ? void 0 : cfg.showDocumentId) != null ? _m : (_l = cfg == null ? void 0 : cfg.display) == null ? void 0 : _l.documentId,
1018
- queryTypes: (_n = cfg == null ? void 0 : cfg.query) == null ? void 0 : _n.types,
1019
- queryRequireSeo: (_o = cfg == null ? void 0 : cfg.query) == null ? void 0 : _o.requireSeo,
1020
- queryGroq: (_p = cfg == null ? void 0 : cfg.query) == null ? void 0 : _p.groq,
987
+ toolTitle: (_b = (_a = cfg == null ? void 0 : cfg.tool) == null ? void 0 : _a.title) != null ? _b : "SEO Health",
988
+ toolName: (_d = (_c = cfg == null ? void 0 : cfg.tool) == null ? void 0 : _c.name) != null ? _d : "seo-health-dashboard",
989
+ icon: (_e = cfg == null ? void 0 : cfg.content) == null ? void 0 : _e.icon,
990
+ title: (_f = cfg == null ? void 0 : cfg.content) == null ? void 0 : _f.title,
991
+ description: (_g = cfg == null ? void 0 : cfg.content) == null ? void 0 : _g.description,
992
+ showTypeColumn: cfg == null ? void 0 : cfg.showTypeColumn,
993
+ showDocumentId: cfg == null ? void 0 : cfg.showDocumentId,
994
+ queryTypes: (_h = cfg == null ? void 0 : cfg.query) == null ? void 0 : _h.types,
995
+ queryRequireSeo: (_i = cfg == null ? void 0 : cfg.query) == null ? void 0 : _i.requireSeo,
996
+ queryGroq: (_j = cfg == null ? void 0 : cfg.query) == null ? void 0 : _j.groq,
1021
997
  apiVersion: cfg == null ? void 0 : cfg.apiVersion,
1022
998
  licenseKey: cfg == null ? void 0 : cfg.licenseKey,
1023
- // New key takes precedence; fall back to deprecated key for backwards compat
1024
- typeDisplayLabels: (_q = cfg == null ? void 0 : cfg.typeDisplayLabels) != null ? _q : cfg == null ? void 0 : cfg.typeLabels,
999
+ typeDisplayLabels: cfg == null ? void 0 : cfg.typeDisplayLabels,
1025
1000
  typeColumnMode: cfg == null ? void 0 : cfg.typeColumnMode,
1026
1001
  titleField: cfg == null ? void 0 : cfg.titleField,
1027
- // New key takes precedence; fall back to deprecated key for backwards compat
1028
- getDocumentBadge: (_r = cfg == null ? void 0 : cfg.getDocumentBadge) != null ? _r : cfg == null ? void 0 : cfg.docBadge,
1029
- loadingLicense: (_s = cfg == null ? void 0 : cfg.content) == null ? void 0 : _s.loadingLicense,
1030
- loadingDocuments: (_t = cfg == null ? void 0 : cfg.content) == null ? void 0 : _t.loadingDocuments,
1031
- noDocuments: (_u = cfg == null ? void 0 : cfg.content) == null ? void 0 : _u.noDocuments,
1002
+ getDocumentBadge: cfg == null ? void 0 : cfg.getDocumentBadge,
1003
+ loadingLicense: (_k = cfg == null ? void 0 : cfg.content) == null ? void 0 : _k.loadingLicense,
1004
+ loadingDocuments: (_l = cfg == null ? void 0 : cfg.content) == null ? void 0 : _l.loadingDocuments,
1005
+ noDocuments: (_m = cfg == null ? void 0 : cfg.content) == null ? void 0 : _m.noDocuments,
1032
1006
  previewMode: cfg == null ? void 0 : cfg.previewMode,
1033
1007
  structureTool: cfg == null ? void 0 : cfg.structureTool,
1034
1008
  exportEnabled: (() => {
@@ -1043,14 +1017,14 @@ var resolveDashboardConfig = (healthDashboard) => {
1043
1017
  if (typeof exportCfg === "object" && exportCfg.formats) return exportCfg.formats;
1044
1018
  return ["csv", "json"];
1045
1019
  })(),
1046
- compactStats: (_v = cfg == null ? void 0 : cfg.compactStats) != null ? _v : false,
1047
- deprecationWarnings
1020
+ compactStats: (_n = cfg == null ? void 0 : cfg.compactStats) != null ? _n : false,
1021
+ deprecationWarnings: []
1048
1022
  };
1049
1023
  };
1050
1024
  var seofields = definePlugin((config = {}) => {
1051
1025
  const { healthDashboard = true } = config;
1052
1026
  const dash = resolveDashboardConfig(healthDashboard);
1053
- const LazySeoHealthTool = React12.lazy(() => import('./SeoHealthTool-EPPOEDTW.js'));
1027
+ const LazySeoHealthTool = React12.lazy(() => import('./SeoHealthTool-XCXINAQI.js'));
1054
1028
  const BoundSeoHealthTool = () => React12.createElement(
1055
1029
  React12.Suspense,
1056
1030
  { fallback: null },
@@ -1097,7 +1071,7 @@ var seofields = definePlugin((config = {}) => {
1097
1071
  });
1098
1072
  });
1099
1073
  var plugin_default = seofields;
1100
- var LazySeoHealthDashboard = React12.lazy(() => import('./SeoHealthDashboard-QKVB5HK3.js'));
1074
+ var LazySeoHealthDashboard = React12.lazy(() => import('./SeoHealthDashboard-UWPLB5DM.js'));
1101
1075
  function createSeoHealthPane(optionsOrS, optionsWhenS) {
1102
1076
  const S = optionsOrS;
1103
1077
  const _a = optionsWhenS != null ? optionsWhenS : {}, { query, openInPane = true, title: paneTitle } = _a, rest = __objRest(_a, ["query", "openInPane", "title"]);