@openremote/or-dashboard-builder 1.6.0-snapshot.20250516114400 → 1.6.0-snapshot.20250516214447

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.
@@ -2044,230 +2044,290 @@
2044
2044
  },
2045
2045
  {
2046
2046
  "kind": "javascript-module",
2047
- "path": "src/controls/dashboard-refresh-controls.ts",
2047
+ "path": "src/service/dashboard-service.ts",
2048
2048
  "declarations": [
2049
- {
2050
- "kind": "function",
2051
- "name": "intervalToMillis",
2052
- "return": {
2053
- "type": {
2054
- "text": "number | undefined"
2055
- }
2056
- },
2057
- "parameters": [
2058
- {
2059
- "name": "interval",
2060
- "type": {
2061
- "text": "DashboardRefreshInterval"
2062
- }
2063
- }
2064
- ]
2065
- },
2066
2049
  {
2067
2050
  "kind": "class",
2068
2051
  "description": "",
2069
- "name": "IntervalSelectEvent",
2052
+ "name": "DashboardService",
2070
2053
  "members": [
2071
2054
  {
2072
- "kind": "field",
2073
- "name": "NAME",
2074
- "type": {
2075
- "text": "string"
2076
- },
2055
+ "kind": "method",
2056
+ "name": "create",
2077
2057
  "privacy": "public",
2078
2058
  "static": true,
2079
- "readonly": true,
2080
- "default": "\"interval-select\""
2081
- }
2082
- ],
2083
- "superclass": {
2084
- "name": "CustomEvent",
2085
- "module": "src/controls/dashboard-refresh-controls.ts"
2086
- }
2087
- },
2088
- {
2089
- "kind": "class",
2090
- "description": "",
2091
- "name": "DashboardRefreshControls",
2092
- "members": [
2093
- {
2094
- "kind": "field",
2095
- "name": "interval",
2096
- "type": {
2097
- "text": "DashboardRefreshInterval"
2098
- },
2099
- "privacy": "protected"
2100
- },
2101
- {
2102
- "kind": "field",
2103
- "name": "readonly",
2104
- "type": {
2105
- "text": "boolean"
2106
- },
2107
- "privacy": "protected",
2108
- "default": "true"
2109
- },
2110
- {
2111
- "kind": "field",
2112
- "name": "intervalOptions",
2113
- "type": {
2114
- "text": "array"
2059
+ "return": {
2060
+ "type": {
2061
+ "text": "Promise<Dashboard>"
2062
+ }
2115
2063
  },
2116
- "privacy": "protected",
2117
- "default": "[DashboardRefreshInterval.OFF, DashboardRefreshInterval.ONE_MIN, DashboardRefreshInterval.FIVE_MIN, DashboardRefreshInterval.QUARTER, DashboardRefreshInterval.ONE_HOUR]"
2064
+ "parameters": [
2065
+ {
2066
+ "name": "dashboard",
2067
+ "optional": true,
2068
+ "type": {
2069
+ "text": "Dashboard"
2070
+ }
2071
+ },
2072
+ {
2073
+ "name": "size",
2074
+ "default": "DashboardSizeOption.DESKTOP",
2075
+ "type": {
2076
+ "text": "DashboardSizeOption"
2077
+ }
2078
+ },
2079
+ {
2080
+ "name": "realm",
2081
+ "default": "manager.displayRealm",
2082
+ "type": {
2083
+ "text": "string"
2084
+ }
2085
+ },
2086
+ {
2087
+ "name": "post",
2088
+ "default": "true"
2089
+ }
2090
+ ]
2118
2091
  },
2119
2092
  {
2120
2093
  "kind": "method",
2121
- "name": "willUpdate",
2122
- "privacy": "protected",
2094
+ "name": "delete",
2095
+ "privacy": "public",
2096
+ "static": true,
2123
2097
  "parameters": [
2124
2098
  {
2125
- "name": "changedProps",
2099
+ "name": "id",
2126
2100
  "type": {
2127
- "text": "PropertyValues"
2101
+ "text": "string"
2102
+ }
2103
+ },
2104
+ {
2105
+ "name": "realm",
2106
+ "default": "manager.displayRealm",
2107
+ "type": {
2108
+ "text": "string"
2128
2109
  }
2129
2110
  }
2130
2111
  ]
2131
2112
  },
2132
2113
  {
2133
2114
  "kind": "method",
2134
- "name": "render",
2135
- "privacy": "protected",
2115
+ "name": "getDefaultColumns",
2116
+ "privacy": "private",
2117
+ "static": true,
2136
2118
  "return": {
2137
2119
  "type": {
2138
- "text": "TemplateResult"
2120
+ "text": "number"
2139
2121
  }
2140
- }
2141
- },
2142
- {
2143
- "kind": "method",
2144
- "name": "onIntervalSelect",
2145
- "privacy": "protected",
2122
+ },
2146
2123
  "parameters": [
2147
2124
  {
2148
- "name": "stringOptions",
2125
+ "name": "preset",
2149
2126
  "type": {
2150
- "text": "string[]"
2127
+ "text": "DashboardSizeOption"
2151
2128
  }
2152
- },
2129
+ }
2130
+ ]
2131
+ },
2132
+ {
2133
+ "kind": "method",
2134
+ "name": "getDefaultDisplayName",
2135
+ "privacy": "private",
2136
+ "static": true,
2137
+ "return": {
2138
+ "type": {
2139
+ "text": "string"
2140
+ }
2141
+ },
2142
+ "parameters": [
2153
2143
  {
2154
- "name": "value",
2144
+ "name": "preset",
2155
2145
  "type": {
2156
- "text": "string"
2146
+ "text": "DashboardSizeOption"
2157
2147
  }
2158
2148
  }
2159
2149
  ]
2160
2150
  },
2161
2151
  {
2162
2152
  "kind": "method",
2163
- "name": "getIntervalString",
2164
- "privacy": "protected",
2153
+ "name": "getDefaultScreenPresets",
2154
+ "privacy": "private",
2155
+ "static": true,
2165
2156
  "return": {
2166
2157
  "type": {
2167
- "text": "string"
2158
+ "text": "DashboardScreenPreset[]"
2168
2159
  }
2169
2160
  },
2170
2161
  "parameters": [
2171
2162
  {
2172
- "name": "interval",
2163
+ "name": "preset",
2173
2164
  "type": {
2174
- "text": "DashboardRefreshInterval"
2165
+ "text": "DashboardSizeOption"
2175
2166
  }
2176
2167
  }
2177
2168
  ]
2178
2169
  },
2179
2170
  {
2180
2171
  "kind": "method",
2181
- "name": "getRefreshOptions",
2182
- "privacy": "protected",
2172
+ "name": "getDefaultMaxScreenWidth",
2173
+ "privacy": "private",
2174
+ "static": true,
2183
2175
  "return": {
2184
2176
  "type": {
2185
- "text": "string[]"
2177
+ "text": "number"
2186
2178
  }
2187
- }
2188
- }
2189
- ],
2190
- "events": [
2191
- {
2192
- "type": {
2193
- "text": "IntervalSelectEvent"
2194
- }
2179
+ },
2180
+ "parameters": [
2181
+ {
2182
+ "name": "preset",
2183
+ "type": {
2184
+ "text": "DashboardSizeOption"
2185
+ }
2186
+ }
2187
+ ]
2195
2188
  }
2196
- ],
2197
- "superclass": {
2198
- "name": "LitElement",
2199
- "package": "lit"
2200
- },
2201
- "customElement": true
2189
+ ]
2202
2190
  }
