@brightspot/ui 3.0.1-cms-ui-migration.4 → 5.0.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 (74) hide show
  1. package/dist/custom-elements.json +786 -786
  2. package/dist/storybook/assets/{ActionBar.stories-BZAVK1QG.js → ActionBar.stories-IDc5Jeit.js} +1 -1
  3. package/dist/storybook/assets/{ActionItem.stories-BqiWvlWi.js → ActionItem.stories-FKbziuZR.js} +1 -1
  4. package/dist/storybook/assets/{Avatar.stories-DkdB6hd_.js → Avatar.stories-BsAnn4F7.js} +1 -1
  5. package/dist/storybook/assets/{AvatarGroup.stories-DODqaIix.js → AvatarGroup.stories-BmNNGA4K.js} +1 -1
  6. package/dist/storybook/assets/{Badge.stories-DZoum08S.js → Badge.stories-BMb_-0Io.js} +1 -1
  7. package/dist/storybook/assets/{Button-BkmBgNO-.js → Button-D3vjfsjz.js} +1 -1
  8. package/dist/storybook/assets/{Button.stories-BFhCL2dp.js → Button.stories-VndkwLDv.js} +1 -1
  9. package/dist/storybook/assets/{ButtonGroup.stories-DlTGTvkq.js → ButtonGroup.stories-BvbNykTx.js} +1 -1
  10. package/dist/storybook/assets/{Celebrate.stories-m4d4zTEz.js → Celebrate.stories-DrrL3txs.js} +1 -1
  11. package/dist/storybook/assets/{Checkbox.stories-Y253YeU7.js → Checkbox.stories-BS4H3-cO.js} +1 -1
  12. package/dist/storybook/assets/{CircularProgress.stories-6BD8uV5G.js → CircularProgress.stories-YQfbjx-O.js} +1 -1
  13. package/dist/storybook/assets/{ClipboardMixin.stories-BkH66rIU.js → ClipboardMixin.stories-DjsApoGs.js} +1 -1
  14. package/dist/storybook/assets/{Color-6BZIO3FS-iG0OjPBU.js → Color-6BZIO3FS-D23VaL29.js} +1 -1
  15. package/dist/storybook/assets/{Colors.stories-BxiyQnEg.js → Colors.stories-B0Eo-AgP.js} +1 -1
  16. package/dist/storybook/assets/{CombinedEffects.stories-Bs3U7qRl.js → CombinedEffects.stories-CJv4PhDZ.js} +1 -1
  17. package/dist/storybook/assets/{ComponentStatesMixin-DampYb5c.js → ComponentStatesMixin-Bn8b1Qpq.js} +1 -1
  18. package/dist/storybook/assets/{ComponentStatesMixin.stories-CZ2OW7as.js → ComponentStatesMixin.stories-CM9Nn1Vr.js} +1 -1
  19. package/dist/storybook/assets/{CopyToClipboard.stories-CdlghjaE.js → CopyToClipboard.stories-DdwTxinQ.js} +1 -1
  20. package/dist/storybook/assets/{Debounce.stories-CymT8PnT.js → Debounce.stories-bdqs8xGz.js} +1 -1
  21. package/dist/storybook/assets/{DocsRenderer-LL677BLK-dqHCo-GE.js → DocsRenderer-LL677BLK-CdjX43FI.js} +3 -3
  22. package/dist/storybook/assets/{Dropdown.stories-B6JwKg-I.js → Dropdown.stories-wY7jzy1b.js} +1 -1
  23. package/dist/storybook/assets/{EmptyState.stories-Bk229lPH.js → EmptyState.stories-FpHAx68-.js} +1 -1
  24. package/dist/storybook/assets/{Events.stories-C8-k9cx8.js → Events.stories-gJAakVdu.js} +1 -1
  25. package/dist/storybook/assets/{Heading.stories-DIdnAQRG.js → Heading.stories-BqFtaYkf.js} +1 -1
  26. package/dist/storybook/assets/{HueRipple.stories-B1gXAEaH.js → HueRipple.stories-Bk1g8tT8.js} +1 -1
  27. package/dist/storybook/assets/{Icon.stories--1VJ0_yt.js → Icon.stories-sxRLpE9W.js} +1 -1
  28. package/dist/storybook/assets/{IconButton.stories-CS2rEIir.js → IconButton.stories-DjmbahEP.js} +1 -1
  29. package/dist/storybook/assets/{LinearProgress.stories-Bx0CQQls.js → LinearProgress.stories-DwJQwdLl.js} +1 -1
  30. package/dist/storybook/assets/{Pagination.stories-B4AogTXB.js → Pagination.stories-Cp-E5mN-.js} +1 -1
  31. package/dist/storybook/assets/{Popover.stories-BR88DPgU.js → Popover.stories-BRW3tYFh.js} +1 -1
  32. package/dist/storybook/assets/{ReadyMixin-n6qZO39Y.js → ReadyMixin-Btxswj_k.js} +1 -1
  33. package/dist/storybook/assets/{RovingTabindexMixin.stories-1xTJSMSv.js → RovingTabindexMixin.stories-CU7heX4w.js} +1 -1
  34. package/dist/storybook/assets/{Rtc.stories-Rt0A_rUZ.js → Rtc.stories-CGkrXg7-.js} +1 -1
  35. package/dist/storybook/assets/{ScrollShadow.stories-CjLdJyYu.js → ScrollShadow.stories-HPqnieYi.js} +1 -1
  36. package/dist/storybook/assets/{Switch.stories-CF8wO4v2.js → Switch.stories-SIix50Dz.js} +1 -1
  37. package/dist/storybook/assets/{Tab.stories-C8XNshog.js → Tab.stories-BJ0Dl--1.js} +1 -1
  38. package/dist/storybook/assets/{Tabs.stories-B01l4rQx.js → Tabs.stories-DEV7dhqr.js} +1 -1
  39. package/dist/storybook/assets/{Throttle.stories-Bpi0K5j9.js → Throttle.stories-5l5dcEMx.js} +1 -1
  40. package/dist/storybook/assets/{Tooltip.stories-BC4zMiZ1.js → Tooltip.stories-CJrvBRM9.js} +1 -1
  41. package/dist/storybook/assets/{Upload.stories-2pWv_fZ1.js → Upload.stories-HAndUW3D.js} +1 -1
  42. package/dist/storybook/assets/{UploadItem.stories-aLeAUM7y.js → UploadItem.stories-B-8IM6rL.js} +1 -1
  43. package/dist/storybook/assets/{Welcome.stories-DJV83eb7.js → Welcome.stories-Cy7QZEXf.js} +1 -1
  44. package/dist/storybook/assets/{Widget.stories-Cz0i2o6L.js → Widget.stories-DyTOXrSZ.js} +1 -1
  45. package/dist/storybook/assets/{WithTooltip-65CFNBJE-D8QwVYG8.js → WithTooltip-65CFNBJE-BF-px3XD.js} +1 -1
  46. package/dist/storybook/assets/{blocks-BFmpEZRy.js → blocks-B-r6Fucc.js} +5 -5
  47. package/dist/storybook/assets/{formatter-EIJCOSYU-CdwdJOPy.js → formatter-EIJCOSYU-BhTCWHea.js} +1 -1
  48. package/dist/storybook/assets/if-defined-CxLwFifW.js +1 -0
  49. package/dist/storybook/assets/{iframe-CyssRDCd.js → iframe-XJ17FJi7.js} +4 -4
  50. package/dist/storybook/assets/{index-B82i8dhg.js → index-CQ_bLab5.js} +1 -1
  51. package/dist/storybook/assets/{onFind-BFI1uIxr.js → onFind-RCD4BqgZ.js} +1 -1
  52. package/dist/storybook/assets/{onFind.stories-zZjQs_Gn.js → onFind.stories-CD7vXuRn.js} +1 -1
  53. package/dist/storybook/assets/{onRemove.stories-pFBwAIex.js → onRemove.stories-Dm8HrW-w.js} +1 -1
  54. package/dist/storybook/assets/{onVisible.stories-5dErOVRq.js → onVisible.stories-CigtHPTK.js} +1 -1
  55. package/dist/storybook/assets/{style-map-D0EcLEWO.js → style-map-C3PJ2niZ.js} +1 -1
  56. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY--2h_dVga.js → syntaxhighlighter-ED5Y7EFY-DIlzdeob.js} +1 -1
  57. package/dist/storybook/iframe.html +1 -1
  58. package/dist/storybook/project.json +1 -1
  59. package/package.json +1 -1
  60. package/src/legacy/tool-ui/src/CodeMirror.css +12 -0
  61. package/src/legacy/tool-ui/src/Entry.ts +19 -1
  62. package/src/legacy/tool-ui/src/ProseMirror-table.css +21 -1
  63. package/src/legacy/tool-ui/src/form/CodeInput/index.ts +1 -0
  64. package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.7561297911cca56da5dd.js → RTEProseMirror.e8521581e28e90ef6f30.js} +9 -9
  65. package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.f6f963eda2cb616b9661.js +1 -0
  66. package/src/legacy/tool-ui/src/main/webapp/dist/{v4.63bc3566a89786faeb89.js → v4.de442a0b430071a7803d.js} +3 -3
  67. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.5e5d7f655e174ddd85f5.css → v5.4b90971f9439c2cbd13d.css} +1 -1
  68. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.702238fcabd666eba152.js → v5.5ce74760f3fb482bec5e.js} +4 -4
  69. package/src/legacy/tool-ui/src/v5.ts +32 -10
  70. package/dist/storybook/assets/if-defined-gbJXriW-.js +0 -1
  71. package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.63f3b2303ab369a05073.js +0 -1
  72. /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.7561297911cca56da5dd.js.LICENSE.txt → RTEProseMirror.e8521581e28e90ef6f30.js.LICENSE.txt} +0 -0
  73. /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.63bc3566a89786faeb89.js.LICENSE.txt → v4.de442a0b430071a7803d.js.LICENSE.txt} +0 -0
  74. /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.702238fcabd666eba152.js.LICENSE.txt → v5.5ce74760f3fb482bec5e.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[6379],{95628(e,t,o){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}o.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},60021(e,t,o){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}o.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},35657(e,t,o){o.d(t,{default:()=>s}),o(44764),o(50144),o(84978),o(25809),o(91672),o(92191),o(68690),o(45299),o(94768),o(62128);var r=o(53608),a=o.n(r),i=o(80907);if(7717==o.j)var n=o(95628);class s{constructor(e){if(this._zoomInput=(0,n.A)(e,".regionMapZoom"),this._centerInput=(0,n.A)(e,".regionMapCenter"),this._geoJsonInput=(0,n.A)(e,".regionMapGeoJson"),!this._zoomInput||!this._centerInput||!this._geoJsonInput)return;const t=JSON.parse(this._centerInput.value),o=JSON.parse(this._geoJsonInput.value);this._map=a().map(e,{center:t,zoom:parseFloat(this._zoomInput.value),layers:[a().tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',referrerPolicy:"strict-origin-when-cross-origin"})]}),this._regionLayer=new(a().FeatureGroup),this._map.addLayer(this._regionLayer);const r={color:"#3a87ad",opacity:1,weight:4,fillColor:"#3a87ad",fillOpacity:.5};o.geometries&&o.geometries.forEach((e,t)=>{"MultiPolygon"===e.type&&o.geometries.splice(t,1)[0].coordinates.forEach(e=>{const t={type:"Polygon",coordinates:e};o.geometries.push(t)}),"Circle"===e.type&&(e.type="Point",Array.isArray(e.coordinates)&&e.coordinates.length>0&&Array.isArray(e.coordinates[0])&&e.coordinates[0].length>1&&(e.coordinates=[e.coordinates[0][1],e.coordinates[0][0]]))});const s=a().GeoJSON.geometryToLayer(o,{pointToLayer:(e,t)=>e.geometry&&"Point"===e.geometry.type&&e.geometry.radius>0?new(a().Circle)(t,e.geometry.radius):new(a().Marker)(t)});for(const e in s.getLayers()){const t=s.getLayers()[e];t.setStyle&&t.setStyle(r),this._regionLayer.addLayer(t)}this._regionLayer.setStyle(r),this._map.addControl(new(a().Control.Draw)({draw:{polyline:!1,rectangle:!1,marker:!1,circlemarker:!1,polygon:{allowIntersection:!1,shapeOptions:r},circle:{shapeOptions:r}},edit:{featureGroup:this._regionLayer,remove:!0}})),new i.Vn({provider:new i.F6,retainZoomLevel:!0,showMarker:!1}).addTo(this._map),this._map.on("geosearch/showlocation",e=>{e.location&&this.updateMarker(new(a().LatLng)(parseFloat(e.location.y),parseFloat(e.location.x)),e.location.label)}),a().control.locate({drawCircle:!1,markerStyle:{weight:2,radius:6},keepCurrentZoomLevel:!0,icon:"LocationMap-locateControl",iconLoading:"LocationMap-locateControl is-loading",strings:{title:"Set marker to your current location",popup:"<b>Current location</b><br/>(within {distance} {unit})"}}).addTo(this._map);var p=a().Circle.prototype.toGeoJSON;a().Circle.include({toGeoJSON(){var e=p.call(this);return e.geometry={type:"Circle",coordinates:[[this.getLatLng().lat,this.getLatLng().lng]],radius:this.getRadius()},e}}),this._map.on("draw:created",e=>{this._regionLayer.addLayer(e.layer),this.updateGeoJSON()}),this._map.on("draw:deleted",this.updateGeoJSON.bind(this)),this._map.on("draw:edited",this.updateGeoJSON.bind(this)),this._map.on("dragend",this.updateMapPosition.bind(this)),this._map.on("zoomend",this.updateMapPosition.bind(this))}updateGeoJSON(){const e=this._regionLayer.toGeoJSON();this._geoJsonInput.value=JSON.stringify(e)}updateMarker(e,t){if(this._marker)this._marker.setLatLng(e),this._marker.bindPopup(t||e.toString());else{const o=a().divIcon({className:"LocationMap-marker",iconSize:[36,36],iconAnchor:[18,36],popupAnchor:[0,-30]});this._marker=a().marker(e,{draggable:!0,autoPan:!0,icon:o}).bindPopup(t||e.toString()),this._marker.on("moveend",e=>{this._marker.bindPopup(e.target._latlng.toString())}),this._marker.addTo(this._map)}}updateMapPosition(){this._zoomInput.value=this._map.getZoom(),this._centerInput.value=JSON.stringify(this._map.getCenter())}}},22848(e,t,o){o.d(t,{default:()=>s}),o(57573),o(62953),o(49371),o(96648),o(56065),o(79382),o(81499),o(80489),o(7577),o(74937);var r=o(66417),a=o.n(r),i=o(68098);if(3324==o.j)var n=o(60021);class s{constructor(e){if(this._zoomInput=(0,n.A)(e,".regionMapZoom"),this._centerInput=(0,n.A)(e,".regionMapCenter"),this._geoJsonInput=(0,n.A)(e,".regionMapGeoJson"),!this._zoomInput||!this._centerInput||!this._geoJsonInput)return;const t=JSON.parse(this._centerInput.value),o=JSON.parse(this._geoJsonInput.value);this._map=a().map(e,{center:t,zoom:parseFloat(this._zoomInput.value),layers:[a().tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',referrerPolicy:"strict-origin-when-cross-origin"})]}),this._regionLayer=new(a().FeatureGroup),this._map.addLayer(this._regionLayer);const r={color:"#3a87ad",opacity:1,weight:4,fillColor:"#3a87ad",fillOpacity:.5};o.geometries&&o.geometries.forEach((e,t)=>{"MultiPolygon"===e.type&&o.geometries.splice(t,1)[0].coordinates.forEach(e=>{const t={type:"Polygon",coordinates:e};o.geometries.push(t)}),"Circle"===e.type&&(e.type="Point",Array.isArray(e.coordinates)&&e.coordinates.length>0&&Array.isArray(e.coordinates[0])&&e.coordinates[0].length>1&&(e.coordinates=[e.coordinates[0][1],e.coordinates[0][0]]))});const s=a().GeoJSON.geometryToLayer(o,{pointToLayer:(e,t)=>e.geometry&&"Point"===e.geometry.type&&e.geometry.radius>0?new(a().Circle)(t,e.geometry.radius):new(a().Marker)(t)});for(const e in s.getLayers()){const t=s.getLayers()[e];t.setStyle&&t.setStyle(r),this._regionLayer.addLayer(t)}this._regionLayer.setStyle(r),this._map.addControl(new(a().Control.Draw)({draw:{polyline:!1,rectangle:!1,marker:!1,circlemarker:!1,polygon:{allowIntersection:!1,shapeOptions:r},circle:{shapeOptions:r}},edit:{featureGroup:this._regionLayer,remove:!0}})),new i.Vn({provider:new i.F6,retainZoomLevel:!0,showMarker:!1}).addTo(this._map),this._map.on("geosearch/showlocation",e=>{e.location&&this.updateMarker(new(a().LatLng)(parseFloat(e.location.y),parseFloat(e.location.x)),e.location.label)}),a().control.locate({drawCircle:!1,markerStyle:{weight:2,radius:6},keepCurrentZoomLevel:!0,icon:"LocationMap-locateControl",iconLoading:"LocationMap-locateControl is-loading",strings:{title:"Set marker to your current location",popup:"<b>Current location</b><br/>(within {distance} {unit})"}}).addTo(this._map);var p=a().Circle.prototype.toGeoJSON;a().Circle.include({toGeoJSON(){var e=p.call(this);return e.geometry={type:"Circle",coordinates:[[this.getLatLng().lat,this.getLatLng().lng]],radius:this.getRadius()},e}}),this._map.on("draw:created",e=>{this._regionLayer.addLayer(e.layer),this.updateGeoJSON()}),this._map.on("draw:deleted",this.updateGeoJSON.bind(this)),this._map.on("draw:edited",this.updateGeoJSON.bind(this)),this._map.on("dragend",this.updateMapPosition.bind(this)),this._map.on("zoomend",this.updateMapPosition.bind(this))}updateGeoJSON(){const e=this._regionLayer.toGeoJSON();this._geoJsonInput.value=JSON.stringify(e)}updateMarker(e,t){if(this._marker)this._marker.setLatLng(e),this._marker.bindPopup(t||e.toString());else{const o=a().divIcon({className:"LocationMap-marker",iconSize:[36,36],iconAnchor:[18,36],popupAnchor:[0,-30]});this._marker=a().marker(e,{draggable:!0,autoPan:!0,icon:o}).bindPopup(t||e.toString()),this._marker.on("moveend",e=>{this._marker.bindPopup(e.target._latlng.toString())}),this._marker.addTo(this._map)}}updateMapPosition(){this._zoomInput.value=this._map.getZoom(),this._centerInput.value=JSON.stringify(this._map.getCenter())}}}}]);