@next-bricks/visual-builder 1.22.0 → 1.22.1

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 (89) hide show
  1. package/dist/bricks.json +2 -2
  2. package/dist/chunks/{1122.a7519460.js → 1122.a2e4f62e.js} +2 -2
  3. package/dist/chunks/1122.a2e4f62e.js.map +1 -0
  4. package/dist/chunks/2252.395062aa.js +3 -0
  5. package/dist/chunks/{2252.043616c7.js.map → 2252.395062aa.js.map} +1 -1
  6. package/dist/chunks/2980.fb2388ef.js +2 -0
  7. package/dist/chunks/{2980.1f86c8c1.js.map → 2980.fb2388ef.js.map} +1 -1
  8. package/dist/chunks/{3171.50ff3a26.js → 3171.fed38379.js} +2 -2
  9. package/dist/chunks/{3171.50ff3a26.js.map → 3171.fed38379.js.map} +1 -1
  10. package/dist/chunks/{3933.970e4f69.js → 3933.5bb88d4a.js} +2 -2
  11. package/dist/chunks/{6314.86404a43.js.map → 3933.5bb88d4a.js.map} +1 -1
  12. package/dist/chunks/4837.c33c686f.js +2 -0
  13. package/dist/chunks/{7218.cf7baa8d.js.map → 4837.c33c686f.js.map} +1 -1
  14. package/dist/chunks/4947.87265cf9.js +3 -0
  15. package/dist/chunks/4947.87265cf9.js.map +1 -0
  16. package/dist/chunks/{5552.8c2ed047.js → 5552.cabbd277.js} +2 -2
  17. package/dist/chunks/{5552.8c2ed047.js.map → 5552.cabbd277.js.map} +1 -1
  18. package/dist/chunks/{5659.c2b28502.js → 5659.9000e441.js} +3 -3
  19. package/dist/chunks/{5659.c2b28502.js.map → 5659.9000e441.js.map} +1 -1
  20. package/dist/chunks/6233.f90eb59c.js +3 -0
  21. package/dist/chunks/{6233.18a64bb2.js.map → 6233.f90eb59c.js.map} +1 -1
  22. package/dist/chunks/{6314.86404a43.js → 6314.9d427e15.js} +2 -2
  23. package/dist/chunks/{3933.970e4f69.js.map → 6314.9d427e15.js.map} +1 -1
  24. package/dist/chunks/7218.9d0d0c2a.js +2 -0
  25. package/dist/chunks/{4837.c11be2c0.js.map → 7218.9d0d0c2a.js.map} +1 -1
  26. package/dist/chunks/{790.d4f3b21c.js → 790.77b44e6b.js} +2 -2
  27. package/dist/chunks/{790.d4f3b21c.js.map → 790.77b44e6b.js.map} +1 -1
  28. package/dist/chunks/9027.85831c10.js +2 -0
  29. package/dist/chunks/{9027.397f0c1f.js.map → 9027.85831c10.js.map} +1 -1
  30. package/dist/chunks/{chat-conversation.064750a3.js → chat-conversation.06c03ce2.js} +3 -3
  31. package/dist/chunks/{chat-conversation.064750a3.js.map → chat-conversation.06c03ce2.js.map} +1 -1
  32. package/dist/chunks/chat-preview.e4753612.js +3 -0
  33. package/dist/chunks/{chat-preview.8de942c9.js.map → chat-preview.e4753612.js.map} +1 -1
  34. package/dist/chunks/check-editor-by-name.928b7a67.js +2 -0
  35. package/dist/chunks/{check-editor-by-name.73728483.js.map → check-editor-by-name.928b7a67.js.map} +1 -1
  36. package/dist/chunks/{contract-select.531ce760.js → contract-select.148bab93.js} +3 -3
  37. package/dist/chunks/{contract-select.531ce760.js.map → contract-select.148bab93.js.map} +1 -1
  38. package/dist/chunks/{generate-snippets-context-menu.cec122bb.js → generate-snippets-context-menu.a076f5f7.js} +2 -2
  39. package/dist/chunks/{generate-snippets-context-menu.cec122bb.js.map → generate-snippets-context-menu.a076f5f7.js.map} +1 -1
  40. package/dist/chunks/{get-data-deps.03f2aae3.js → get-data-deps.e521c8d2.js} +2 -2
  41. package/dist/chunks/{get-data-deps.03f2aae3.js.map → get-data-deps.e521c8d2.js.map} +1 -1
  42. package/dist/chunks/{inject-chat-preview-agent.75e178b0.js → inject-chat-preview-agent.79f723c0.js} +2 -2
  43. package/dist/chunks/{inject-chat-preview-agent.75e178b0.js.map → inject-chat-preview-agent.79f723c0.js.map} +1 -1
  44. package/dist/chunks/{inject-preview-agent.83ee9dfe.js → inject-preview-agent.4cc9a12f.js} +2 -2
  45. package/dist/chunks/{inject-preview-agent.83ee9dfe.js.map → inject-preview-agent.4cc9a12f.js.map} +1 -1
  46. package/dist/chunks/main.99faedc6.js +2 -0
  47. package/dist/chunks/{main.1c9f57b6.js.map → main.99faedc6.js.map} +1 -1
  48. package/dist/chunks/{pre-generated-container.0e9e33dc.js → pre-generated-container.12850429.js} +2 -2
  49. package/dist/chunks/{pre-generated-container.0e9e33dc.js.map → pre-generated-container.12850429.js.map} +1 -1
  50. package/dist/chunks/pre-generated-preview.99a84845.js +3 -0
  51. package/dist/chunks/{pre-generated-preview.da3f0cc6.js.map → pre-generated-preview.99a84845.js.map} +1 -1
  52. package/dist/chunks/property-editor.ed34d324.js +2 -0
  53. package/dist/chunks/{property-editor.81603794.js.map → property-editor.ed34d324.js.map} +1 -1
  54. package/dist/chunks/workbench-action-list.980559dc.js +2 -0
  55. package/dist/chunks/{workbench-action-list.06eae580.js.map → workbench-action-list.980559dc.js.map} +1 -1
  56. package/dist/chunks/workbench-history-action.b7d27978.js +3 -0
  57. package/dist/chunks/{workbench-history-action.81a1f9d8.js.map → workbench-history-action.b7d27978.js.map} +1 -1
  58. package/dist/index.770cc005.js +2 -0
  59. package/dist/index.770cc005.js.map +1 -0
  60. package/dist/manifest.json +9 -9
  61. package/dist/types.json +5 -5
  62. package/package.json +3 -3
  63. package/dist/chunks/1122.a7519460.js.map +0 -1
  64. package/dist/chunks/2252.043616c7.js +0 -3
  65. package/dist/chunks/2980.1f86c8c1.js +0 -2
  66. package/dist/chunks/4837.c11be2c0.js +0 -2
  67. package/dist/chunks/4947.0103ed62.js +0 -3
  68. package/dist/chunks/4947.0103ed62.js.map +0 -1
  69. package/dist/chunks/6233.18a64bb2.js +0 -3
  70. package/dist/chunks/7218.cf7baa8d.js +0 -2
  71. package/dist/chunks/9027.397f0c1f.js +0 -2
  72. package/dist/chunks/chat-preview.8de942c9.js +0 -3
  73. package/dist/chunks/check-editor-by-name.73728483.js +0 -2
  74. package/dist/chunks/main.1c9f57b6.js +0 -2
  75. package/dist/chunks/pre-generated-preview.da3f0cc6.js +0 -3
  76. package/dist/chunks/property-editor.81603794.js +0 -2
  77. package/dist/chunks/workbench-action-list.06eae580.js +0 -2
  78. package/dist/chunks/workbench-history-action.81a1f9d8.js +0 -3
  79. package/dist/index.647b0e56.js +0 -2
  80. package/dist/index.647b0e56.js.map +0 -1
  81. /package/dist/chunks/{2252.043616c7.js.LICENSE.txt → 2252.395062aa.js.LICENSE.txt} +0 -0
  82. /package/dist/chunks/{4947.0103ed62.js.LICENSE.txt → 4947.87265cf9.js.LICENSE.txt} +0 -0
  83. /package/dist/chunks/{5659.c2b28502.js.LICENSE.txt → 5659.9000e441.js.LICENSE.txt} +0 -0
  84. /package/dist/chunks/{6233.18a64bb2.js.LICENSE.txt → 6233.f90eb59c.js.LICENSE.txt} +0 -0
  85. /package/dist/chunks/{chat-conversation.064750a3.js.LICENSE.txt → chat-conversation.06c03ce2.js.LICENSE.txt} +0 -0
  86. /package/dist/chunks/{chat-preview.8de942c9.js.LICENSE.txt → chat-preview.e4753612.js.LICENSE.txt} +0 -0
  87. /package/dist/chunks/{contract-select.531ce760.js.LICENSE.txt → contract-select.148bab93.js.LICENSE.txt} +0 -0
  88. /package/dist/chunks/{pre-generated-preview.da3f0cc6.js.LICENSE.txt → pre-generated-preview.99a84845.js.LICENSE.txt} +0 -0
  89. /package/dist/chunks/{workbench-history-action.81a1f9d8.js.LICENSE.txt → workbench-history-action.b7d27978.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[5552,3171,790],{5552:(e,n,t)=>{t.r(n),t.d(n,{i18n:()=>p,i18nText:()=>l,initializeI18n:()=>o});var i=t(2350),s=t(8799),r=t(7072);let u=!1;const a=new Set;function o(e,n){if(u||(u=!0,s.i18n.use(r.default).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{}})),e&&n&&!a.has(e)){a.add(e);for(const[t,i]of Object.entries(n))s.i18n.addResourceBundle(t,e,i)}}var c=t(3453);function l(e){if(!e)return;const n=s.i18n.language??"zh-CN";if((0,c.hasOwnProperty)(e,n))return e[n];const t=n.split("-")[0];if(t!==n)return(0,c.hasOwnProperty)(e,t)?e[t]:void 0;const i=`${t}-`;for(const n of Object.keys(e))if(n.startsWith(i))return e[n]}const p=i.default}}]);