2203
2191
  ],
2204
2192
  "exports": [
2205
2193
  {
2206
2194
  "kind": "js",
2207
- "name": "intervalToMillis",
2208
- "declaration": {
2209
- "name": "intervalToMillis",
2210
- "module": "src/controls/dashboard-refresh-controls.ts"
2211
- }
2212
- },
2213
- {
2214
- "kind": "js",
2215
- "name": "IntervalSelectEvent",
2216
- "declaration": {
2217
- "name": "IntervalSelectEvent",
2218
- "module": "src/controls/dashboard-refresh-controls.ts"
2219
- }
2220
- },
2221
- {
2222
- "kind": "js",
2223
- "name": "DashboardRefreshControls",
2195
+ "name": "DashboardService",
2224
2196
  "declaration": {
2225
- "name": "DashboardRefreshControls",
2226
- "module": "src/controls/dashboard-refresh-controls.ts"
2197
+ "name": "DashboardService",
2198
+ "module": "src/service/dashboard-service.ts"
2227
2199
  }
2228
2200
  }
2229
2201
  ]
2230
2202
  },
2231
2203
  {
2232
2204
  "kind": "javascript-module",
2233
- "path": "src/panels/assettypes-panel.ts",
2205
+ "path": "src/service/widget-service.ts",
2234
2206
  "declarations": [
2235
2207
  {
2236
2208
  "kind": "class",
2237
2209
  "description": "",
2238
- "name": "AssetTypeSelectEvent",
2210
+ "name": "WidgetService",
2239
2211
  "members": [
2240
2212
  {
2241
- "kind": "field",
2242
- "name": "NAME",
2243
- "type": {
2244
- "text": "string"
2245
- },
2213
+ "kind": "method",
2214
+ "name": "getManifest",
2246
2215
  "privacy": "public",
2247
2216
  "static": true,
2248
- "readonly": true,
2249
- "default": "\"assettype-select\""
2250
- }
2251
- ],
2252
- "superclass": {
2253
- "name": "CustomEvent",
2254
- "module": "src/panels/assettypes-panel.ts"
2255
- }
2256
- },
2257
- {
2258
- "kind": "class",
2259
- "description": "",
2260
- "name": "AssetAllOfTypeSwitchEvent",
2261
- "members": [
2217
+ "parameters": [
2218
+ {
2219
+ "name": "widgetTypeId",
2220
+ "type": {
2221
+ "text": "string"
2222
+ }
2223
+ }
2224
+ ]
2225
+ },
2262
2226
  {
2263
- "kind": "field",
2264
- "name": "NAME",
2265
- "type": {
2266
- "text": "string"
2267
- },
2227
+ "kind": "method",
2228
+ "name": "placeNew",
2268
2229
  "privacy": "public",
2269
2230
  "static": true,
2270
- "readonly": true,
2231
+ "return": {
2232
+ "type": {
2233
+ "text": "Promise<DashboardWidget>"
2234
+ }
2235
+ },
2236
+ "parameters": [
2237
+ {
2238
+ "name": "widgetTypeId",
2239
+ "type": {
2240
+ "text": "string"
2241
+ }
2242
+ },
2243
+ {
2244
+ "name": "x",
2245
+ "type": {
2246
+ "text": "number"
2247
+ }
2248
+ },
2249
+ {
2250
+ "name": "y",
2251
+ "type": {
2252
+ "text": "number"
2253
+ }
2254
+ }
2255
+ ]
2256
+ },
2257
+ {
2258
+ "kind": "method",
2259
+ "name": "correctToConfigSpec",
2260
+ "privacy": "public",
2261
+ "static": true,
2262
+ "parameters": [
2263
+ {
2264
+ "name": "manifest",
2265
+ "type": {
2266
+ "text": "WidgetManifest"
2267
+ }
2268
+ },
2269
+ {
2270
+ "name": "widgetConfig",
2271
+ "type": {
2272
+ "text": "WidgetConfig"
2273
+ }
2274
+ }
2275
+ ]
2276
+ }
2277
+ ]
2278
+ }
2279
+ ],
2280
+ "exports": [
2281
+ {
2282
+ "kind": "js",
2283
+ "name": "WidgetService",
2284
+ "declaration": {
2285
+ "name": "WidgetService",
2286
+ "module": "src/service/widget-service.ts"
2287
+ }
2288
+ }
2289
+ ]
2290
+ },
2291
+ {
2292
+ "kind": "javascript-module",
2293
+ "path": "src/panels/assettypes-panel.ts",
2294
+ "declarations": [
2295
+ {
2296
+ "kind": "class",
2297
+ "description": "",
2298
+ "name": "AssetTypeSelectEvent",
2299
+ "members": [
2300
+ {
2301
+ "kind": "field",
2302
+ "name": "NAME",
2303
+ "type": {
2304
+ "text": "string"
2305
+ },
2306
+ "privacy": "public",
2307
+ "static": true,
2308
+ "readonly": true,
2309
+ "default": "\"assettype-select\""
2310
+ }
2311
+ ],
2312
+ "superclass": {
2313
+ "name": "CustomEvent",
2314
+ "module": "src/panels/assettypes-panel.ts"
2315
+ }
2316
+ },
2317
+ {
2318
+ "kind": "class",
2319
+ "description": "",
2320
+ "name": "AssetAllOfTypeSwitchEvent",
2321
+ "members": [
2322
+ {
2323
+ "kind": "field",
2324
+ "name": "NAME",
2325
+ "type": {
2326
+ "text": "string"
2327
+ },
2328
+ "privacy": "public",
2329
+ "static": true,
2330
+ "readonly": true,
2271
2331
  "default": "\"alloftype-switch\""
2272
2332
  }
2273
2333
  ],
@@ -3085,326 +3145,80 @@
3085
3145
  {
3086
3146
  "kind": "method",
3087
3147
  "name": "removeThreshold",
3088
- "privacy": "protected",
3089
- "parameters": [
3090
- {
3091
- "name": "threshold",
3092
- "type": {
3093
- "text": "[any, string]"
3094
- }
3095
- }
3096
- ]
3097
- },
3098
- {
3099
- "kind": "method",
3100
- "name": "addThreshold",
3101
- "privacy": "protected",
3102
- "parameters": [
3103
- {
3104
- "name": "threshold",
3105
- "type": {
3106
- "text": "[any, string]"
3107
- }
3108
- }
3109
- ]
3110
- },
3111
- {
3112
- "kind": "method",
3113
- "name": "addNewThreshold",
3114
- "privacy": "protected"
3115
- }
3116
- ],
3117
- "events": [
3118
- {
3119
- "type": {
3120
- "text": "ThresholdChangeEvent"
3121
- }
3122
- }
3123
- ],
3124
- "superclass": {
3125
- "name": "LitElement",
3126
- "package": "lit"
3127
- },
3128
- "customElement": true
3129
- }
3130
- ],
3131
- "exports": [
3132
- {
3133
- "kind": "js",
3134
- "name": "ThresholdChangeEvent",
3135
- "declaration": {
3136
- "name": "ThresholdChangeEvent",
3137
- "module": "src/panels/thresholds-panel.ts"
3138
- }
3139
- },
3140
- {
3141
- "kind": "js",
3142
- "name": "TextColorsChangeEvent",
3143
- "declaration": {
3144
- "name": "TextColorsChangeEvent",
3145
- "module": "src/panels/thresholds-panel.ts"
3146
- }
3147
- },
3148
- {
3149
- "kind": "js",
3150
- "name": "BoolColorsChangeEvent",
3151
- "declaration": {
3152
- "name": "BoolColorsChangeEvent",
3153
- "module": "src/panels/thresholds-panel.ts"
3154
- }
3155
- },
3156
- {
3157
- "kind": "js",
3158
- "name": "ThresholdsPanel",
3159
- "declaration": {
3160
- "name": "ThresholdsPanel",
3161
- "module": "src/panels/thresholds-panel.ts"
3162
- }
3163
- }
3164
- ]
3165
- },
3166
- {
3167
- "kind": "javascript-module",
3168
- "path": "src/service/dashboard-service.ts",
3169
- "declarations": [
3170
- {
3171
- "kind": "class",
3172
- "description": "",
3173
- "name": "DashboardService",
3174
- "members": [
3175
- {
3176
- "kind": "method",
3177
- "name": "create",
3178
- "privacy": "public",
3179
- "static": true,
3180
- "return": {
3181
- "type": {
3182
- "text": "Promise<Dashboard>"
3183
- }
3184
- },
3185
- "parameters": [
3186
- {
3187
- "name": "dashboard",
3188
- "optional": true,
3189
- "type": {
3190
- "text": "Dashboard"
3191
- }
3192
- },
3193
- {
3194
- "name": "size",
3195
- "default": "DashboardSizeOption.DESKTOP",
3196
- "type": {
3197
- "text": "DashboardSizeOption"
3198
- }
3199
- },
3200
- {
3201
- "name": "realm",
3202
- "default": "manager.displayRealm",
3203
- "type": {
3204
- "text": "string"
3205
- }
3206
- },
3207
- {
3208
- "name": "post",
3209
- "default": "true"
3210
- }
3211
- ]
3212
- },
3213
- {
3214
- "kind": "method",
3215
- "name": "delete",
3216
- "privacy": "public",
3217
- "static": true,
3218
- "parameters": [
3219
- {
3220
- "name": "id",
3221
- "type": {
3222
- "text": "string"
3223
- }
3224
- },
3225
- {
3226
- "name": "realm",
3227
- "default": "manager.displayRealm",
3228
- "type": {
3229
- "text": "string"
3230
- }
3231
- }
3232
- ]
3233
- },
3234
- {
3235
- "kind": "method",
3236
- "name": "getDefaultColumns",
3237
- "privacy": "private",
3238
- "static": true,
3239
- "return": {
3240
- "type": {
3241
- "text": "number"
3242
- }
3243
- },
3244
- "parameters": [
3245
- {
3246
- "name": "preset",
3247
- "type": {
3248
- "text": "DashboardSizeOption"
3249
- }
3250
- }
3251
- ]
3252
- },
3253
- {
3254
- "kind": "method",
3255
- "name": "getDefaultDisplayName",
3256
- "privacy": "private",
3257
- "static": true,
3258
- "return": {
3259
- "type": {
3260
- "text": "string"
3261
- }
3262
- },
3263
- "parameters": [
3264
- {
3265
- "name": "preset",
3266
- "type": {
3267
- "text": "DashboardSizeOption"
3268
- }
3269
- }
3270
- ]
3271
- },
3272
- {
3273
- "kind": "method",
3274
- "name": "getDefaultScreenPresets",
3275
- "privacy": "private",
3276
- "static": true,
3277
- "return": {
3278
- "type": {
3279
- "text": "DashboardScreenPreset[]"
3280
- }
3281
- },
3282
- "parameters": [
3283
- {
3284
- "name": "preset",
3285
- "type": {
3286
- "text": "DashboardSizeOption"
3287
- }
3288
- }
3289
- ]
3290
- },
3291
- {
3292
- "kind": "method",
3293
- "name": "getDefaultMaxScreenWidth",
3294
- "privacy": "private",
3295
- "static": true,
3296
- "return": {
3297
- "type": {
3298
- "text": "number"
3299
- }
3300
- },
3301
- "parameters": [
3302
- {
3303
- "name": "preset",
3304
- "type": {
3305
- "text": "DashboardSizeOption"
3306
- }
3307
- }
3308
- ]
3309
- }
3310
- ]
3311
- }
3312
- ],
3313
- "exports": [
3314
- {
3315
- "kind": "js",
3316
- "name": "DashboardService",
3317
- "declaration": {
3318
- "name": "DashboardService",
3319
- "module": "src/service/dashboard-service.ts"
3320
- }
3321
- }
3322
- ]
3323
- },
3324
- {
3325
- "kind": "javascript-module",
3326
- "path": "src/service/widget-service.ts",
3327
- "declarations": [
3328
- {
3329
- "kind": "class",
3330
- "description": "",
3331
- "name": "WidgetService",
3332
- "members": [
3333
- {
3334
- "kind": "method",
3335
- "name": "getManifest",
3336
- "privacy": "public",
3337
- "static": true,
3338
- "parameters": [
3339
- {
3340
- "name": "widgetTypeId",
3341
- "type": {
3342
- "text": "string"
3343
- }
3344
- }
3345
- ]
3346
- },
3347
- {
3348
- "kind": "method",
3349
- "name": "placeNew",
3350
- "privacy": "public",
3351
- "static": true,
3352
- "return": {
3353
- "type": {
3354
- "text": "Promise<DashboardWidget>"
3355
- }
3356
- },
3357
- "parameters": [
3358
- {
3359
- "name": "widgetTypeId",
3360
- "type": {
3361
- "text": "string"
3362
- }
3363
- },
3364
- {
3365
- "name": "x",
3366
- "type": {
3367
- "text": "number"
3368
- }
3369
- },
3148
+ "privacy": "protected",
3149
+ "parameters": [
3370
3150
  {
3371
- "name": "y",
3151
+ "name": "threshold",
3372
3152
  "type": {
3373
- "text": "number"
3153
+ "text": "[any, string]"
3374
3154
  }
3375
3155
  }
3376
3156
  ]
3377
3157
  },
3378
3158
  {
3379
3159
  "kind": "method",
3380
- "name": "correctToConfigSpec",
3381
- "privacy": "public",
3382
- "static": true,
3160
+ "name": "addThreshold",
3161
+ "privacy": "protected",
3383
3162
  "parameters": [
3384
3163
  {
3385
- "name": "manifest",
3386
- "type": {
3387
- "text": "WidgetManifest"
3388
- }
3389
- },
3390
- {
3391
- "name": "widgetConfig",
3164
+ "name": "threshold",
3392
3165
  "type": {
3393
- "text": "WidgetConfig"
3166
+ "text": "[any, string]"
3394
3167
  }
3395
3168
  }
3396
3169
  ]
3170
+ },
3171
+ {
3172
+ "kind": "method",
3173
+ "name": "addNewThreshold",
3174
+ "privacy": "protected"
3397
3175
  }
3398
- ]
3176
+ ],
3177
+ "events": [
3178
+ {
3179
+ "type": {
3180
+ "text": "ThresholdChangeEvent"
3181
+ }
3182
+ }
3183
+ ],
3184
+ "superclass": {
3185
+ "name": "LitElement",
3186
+ "package": "lit"
3187
+ },
3188
+ "customElement": true
3399
3189
  }
3400
3190
  ],
3401
3191
  "exports": [
3402
3192
  {
3403
3193
  "kind": "js",
3404
- "name": "WidgetService",
3194
+ "name": "ThresholdChangeEvent",
3405
3195
  "declaration": {
3406
- "name": "WidgetService",
3407
- "module": "src/service/widget-service.ts"
3196
+ "name": "ThresholdChangeEvent",
3197
+ "module": "src/panels/thresholds-panel.ts"
3198
+ }
3199
+ },
3200
+ {
3201
+ "kind": "js",
3202
+ "name": "TextColorsChangeEvent",
3203
+ "declaration": {
3204
+ "name": "TextColorsChangeEvent",
3205
+ "module": "src/panels/thresholds-panel.ts"
3206
+ }
3207
+ },
3208
+ {
3209
+ "kind": "js",
3210
+ "name": "BoolColorsChangeEvent",
3211
+ "declaration": {
3212
+ "name": "BoolColorsChangeEvent",
3213
+ "module": "src/panels/thresholds-panel.ts"
3214
+ }
3215
+ },
3216
+ {
3217
+ "kind": "js",
3218
+ "name": "ThresholdsPanel",
3219
+ "declaration": {
3220
+ "name": "ThresholdsPanel",
3221
+ "module": "src/panels/thresholds-panel.ts"
3408
3222
  }
3409
3223
  }
3410
3224
  ]
@@ -5829,6 +5643,192 @@
5829
5643
  }
