@scbt-ecom/ui 0.107.1 → 0.108.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 (45) hide show
  1. package/dist/lib/shared/ui/formElements/controlled/editor/EditorControl.js +1 -1
  2. package/dist/lib/shared/ui/formElements/controlled/editor/EditorControl.js.map +1 -1
  3. package/dist/lib/shared/ui/formElements/controlled/editor/model/config.js +1 -1
  4. package/dist/lib/shared/ui/formElements/controlled/editor/model/config.js.map +1 -1
  5. package/dist/lib/shared/ui/formElements/controlled/editor/model/extensions.js +2 -0
  6. package/dist/lib/shared/ui/formElements/controlled/editor/model/extensions.js.map +1 -0
  7. package/dist/lib/shared/ui/formElements/controlled/editor/model/helper.js +1 -1
  8. package/dist/lib/shared/ui/formElements/controlled/editor/model/helper.js.map +1 -1
  9. package/dist/lib/shared/ui/formElements/controlled/editor/model/index.js +2 -0
  10. package/dist/lib/shared/ui/formElements/controlled/editor/model/index.js.map +1 -0
  11. package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js +1 -1
  12. package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js.map +1 -1
  13. package/dist/lib/shared/ui/formElements/controlled/editor/ui/Toolbar.js +1 -1
  14. package/dist/lib/shared/ui/formElements/controlled/editor/ui/Toolbar.js.map +1 -1
  15. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetColor.js +1 -1
  16. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetColor.js.map +1 -1
  17. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.js +1 -1
  18. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.js.map +1 -1
  19. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetFontSize.js +2 -0
  20. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetFontSize.js.map +1 -0
  21. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetHeadings.js +1 -1
  22. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/SetHeadings.js.map +1 -1
  23. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/index.js +1 -1
  24. package/dist/lib/shared/ui/formElements/controlled/editor/ui/commands/setCustomLink.js.map +1 -1
  25. package/dist/lib/shared/ui/icon/allowedIcons.js +1 -1
  26. package/dist/lib/shared/ui/icon/allowedIcons.js.map +1 -1
  27. package/dist/lib/shared/ui/icon/iconsMap.js +1 -1
  28. package/dist/lib/shared/ui/icon/iconsMap.js.map +1 -1
  29. package/dist/lib/widgets/model/helpers.js +2 -2
  30. package/dist/lib/widgets/model/helpers.js.map +1 -1
  31. package/dist/static/editor/fonts.svg.js +2 -0
  32. package/dist/static/editor/fonts.svg.js.map +1 -0
  33. package/dist/static/static/editor/fonts.svg +1 -0
  34. package/dist/stats.html +1 -1
  35. package/dist/types/lib/shared/ui/formElements/controlled/editor/model/config.d.ts +1 -1
  36. package/dist/types/lib/shared/ui/formElements/controlled/editor/model/extensions.d.ts +10 -0
  37. package/dist/types/lib/shared/ui/formElements/controlled/editor/model/helper.d.ts +6 -2
  38. package/dist/types/lib/shared/ui/formElements/controlled/editor/model/index.d.ts +4 -0
  39. package/dist/types/lib/shared/ui/formElements/controlled/editor/model/types.d.ts +1 -5
  40. package/dist/types/lib/shared/ui/formElements/controlled/editor/ui/Editor.d.ts +0 -3
  41. package/dist/types/lib/shared/ui/formElements/controlled/editor/ui/commands/SetFontSize.d.ts +5 -0
  42. package/dist/types/lib/shared/ui/formElements/controlled/editor/ui/commands/index.d.ts +1 -0
  43. package/dist/types/lib/shared/ui/icon/allowedIcons.d.ts +2 -2
  44. package/dist/types/lib/shared/ui/icon/iconsMap.d.ts +6 -0
  45. package/package.json +6 -6
