@progressive-development/pd-order 0.6.9 → 0.6.11

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.
@@ -1 +1 @@
1
- {"version":3,"file":"pd-order-contacts.d.ts","sourceRoot":"","sources":["../src/pd-order-contacts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAIV,cAAc,EACd,cAAc,EACf,MAAM,KAAK,CAAC;AAIb,OAAO,uDAAuD,CAAC;AAC/D,OAAO,iDAAiD,CAAC;AACzD,OAAO,gDAAgD,CAAC;AACxD,OAAO,+CAA+C,CAAC;AAKvD,OAAO,EAEL,aAAa,EACb,cAAc,EACf,MAAM,qCAAqC,CAAC;AAE7C;;;;;;GAMG;AACH,qBAEa,eAAgB,SAAQ,UAAU;IAC7C,gEAAgE;IAEhE,OAAO,UAAS;IAEhB,uDAAuD;IAEvD,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;IAE1C,6EAA6E;IAE7E,cAAc,EAAE,MAAM,EAAE,CAAM;IAE9B,uCAAuC;IAEvC,YAAY,CAAC,EAAE,aAAa,CAAC;IAE7B,0CAA0C;IAE1C,cAAc,CAAC,EAAE,aAAa,CAAC;IAE/B,mCAAmC;IAEnC,YAAY,CAAC,EAAE,aAAa,CAAC;IAE7B,8CAA8C;IAE9C,eAAe,CAAC,EAAE,aAAa,CAAC;IAEhC,0DAA0D;IAE1D,WAAW,UAAS;IAEpB,qEAAqE;IAErE,iBAAiB,UAAS;IAG1B,gBAAgB,UAAS;IAEzB,0EAA0E;IAE1E,KAAK,CAAC,EAAE,cAAc,CAAC;IAGvB,OAAO,CAAC,kBAAkB,CAAS;IAGnC,OAAO,CAAC,gBAAgB,CAAS;IAGjC,OAAO,CAAC,gBAAgB,CAAS;IAEjC,OAAgB,MAAM,EAAE,cAAc,CAgDpC;IAEO,MAAM,CAAC,YAAY,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAaz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CAgDpC;IAEO,MAAM,CAAC,YAAY,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAazD,SAAS,CAAC,MAAM;IAIhB,OAAO,CAAC,mBAAmB;IAiK3B,OAAO,CAAC,cAAc;IA+CtB,IAAI,KAAK,IAAI,OAAO,CASnB;IAEY,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC;IAkCzC,SAAS;IAWhB,OAAO,CAAC,eAAe;CAoBxB"}
@@ -57,10 +57,10 @@ let PdOrderContacts = class extends LitElement {
57
57
  id="orderContactId"
58
58
  class="collapse-contact"
59
59
  slot="content"
60
- .requiredFields=${this.requiredFields}
61
- .contact=${this.orderContact}
62
- .match=${this.match}
63
- ?withPropertyDate=${!this._isPropertyOwner && this.withPropertyDate}
60
+ .requiredFields="${this.requiredFields}"
61
+ .contact="${this.orderContact}"
62
+ .match="${this.match}"
63
+ ?withPropertyDate="${!this._isPropertyOwner && this.withPropertyDate}"
64
64
  ></pd-contact>
65
65
  </pd-collapse>
66
66
 
@@ -74,7 +74,7 @@ let PdOrderContacts = class extends LitElement {
74
74
  <div slot="content">
75
75
  ${this._ownBillingContact ? html`
76
76
  <p>
77
- <a @click=${() => this._ownBillingContact = false}
77
+ <a @click="${() => this._ownBillingContact = false}"
78
78
  >${msg(
79
79
  "Kundenadresse als Rechnungsadresse verwenden"
80
80
  )}</a
@@ -83,8 +83,8 @@ let PdOrderContacts = class extends LitElement {
83
83
  <pd-contact
84
84
  id="billingContactId"
85
85
  class="collapse-contact"
86
- .requiredFields=${this.requiredFields}
87
- .contact=${this.billingContact}
86
+ .requiredFields="${this.requiredFields}"
87
+ .contact="${this.billingContact}"
88
88
  ></pd-contact>
89
89
  ` : html`
90
90
  <p>
@@ -105,7 +105,7 @@ let PdOrderContacts = class extends LitElement {
105
105
  <div class="property-owner-box">
106
106
  <pd-checkbox
107
107
  id="isPropertyOwnerId"
108
- initValue=${this._isPropertyOwner}
108
+ initValue="${this._isPropertyOwner}"
109
109
  @pd-form-element-change="${(e) => {
110
110
  this._isPropertyOwner = e.detail.value === "true";
111
111
  }}"
@@ -127,15 +127,19 @@ let PdOrderContacts = class extends LitElement {
127
127
  <pd-contact
128
128
  id="propertyContactId"
129
129
  class="collapse-contact"
130
- .requiredFields=${[
130
+ .requiredFields="${[
131
131
  "street",
132
132
  "streetNr",
133
133
  "zip",
134
134
  "city"
135
- ]}
136
- .inputFields=${["street", "city", "additionalHint"]}
137
- .contact=${this.propertyContact}
138
- ?withPropertyDate=${this.withPropertyDate}
135
+ ]}"
136
+ .inputFields="${[
137
+ "street",
138
+ "city",
139
+ "additionalHint"
140
+ ]}"
141
+ .contact="${this.propertyContact}"
142
+ ?withPropertyDate="${this.withPropertyDate}"
139
143
  ></pd-contact>
140
144
  </div>
141
145
  </pd-collapse>
@@ -148,7 +152,7 @@ let PdOrderContacts = class extends LitElement {
148
152
  ${this._ownAdminContact ? html`
149
153
  <p>
150
154
  <a
151
- @click=${() => this._ownAdminContact = false}
155
+ @click="${() => this._ownAdminContact = false}"
152
156
  >${msg(
153
157
  "Kundenadresse als Verwaltungsadresse verwenden"
154
158
  )}</a
@@ -157,8 +161,8 @@ let PdOrderContacts = class extends LitElement {
157
161
  <pd-contact
158
162
  id="adminContactId"
159
163
  class="collapse-contact"
160
- .requiredFields=${this.requiredFields}
161
- .contact=${this.adminContact}
164
+ .requiredFields="${this.requiredFields}"
165
+ .contact="${this.adminContact}"
162
166
  ></pd-contact>
163
167
  ` : html`
164
168
  <p>
@@ -168,7 +172,7 @@ let PdOrderContacts = class extends LitElement {
168
172
  </p>
169
173
  <p>
170
174
  <a
171
- @click=${() => this._ownAdminContact = true}
175
+ @click="${() => this._ownAdminContact = true}"
172
176
  >${msg(
173
177
  "Neue Verwaltungsadresse hinzufügen"
174
178
  )}</a
@@ -188,29 +192,29 @@ let PdOrderContacts = class extends LitElement {
188
192
  <div class="summary-box">
189
193
  ${this.orderContact ? html`
190
194
  <pd-contact
191
- addressTitle=${this.contactTitle.orderSummaryContact ?? msg("Adresse")}
192
- .contact=${this.orderContact}
195
+ addressTitle="${this.contactTitle.orderSummaryContact ?? msg("Adresse")}"
196
+ .contact="${this.orderContact}"
193
197
  summary
194
198
  ></pd-contact>
195
199
  ` : nothing}
196
200
  ${this.billingContact ? html`
197
201
  <pd-contact
198
- addressTitle=${this.contactTitle.billingSummaryContact ?? msg("Rechnungsadresse")}
199
- .contact=${this.billingContact}
202
+ addressTitle="${this.contactTitle.billingSummaryContact ?? msg("Rechnungsadresse")}"
203
+ .contact="${this.billingContact}"
200
204
  summary
201
205
  ></pd-contact>
202
206
  ` : nothing}
203
207
  ${this.propertyContact ? html`
204
208
  <pd-contact
205
- addressTitle=${this.contactTitle.propertySummaryContact ?? msg("Immobilie")}
206
- .contact=${this.propertyContact}
209
+ addressTitle="${this.contactTitle.propertySummaryContact ?? msg("Immobilie")}"
210
+ .contact="${this.propertyContact}"
207
211
  summary
208
212
  ></pd-contact>
209
213
  ` : nothing}
210
214
  ${this.adminContact ? html`
211
215
  <pd-contact
212
- addressTitle=${this.contactTitle.adminSummaryContact ?? msg("Verwaltung")}
213
- .contact=${this.adminContact}
216
+ addressTitle="${this.contactTitle.adminSummaryContact ?? msg("Verwaltung")}"
217
+ .contact="${this.adminContact}"
214
218
  summary
215
219
  ></pd-contact>
216
220
  ` : nothing}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-order",
3
- "version": "0.6.9",
3
+ "version": "0.6.11",
4
4
  "description": "Progressive Development Order Component",
5
5
  "author": "PD Progressive Development",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -41,10 +41,10 @@
41
41
  "dependencies": {
42
42
  "@lit/localize": "^0.12.2",
43
43
  "@progressive-development/pd-calendar": "^0.6.7",
44
- "@progressive-development/pd-contact": "^0.6.10",
45
- "@progressive-development/pd-content": "^0.7.2",
46
- "@progressive-development/pd-dialog": "^0.6.10",
47
- "@progressive-development/pd-forms": "^0.7.3",
44
+ "@progressive-development/pd-contact": "^0.6.12",
45
+ "@progressive-development/pd-content": "^0.7.3",
46
+ "@progressive-development/pd-dialog": "^0.6.11",
47
+ "@progressive-development/pd-forms": "^0.7.4",
48
48
  "@progressive-development/pd-price": "^0.6.3",
49
49
  "@progressive-development/pd-shared-styles": "^0.2.5",
50
50
  "fecha": "^4.2.3",