@gramlot/gramlot 0.3.32 → 0.3.34
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/components/audio/__init__.py +1 -1
- package/dist/components/audio/assets/collection.js +2 -2
- package/dist/components/audio/assets/index.js +1 -1
- package/dist/components/charts/__init__.py +2 -2
- package/dist/components/charts/assets/collection.js +24 -43
- package/dist/components/charts/assets/index.js +1 -1
- package/dist/components/charts/assets/modules/chunk-USZCUBTC.js +1 -0
- package/dist/components/charts/assets/modules/echarts-gl.min-N6L67H2M.js +4282 -0
- package/dist/components/charts/assets/modules/echarts.esm.min-VHLRZDVQ.js +61 -0
- package/dist/components/charts/assets/modules/{plotly.min-4LB7HE7P.js → plotly.min-SSDU2DOH.js} +1 -1
- package/dist/components/charts/assets/modules/{uPlot.esm-5JJNHHRF.js → uPlot.esm-Q2UYUQHJ.js} +1 -1
- package/dist/components/charts/assets/modules/{uPlot.min-N3E3FA74.js → uPlot.min-XXHNQFXH.js} +1 -1
- package/dist/components/charts/assets/modules/{vega.module-2QCOVQ3A.js → vega.module-Y5CWNSZO.js} +1 -1
- package/dist/components/charts/grammar.json +15482 -232
- package/dist/components/chat/__init__.py +1 -1
- package/dist/components/chat/assets/collection.js +3 -3
- package/dist/components/chat/assets/index.js +1 -1
- package/dist/components/drawing/__init__.py +1 -1
- package/dist/components/drawing/assets/collection.js +3 -24
- package/dist/components/drawing/assets/index.js +1 -1
- package/dist/components/editors/__init__.py +2 -2
- package/dist/components/editors/assets/collection.js +2 -47
- package/dist/components/editors/assets/index.js +1 -1
- package/dist/components/editors/assets/modules/{jodit-engine-MTSA4GZ3.js → jodit-engine-CXRSFV47.js} +6 -6
- package/dist/components/grid/__init__.py +2 -2
- package/dist/components/grid/assets/collection.js +6 -28
- package/dist/components/grid/assets/index.js +1 -1
- package/dist/components/grid/assets/modules/{browser-LVJHKBBV.js → browser-Y2BRNI3P.js} +1 -1
- package/dist/components/grid/assets/modules/chunk-BLMUM44K.js +1 -0
- package/dist/components/grouplets/__init__.py +1 -1
- package/dist/components/grouplets/assets/collection.js +3 -3
- package/dist/components/grouplets/assets/index.js +1 -1
- package/dist/components/inputs/__init__.py +1 -1
- package/dist/components/inputs/assets/collection.js +8 -65
- package/dist/components/inputs/assets/index.js +1 -1
- package/dist/components/layout/__init__.py +1 -1
- package/dist/components/layout/assets/collection.js +9 -30
- package/dist/components/layout/assets/index.js +1 -1
- package/dist/components/selection_trial/__init__.py +1 -1
- package/dist/components/selection_trial/assets/collection.js +3 -3
- package/dist/components/selection_trial/assets/index.js +1 -1
- package/dist/components/tree/__init__.py +1 -1
- package/dist/components/tree/assets/collection.js +6 -27
- package/dist/components/tree/assets/index.js +1 -1
- package/dist/components/typst/__init__.py +1 -1
- package/dist/components/typst/assets/collection.js +3 -3
- package/dist/components/typst/assets/index.js +1 -1
- package/dist/components/uploads/__init__.py +1 -1
- package/dist/components/uploads/assets/collection.js +3 -30
- package/dist/components/uploads/assets/index.js +1 -1
- package/dist/components/vizabi/__init__.py +1 -1
- package/dist/components/vizabi/assets/collection.js +3 -21
- package/dist/components/vizabi/assets/index.js +1 -1
- package/dist/gramlot.js +1599 -59
- package/dist/gramlot.min.js +49 -48
- package/dist/libraries.json +126 -0
- package/dist/runtime-notices.json +4 -0
- package/dist/standard-collections.js +1 -1
- package/package.json +2 -2
- package/src/components/chart-boxplot-options.js +22 -0
- package/src/components/chart-candlestick-options.js +27 -0
- package/src/components/chart-controls.js +28 -6
- package/src/components/chart-domains.js +1 -1
- package/src/components/chart-engines/echarts.js +28 -4
- package/src/components/chart-engines/plotly.js +3 -2
- package/src/components/chart-engines/uplot.js +5 -3
- package/src/components/chart-engines/vega.js +2 -1
- package/src/components/chart-fields.js +11 -1
- package/src/components/chart-funnel-options.js +19 -0
- package/src/components/chart-gauge-options.js +98 -0
- package/src/components/chart-gauge.js +109 -0
- package/src/components/chart-heatmap-options.js +29 -0
- package/src/components/chart-notice.js +126 -0
- package/src/components/chart-pane.js +7 -1
- package/src/components/chart-parallel-options.js +24 -0
- package/src/components/chart-radar-options.js +29 -0
- package/src/components/chart-renderer.js +3 -9
- package/src/components/chart-sankey-options.js +43 -0
- package/src/components/chart-sunburst-options.js +12 -0
- package/src/components/chart-syntax.js +82 -0
- package/src/components/chart-time.js +2 -1
- package/src/components/chart-treemap-options.js +16 -0
- package/src/components/chart-type-data.js +62 -0
- package/src/components/chart-types/area.js +6 -1
- package/src/components/chart-types/bar.js +6 -1
- package/src/components/chart-types/bar3D.js +7 -1
- package/src/components/chart-types/boxplot.js +11 -0
- package/src/components/chart-types/candlestick.js +10 -0
- package/src/components/chart-types/donut.js +6 -1
- package/src/components/chart-types/funnel.js +7 -0
- package/src/components/chart-types/heatmap.js +8 -0
- package/src/components/chart-types/horizontalBar.js +6 -1
- package/src/components/chart-types/index.js +21 -1
- package/src/components/chart-types/line.js +6 -1
- package/src/components/chart-types/line3D.js +7 -1
- package/src/components/chart-types/lines3D.js +7 -1
- package/src/components/chart-types/map.js +7 -1
- package/src/components/chart-types/map3D.js +6 -1
- package/src/components/chart-types/mapBar3D.js +6 -1
- package/src/components/chart-types/parallel.js +7 -0
- package/src/components/chart-types/pie.js +6 -1
- package/src/components/chart-types/polygons3D.js +7 -1
- package/src/components/chart-types/radar.js +7 -0
- package/src/components/chart-types/sankey.js +8 -0
- package/src/components/chart-types/scatter.js +6 -1
- package/src/components/chart-types/scatter3D.js +7 -1
- package/src/components/chart-types/stackedArea.js +6 -1
- package/src/components/chart-types/stackedBar.js +6 -1
- package/src/components/chart-types/sunburst.js +7 -0
- package/src/components/chart-types/surface.js +7 -1
- package/src/components/chart-types/treemap.js +7 -0
- package/src/components/charts.js +60 -13
- package/src/components/code-mirror.js +2 -1
- package/src/components/grid-tools.js +2 -1
- package/src/components/html-editor.js +2 -1
- package/src/components/markdown-editor.js +2 -1
- package/src/components/registry.js +9 -5
- package/src/components/typst-preview.js +2 -1
- package/src/index.d.ts +16 -0
- package/src/index.js +5 -0
- package/src/libraries.js +83 -0
- package/src/page-store-connection.js +15 -5
- package/src/server/gramlot-server.d.ts +8 -0
- package/src/server/gramlot-server.js +40 -4
- package/src/shared-modules.js +79 -0
- package/dist/components/charts/assets/modules/chunk-2CCTLZE7.js +0 -76
- package/dist/components/charts/assets/modules/chunk-RMRBEYTI.js +0 -1
- package/dist/components/charts/assets/modules/echarts-gl-CXVTZA6G.js +0 -4409
- package/dist/components/grid/assets/modules/chunk-RMRBEYTI.js +0 -1
|
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
|
|
|
8
8
|
module="assets/index.js",
|
|
9
9
|
css=(),
|
|
10
10
|
dependencies=(),
|
|
11
|
-
build_id="sha256:
|
|
11
|
+
build_id="sha256:4b6d67de76fe837ceee961f8817b18c7c0545b6c8d5b74986c1d8664c691f593",
|
|
12
12
|
files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
|
|
13
13
|
)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var u=(e,t)=>{for(var o in t)m(e,o,{get:t[o],enumerable:!0})},l=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of p(t))!x.call(e,r)&&r!==o&&m(e,r,{get:()=>t[r],enumerable:!(s=h(t,r))||s.enumerable});return e},n=(e,t,o)=>(l(e,t,"default"),o&&l(o,t,"default"));var a={};u(a,{defineCollection:()=>i});n(a,E);import*as E from"@gramlot/gramlot/components";import{defineCollection as b}from"@gramlot/gramlot/components";function i(e){if(e.name!=="chat")throw new Error("Unexpected bundled collection");let t=[],o={};e.css?.forEach((s,r)=>{s.href=t[r].href});for(let[s,r]of Object.entries(e.assets??{}))r.href=o[s].href;return b({...e,css:t,assets:o})}import{sharedModules as f}from"@gramlot/gramlot";var g=e=>f["./components/parameters.js"][e];var d=g("projectParameters");function c(e){return class extends e{constructor(){super();let t=this.attachShadow({mode:"open"}),o=this.ownerDocument.createElement("style");o.textContent=`:host{box-sizing:border-box;display:block;min-width:0;font:inherit;color:var(--gramlot-ink,CanvasText)}
|
|
2
2
|
*,*::before,*::after{box-sizing:border-box}.control-box{min-width:0}slot{display:contents}
|
|
3
|
-
::slotted(*){min-width:0;max-width:100%}`,this.controlBox=this.ownerDocument.createElement("div"),this.controlBox.className="control-box",this.control=this.controlBox,this.control.id="control",this.control.append(this.ownerDocument.createElement("slot")),t.append(o,this.controlBox)}projectAttributes(t){return
|
|
3
|
+
::slotted(*){min-width:0;max-width:100%}`,this.controlBox=this.ownerDocument.createElement("div"),this.controlBox.className="control-box",this.control=this.controlBox,this.control.id="control",this.control.append(this.ownerDocument.createElement("slot")),t.append(o,this.controlBox)}projectAttributes(t){return d(this,t)}}}c.parameters={};var w=(0,a.defineComponent)({name:"chatMessages",tag:"gramlot-chat-messages",base:c,subTags:"*",implementation:e=>class extends e{constructor(){super();let t=this.ownerDocument.createElement("style");t.textContent=`:host{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
|
|
4
4
|
.control-box{padding:20px max(20px,calc((100% - 880px)/2))}
|
|
5
5
|
::slotted(article){box-sizing:border-box;margin:0 0 24px;padding:16px 20px;border-radius:18px;
|
|
6
6
|
line-height:1.6;overflow-wrap:anywhere;background:var(--gramlot-chat-assistant-background,
|
|
7
7
|
color-mix(in srgb,var(--gramlot-surface-subtle,#eee) 88%,#628099))}
|
|
8
8
|
::slotted(article[data-role=user]){width:fit-content;max-width:85%;margin-left:auto;padding:12px 18px;
|
|
9
|
-
border-radius:20px;background:var(--gramlot-chat-bubble,var(--gramlot-surface-subtle,#eee))}`,this.shadowRoot.append(t)}connectedCallback(){this.setAttribute("role","log"),this.setAttribute("aria-label","Conversation messages"),this.setAttribute("aria-live","polite"),this.tabIndex=0}}}),
|
|
9
|
+
border-radius:20px;background:var(--gramlot-chat-bubble,var(--gramlot-surface-subtle,#eee))}`,this.shadowRoot.append(t)}connectedCallback(){this.setAttribute("role","log"),this.setAttribute("aria-label","Conversation messages"),this.setAttribute("aria-live","polite"),this.tabIndex=0}}}),V=i({name:"chat",components:[w]});export{w as ChatMessages,V as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export {default} from "./collection.js";
|
|
2
2
|
export * from "./collection.js";
|
|
3
|
-
export const buildId = "sha256:
|
|
3
|
+
export const buildId = "sha256:4b6d67de76fe837ceee961f8817b18c7c0545b6c8d5b74986c1d8664c691f593";
|
|
@@ -10,6 +10,6 @@ mygramlot = GramlotCollection(
|
|
|
10
10
|
module="assets/index.js",
|
|
11
11
|
css=(),
|
|
12
12
|
dependencies=(_dependency_0, _dependency_1,),
|
|
13
|
-
build_id="sha256:
|
|
13
|
+
build_id="sha256:0cec926fc95ed6c725e0a7e567f58862c08ad8b65a56db947c1c26f769a08a57",
|
|
14
14
|
files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
|
|
15
15
|
)
|