Calendar: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
"unique-items": false,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "689c801d3f86f"
"uuid": "689c83f5d652f"
},
},
"items": {
"items": {
Line 20: Line 20:
"name": "event",
"name": "event",
"type": "schema",
"type": "schema",
"uuid": "689928aa7eb06",
"uuid": "689c801d3f86f",
"title": "event",
"title": "event",
"layout": "section",
"layout": "section",
Line 111: Line 111:
"display": {
"display": {
"wiki": {
"wiki": {
"name": "display",
"type": "property",
"type": "property",
"multiple-items": false,
"label": "display",
"help-message": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto",
"uuid": "6897b2e7c20fb",
"uuid": "6897b2e7c20fb",
"name": "display",
"visibility": "visible",
"visibility": "visible",
"label": "display",
"help-message": "The rendering type of the event",
"multiple-items": false,
"preferred-input": "OO.ui.DropdownInputWidget",
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"options-allow-null": false,
"default": "auto"
"options-values-parsed": {
"auto": "auto",
"background": "background"
}
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "display",
"title": "display",
"description": "The rendering type of the event. Can be 'auto' or 'background'",
"description": "The rendering type of the event",
"default": "auto",
"default": "auto",
"enum": [
"enum": [

Revision as of 12:24, 13 August 2025

wiki
type"schema"
uuid"6897a77333e44"
name"Calendar"
description"See https://github.com/vkurko/calendar"
properties
events
wiki
name"events"
min-items1
unique-itemsfalse
type"schema"
uuid"689c83f5d652f"
items
type"object"
wiki
name"event"
type"schema"
uuid"689c801d3f86f"
title"event"
layout"section"
visibility"visible"
properties
title
wiki
name"title"
type"property"
multiple-itemsfalse
label"title"
help-message"The text that will appear on the event"
uuid"6897b2e7c20ed"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
title"title"
description"The text that will appear on the event"
start
wiki
name"start"
type"property"
multiple-itemsfalse
label"start"
visibility"visible"
preferred-input"mw.widgets.datetime.DateTimeInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20ef"
type"string"
format"datetime"
title"start"
end
wiki
name"end"
type"property"
multiple-itemsfalse
label"end"
visibility"visible"
preferred-input"mw.widgets.datetime.DateTimeInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f0"
type"string"
format"datetime"
title"end"
url
wiki
name"url"
type"property"
multiple-itemsfalse
label"url"
visibility"visible"
preferred-input"OO.ui.TextInputWidget (url)"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f2"
type"string"
format"url"
title"url"
allDay
wiki
name"allDay"
type"property"
multiple-itemsfalse
label"allDay"
help-message"Determines if the event is shown in the all-day slot"
uuid"6897b2e7c20f1"
visibility"visible"
preferred-input"OO.ui.ToggleSwitchWidget"
input-config
Empty array
requiredfalse
type"boolean"
title"allDay"
description"Determines if the event is shown in the all-day slot"
display
wiki
type"property"
uuid"6897b2e7c20fb"
name"display"
visibility"visible"
label"display"
help-message"The rendering type of the event"
multiple-itemsfalse
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
default"auto"
type"string"
format"text"
title"display"
description"The rendering type of the event"
default"auto"
enum
"auto"
"background"
resources
wiki
name"resources"
unique-itemsfalse
type"schema"
uuid"689c801d3f887"
items
type"string"
wiki
name"resourceIds"
type"property"
multiple-itemstrue
label"resources"
help-message"Resources associated to this event (eg. conference room, class-room a, ...)"
default
Empty array
visibility"visible"
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
uuid"689c801d3f888"
options-values-parsed
room a"room a"
room b"room b"
room c"room c"
layout"table"
format"text"
title"resources"
description"Resources associated to this event (eg. conference room, class-room a, ...)"
default
Empty array
enum
"room a"
"room b"
"room c"
type"array"
uniqueItemsfalse
backgroundColor
wiki
name"backgroundColor"
type"property"
multiple-itemsfalse
label"backgroundColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f8"
type"string"
format"text"
title"backgroundColor"
borderColor
wiki
name"borderColor"
type"property"
multiple-itemsfalse
label"borderColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f9"
type"string"
format"text"
title"borderColor"
textColor
wiki
name"textColor"
type"property"
multiple-itemsfalse
label"textColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20fa"
type"string"
format"text"
title"textColor"
classNames
wiki
name"classNames"
unique-itemstrue
type"schema"
uuid"6897b2e7c20f3"
items
type"string"
wiki
name"classNames"
type"property"
multiple-itemstrue
label"classNames"
visibility"visible"
preferred-input"OO.ui.TagMultiselectWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f4"
layout"table"
format"text"
title"classNames"
type"array"
uniqueItemstrue
style
wiki
name"style"
type"property"
multiple-itemsfalse
label"style"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897c535233ae"
type"string"
format"text"
title"style"
title"event"
type"array"
minItems1
uniqueItemsfalse
type"object"
description"See <a rel="nofollow" class="external free" target="_blank" href="https://github.com/vkurko/calendar">https://github.com/vkurko/calendar</a>"