@@ -1 +1 @@
1
- {"version":3,"mappings":";iGACA,MAAMA,EAASC,EAAK,UAAM,OAAO,qBAAkB,uuGAAC,EAC9CC,EAAaD,EAAK,UAAM,OAAO,6BAA0B,65GAAC,EAC1DE,EAAcF,EAAK,UAAM,OAAO,+BAA4B,22GAAC,EAC7DG,EAAoBH,EAAK,UAAM,OAAO,2CAAwC,+1GAAC,EAC/EI,EAASJ,EAAK,UAAM,OAAO,qBAAkB,2iGAAC,EAC9CK,EAASL,EAAK,UAAM,OAAO,qBAAkB,qhGAAC,EAC9CM,EAAeN,EAAK,UAAM,OAAO,iCAA8B,uhGAAC,EAChEO,EAAaP,EAAK,UAAM,OAAO,6BAA0B,qhGAAC,EAC1DQ,EAAYR,EAAK,UAAM,OAAO,2BAAwB,2kGAAC,EACvDS,EAAUT,EAAK,UAAM,OAAO,uBAAoB,2kGAAC,EACjDU,EAAaV,EAAK,UAAM,OAAO,6BAA0B,+jGAAC,EAC1DW,EAAUX,EAAK,UAAM,OAAO,uBAAoB,ygGAAC,EACjDY,EAAYZ,EAAK,UAAM,OAAO,2BAAwB,yhGAAC,EACvDa,EAAeb,EAAK,UAAM,OAAO,iCAA8B,moGAAC,EAIzDc,EAAkB,CAC7B,OAAQT,EACR,UAAWG,EACX,OAAQT,EACR,WAAYE,EACZ,KAAMC,EACN,WAAYC,EACZ,QAASM,EACT,QAASE,EACT,WAAYJ,EACZ,WAAYG,EACZ,aAAcJ,EACd,OAAQF,EACR,UAAWQ,EACX,aAAcC,CAChB,EAEaE,EAAsB,OAAO,KAAKD,CAAe,EAEjDE,EAAYD,EAAoB,OAC3C,CAACE,EAAKC,KACJD,EAAIC,CAAM,EAAIA,EACPD,GAET,EACF","names":["Banner","lazy","Calculator","DynamicForm","DynamicFormDialog","Footer","Header","InterLinking","LongBanner","SeoHeader","Stepper","UsefulInfo","Benefit","InfoBlock","UserFeedback","WIDGET_LIST_MAP","KEYS_OF_WIDGET_LIST","widgetIds","acc","widget"],"ignoreList":[],"sources":["../../../../lib/widgets/model/helpers.ts"],"sourcesContent":["import { lazy } from 'react'\nconst Banner = lazy(() => import('../banner/Banner'))\nconst Calculator = lazy(() => import('../calculator/Calculator'))\nconst DynamicForm = lazy(() => import('../dynamicForm/DynamicForm'))\nconst DynamicFormDialog = lazy(() => import('../dynamicFormDialog/DynamicFormDialog'))\nconst Footer = lazy(() => import('../footer/Footer'))\nconst Header = lazy(() => import('../header/Header'))\nconst InterLinking = lazy(() => import('../interLinking/InterLinking'))\nconst LongBanner = lazy(() => import('../longBanner/LongBanner'))\nconst SeoHeader = lazy(() => import('../seoHeader/SeoHeader'))\nconst Stepper = lazy(() => import('../stepper/Stepper'))\nconst UsefulInfo = lazy(() => import('../usefulInfo/UsefulInfo'))\nconst Benefit = lazy(() => import('../benefit/Benefit'))\nconst InfoBlock = lazy(() => import('../infoBlock/InfoBlock'))\nconst UserFeedback = lazy(() => import('../userFeedback/UserFeedback'))\n\nexport type AllowedWidgets = keyof typeof WIDGET_LIST_MAP\n\nexport const WIDGET_LIST_MAP = {\n header: Header,\n seoHeader: SeoHeader,\n banner: Banner,\n calculator: Calculator,\n form: DynamicForm,\n formDialog: DynamicFormDialog,\n stepper: Stepper,\n benefit: Benefit,\n longBanner: LongBanner,\n usefulInfo: UsefulInfo,\n interLinking: InterLinking,\n footer: Footer,\n infoBlock: InfoBlock,\n userFeedback: UserFeedback\n} as const\n\nexport const KEYS_OF_WIDGET_LIST = Object.keys(WIDGET_LIST_MAP) as readonly AllowedWidgets[]\n\nexport const widgetIds = KEYS_OF_WIDGET_LIST.reduce(\n (acc, widget) => {\n acc[widget] = widget\n return acc\n },\n {} as Record<AllowedWidgets, AllowedWidgets>\n)\n"],"file":"lib/widgets/model/helpers.js"}
1
+ {"version":3,"mappings":";iGACA,MAAMA,EAASC,EAAK,UAAM,OAAO,qBAAkB,+uGAAC,EAC9CC,EAAaD,EAAK,UAAM,OAAO,6BAA0B,q6GAAC,EAC1DE,EAAcF,EAAK,UAAM,OAAO,+BAA4B,m3GAAC,EAC7DG,EAAoBH,EAAK,UAAM,OAAO,2CAAwC,u2GAAC,EAC/EI,EAASJ,EAAK,UAAM,OAAO,qBAAkB,mjGAAC,EAC9CK,EAASL,EAAK,UAAM,OAAO,qBAAkB,6hGAAC,EAC9CM,EAAeN,EAAK,UAAM,OAAO,iCAA8B,+hGAAC,EAChEO,EAAaP,EAAK,UAAM,OAAO,6BAA0B,6hGAAC,EAC1DQ,EAAYR,EAAK,UAAM,OAAO,2BAAwB,mlGAAC,EACvDS,EAAUT,EAAK,UAAM,OAAO,uBAAoB,mlGAAC,EACjDU,EAAaV,EAAK,UAAM,OAAO,6BAA0B,ukGAAC,EAC1DW,EAAUX,EAAK,UAAM,OAAO,uBAAoB,ihGAAC,EACjDY,EAAYZ,EAAK,UAAM,OAAO,2BAAwB,iiGAAC,EACvDa,EAAeb,EAAK,UAAM,OAAO,iCAA8B,4oGAAC,EAIzDc,EAAkB,CAC7B,OAAQT,EACR,UAAWG,EACX,OAAQT,EACR,WAAYE,EACZ,KAAMC,EACN,WAAYC,EACZ,QAASM,EACT,QAASE,EACT,WAAYJ,EACZ,WAAYG,EACZ,aAAcJ,EACd,OAAQF,EACR,UAAWQ,EACX,aAAcC,CAChB,EAEaE,EAAsB,OAAO,KAAKD,CAAe,EAEjDE,EAAYD,EAAoB,OAC3C,CAACE,EAAKC,KACJD,EAAIC,CAAM,EAAIA,EACPD,GAET,EACF","names":["Banner","lazy","Calculator","DynamicForm","DynamicFormDialog","Footer","Header","InterLinking","LongBanner","SeoHeader","Stepper","UsefulInfo","Benefit","InfoBlock","UserFeedback","WIDGET_LIST_MAP","KEYS_OF_WIDGET_LIST","widgetIds","acc","widget"],"ignoreList":[],"sources":["../../../../lib/widgets/model/helpers.ts"],"sourcesContent":["import { lazy } from 'react'\nconst Banner = lazy(() => import('../banner/Banner'))\nconst Calculator = lazy(() => import('../calculator/Calculator'))\nconst DynamicForm = lazy(() => import('../dynamicForm/DynamicForm'))\nconst DynamicFormDialog = lazy(() => import('../dynamicFormDialog/DynamicFormDialog'))\nconst Footer = lazy(() => import('../footer/Footer'))\nconst Header = lazy(() => import('../header/Header'))\nconst InterLinking = lazy(() => import('../interLinking/InterLinking'))\nconst LongBanner = lazy(() => import('../longBanner/LongBanner'))\nconst SeoHeader = lazy(() => import('../seoHeader/SeoHeader'))\nconst Stepper = lazy(() => import('../stepper/Stepper'))\nconst UsefulInfo = lazy(() => import('../usefulInfo/UsefulInfo'))\nconst Benefit = lazy(() => import('../benefit/Benefit'))\nconst InfoBlock = lazy(() => import('../infoBlock/InfoBlock'))\nconst UserFeedback = lazy(() => import('../userFeedback/UserFeedback'))\n\nexport type AllowedWidgets = keyof typeof WIDGET_LIST_MAP\n\nexport const WIDGET_LIST_MAP = {\n header: Header,\n seoHeader: SeoHeader,\n banner: Banner,\n calculator: Calculator,\n form: DynamicForm,\n formDialog: DynamicFormDialog,\n stepper: Stepper,\n benefit: Benefit,\n longBanner: LongBanner,\n usefulInfo: UsefulInfo,\n interLinking: InterLinking,\n footer: Footer,\n infoBlock: InfoBlock,\n userFeedback: UserFeedback\n} as const\n\nexport const KEYS_OF_WIDGET_LIST = Object.keys(WIDGET_LIST_MAP) as readonly AllowedWidgets[]\n\nexport const widgetIds = KEYS_OF_WIDGET_LIST.reduce(\n (acc, widget) => {\n acc[widget] = widget\n return acc\n },\n {} as Record<AllowedWidgets, AllowedWidgets>\n)\n"],"file":"lib/widgets/model/helpers.js"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";const t=r=>e.createElement("svg",{width:"64px",height:"64px",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},e.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),e.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("g",{id:"SVGRepo_iconCarrier"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.2261 2L0.11499 14H2.18111L2.95889 11H6.04092L6.81869 14H8.88482L5.77371 2H3.2261ZM5.5224 9L4.4999 5.05609L3.47741 9H5.5224Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.33682C13.5454 7.12085 13.0368 7 12.5 7C10.567 7 9.00004 8.567 9.00004 10.5C9.00004 12.433 10.567 14 12.5 14C13.0368 14 13.5454 13.8792 14 13.6632V14H16V7H14V7.33682ZM11 10.5C11 9.67157 11.6716 9 12.5 9C13.3285 9 14 9.67157 14 10.5C14 11.3284 13.3285 12 12.5 12C11.6716 12 11 11.3284 11 10.5Z",fill:"currentColor"})));export{t as default};
2
+ //# sourceMappingURL=fonts.svg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.svg.js","sources":["../../../static/editor/fonts.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgFonts = (props) => /* @__PURE__ */ React.createElement(\"svg\", { width: \"64px\", height: \"64px\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...props }, /* @__PURE__ */ React.createElement(\"g\", { id: \"SVGRepo_bgCarrier\", strokeWidth: 0 }), /* @__PURE__ */ React.createElement(\"g\", { id: \"SVGRepo_tracerCarrier\", strokeLinecap: \"round\", strokeLinejoin: \"round\" }), /* @__PURE__ */ React.createElement(\"g\", { id: \"SVGRepo_iconCarrier\" }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.2261 2L0.11499 14H2.18111L2.95889 11H6.04092L6.81869 14H8.88482L5.77371 2H3.2261ZM5.5224 9L4.4999 5.05609L3.47741 9H5.5224Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14 7.33682C13.5454 7.12085 13.0368 7 12.5 7C10.567 7 9.00004 8.567 9.00004 10.5C9.00004 12.433 10.567 14 12.5 14C13.0368 14 13.5454 13.8792 14 13.6632V14H16V7H14V7.33682ZM11 10.5C11 9.67157 11.6716 9 12.5 9C13.3285 9 14 9.67157 14 10.5C14 11.3284 13.3285 12 12.5 12C11.6716 12 11 11.3284 11 10.5Z\", fill: \"currentColor\" })));\nexport default SvgFonts;\n"],"names":["SvgFonts","props","React"],"mappings":"wBACK,MAACA,EAAYC,GAA0BC,EAAM,cAAc,MAAO,CAAE,MAAO,OAAQ,OAAQ,OAAQ,QAAS,YAAa,KAAM,OAAQ,MAAO,6BAA8B,GAAGD,CAAK,EAAoBC,EAAM,cAAc,IAAK,CAAE,GAAI,oBAAqB,YAAa,CAAC,CAAE,EAAmBA,EAAM,cAAc,IAAK,CAAE,GAAI,wBAAyB,cAAe,QAAS,eAAgB,OAAO,CAAE,EAAmBA,EAAM,cAAc,IAAK,CAAE,GAAI,qBAAqB,EAAoBA,EAAM,cAAc,OAAQ,CAAE,SAAU,UAAW,SAAU,UAAW,EAAG,iIAAkI,KAAM,cAAc,CAAE,EAAmBA,EAAM,cAAc,OAAQ,CAAE,SAAU,UAAW,SAAU,UAAW,EAAG,4SAA6S,KAAM,cAAc,CAAE,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ <svg width="64px" height="64px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path fill-rule="evenodd" clip-rule="evenodd" d="M3.2261 2L0.11499 14H2.18111L2.95889 11H6.04092L6.81869 14H8.88482L5.77371 2H3.2261ZM5.5224 9L4.4999 5.05609L3.47741 9H5.5224Z" fill="currentColor"></path> <path fill-rule="evenodd" clip-rule="evenodd" d="M14 7.33682C13.5454 7.12085 13.0368 7 12.5 7C10.567 7 9.00004 8.567 9.00004 10.5C9.00004 12.433 10.567 14 12.5 14C13.0368 14 13.5454 13.8792 14 13.6632V14H16V7H14V7.33682ZM11 10.5C11 9.67157 11.6716 9 12.5 9C13.3285 9 14 9.67157 14 10.5C14 11.3284 13.3285 12 12.5 12C11.6716 12 11 11.3284 11 10.5Z" fill="currentColor"></path> </g></svg>