@wral/report-it 0.1.0 → 0.1.1
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/define.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as n from "amazon-cognito-identity-js";
|
|
2
|
-
import { W as i, a as r, b as a } from "./wral-code-input-
|
|
2
|
+
import { W as i, a as r, b as a } from "./wral-code-input-6ckbynNg.js";
|
|
3
3
|
typeof window < "u" && !window.AmazonCognitoIdentity && (window.AmazonCognitoIdentity = n);
|
|
4
4
|
const d = {
|
|
5
5
|
"wral-report-it": a,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as U, b as M, a as V, c as H, d as j, e as K } from "./wral-code-input-
|
|
1
|
+
import { W as U, b as M, a as V, c as H, d as j, e as K } from "./wral-code-input-6ckbynNg.js";
|
|
2
2
|
const b = "weather", w = "Weather photo or report", g = "Weather reports routed to the weather desk queue; meteorologists are emailed. Severe weather flags urgent.", k = "2026-08-18.1", x = 1, v = !0, q = "weather_type", W = { maxFiles: 5, maxFileBytes: 524288e3, allowedTypes: ["image/jpeg", "image/png", "image/heic", "image/webp", "video/mp4", "video/quicktime"] }, _ = [{ id: "weather_type", type: "choice", prompt: "What kind of weather?", options: [{ id: "severe", label: "Tornado, flooding or hail", flags: ["urgent"], next: "weather_detail" }, { id: "winter", label: "Snow, ice or wind damage", flags: ["moderate"], next: "weather_detail" }, { id: "photo", label: "A photo, nothing severe", next: "weather_detail" }] }, { id: "weather_detail", type: "collect", prompt: "Where and when?", next: "verify", fields: [{ key: "location", kind: "location", label: "Where was this?", required: !0 }, { key: "observedAt", kind: "datetime", label: "When did you see it?" }, { key: "description", kind: "textarea", label: "What did you see?", required: !0, maxLength: 1e3 }, { key: "media", kind: "media", label: "Photos or video" }, { key: "rights", kind: "consent", label: "Rights confirmation", required: !0 }] }, { id: "verify", type: "gate", next: "submit" }, { id: "submit", type: "terminal", route: "studio+email:weather", confirmation: { title: "Sent to the WRAL weather team.", body: "Your report goes to the weather desk queue and the meteorologists are emailed.", urgentNote: "Severe weather reports are pinned to the top of the queue." } }], T = {
|
|
3
3
|
formId: b,
|
|
4
4
|
title: w,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wral/report-it",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Lit web component for the Report It guided viewer-submission flow on WRAL.com: chat-style form walking, embedded My WRAL sign-in, submit-time media uploads, rendered against api-forms.",
|
|
6
6
|
"author": "Dominick Jones <djones@wral.com>",
|