2
- //# sourceMappingURL=5552.8c2ed047.js.map
1
+ "use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[5552,3171,790],{5552:(e,n,t)=>{t.r(n),t.d(n,{i18n:()=>p,i18nText:()=>l,initializeI18n:()=>o});var i=t(2350),s=t(8799),r=t(7072);let u=!1;const a=new Set;function o(e,n){if(u||(u=!0,s.i18n.use(r.default).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{}})),e&&n&&!a.has(e)){a.add(e);for(const[t,i]of Object.entries(n))s.i18n.addResourceBundle(t,e,i)}}var c=t(8896);function l(e){if(!e)return;const n=s.i18n.language??"zh-CN";if((0,c.hasOwnProperty)(e,n))return e[n];const t=n.split("-")[0];if(t!==n)return(0,c.hasOwnProperty)(e,t)?e[t]:void 0;const i=`${t}-`;for(const n of Object.keys(e))if(n.startsWith(i))return e[n]}const p=i.default}}]);
2
+ //# sourceMappingURL=5552.cabbd277.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/5552.8c2ed047.js","mappings":"gQAEA,IAAIA,GAAc,EAClB,MAAMC,EAAwB,IAAIC,IAC3B,SAASC,EAAeC,EAAIC,GAwBjC,GAvBKL,IACHA,GAAc,EACd,EAAAM,KAICC,IAAmF,WAEnFC,KAAK,CACJC,YAAa,KACbC,OAAO,EACPC,cAAe,CAAC,KAAM,MACtBC,0BAA0B,EAC1BC,cAAe,CACbC,aAAa,GAEfC,MAAO,CACLC,aAAa,GAEfC,kBAAmB,KACnBC,UAAW,CAAC,KAGXd,GAAOC,IAAWJ,EAAsBkB,IAAIf,GAAjD,CAGAH,EAAsBmB,IAAIhB,GAC1B,IAAK,MAAOiB,EAAMH,KAAcI,OAAOC,QAAQlB,GAC7C,EAAAC,KAAKkB,kBAAkBH,EAAMjB,EAAIc,EAHnC,CAKF,C,cCjCO,SAASO,EAASC,GACvB,IAAKA,EACH,OAEF,MAAMC,EAAW,EAAArB,KAAKqB,UAAY,QAElC,IAAI,IAAAC,gBAAeF,EAAMC,GACvB,OAAOD,EAAKC,GAGd,MAAME,EAAkBF,EAASG,MAAM,KAAK,GAC5C,GAAID,IAAoBF,EAGtB,OAAO,IAAAC,gBAAeF,EAAMG,GAAmBH,EAAKG,QAAmBE,EAKzE,MAAMC,EAAS,GAAGH,KAClB,IAAK,MAAMI,KAAOX,OAAOY,KAAKR,GAC5B,GAAIO,EAAIE,WAAWH,GACjB,OAAON,EAAKO,EAGlB,CC1BO,MAAM3B,EAA6E,S","sources":["webpack:///../../node_modules/@next-core/i18n/dist/esm/init.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/text.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/index.js"],"sourcesContent":["import { i18n } from \"@next-core/i18n\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nlet initialized = false;\nconst initializedNamespaces = new Set();\nexport function initializeI18n(NS, locales) {\n if (!initialized) {\n initialized = true;\n i18n\n // learn more: https://github.com/i18next/i18next-xhr-backend\n // .use(Backend)\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(process.env.NODE_ENV === \"test\" ? LanguageDetector : /* istanbul ignore next */LanguageDetector.default)\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n fallbackLng: \"zh\",\n debug: process.env.NODE_ENV === \"development\",\n supportedLngs: [\"zh\", \"en\"],\n nonExplicitSupportedLngs: true,\n interpolation: {\n escapeValue: false // not needed for react as it escapes by default\n },\n react: {\n useSuspense: false\n },\n compatibilityJSON: \"v3\",\n resources: {}\n });\n }\n if (!NS || !locales || initializedNamespaces.has(NS)) {\n return;\n }\n initializedNamespaces.add(NS);\n for (const [lang, resources] of Object.entries(locales)) {\n i18n.addResourceBundle(lang, NS, resources);\n }\n}\n//# sourceMappingURL=init.js.map","import { i18n } from \"@next-core/i18n\";\nimport { hasOwnProperty } from \"@next-core/utils/general\";\nexport function i18nText(data) {\n if (!data) {\n return;\n }\n const language = i18n.language ?? \"zh-CN\";\n // First, make a perfect match.\n if (hasOwnProperty(data, language)) {\n return data[language];\n }\n // https://en.wikipedia.org/wiki/IETF_language_tag\n const primaryLanguage = language.split(\"-\")[0];\n if (primaryLanguage !== language) {\n // Then, match the primary language (which omits other subtags).\n // E.g., match `zh` if the current language is `zh-CN`.\n return hasOwnProperty(data, primaryLanguage) ? data[primaryLanguage] : undefined;\n }\n // At last, match the first key which starts with the primary language,\n // if the current language contains primary subtag only.\n // E.g., match `zh-CN` if the current language is `zh`.\n const prefix = `${primaryLanguage}-`;\n for (const key of Object.keys(data)) {\n if (key.startsWith(prefix)) {\n return data[key];\n }\n }\n}\n//# sourceMappingURL=text.js.map","import i18next from \"i18next\";\nexport const i18n = process.env.NODE_ENV === \"test\" ? i18next : /* istanbul ignore next */i18next.default;\nexport * from \"./init.js\";\nexport * from \"./text.js\";\n//# sourceMappingURL=index.js.map"],"names":["initialized","initializedNamespaces","Set","initializeI18n","NS","locales","i18n","use","init","fallbackLng","debug","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","has","add","lang","Object","entries","addResourceBundle","i18nText","data","language","hasOwnProperty","primaryLanguage","split","undefined","prefix","key","keys","startsWith"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/5552.cabbd277.js","mappings":"gQAEA,IAAIA,GAAc,EAClB,MAAMC,EAAwB,IAAIC,IAC3B,SAASC,EAAeC,EAAIC,GAwBjC,GAvBKL,IACHA,GAAc,EACd,EAAAM,KAICC,IAAmF,WAEnFC,KAAK,CACJC,YAAa,KACbC,OAAO,EACPC,cAAe,CAAC,KAAM,MACtBC,0BAA0B,EAC1BC,cAAe,CACbC,aAAa,GAEfC,MAAO,CACLC,aAAa,GAEfC,kBAAmB,KACnBC,UAAW,CAAC,KAGXd,GAAOC,IAAWJ,EAAsBkB,IAAIf,GAAjD,CAGAH,EAAsBmB,IAAIhB,GAC1B,IAAK,MAAOiB,EAAMH,KAAcI,OAAOC,QAAQlB,GAC7C,EAAAC,KAAKkB,kBAAkBH,EAAMjB,EAAIc,EAHnC,CAKF,C,cCjCO,SAASO,EAASC,GACvB,IAAKA,EACH,OAEF,MAAMC,EAAW,EAAArB,KAAKqB,UAAY,QAElC,IAAI,IAAAC,gBAAeF,EAAMC,GACvB,OAAOD,EAAKC,GAGd,MAAME,EAAkBF,EAASG,MAAM,KAAK,GAC5C,GAAID,IAAoBF,EAGtB,OAAO,IAAAC,gBAAeF,EAAMG,GAAmBH,EAAKG,QAAmBE,EAKzE,MAAMC,EAAS,GAAGH,KAClB,IAAK,MAAMI,KAAOX,OAAOY,KAAKR,GAC5B,GAAIO,EAAIE,WAAWH,GACjB,OAAON,EAAKO,EAGlB,CC1BO,MAAM3B,EAA6E,S","sources":["webpack:///../../node_modules/@next-core/i18n/dist/esm/init.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/text.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/index.js"],"sourcesContent":["import { i18n } from \"@next-core/i18n\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nlet initialized = false;\nconst initializedNamespaces = new Set();\nexport function initializeI18n(NS, locales) {\n if (!initialized) {\n initialized = true;\n i18n\n // learn more: https://github.com/i18next/i18next-xhr-backend\n // .use(Backend)\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(process.env.NODE_ENV === \"test\" ? LanguageDetector : /* istanbul ignore next */LanguageDetector.default)\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n fallbackLng: \"zh\",\n debug: process.env.NODE_ENV === \"development\",\n supportedLngs: [\"zh\", \"en\"],\n nonExplicitSupportedLngs: true,\n interpolation: {\n escapeValue: false // not needed for react as it escapes by default\n },\n react: {\n useSuspense: false\n },\n compatibilityJSON: \"v3\",\n resources: {}\n });\n }\n if (!NS || !locales || initializedNamespaces.has(NS)) {\n return;\n }\n initializedNamespaces.add(NS);\n for (const [lang, resources] of Object.entries(locales)) {\n i18n.addResourceBundle(lang, NS, resources);\n }\n}\n//# sourceMappingURL=init.js.map","import { i18n } from \"@next-core/i18n\";\nimport { hasOwnProperty } from \"@next-core/utils/general\";\nexport function i18nText(data) {\n if (!data) {\n return;\n }\n const language = i18n.language ?? \"zh-CN\";\n // First, make a perfect match.\n if (hasOwnProperty(data, language)) {\n return data[language];\n }\n // https://en.wikipedia.org/wiki/IETF_language_tag\n const primaryLanguage = language.split(\"-\")[0];\n if (primaryLanguage !== language) {\n // Then, match the primary language (which omits other subtags).\n // E.g., match `zh` if the current language is `zh-CN`.\n return hasOwnProperty(data, primaryLanguage) ? data[primaryLanguage] : undefined;\n }\n // At last, match the first key which starts with the primary language,\n // if the current language contains primary subtag only.\n // E.g., match `zh-CN` if the current language is `zh`.\n const prefix = `${primaryLanguage}-`;\n for (const key of Object.keys(data)) {\n if (key.startsWith(prefix)) {\n return data[key];\n }\n }\n}\n//# sourceMappingURL=text.js.map","import i18next from \"i18next\";\nexport const i18n = process.env.NODE_ENV === \"test\" ? i18next : /* istanbul ignore next */i18next.default;\nexport * from \"./init.js\";\nexport * from \"./text.js\";\n//# sourceMappingURL=index.js.map"],"names":["initialized","initializedNamespaces","Set","initializeI18n","NS","locales","i18n","use","init","fallbackLng","debug","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","has","add","lang","Object","entries","addResourceBundle","i18nText","data","language","hasOwnProperty","primaryLanguage","split","undefined","prefix","key","keys","startsWith"],"sourceRoot":""}