@salesforcedevs/dw-components 1.3.155 → 1.3.157-canary.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/lwc.config.json +5 -1
- package/package.json +2 -3
- package/src/modules/dw/deSignupForm/deSignupForm.html +10 -0
- package/src/modules/dw/deSignupForm/deSignupForm.ts +9 -0
- package/src/modules/dw/deSignupForm/submitForm.ts +1 -0
- package/src/modules/dw/j2sCardSequence/j2sCardSequence.css +14 -0
- package/src/modules/dw/j2sCardSequence/j2sCardSequence.html +37 -0
- package/src/modules/dw/j2sCardSequence/j2sCardSequence.ts +414 -0
- package/src/modules/dw/j2sCardSequence/mockProps.ts +61 -0
- package/src/modules/dw/j2sCardSequenceStep/j2sCardSequenceStep.css +64 -0
- package/src/modules/dw/j2sCardSequenceStep/j2sCardSequenceStep.html +63 -0
- package/src/modules/dw/j2sCardSequenceStep/j2sCardSequenceStep.ts +152 -0
- package/src/modules/dw/j2sForm/j2sForm.css +69 -0
- package/src/modules/dw/j2sForm/j2sForm.html +201 -0
- package/src/modules/dw/j2sForm/j2sForm.ts +344 -0
- package/src/modules/dw/j2sForm/mockProps.ts +3095 -0
- package/src/modules/dw/newsletterForm/newsletterForm.html +11 -0
- package/src/modules/dw/newsletterForm/newsletterForm.ts +16 -1
- package/src/modules/dwUtils/forms/forms.ts +513 -0
- package/LICENSE +0 -12
|
@@ -51,6 +51,17 @@
|
|
|
51
51
|
value={country}
|
|
52
52
|
required="true"
|
|
53
53
|
></dx-select>
|
|
54
|
+
<dx-select
|
|
55
|
+
if:true={showStateSelect}
|
|
56
|
+
label="State/Province"
|
|
57
|
+
onchange={handleChange}
|
|
58
|
+
message-when-value-missing="Select your state/province"
|
|
59
|
+
name="state"
|
|
60
|
+
options={states}
|
|
61
|
+
placeholder="Select State/Province"
|
|
62
|
+
required
|
|
63
|
+
value={state}
|
|
64
|
+
></dx-select>
|
|
54
65
|
|
|
55
66
|
<template if:false={showMarketingText}>
|
|
56
67
|
<p class="marketing-text">{marketingText}</p>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LightningElement, api } from "lwc";
|
|
2
2
|
import { track } from "dxUtils/analytics";
|
|
3
|
+
import { stateMap } from "dwUtils/forms";
|
|
3
4
|
import { CountryOptions } from "typings/custom";
|
|
4
5
|
|
|
5
6
|
const LOCAL_STORAGE_KEY = "subscriberEmail";
|
|
@@ -13,6 +14,7 @@ export default class Form extends LightningElement {
|
|
|
13
14
|
private lastName: string = "";
|
|
14
15
|
private email: string = "";
|
|
15
16
|
private country: string = "";
|
|
17
|
+
private state?: string;
|
|
16
18
|
private marketingCheckbox: string = "";
|
|
17
19
|
|
|
18
20
|
private showLegalText: boolean = false; // This should be always true
|
|
@@ -22,6 +24,14 @@ export default class Form extends LightningElement {
|
|
|
22
24
|
private marketingText: string | null = null;
|
|
23
25
|
private hasRendered: boolean = false;
|
|
24
26
|
|
|
27
|
+
get showStateSelect(): boolean {
|
|
28
|
+
return !!(this.country && this.country in stateMap);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
get states(): string[] {
|
|
32
|
+
return stateMap[this.country] || [];
|
|
33
|
+
}
|
|
34
|
+
|
|
25
35
|
connectedCallback() {
|
|
26
36
|
this.getCountryList();
|
|
27
37
|
}
|
|
@@ -64,6 +74,9 @@ export default class Form extends LightningElement {
|
|
|
64
74
|
this.country = e.target.value;
|
|
65
75
|
this.handleConsent(e.target);
|
|
66
76
|
break;
|
|
77
|
+
case "state":
|
|
78
|
+
this.state = e.target.value;
|
|
79
|
+
break;
|
|
67
80
|
case "marketingCheckbox":
|
|
68
81
|
this.marketingCheckbox = e.target.checked;
|
|
69
82
|
break;
|
|
@@ -129,6 +142,7 @@ export default class Form extends LightningElement {
|
|
|
129
142
|
|
|
130
143
|
getFormData() {
|
|
131
144
|
const date = new Date().toISOString();
|
|
145
|
+
const stateData = this.state ? { MailingState: this.state } : {};
|
|
132
146
|
return {
|
|
133
147
|
InfoEmail__c:
|
|
134
148
|
(this.showMarketingText && this.marketingCheckbox) ||
|
|
@@ -141,7 +155,8 @@ export default class Form extends LightningElement {
|
|
|
141
155
|
Email_Status_Update__c: date,
|
|
142
156
|
Email: this.email,
|
|
143
157
|
MailingCountry: this.country,
|
|
144
|
-
handlerName: "news_letter_form_handler"
|
|
158
|
+
handlerName: "news_letter_form_handler",
|
|
159
|
+
...stateData
|
|
145
160
|
};
|
|
146
161
|
}
|
|
147
162
|
|
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
export const stateMap = {
|
|
2
|
+
AU: [
|
|
3
|
+
{
|
|
4
|
+
id: "Western Australia",
|
|
5
|
+
label: "Western Australia",
|
|
6
|
+
value: "Western Australia"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
id: "Northern Territory",
|
|
10
|
+
label: "Northern Territory",
|
|
11
|
+
value: "Northern Territory"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
id: "South Australia",
|
|
15
|
+
label: "South Australia",
|
|
16
|
+
value: "South Australia"
|
|
17
|
+
},
|
|
18
|
+
{ id: "Queensland", label: "Queensland", value: "Queensland" },
|
|
19
|
+
{
|
|
20
|
+
id: "New South Wales",
|
|
21
|
+
label: "New South Wales",
|
|
22
|
+
value: "New South Wales"
|
|
23
|
+
},
|
|
24
|
+
{ id: "Victoria", label: "Victoria", value: "Victoria" },
|
|
25
|
+
{ id: "Tasmania", label: "Tasmania", value: "Tasmania" }
|
|
26
|
+
],
|
|
27
|
+
BR: [
|
|
28
|
+
{ id: "Acre", label: "Acre", value: "Acre" },
|
|
29
|
+
{ id: "Alagoas", label: "Alagoas", value: "Alagoas" },
|
|
30
|
+
{ id: "Amazonas", label: "Amazonas", value: "Amazonas" },
|
|
31
|
+
{ id: "Amapá", label: "Amapá", value: "Amapá" },
|
|
32
|
+
{ id: "Bahia", label: "Bahia", value: "Bahia" },
|
|
33
|
+
{ id: "Ceará", label: "Ceará", value: "Ceará" },
|
|
34
|
+
{
|
|
35
|
+
id: "Distrito Federal",
|
|
36
|
+
label: "Distrito Federal",
|
|
37
|
+
value: "Distrito Federal"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "Espírito Santo",
|
|
41
|
+
label: "Espírito Santo",
|
|
42
|
+
value: "Espírito Santo"
|
|
43
|
+
},
|
|
44
|
+
{ id: "Goiás", label: "Goiás", value: "Goiás" },
|
|
45
|
+
{ id: "Maranhão", label: "Maranhão", value: "Maranhão" },
|
|
46
|
+
{ id: "Minas Gerais", label: "Minas Gerais", value: "Minas Gerais" },
|
|
47
|
+
{
|
|
48
|
+
id: "Mato Grosso do Sul",
|
|
49
|
+
label: "Mato Grosso do Sul",
|
|
50
|
+
value: "Mato Grosso do Sul"
|
|
51
|
+
},
|
|
52
|
+
{ id: "Mato Grosso", label: "Mato Grosso", value: "Mato Grosso" },
|
|
53
|
+
{ id: "Pará", label: "Pará", value: "Pará" },
|
|
54
|
+
{ id: "Paraíba", label: "Paraíba", value: "Paraíba" },
|
|
55
|
+
{ id: "Pernambuco", label: "Pernambuco", value: "Pernambuco" },
|
|
56
|
+
{ id: "Piauí", label: "Piauí", value: "Piauí" },
|
|
57
|
+
{ id: "Paraná", label: "Paraná", value: "Paraná" },
|
|
58
|
+
{
|
|
59
|
+
id: "Rio de Janeiro",
|
|
60
|
+
label: "Rio de Janeiro",
|
|
61
|
+
value: "Rio de Janeiro"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "Rio Grande do Norte",
|
|
65
|
+
label: "Rio Grande do Norte",
|
|
66
|
+
value: "Rio Grande do Norte"
|
|
67
|
+
},
|
|
68
|
+
{ id: "Rondônia", label: "Rondônia", value: "Rondônia" },
|
|
69
|
+
{ id: "Roraima", label: "Roraima", value: "Roraima" },
|
|
70
|
+
{
|
|
71
|
+
id: "Rio Grande do Sul",
|
|
72
|
+
label: "Rio Grande do Sul",
|
|
73
|
+
value: "Rio Grande do Sul"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "Santa Catarina",
|
|
77
|
+
label: "Santa Catarina",
|
|
78
|
+
value: "Santa Catarina"
|
|
79
|
+
},
|
|
80
|
+
{ id: "Sergipe", label: "Sergipe", value: "Sergipe" },
|
|
81
|
+
{ id: "São Paulo", label: "São Paulo", value: "São Paulo" },
|
|
82
|
+
{ id: "Tocantins", label: "Tocantins", value: "Tocantins" }
|
|
83
|
+
],
|
|
84
|
+
CA: [
|
|
85
|
+
{ id: "Alberta", label: "Alberta", value: "Alberta" },
|
|
86
|
+
{
|
|
87
|
+
id: "British Columbia",
|
|
88
|
+
label: "British Columbia",
|
|
89
|
+
value: "British Columbia"
|
|
90
|
+
},
|
|
91
|
+
{ id: "Manitoba", label: "Manitoba", value: "Manitoba" },
|
|
92
|
+
{ id: "New Brunswick", label: "New Brunswick", value: "New Brunswick" },
|
|
93
|
+
{
|
|
94
|
+
id: "Newfoundland and Labrador",
|
|
95
|
+
label: "Newfoundland and Labrador",
|
|
96
|
+
value: "Newfoundland and Labrador"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: "Northwest Territories",
|
|
100
|
+
label: "Northwest Territories",
|
|
101
|
+
value: "Northwest Territories"
|
|
102
|
+
},
|
|
103
|
+
{ id: "Nova Scotia", label: "Nova Scotia", value: "Nova Scotia" },
|
|
104
|
+
{ id: "Nunavut", label: "Nunavut", value: "Nunavut" },
|
|
105
|
+
{ id: "Ontario", label: "Ontario", value: "Ontario" },
|
|
106
|
+
{
|
|
107
|
+
id: "Prince Edward Island",
|
|
108
|
+
label: "Prince Edward Island",
|
|
109
|
+
value: "Prince Edward Island"
|
|
110
|
+
},
|
|
111
|
+
{ id: "Quebec", label: "Quebec", value: "Quebec" },
|
|
112
|
+
{ id: "Saskatchewan", label: "Saskatchewan", value: "Saskatchewan" },
|
|
113
|
+
{ id: "Yukon", label: "Yukon", value: "Yukon" }
|
|
114
|
+
],
|
|
115
|
+
CN: [
|
|
116
|
+
{ id: "Anhui", label: "Anhui", value: "Anhui" },
|
|
117
|
+
{ id: "Beijing", label: "Beijing", value: "Beijing" },
|
|
118
|
+
{ id: "Chongqing", label: "Chongqing", value: "Chongqing" },
|
|
119
|
+
{ id: "Fujian", label: "Fujian", value: "Fujian" },
|
|
120
|
+
{ id: "Gansu", label: "Gansu", value: "Gansu" },
|
|
121
|
+
{ id: "Guangdong", label: "Guangdong", value: "Guangdong" },
|
|
122
|
+
{ id: "Guangxi", label: "Guangxi", value: "Guangxi" },
|
|
123
|
+
{ id: "Guizhou", label: "Guizhou", value: "Guizhou" },
|
|
124
|
+
{ id: "Hainan", label: "Hainan", value: "Hainan" },
|
|
125
|
+
{ id: "Hebei", label: "Hebei", value: "Hebei" },
|
|
126
|
+
{ id: "Heilongjiang", label: "Heilongjiang", value: "Heilongjiang" },
|
|
127
|
+
{ id: "Henan", label: "Henan", value: "Henan" },
|
|
128
|
+
{ id: "Hubei", label: "Hubei", value: "Hubei" },
|
|
129
|
+
{ id: "Hunan", label: "Hunan", value: "Hunan" },
|
|
130
|
+
{
|
|
131
|
+
id: "Inner Mongolia",
|
|
132
|
+
label: "Inner Mongolia",
|
|
133
|
+
value: "Inner Mongolia"
|
|
134
|
+
},
|
|
135
|
+
{ id: "Jiangsu", label: "Jiangsu", value: "Jiangsu" },
|
|
136
|
+
{ id: "Jiangxi", label: "Jiangxi", value: "Jiangxi" },
|
|
137
|
+
{ id: "Jilin", label: "Jilin", value: "Jilin" },
|
|
138
|
+
{ id: "Liaoning", label: "Liaoning", value: "Liaoning" },
|
|
139
|
+
{ id: "Ningxia", label: "Ningxia", value: "Ningxia" },
|
|
140
|
+
{ id: "Qinghai", label: "Qinghai", value: "Qinghai" },
|
|
141
|
+
{ id: "Shaanxi", label: "Shaanxi", value: "Shaanxi" },
|
|
142
|
+
{ id: "Shandong", label: "Shandong", value: "Shandong" },
|
|
143
|
+
{ id: "Shanghai", label: "Shanghai", value: "Shanghai" },
|
|
144
|
+
{ id: "Shanxi", label: "Shanxi", value: "Shanxi" },
|
|
145
|
+
{ id: "Sichuan", label: "Sichuan", value: "Sichuan" },
|
|
146
|
+
{ id: "Tianjin", label: "Tianjin", value: "Tianjin" },
|
|
147
|
+
{ id: "Tibet", label: "Tibet", value: "Tibet" },
|
|
148
|
+
{ id: "Xinjiang", label: "Xinjiang", value: "Xinjiang" },
|
|
149
|
+
{ id: "Yunnan", label: "Yunnan", value: "Yunnan" },
|
|
150
|
+
{ id: "Zhejiang", label: "Zhejiang", value: "Zhejiang" },
|
|
151
|
+
{ id: "Hong Kong", label: "Hong Kong", value: "Hong Kong" },
|
|
152
|
+
{
|
|
153
|
+
id: "Hong Kong Island",
|
|
154
|
+
label: "Hong Kong Island",
|
|
155
|
+
value: "Hong Kong Island"
|
|
156
|
+
},
|
|
157
|
+
{ id: "Kowloon", label: "Kowloon", value: "Kowloon" },
|
|
158
|
+
{ id: "Lantau Island", label: "Lantau Island", value: "Lantau Island" },
|
|
159
|
+
{
|
|
160
|
+
id: "New Territories",
|
|
161
|
+
label: "New Territories",
|
|
162
|
+
value: "New Territories"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
IN: [
|
|
166
|
+
{
|
|
167
|
+
id: "Andaman & Nicobar Islands",
|
|
168
|
+
label: "Andaman & Nicobar Islands",
|
|
169
|
+
value: "Andaman & Nicobar Islands"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
id: "Andhra Pradesh",
|
|
173
|
+
label: "Andhra Pradesh",
|
|
174
|
+
value: "Andhra Pradesh"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "Arunachal Pradesh",
|
|
178
|
+
label: "Arunachal Pradesh",
|
|
179
|
+
value: "Arunachal Pradesh"
|
|
180
|
+
},
|
|
181
|
+
{ id: "Assam", label: "Assam", value: "Assam" },
|
|
182
|
+
{ id: "Bihar", label: "Bihar", value: "Bihar" },
|
|
183
|
+
{ id: "Chandigarh", label: "Chandigarh", value: "Chandigarh" },
|
|
184
|
+
{ id: "Chhattisgarh", label: "Chhattisgarh", value: "Chhattisgarh" },
|
|
185
|
+
{
|
|
186
|
+
id: "Dadra & Nagar Haveli and Daman & Diu",
|
|
187
|
+
label: "Dadra & Nagar Haveli and Daman & Diu",
|
|
188
|
+
value: "Dadra & Nagar Haveli and Daman & Diu"
|
|
189
|
+
},
|
|
190
|
+
{ id: "Delhi", label: "Delhi", value: "Delhi" },
|
|
191
|
+
{ id: "Goa", label: "Goa", value: "Goa" },
|
|
192
|
+
{ id: "Gujarat", label: "Gujarat", value: "Gujarat" },
|
|
193
|
+
{ id: "Haryana", label: "Haryana", value: "Haryana" },
|
|
194
|
+
{
|
|
195
|
+
id: "Himachal Pradesh",
|
|
196
|
+
label: "Himachal Pradesh",
|
|
197
|
+
value: "Himachal Pradesh"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
id: "Jammu & Kashmir",
|
|
201
|
+
label: "Jammu & Kashmir",
|
|
202
|
+
value: "Jammu & Kashmir"
|
|
203
|
+
},
|
|
204
|
+
{ id: "Jharkhand", label: "Jharkhand", value: "Jharkhand" },
|
|
205
|
+
{ id: "Karnataka", label: "Karnataka", value: "Karnataka" },
|
|
206
|
+
{ id: "Kerala", label: "Kerala", value: "Kerala" },
|
|
207
|
+
{ id: "Ladakh", label: "Ladakh", value: "Ladakh" },
|
|
208
|
+
{ id: "Lakshadweep ", label: "Lakshadweep ", value: "Lakshadweep " },
|
|
209
|
+
{ id: "Maharashtra", label: "Maharashtra", value: "Maharashtra" },
|
|
210
|
+
{
|
|
211
|
+
id: "Madhya Pradesh",
|
|
212
|
+
label: "Madhya Pradesh",
|
|
213
|
+
value: "Madhya Pradesh"
|
|
214
|
+
},
|
|
215
|
+
{ id: "Manipur", label: "Manipur", value: "Manipur" },
|
|
216
|
+
{ id: "Meghalaya", label: "Meghalaya", value: "Meghalaya" },
|
|
217
|
+
{ id: "Mizoram", label: "Mizoram", value: "Mizoram" },
|
|
218
|
+
{ id: "Nagaland", label: "Nagaland", value: "Nagaland" },
|
|
219
|
+
{ id: "Odisha", label: "Odisha", value: "Odisha" },
|
|
220
|
+
{ id: "Puducherry", label: "Puducherry", value: "Puducherry" },
|
|
221
|
+
{ id: "Punjab", label: "Punjab", value: "Punjab" },
|
|
222
|
+
{ id: "Rajasthan", label: "Rajasthan", value: "Rajasthan" },
|
|
223
|
+
{ id: "Sikkim", label: "Sikkim", value: "Sikkim" },
|
|
224
|
+
{ id: "Tamil Nadu", label: "Tamil Nadu", value: "Tamil Nadu" },
|
|
225
|
+
{ id: "Tripura", label: "Tripura", value: "Tripura" },
|
|
226
|
+
{ id: "Telangana", label: "Telangana", value: "Telangana" },
|
|
227
|
+
{ id: "Uttar Pradesh", label: "Uttar Pradesh", value: "Uttar Pradesh" },
|
|
228
|
+
{ id: "Uttarakhand", label: "Uttarakhand", value: "Uttarakhand" },
|
|
229
|
+
{ id: "West Bengal", label: "West Bengal", value: "West Bengal" }
|
|
230
|
+
],
|
|
231
|
+
JP: [
|
|
232
|
+
{
|
|
233
|
+
id: " 愛知県 - Aichi",
|
|
234
|
+
label: " 愛知県 - Aichi",
|
|
235
|
+
value: " 愛知県 - Aichi"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: "秋田県 - Akita",
|
|
239
|
+
label: "秋田県 - Akita",
|
|
240
|
+
value: "秋田県 - Akita"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
id: "青森県 - Aomori",
|
|
244
|
+
label: "青森県 - Aomori",
|
|
245
|
+
value: "青森県 - Aomori"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: "千葉県 - Chiba",
|
|
249
|
+
label: "千葉県 - Chiba",
|
|
250
|
+
value: "千葉県 - Chiba"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
id: "愛媛県 - Ehime",
|
|
254
|
+
label: "愛媛県 - Ehime",
|
|
255
|
+
value: "愛媛県 - Ehime"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
id: "福井県 - Fukui",
|
|
259
|
+
label: "福井県 - Fukui",
|
|
260
|
+
value: "福井県 - Fukui"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "福岡県 - Fukuoka",
|
|
264
|
+
label: "福岡県 - Fukuoka",
|
|
265
|
+
value: "福岡県 - Fukuoka"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
id: "福島県 - Fukushima",
|
|
269
|
+
label: "福島県 - Fukushima",
|
|
270
|
+
value: "福島県 - Fukushima"
|
|
271
|
+
},
|
|
272
|
+
{ id: "岐阜県 - Gifu", label: "岐阜県 - Gifu", value: "岐阜県 - Gifu" },
|
|
273
|
+
{
|
|
274
|
+
id: "群馬県 - Gunma",
|
|
275
|
+
label: "群馬県 - Gunma",
|
|
276
|
+
value: "群馬県 - Gunma"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "広島県 - Hiroshima",
|
|
280
|
+
label: "広島県 - Hiroshima",
|
|
281
|
+
value: "広島県 - Hiroshima"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
id: "北海道 - Hokkaidō",
|
|
285
|
+
label: "北海道 - Hokkaidō",
|
|
286
|
+
value: "北海道 - Hokkaidō"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
id: "兵庫県 - Hyōgo",
|
|
290
|
+
label: "兵庫県 - Hyōgo",
|
|
291
|
+
value: "兵庫県 - Hyōgo"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
id: "茨城県 - Ibaraki",
|
|
295
|
+
label: "茨城県 - Ibaraki",
|
|
296
|
+
value: "茨城県 - Ibaraki"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "石川県 - Ishikawa",
|
|
300
|
+
label: "石川県 - Ishikawa",
|
|
301
|
+
value: "石川県 - Ishikawa"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
id: "岩手県 - Iwate",
|
|
305
|
+
label: "岩手県 - Iwate",
|
|
306
|
+
value: "岩手県 - Iwate"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
id: "香川県 - Kagawa",
|
|
310
|
+
label: "香川県 - Kagawa",
|
|
311
|
+
value: "香川県 - Kagawa"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "鹿児島県 - Kagoshima",
|
|
315
|
+
label: "鹿児島県 - Kagoshima",
|
|
316
|
+
value: "鹿児島県 - Kagoshima"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "神奈川県 - Kanagawa",
|
|
320
|
+
label: "神奈川県 - Kanagawa",
|
|
321
|
+
value: "神奈川県 - Kanagawa"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: "高知県 - Kōchi",
|
|
325
|
+
label: "高知県 - Kōchi",
|
|
326
|
+
value: "高知県 - Kōchi"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
id: "熊本県 - Kumamoto",
|
|
330
|
+
label: "熊本県 - Kumamoto",
|
|
331
|
+
value: "熊本県 - Kumamoto"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
id: "京都府 - Kyoto",
|
|
335
|
+
label: "京都府 - Kyoto",
|
|
336
|
+
value: "京都府 - Kyoto"
|
|
337
|
+
},
|
|
338
|
+
{ id: "三重県 - Mie", label: "三重県 - Mie", value: "三重県 - Mie" },
|
|
339
|
+
{
|
|
340
|
+
id: "宮城県 - Miyagi",
|
|
341
|
+
label: "宮城県 - Miyagi",
|
|
342
|
+
value: "宮城県 - Miyagi"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: "宮崎県 - Miyazaki",
|
|
346
|
+
label: "宮崎県 - Miyazaki",
|
|
347
|
+
value: "宮崎県 - Miyazaki"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
id: "長野県 - Nagano",
|
|
351
|
+
label: "長野県 - Nagano",
|
|
352
|
+
value: "長野県 - Nagano"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
id: "長崎県 - Nagasaki",
|
|
356
|
+
label: "長崎県 - Nagasaki",
|
|
357
|
+
value: "長崎県 - Nagasaki"
|
|
358
|
+
},
|
|
359
|
+
{ id: "奈良県 - Nara", label: "奈良県 - Nara", value: "奈良県 - Nara" },
|
|
360
|
+
{
|
|
361
|
+
id: "新潟県 - Niigata",
|
|
362
|
+
label: "新潟県 - Niigata",
|
|
363
|
+
value: "新潟県 - Niigata"
|
|
364
|
+
},
|
|
365
|
+
{ id: "大分県 - Ōita", label: "大分県 - Ōita", value: "大分県 - Ōita" },
|
|
366
|
+
{
|
|
367
|
+
id: "岡山県 - Okayama",
|
|
368
|
+
label: "岡山県 - Okayama",
|
|
369
|
+
value: "岡山県 - Okayama"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
id: "沖縄県 - Okinawa",
|
|
373
|
+
label: "沖縄県 - Okinawa",
|
|
374
|
+
value: "沖縄県 - Okinawa"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
id: "大阪府 - Osaka",
|
|
378
|
+
label: "大阪府 - Osaka",
|
|
379
|
+
value: "大阪府 - Osaka"
|
|
380
|
+
},
|
|
381
|
+
{ id: "佐賀県 - Saga", label: "佐賀県 - Saga", value: "佐賀県 - Saga" },
|
|
382
|
+
{
|
|
383
|
+
id: "埼玉県 - Saitama",
|
|
384
|
+
label: "埼玉県 - Saitama",
|
|
385
|
+
value: "埼玉県 - Saitama"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
id: "滋賀県 - Shiga",
|
|
389
|
+
label: "滋賀県 - Shiga",
|
|
390
|
+
value: "滋賀県 - Shiga"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
id: "島根県 - Shimane",
|
|
394
|
+
label: "島根県 - Shimane",
|
|
395
|
+
value: "島根県 - Shimane"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
id: "静岡県 - Shizuoka",
|
|
399
|
+
label: "静岡県 - Shizuoka",
|
|
400
|
+
value: "静岡県 - Shizuoka"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
id: "栃木県 - Tochigi",
|
|
404
|
+
label: "栃木県 - Tochigi",
|
|
405
|
+
value: "栃木県 - Tochigi"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
id: "徳島県 - Tokushima",
|
|
409
|
+
label: "徳島県 - Tokushima",
|
|
410
|
+
value: "徳島県 - Tokushima"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
id: "東京都 - Tokyo",
|
|
414
|
+
label: "東京都 - Tokyo",
|
|
415
|
+
value: "東京都 - Tokyo"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
id: "鳥取県 - Tottori",
|
|
419
|
+
label: "鳥取県 - Tottori",
|
|
420
|
+
value: "鳥取県 - Tottori"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
id: "富山県 - Toyama",
|
|
424
|
+
label: "富山県 - Toyama",
|
|
425
|
+
value: "富山県 - Toyama"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
id: "和歌山県 - Wakayama",
|
|
429
|
+
label: "和歌山県 - Wakayama",
|
|
430
|
+
value: "和歌山県 - Wakayama"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
id: "山形県 - Yamagata",
|
|
434
|
+
label: "山形県 - Yamagata",
|
|
435
|
+
value: "山形県 - Yamagata"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
id: "山口県 - Yamaguchi",
|
|
439
|
+
label: "山口県 - Yamaguchi",
|
|
440
|
+
value: "山口県 - Yamaguchi"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
id: "山梨県 - Yamanashi",
|
|
444
|
+
label: "山梨県 - Yamanashi",
|
|
445
|
+
value: "山梨県 - Yamanashi"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
US: [
|
|
449
|
+
{ id: "Alabama", label: "Alabama", value: "Alabama" },
|
|
450
|
+
{ id: "Alaska", label: "Alaska", value: "Alaska" },
|
|
451
|
+
{ id: "Arizona", label: "Arizona", value: "Arizona" },
|
|
452
|
+
{ id: "Arkansas", label: "Arkansas", value: "Arkansas" },
|
|
453
|
+
{ id: "California", label: "California", value: "California" },
|
|
454
|
+
{ id: "Colorado", label: "Colorado", value: "Colorado" },
|
|
455
|
+
{ id: "Connecticut", label: "Connecticut", value: "Connecticut" },
|
|
456
|
+
{ id: "Delaware", label: "Delaware", value: "Delaware" },
|
|
457
|
+
{
|
|
458
|
+
id: "District of Columbia",
|
|
459
|
+
label: "District of Columbia",
|
|
460
|
+
value: "District of Columbia"
|
|
461
|
+
},
|
|
462
|
+
{ id: "Florida", label: "Florida", value: "Florida" },
|
|
463
|
+
{ id: "Georgia", label: "Georgia", value: "Georgia" },
|
|
464
|
+
{ id: "Hawaii", label: "Hawaii", value: "Hawaii" },
|
|
465
|
+
{ id: "Idaho", label: "Idaho", value: "Idaho" },
|
|
466
|
+
{ id: "Illinois", label: "Illinois", value: "Illinois" },
|
|
467
|
+
{ id: "Indiana", label: "Indiana", value: "Indiana" },
|
|
468
|
+
{ id: "Iowa", label: "Iowa", value: "Iowa" },
|
|
469
|
+
{ id: "Kansas", label: "Kansas", value: "Kansas" },
|
|
470
|
+
{ id: "Kentucky", label: "Kentucky", value: "Kentucky" },
|
|
471
|
+
{ id: "Louisiana", label: "Louisiana", value: "Louisiana" },
|
|
472
|
+
{ id: "Maine", label: "Maine", value: "Maine" },
|
|
473
|
+
{ id: "Maryland", label: "Maryland", value: "Maryland" },
|
|
474
|
+
{ id: "Massachusetts", label: "Massachusetts", value: "Massachusetts" },
|
|
475
|
+
{ id: "Michigan", label: "Michigan", value: "Michigan" },
|
|
476
|
+
{ id: "Minnesota", label: "Minnesota", value: "Minnesota" },
|
|
477
|
+
{ id: "Mississippi", label: "Mississippi", value: "Mississippi" },
|
|
478
|
+
{ id: "Missouri", label: "Missouri", value: "Missouri" },
|
|
479
|
+
{ id: "Montana", label: "Montana", value: "Montana" },
|
|
480
|
+
{ id: "Nebraska", label: "Nebraska", value: "Nebraska" },
|
|
481
|
+
{ id: "Nevada", label: "Nevada", value: "Nevada" },
|
|
482
|
+
{ id: "New Hampshire", label: "New Hampshire", value: "New Hampshire" },
|
|
483
|
+
{ id: "New Jersey", label: "New Jersey", value: "New Jersey" },
|
|
484
|
+
{ id: "New Mexico", label: "New Mexico", value: "New Mexico" },
|
|
485
|
+
{ id: "New York", label: "New York", value: "New York" },
|
|
486
|
+
{
|
|
487
|
+
id: "North Carolina",
|
|
488
|
+
label: "North Carolina",
|
|
489
|
+
value: "North Carolina"
|
|
490
|
+
},
|
|
491
|
+
{ id: "North Dakota", label: "North Dakota", value: "North Dakota" },
|
|
492
|
+
{ id: "Ohio", label: "Ohio", value: "Ohio" },
|
|
493
|
+
{ id: "Oklahoma", label: "Oklahoma", value: "Oklahoma" },
|
|
494
|
+
{ id: "Oregon", label: "Oregon", value: "Oregon" },
|
|
495
|
+
{ id: "Pennsylvania", label: "Pennsylvania", value: "Pennsylvania" },
|
|
496
|
+
{ id: "Rhode Island", label: "Rhode Island", value: "Rhode Island" },
|
|
497
|
+
{
|
|
498
|
+
id: "South Carolina",
|
|
499
|
+
label: "South Carolina",
|
|
500
|
+
value: "South Carolina"
|
|
501
|
+
},
|
|
502
|
+
{ id: "South Dakota", label: "South Dakota", value: "South Dakota" },
|
|
503
|
+
{ id: "Tennessee", label: "Tennessee", value: "Tennessee" },
|
|
504
|
+
{ id: "Texas", label: "Texas", value: "Texas" },
|
|
505
|
+
{ id: "Utah", label: "Utah", value: "Utah" },
|
|
506
|
+
{ id: "Vermont", label: "Vermont", value: "Vermont" },
|
|
507
|
+
{ id: "Virginia", label: "Virginia", value: "Virginia" },
|
|
508
|
+
{ id: "Washington", label: "Washington", value: "Washington" },
|
|
509
|
+
{ id: "West Virginia", label: "West Virginia", value: "West Virginia" },
|
|
510
|
+
{ id: "Wisconsin", label: "Wisconsin", value: "Wisconsin" },
|
|
511
|
+
{ id: "Wyoming", label: "Wyoming", value: "Wyoming" }
|
|
512
|
+
]
|
|
513
|
+
};
|
package/LICENSE
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2020, Salesforce.com, Inc.
|
|
2
|
-
All rights reserved.
|
|
3
|
-
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
5
|
-
|
|
6
|
-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
7
|
-
|
|
8
|
-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
9
|
-
|
|
10
|
-
* Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
11
|
-
|
|
12
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|