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": "689928aa7eb06"
"uuid": "689c801d3f86f"
},
},
"items": {
"items": {
Line 20: Line 20:
"name": "event",
"name": "event",
"type": "schema",
"type": "schema",
"uuid": "689927e370e62",
"uuid": "689928aa7eb06",
"title": "event",
"title": "event",
"layout": "section",
"layout": "section",
Line 75: Line 75:
"format": "datetime",
"format": "datetime",
"title": "end"
"title": "end"
},
"url": {
"wiki": {
"name": "url",
"type": "property",
"multiple-items": false,
"label": "url",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget (url)",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f2"
},
"type": "string",
"format": "url",
"title": "url"
},
},
"allDay": {
"allDay": {
Line 93: Line 109:
"description": "Determines if the event is shown in the all-day slot"
"description": "Determines if the event is shown in the all-day slot"
},
},
"url": {
"display": {
"wiki": {
"wiki": {
"name": "url",
"name": "display",
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"label": "url",
"label": "display",
"help-message": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto",
"uuid": "6897b2e7c20fb",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget (url)",
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"input-config": [],
"required": false,
"required": false,
"uuid": "6897b2e7c20f2"
"options-allow-null": false,
"options-values-parsed": {
"auto": "auto",
"background": "background"
}
},
},
"type": "string",
"type": "string",
"format": "url",
"format": "text",
"title": "url"
"title": "display",
"description": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto",
"enum": [
"auto",
"background"
]
},
},
"classNames": {
"resources": {
"wiki": {
"wiki": {
"name": "classNames",
"name": "resources",
"unique-items": true,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "6897b2e7c20f3"
"uuid": "689c801d3f887"
},
},
"items": {
"items": {
"type": "string",
"type": "string",
"wiki": {
"wiki": {
"name": "classNames",
"name": "resourceIds",
"type": "property",
"type": "property",
"visibility": "visible",
"label": "resources",
"help-message": "Resources associated to this event (eg. conference room, class-room a, ...)",
"multiple-items": true,
"multiple-items": true,
"label": "classNames",
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"visibility": "visible",
"preferred-input": "OO.ui.TagMultiselectWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"uuid": "6897b2e7c20f4",
"default": [],
"layout": "table"
"uuid": "689c801d3f888"
},
},
"format": "text",
"format": "text",
"title": "classNames"
"title": "resources",
"description": "Resources associated to this event (eg. conference room, class-room a, ...)",
"default": [],
"enum": [
"room a",
"room b",
"room c"
]
},
},
"type": "array",
"type": "array",
"uniqueItems": true
"uniqueItems": false
},
"editable": {
"wiki": {
"name": "editable",
"type": "property",
"multiple-items": false,
"label": "editable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f5"
},
"type": "boolean",
"title": "editable"
},
"startEditable": {
"wiki": {
"name": "startEditable",
"type": "property",
"multiple-items": false,
"label": "startEditable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f6"
},
"type": "boolean",
"title": "startEditable"
},
"durationEditable": {
"wiki": {
"name": "durationEditable",
"type": "property",
"multiple-items": false,
"label": "durationEditable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f7"
},
"type": "boolean",
"title": "durationEditable"
},
},
"backgroundColor": {
"backgroundColor": {
Line 229: Line 222:
"title": "textColor"
"title": "textColor"
},
},
"display": {
"classNames": {
"wiki": {
"wiki": {
"type": "property",
"name": "classNames",
"uuid": "6897b2e7c20fb",
"unique-items": true,
"name": "display",
"visibility": "visible",
"label": "display",
"help-message": "The rendering type of the event. Can be 'auto' or 'background'",
"multiple-items": false,
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"required": false,
"default": "auto",
"options-allow-null": false
},
"type": "string",
"format": "text",
"title": "display",
"description": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto",
"enum": [
"auto",
"background"
]
},
"resourceIds": {
"wiki": {
"name": "resourceIds",
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "6897c535233ac"
"uuid": "6897b2e7c20f3"
},
},
"items": {
"items": {
"type": "string",
"type": "string",
"wiki": {
"wiki": {
"name": "resourceIds",
"name": "classNames",
"type": "property",
"type": "property",
"multiple-items": true,
"multiple-items": true,
"label": "resourceIds",
"label": "classNames",
"help-message": "An array of resource IDs that the event is associated with",
"default": [],
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"preferred-input": "OO.ui.TagMultiselectWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"uuid": "6897c535233ad",
"uuid": "6897b2e7c20f4",
"options-values-parsed": {
"room a": "room a",
"room b": "room b",
"room c": "room c"
},
"layout": "table"
"layout": "table"
},
},
"format": "text",
"format": "text",
"title": "resourceIds",
"title": "classNames"
"description": "An array of resource IDs that the event is associated with",
"default": [],
"enum": [
"room a",
"room b",
"room c"
]
},
},
"type": "array",
"type": "array",
"uniqueItems": false
"uniqueItems": true
},
},
"style": {
"style": {

Revision as of 12:07, 13 August 2025

wiki
type"schema"
uuid"6897a77333e44"
name"Calendar"
description"https://github.com/vkurko/calendar"
properties
events
wiki
name"events"
min-items1
unique-itemsfalse
type"schema"
uuid"689c801d3f86f"
items
type"object"
wiki
name"event"
type"schema"
uuid"689928aa7eb06"
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
name"display"
type"property"
multiple-itemsfalse
label"display"
help-message"The rendering type of the event. Can be 'auto' or 'background'"
default"auto"
uuid"6897b2e7c20fb"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
requiredfalse
options-allow-nullfalse
options-values-parsed
auto"auto"
background"background"
type"string"
format"text"
title"display"
description"The rendering type of the event. Can be 'auto' or 'background'"
default"auto"
enum
"auto"
"background"
resources
wiki
name"resources"
unique-itemsfalse
type"schema"
uuid"689c801d3f887"
items
type"string"
wiki
name"resourceIds"
type"property"
visibility"visible"
label"resources"
help-message"Resources associated to this event (eg. conference room, class-room a, ...)"
multiple-itemstrue
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
default
Empty array
uuid"689c801d3f888"
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"<a rel="nofollow" class="external free" target="_blank" href="https://github.com/vkurko/calendar">https://github.com/vkurko/calendar</a>"