@telepath-computer/television 1.5.10 → 1.6.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 (130) hide show
  1. package/dist/THIRD-PARTY-NOTICES.txt +701 -0
  2. package/dist/cli.cjs +9035 -596
  3. package/dist/onboarding/tv-guide/welcome.html +14 -4
  4. package/dist/skills/television/SKILL.md +39 -33
  5. package/dist/skills/television/resources.md +4 -4
  6. package/dist/skills/television/templates.md +77 -0
  7. package/dist/skills/television/theming.md +31 -17
  8. package/dist/templates/calendar/README.md +17 -0
  9. package/dist/{skills/tv-tasks → templates/calendar}/THIRD-PARTY-NOTICES.txt +22 -22
  10. package/dist/templates/calendar/calendar-attendees.js +131 -0
  11. package/dist/templates/calendar/calendar-event.js +22 -0
  12. package/dist/templates/calendar/calendar-motion.js +273 -0
  13. package/dist/templates/calendar/calendar-page.js +403 -0
  14. package/dist/templates/calendar/calendar-time-axis.js +32 -0
  15. package/dist/templates/calendar/calendar-week.js +711 -0
  16. package/dist/templates/calendar/data.json +3 -0
  17. package/dist/templates/calendar/icon.svg +1 -0
  18. package/dist/templates/calendar/index.html +27 -0
  19. package/dist/templates/calendar/manifest.json +148 -0
  20. package/dist/templates/calendar/styles.css +771 -0
  21. package/dist/templates/checklist/README.md +45 -0
  22. package/dist/templates/checklist/THIRD-PARTY-NOTICES.txt +29 -0
  23. package/dist/templates/checklist/data.json +1 -0
  24. package/dist/templates/checklist/icon.svg +8 -0
  25. package/dist/templates/checklist/icons.css +61 -0
  26. package/dist/templates/checklist/index.html +47 -0
  27. package/dist/templates/checklist/manifest.json +49 -0
  28. package/dist/templates/checklist/model.d.ts +30 -0
  29. package/dist/templates/checklist/model.js +60 -0
  30. package/dist/templates/checklist/page.js +425 -0
  31. package/dist/templates/checklist/styles.css +206 -0
  32. package/dist/templates/document/README.md +55 -0
  33. package/dist/templates/document/THIRD-PARTY-NOTICES.txt +1080 -0
  34. package/dist/templates/document/data.json +3 -0
  35. package/dist/templates/document/editor.css +1 -0
  36. package/dist/templates/document/editor.js +37 -0
  37. package/dist/templates/document/icon.svg +6 -0
  38. package/dist/templates/document/index.html +29 -0
  39. package/dist/templates/document/manifest.json +22 -0
  40. package/dist/templates/document/page.js +190 -0
  41. package/dist/templates/document/styles.css +76 -0
  42. package/dist/templates/map/README.md +85 -0
  43. package/dist/templates/map/THIRD-PARTY-NOTICES.txt +84 -0
  44. package/dist/templates/map/data.json +1 -0
  45. package/dist/templates/map/icon.svg +8 -0
  46. package/dist/templates/map/icons.svg +43 -0
  47. package/dist/templates/map/index.html +95 -0
  48. package/dist/templates/map/manifest.json +227 -0
  49. package/dist/templates/map/map-model.js +18 -0
  50. package/dist/templates/map/map.css +202 -0
  51. package/dist/templates/map/map.js +728 -0
  52. package/dist/templates/map/vendor/LICENSE +26 -0
  53. package/dist/templates/map/vendor/README.md +11 -0
  54. package/dist/templates/map/vendor/leaflet.css +661 -0
  55. package/dist/templates/map/vendor/leaflet.js +6 -0
  56. package/dist/templates/map/vendor/lucide/LICENSE +43 -0
  57. package/dist/templates/map/vendor/lucide/README.md +46 -0
  58. package/dist/templates/map/vendor/lucide/icons.js +832 -0
  59. package/dist/templates/map/vendor/lucide/svg/airport.svg +15 -0
  60. package/dist/templates/map/vendor/lucide/svg/bar.svg +17 -0
  61. package/dist/templates/map/vendor/lucide/svg/beach.svg +17 -0
  62. package/dist/templates/map/vendor/lucide/svg/bridge.svg +20 -0
  63. package/dist/templates/map/vendor/lucide/svg/bus.svg +21 -0
  64. package/dist/templates/map/vendor/lucide/svg/church.svg +19 -0
  65. package/dist/templates/map/vendor/lucide/svg/coffee.svg +18 -0
  66. package/dist/templates/map/vendor/lucide/svg/ferry.svg +19 -0
  67. package/dist/templates/map/vendor/lucide/svg/flag.svg +15 -0
  68. package/dist/templates/map/vendor/lucide/svg/heart.svg +15 -0
  69. package/dist/templates/map/vendor/lucide/svg/home.svg +16 -0
  70. package/dist/templates/map/vendor/lucide/svg/hospital.svg +19 -0
  71. package/dist/templates/map/vendor/lucide/svg/hotel.svg +24 -0
  72. package/dist/templates/map/vendor/lucide/svg/info.svg +17 -0
  73. package/dist/templates/map/vendor/lucide/svg/landmark.svg +20 -0
  74. package/dist/templates/map/vendor/lucide/svg/mountain.svg +15 -0
  75. package/dist/templates/map/vendor/lucide/svg/museum.svg +20 -0
  76. package/dist/templates/map/vendor/lucide/svg/music.svg +17 -0
  77. package/dist/templates/map/vendor/lucide/svg/park.svg +18 -0
  78. package/dist/templates/map/vendor/lucide/svg/parking.svg +16 -0
  79. package/dist/templates/map/vendor/lucide/svg/pin.svg +16 -0
  80. package/dist/templates/map/vendor/lucide/svg/restaurant.svg +17 -0
  81. package/dist/templates/map/vendor/lucide/svg/school.svg +20 -0
  82. package/dist/templates/map/vendor/lucide/svg/shop.svg +17 -0
  83. package/dist/templates/map/vendor/lucide/svg/sports.svg +19 -0
  84. package/dist/templates/map/vendor/lucide/svg/star.svg +15 -0
  85. package/dist/templates/map/vendor/lucide/svg/theatre.svg +23 -0
  86. package/dist/templates/map/vendor/lucide/svg/train.svg +20 -0
  87. package/dist/templates/map/vendor/lucide/svg/viewpoint.svg +20 -0
  88. package/dist/templates/map/vendor/lucide/svg/work.svg +18 -0
  89. package/dist/templates/sticky-note/Caveat-Medium.woff2 +0 -0
  90. package/dist/templates/sticky-note/README.md +47 -0
  91. package/dist/templates/sticky-note/THIRD-PARTY-NOTICES.txt +127 -0
  92. package/dist/templates/sticky-note/data.json +1 -0
  93. package/dist/templates/sticky-note/icon.svg +16 -0
  94. package/dist/templates/sticky-note/icons.css +61 -0
  95. package/dist/templates/sticky-note/index.html +31 -0
  96. package/dist/templates/sticky-note/manifest.json +27 -0
  97. package/dist/templates/sticky-note/model.d.ts +33 -0
  98. package/dist/templates/sticky-note/model.js +152 -0
  99. package/dist/templates/sticky-note/page.js +84 -0
  100. package/dist/templates/sticky-note/styles.css +140 -0
  101. package/dist/templates/table/README.md +107 -0
  102. package/dist/templates/table/data.json +4 -0
  103. package/dist/templates/table/icon.svg +6 -0
  104. package/dist/templates/table/index.html +15 -0
  105. package/dist/templates/table/manifest.json +70 -0
  106. package/dist/templates/table/model.d.ts +164 -0
  107. package/dist/templates/table/model.js +395 -0
  108. package/dist/templates/table/page.js +1045 -0
  109. package/dist/templates/table/selection-model.d.ts +67 -0
  110. package/dist/templates/table/selection-model.js +163 -0
  111. package/dist/templates/table/styles.css +522 -0
  112. package/dist/views/markdown/THIRD-PARTY-NOTICES.txt +408 -0
  113. package/dist/views/markdown/index.html +21 -21
  114. package/dist/web/assets/main-CRSNodQt.js +864 -0
  115. package/dist/web/assets/main-DnvQkpg4.css +1 -0
  116. package/dist/web/index.html +2 -2
  117. package/package.json +1 -1
  118. package/dist/skills/tv-calendar/SKILL.md +0 -100
  119. package/dist/skills/tv-calendar/calendar.css +0 -1
  120. package/dist/skills/tv-calendar/calendar.js +0 -400
  121. package/dist/skills/tv-table/SKILL.md +0 -95
  122. package/dist/skills/tv-tasks/SKILL.md +0 -269
  123. package/dist/skills/tv-tasks/task.css +0 -180
  124. package/dist/skills/tv-tasks/task.js +0 -304
  125. package/dist/web/assets/calendar-DToAnkzj.png +0 -0
  126. package/dist/web/assets/main-CekDfJPz.js +0 -848
  127. package/dist/web/assets/main-CunC2_Nx.css +0 -1
  128. package/dist/web/assets/markdown-DdDrJuVK.png +0 -0
  129. package/dist/web/assets/table-oeG9uAN1.png +0 -0
  130. package/dist/web/assets/tasks-D4xqXFPl.png +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ "events": {}
