@stimulus-plumbers/controllers 0.3.3 → 0.4.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.
- package/dist/controllers.manifest.json +273 -0
- package/dist/stimulus-plumbers-controllers.es.js +228 -145
- package/dist/stimulus-plumbers-controllers.umd.js +1 -1
- package/package.json +3 -4
- package/src/controllers/calendar_month_controller.js +3 -3
- package/src/controllers/combobox_date_controller.js +137 -3
- package/src/controllers/input_combobox_controller.js +3 -42
- package/src/controllers/popover_controller.js +34 -12
- package/src/index.js +1 -1
- package/src/plumbers/calendar.js +22 -0
- /package/src/controllers/{calendar_month_observer_controller.js → calendar_observer_controller.js} +0 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
{
|
|
2
|
+
"calendar-month": {
|
|
3
|
+
"identifier": "calendar-month",
|
|
4
|
+
"targets": [
|
|
5
|
+
"daysOfWeek",
|
|
6
|
+
"daysOfMonth"
|
|
7
|
+
],
|
|
8
|
+
"values": {
|
|
9
|
+
"locales": {
|
|
10
|
+
"type": "Array",
|
|
11
|
+
"default": "['default']"
|
|
12
|
+
},
|
|
13
|
+
"weekdayFormat": {
|
|
14
|
+
"type": "String",
|
|
15
|
+
"default": "short"
|
|
16
|
+
},
|
|
17
|
+
"dayFormat": {
|
|
18
|
+
"type": "String",
|
|
19
|
+
"default": "numeric"
|
|
20
|
+
},
|
|
21
|
+
"daysOfOtherMonth": {
|
|
22
|
+
"type": "Boolean",
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
25
|
+
"today": {
|
|
26
|
+
"type": "String",
|
|
27
|
+
"default": ""
|
|
28
|
+
},
|
|
29
|
+
"selected": {
|
|
30
|
+
"type": "String",
|
|
31
|
+
"default": ""
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"outlets": [],
|
|
35
|
+
"classes": [
|
|
36
|
+
"dayOfWeek",
|
|
37
|
+
"dayOfMonth",
|
|
38
|
+
"row"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"calendar-observer": {
|
|
42
|
+
"identifier": "calendar-observer",
|
|
43
|
+
"targets": [],
|
|
44
|
+
"values": {},
|
|
45
|
+
"outlets": [],
|
|
46
|
+
"classes": []
|
|
47
|
+
},
|
|
48
|
+
"clipboard": {
|
|
49
|
+
"identifier": "clipboard",
|
|
50
|
+
"targets": [
|
|
51
|
+
"source"
|
|
52
|
+
],
|
|
53
|
+
"values": {
|
|
54
|
+
"contentType": {
|
|
55
|
+
"type": "String",
|
|
56
|
+
"default": "text/plain"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"outlets": [],
|
|
60
|
+
"classes": []
|
|
61
|
+
},
|
|
62
|
+
"combobox-date": {
|
|
63
|
+
"identifier": "combobox-date",
|
|
64
|
+
"targets": [
|
|
65
|
+
"previous",
|
|
66
|
+
"next",
|
|
67
|
+
"day",
|
|
68
|
+
"month",
|
|
69
|
+
"year",
|
|
70
|
+
"viewTitle",
|
|
71
|
+
"monthView",
|
|
72
|
+
"yearView",
|
|
73
|
+
"decadeView"
|
|
74
|
+
],
|
|
75
|
+
"values": {
|
|
76
|
+
"view": {
|
|
77
|
+
"type": "String",
|
|
78
|
+
"default": "month"
|
|
79
|
+
},
|
|
80
|
+
"locales": {
|
|
81
|
+
"type": "Array",
|
|
82
|
+
"default": "['default']"
|
|
83
|
+
},
|
|
84
|
+
"dayFormat": {
|
|
85
|
+
"type": "String",
|
|
86
|
+
"default": "numeric"
|
|
87
|
+
},
|
|
88
|
+
"monthFormat": {
|
|
89
|
+
"type": "String",
|
|
90
|
+
"default": "long"
|
|
91
|
+
},
|
|
92
|
+
"yearFormat": {
|
|
93
|
+
"type": "String",
|
|
94
|
+
"default": "numeric"
|
|
95
|
+
},
|
|
96
|
+
"date": {
|
|
97
|
+
"type": "String"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"outlets": [
|
|
101
|
+
"calendar-month"
|
|
102
|
+
],
|
|
103
|
+
"classes": []
|
|
104
|
+
},
|
|
105
|
+
"combobox-dropdown": {
|
|
106
|
+
"identifier": "combobox-dropdown",
|
|
107
|
+
"targets": [
|
|
108
|
+
"listbox",
|
|
109
|
+
"loading",
|
|
110
|
+
"empty"
|
|
111
|
+
],
|
|
112
|
+
"values": {
|
|
113
|
+
"url": {
|
|
114
|
+
"type": "String",
|
|
115
|
+
"default": ""
|
|
116
|
+
},
|
|
117
|
+
"field": {
|
|
118
|
+
"type": "String",
|
|
119
|
+
"default": "q"
|
|
120
|
+
},
|
|
121
|
+
"delay": {
|
|
122
|
+
"type": "Number",
|
|
123
|
+
"default": 300
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"outlets": [],
|
|
127
|
+
"classes": []
|
|
128
|
+
},
|
|
129
|
+
"combobox-time": {
|
|
130
|
+
"identifier": "combobox-time",
|
|
131
|
+
"targets": [
|
|
132
|
+
"hour",
|
|
133
|
+
"minute",
|
|
134
|
+
"period"
|
|
135
|
+
],
|
|
136
|
+
"values": {},
|
|
137
|
+
"outlets": [],
|
|
138
|
+
"classes": []
|
|
139
|
+
},
|
|
140
|
+
"dismisser": {
|
|
141
|
+
"identifier": "dismisser",
|
|
142
|
+
"targets": [
|
|
143
|
+
"trigger"
|
|
144
|
+
],
|
|
145
|
+
"values": {},
|
|
146
|
+
"outlets": [],
|
|
147
|
+
"classes": []
|
|
148
|
+
},
|
|
149
|
+
"flipper": {
|
|
150
|
+
"identifier": "flipper",
|
|
151
|
+
"targets": [
|
|
152
|
+
"anchor",
|
|
153
|
+
"reference"
|
|
154
|
+
],
|
|
155
|
+
"values": {
|
|
156
|
+
"placement": {
|
|
157
|
+
"type": "String",
|
|
158
|
+
"default": "bottom"
|
|
159
|
+
},
|
|
160
|
+
"alignment": {
|
|
161
|
+
"type": "String",
|
|
162
|
+
"default": "start"
|
|
163
|
+
},
|
|
164
|
+
"role": {
|
|
165
|
+
"type": "String",
|
|
166
|
+
"default": "tooltip"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"outlets": [],
|
|
170
|
+
"classes": []
|
|
171
|
+
},
|
|
172
|
+
"input-clearable": {
|
|
173
|
+
"identifier": "input-clearable",
|
|
174
|
+
"targets": [
|
|
175
|
+
"input",
|
|
176
|
+
"clear"
|
|
177
|
+
],
|
|
178
|
+
"values": {},
|
|
179
|
+
"outlets": [],
|
|
180
|
+
"classes": []
|
|
181
|
+
},
|
|
182
|
+
"input-combobox": {
|
|
183
|
+
"identifier": "input-combobox",
|
|
184
|
+
"targets": [
|
|
185
|
+
"trigger",
|
|
186
|
+
"input"
|
|
187
|
+
],
|
|
188
|
+
"values": {
|
|
189
|
+
"minLength": {
|
|
190
|
+
"type": "Number",
|
|
191
|
+
"default": 1
|
|
192
|
+
},
|
|
193
|
+
"value": {
|
|
194
|
+
"type": "String"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"outlets": [
|
|
198
|
+
"combobox-dropdown"
|
|
199
|
+
],
|
|
200
|
+
"classes": []
|
|
201
|
+
},
|
|
202
|
+
"input-formatter": {
|
|
203
|
+
"identifier": "input-formatter",
|
|
204
|
+
"targets": [
|
|
205
|
+
"input",
|
|
206
|
+
"toggle"
|
|
207
|
+
],
|
|
208
|
+
"values": {},
|
|
209
|
+
"outlets": [],
|
|
210
|
+
"classes": []
|
|
211
|
+
},
|
|
212
|
+
"modal": {
|
|
213
|
+
"identifier": "modal",
|
|
214
|
+
"targets": [
|
|
215
|
+
"modal",
|
|
216
|
+
"overlay"
|
|
217
|
+
],
|
|
218
|
+
"values": {},
|
|
219
|
+
"outlets": [],
|
|
220
|
+
"classes": []
|
|
221
|
+
},
|
|
222
|
+
"panner": {
|
|
223
|
+
"identifier": "panner",
|
|
224
|
+
"targets": [
|
|
225
|
+
"content"
|
|
226
|
+
],
|
|
227
|
+
"values": {},
|
|
228
|
+
"outlets": [],
|
|
229
|
+
"classes": []
|
|
230
|
+
},
|
|
231
|
+
"popover": {
|
|
232
|
+
"identifier": "popover",
|
|
233
|
+
"targets": [
|
|
234
|
+
"trigger",
|
|
235
|
+
"panel",
|
|
236
|
+
"template",
|
|
237
|
+
"loader"
|
|
238
|
+
],
|
|
239
|
+
"values": {
|
|
240
|
+
"reload": {
|
|
241
|
+
"type": "String",
|
|
242
|
+
"default": "never"
|
|
243
|
+
},
|
|
244
|
+
"staleAfter": {
|
|
245
|
+
"type": "Number",
|
|
246
|
+
"default": 3600
|
|
247
|
+
},
|
|
248
|
+
"closeOnSelect": {
|
|
249
|
+
"type": "Boolean",
|
|
250
|
+
"default": true
|
|
251
|
+
},
|
|
252
|
+
"url": {
|
|
253
|
+
"type": "String"
|
|
254
|
+
},
|
|
255
|
+
"loadedAt": {
|
|
256
|
+
"type": "String"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"outlets": [],
|
|
260
|
+
"classes": [
|
|
261
|
+
"hidden"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"visibility": {
|
|
265
|
+
"identifier": "visibility",
|
|
266
|
+
"targets": [
|
|
267
|
+
"content"
|
|
268
|
+
],
|
|
269
|
+
"values": {},
|
|
270
|
+
"outlets": [],
|
|
271
|
+
"classes": []
|
|
272
|
+
}
|
|
273
|
+
}
|