5830
5644
  ]
5831
5645
  },
5646
+ {
5647
+ "kind": "javascript-module",
5648
+ "path": "src/controls/dashboard-refresh-controls.ts",
5649
+ "declarations": [
5650
+ {
5651
+ "kind": "function",
5652
+ "name": "intervalToMillis",
5653
+ "return": {
5654
+ "type": {
5655
+ "text": "number | undefined"
5656
+ }
5657
+ },
5658
+ "parameters": [
5659
+ {
5660
+ "name": "interval",
5661
+ "type": {
5662
+ "text": "DashboardRefreshInterval"
5663
+ }
5664
+ }
5665
+ ]
5666
+ },
5667
+ {
5668
+ "kind": "class",
5669
+ "description": "",
5670
+ "name": "IntervalSelectEvent",
5671
+ "members": [
5672
+ {
5673
+ "kind": "field",
5674
+ "name": "NAME",
5675
+ "type": {
5676
+ "text": "string"
5677
+ },
5678
+ "privacy": "public",
5679
+ "static": true,
5680
+ "readonly": true,
5681
+ "default": "\"interval-select\""
5682
+ }
5683
+ ],
5684
+ "superclass": {
5685
+ "name": "CustomEvent",
5686
+ "module": "src/controls/dashboard-refresh-controls.ts"
5687
+ }
5688
+ },
5689
+ {
5690
+ "kind": "class",
5691
+ "description": "",
5692
+ "name": "DashboardRefreshControls",
5693
+ "members": [
5694
+ {
5695
+ "kind": "field",
5696
+ "name": "interval",
5697
+ "type": {
5698
+ "text": "DashboardRefreshInterval"
5699
+ },
5700
+ "privacy": "protected"
5701
+ },
5702
+ {
5703
+ "kind": "field",
5704
+ "name": "readonly",
5705
+ "type": {
5706
+ "text": "boolean"
5707
+ },
5708
+ "privacy": "protected",
5709
+ "default": "true"
5710
+ },
5711
+ {
5712
+ "kind": "field",
5713
+ "name": "intervalOptions",
5714
+ "type": {
5715
+ "text": "array"
5716
+ },
5717
+ "privacy": "protected",
5718
+ "default": "[DashboardRefreshInterval.OFF, DashboardRefreshInterval.ONE_MIN, DashboardRefreshInterval.FIVE_MIN, DashboardRefreshInterval.QUARTER, DashboardRefreshInterval.ONE_HOUR]"
5719
+ },
5720
+ {
5721
+ "kind": "method",
5722
+ "name": "willUpdate",
5723
+ "privacy": "protected",
5724
+ "parameters": [
5725
+ {
5726
+ "name": "changedProps",
5727
+ "type": {
5728
+ "text": "PropertyValues"
5729
+ }
5730
+ }
5731
+ ]
5732
+ },
5733
+ {
5734
+ "kind": "method",
5735
+ "name": "render",
5736
+ "privacy": "protected",
5737
+ "return": {
5738
+ "type": {
5739
+ "text": "TemplateResult"
5740
+ }
5741
+ }
5742
+ },
5743
+ {
5744
+ "kind": "method",
5745
+ "name": "onIntervalSelect",
5746
+ "privacy": "protected",
5747
+ "parameters": [
5748
+ {
5749
+ "name": "stringOptions",
5750
+ "type": {
5751
+ "text": "string[]"
5752
+ }
5753
+ },
5754
+ {
5755
+ "name": "value",
5756
+ "type": {
5757
+ "text": "string"
5758
+ }
5759
+ }
5760
+ ]
5761
+ },
5762
+ {
5763
+ "kind": "method",
5764
+ "name": "getIntervalString",
5765
+ "privacy": "protected",
5766
+ "return": {
5767
+ "type": {
5768
+ "text": "string"
5769
+ }
5770
+ },
5771
+ "parameters": [
5772
+ {
5773
+ "name": "interval",
5774
+ "type": {
5775
+ "text": "DashboardRefreshInterval"
5776
+ }
5777
+ }
5778
+ ]
5779
+ },
5780
+ {
5781
+ "kind": "method",
5782
+ "name": "getRefreshOptions",
5783
+ "privacy": "protected",
5784
+ "return": {
5785
+ "type": {
5786
+ "text": "string[]"
5787
+ }
5788
+ }
5789
+ }
5790
+ ],
5791
+ "events": [
5792
+ {
5793
+ "type": {
5794
+ "text": "IntervalSelectEvent"
5795
+ }
5796
+ }
5797
+ ],
5798
+ "superclass": {
5799
+ "name": "LitElement",
5800
+ "package": "lit"
5801
+ },
5802
+ "customElement": true
5803
+ }
5804
+ ],
5805
+ "exports": [
5806
+ {
5807
+ "kind": "js",
5808
+ "name": "intervalToMillis",
5809
+ "declaration": {
5810
+ "name": "intervalToMillis",
5811
+ "module": "src/controls/dashboard-refresh-controls.ts"
5812
+ }
5813
+ },
5814
+ {
5815
+ "kind": "js",
5816
+ "name": "IntervalSelectEvent",
5817
+ "declaration": {
5818
+ "name": "IntervalSelectEvent",
5819
+ "module": "src/controls/dashboard-refresh-controls.ts"
5820
+ }
5821
+ },
5822
+ {
5823
+ "kind": "js",
5824
+ "name": "DashboardRefreshControls",
5825
+ "declaration": {
5826
+ "name": "DashboardRefreshControls",
5827
+ "module": "src/controls/dashboard-refresh-controls.ts"
5828
+ }
5829
+ }
5830
+ ]
5831
+ },
5832
5832
  {
5833
5833
  "kind": "javascript-module",
5834
5834
  "path": "src/util/or-asset-widget.ts",