3
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><defs><clipPath id="p"><rect x="1.5" y="2" width="17" height="16.5" rx="3.5"/></clipPath></defs><g clip-path="url(#p)"><rect x="1.5" y="2" width="17" height="16.5" fill="#fff"/><rect x="1.5" y="2" width="17" height="4.5" fill="#ef4444"/></g><rect x="2" y="2.5" width="16" height="15.5" rx="3" fill="none" stroke="#d4d4d4"/><path d="M5.9 10.4 7.7 9.15V15.6M10.3 9.85H13.8L11.5 15.6" fill="none" stroke="#262626" stroke-width="1.45" stroke-linejoin="round" stroke-linecap="round"/></svg>
@@ -0,0 +1,27 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Calendar</title>
7
+ <link rel="stylesheet" href="/canonical/v2/styles.css?authoredForAppVersion=1.5.4">
8
+ <link rel="stylesheet" href="./styles.css">
9
+ <script type="module" src="/canonical/v2/components.js"></script>
10
+ </head>
11
+ <body>
12
+ <main>
13
+ <header class="masthead">
14
+ <h1 id="range-label"></h1>
15
+ </header>
16
+ <calendar-week id="calendar"></calendar-week>
17
+ </main>
18
+ <template id="unreadable">
19
+ <section class="calendar-unreadable" role="alert">
20
+ <span class="calendar-unreadable-icon"><tv-icon name="warning" size="xl"></tv-icon></span>
21
+ <h1 class="calendar-unreadable-title">This calendar can't be shown</h1>
22
+ <p class="calendar-unreadable-text">Its saved data isn't in the form this page reads. Ask your agent to check it.</p>
23
+ </section>
24
+ </template>
25
+ <script type="module" src="./calendar-page.js"></script>
26
+ </body>
27
+ </html>
@@ -0,0 +1,148 @@
1
+ {
2
+ "name": "Calendar",
3
+ "description": "Show one to seven days of live events, including all-day events and highlighted moments.",
4
+ "version": "1.0.0",
5
+ "icons": [
6
+ {
7
+ "src": "icon.svg",
8
+ "type": "image/svg+xml"
9
+ }
10
+ ],
11
+ "dataSchema": {
12
+ "type": "object",
13
+ "required": [
14
+ "events"
15
+ ],
16
+ "properties": {
17
+ "startDate": {
18
+ "$ref": "#/$defs/date",
19
+ "description": "First day shown. When absent, a seven-day calendar starts on the Monday of the current local week, and a shorter one starts today."
20
+ },
21
+ "days": {
22
+ "type": "integer",
23
+ "minimum": 1,
24
+ "maximum": 7,
25
+ "description": "Number of days shown, one column each; 7 when absent."
26
+ },
27
+ "visibleHours": {
28
+ "type": "object",
29
+ "description": "The hours that fill the view, such as {\"start\": 9, \"end\": 18} for 9 AM to 6 PM. When absent, hours have their usual height.",
30
+ "required": [
31
+ "start",
32
+ "end"
33
+ ],
34
+ "properties": {
35
+ "start": {
36
+ "type": "integer",
37
+ "minimum": 0,
38
+ "maximum": 23,
39
+ "description": "First hour in view."
40
+ },
41
+ "end": {
42
+ "type": "integer",
43
+ "minimum": 1,
44
+ "maximum": 24,
45
+ "description": "Hour the view ends at; later than start."
46
+ }
47
+ }
48
+ },
49
+ "events": {
50
+ "type": "object",
51
+ "description": "Events in the calendar, keyed by a push ID or a chosen string. The key is never displayed.",
52
+ "additionalProperties": {
53
+ "$ref": "#/$defs/event"
54
+ }
55
+ }
56
+ },
57
+ "$defs": {
58
+ "date": {
59
+ "type": "string",
60
+ "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$"
61
+ },
62
+ "dateTime": {
63
+ "type": "string",
64
+ "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):[0-5]\\d$"
65
+ },
66
+ "event": {
67
+ "type": "object",
68
+ "required": [
69
+ "title",
70
+ "start",
71
+ "end"
72
+ ],
73
+ "properties": {
74
+ "title": {
75
+ "type": "string",
76
+ "description": "Event name."
77
+ },
78
+ "detail": {
79
+ "type": "string",
80
+ "description": "One line shown under the title, such as a place or a note."
81
+ },
82
+ "start": {
83
+ "description": "Start, as YYYY-MM-DDTHH:MM local time, or YYYY-MM-DD for an all-day event."
84
+ },
85
+ "end": {
86
+ "description": "End, in the same form as start. A timed event ends on the day it starts. An all-day event's end date is the day after its last day."
87
+ },
88
+ "allDay": {
89
+ "type": "boolean",
90
+ "description": "True for an all-day event; false when absent."
91
+ },
92
+ "color": {
93
+ "enum": [
94
+ "red",
95
+ "orange",
96
+ "yellow",
97
+ "green",
98
+ "blue",
99
+ "purple"
100
+ ],
101
+ "description": "Event colour; blue when absent."
102
+ },
103
+ "attendees": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "string"
107
+ },
108
+ "description": "Names of the people attending, in display order."
109
+ },
110
+ "highlight": {
111
+ "type": "boolean",
112
+ "description": "True to make the event stand out, as for one the agent has just added. An agent clears it by setting it to false or removing it."
113
+ }
114
+ },
115
+ "if": {
116
+ "required": [
117
+ "allDay"
118
+ ],
119
+ "properties": {
120
+ "allDay": {
121
+ "const": true
122
+ }
123
+ }
124
+ },
125
+ "then": {
126
+ "properties": {
127
+ "start": {
128
+ "$ref": "#/$defs/date"
129
+ },
130
+ "end": {
131
+ "$ref": "#/$defs/date"
132
+ }
133
+ }
134
+ },
135
+ "else": {
136
+ "properties": {
137
+ "start": {
138
+ "$ref": "#/$defs/dateTime"
139
+ },
140
+ "end": {
141
+ "$ref": "#/$defs/dateTime"
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }