patch: add new version of event (minor 4.1)
This commit is contained in:
parent
bf8905d4a4
commit
5f38b938b0
@ -29,7 +29,7 @@ if componentSet.has("dashboard")
|
|||||||
//- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer)
|
//- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer)
|
||||||
|
|
||||||
if componentSet.has("events")
|
if componentSet.has("events")
|
||||||
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@4.0", defer)
|
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@4.1", defer)
|
||||||
//- script(type="module", src="/lib/solid-event/solid-event.js", defer)
|
//- script(type="module", src="/lib/solid-event/solid-event.js", defer)
|
||||||
|
|
||||||
if componentSet.has("events") || componentSet.has("polls") || componentSet.has("resources")
|
if componentSet.has("events") || componentSet.has("polls") || componentSet.has("resources")
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
div.whitespace-normal
|
div.whitespace-normal
|
||||||
solid-event(data-src=`${component.endpoints.events}`
|
solid-event(
|
||||||
|
data-src=`${component.endpoints.events}`
|
||||||
|
past-events=`${component.parameters.pastevents}`
|
||||||
|
visiblecheckbox=`${component.parameters.visiblecheckbox}`
|
||||||
|
visibilityregions=`${component.parameters.visibilityregions}`
|
||||||
|
range-event-region=`${component.endpoints.regionevents}`
|
||||||
range-event-type=`${component.endpoints.typeevents}`
|
range-event-type=`${component.endpoints.typeevents}`
|
||||||
range-event-circle=`${getComponent('circles').endpoints.get}/`
|
range-event-circle=`${getComponent('circles').endpoints.get}/`
|
||||||
upload-dir=`${component.endpoints.uploads}`
|
upload-dir=`${component.endpoints.uploads}`
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
solid-event(
|
solid-event(
|
||||||
bind-resources
|
bind-resources
|
||||||
nested-field="events"
|
nested-field="events"
|
||||||
|
past-events=`${extension.parameters.pastevents}`
|
||||||
range-event-type=`${extension.endpoints.typeevents}`
|
range-event-type=`${extension.endpoints.typeevents}`
|
||||||
range-event-circle=`${getComponent('circles').endpoints.get}/`
|
range-event-circle=`${getComponent('circles').endpoints.get}/`
|
||||||
upload-dir=`${extension.endpoints.uploads}`
|
upload-dir=`${extension.endpoints.uploads}`
|
||||||
|
Loading…
Reference in New Issue
Block a user