@progressive-development/pd-order 0.6.8 → 0.6.9
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.
|
@@ -6,7 +6,7 @@ import { PdOrderStep } from './types.js';
|
|
|
6
6
|
* @fires go-to - Wird ausgelöst, wenn der Benutzer "edit-content" aktiviert
|
|
7
7
|
* @slot legal - Slot für die AGB-Inhalte
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare class PdOrderSummary extends LitElement {
|
|
10
10
|
/**
|
|
11
11
|
* Die Liste der Bestellschritte (z.B. Buchung, Kontaktdaten, etc.),
|
|
12
12
|
* wie sie in der Zusammenfassung gerendert werden.
|
|
@@ -23,7 +23,7 @@ export declare abstract class PdOrderSummary<T> extends LitElement {
|
|
|
23
23
|
/**
|
|
24
24
|
* Die vollständigen Bestelldaten inklusive Postleitzahl, Kontakten und Preisinformationen.
|
|
25
25
|
*/
|
|
26
|
-
order?:
|
|
26
|
+
order?: any;
|
|
27
27
|
private _agreeForm;
|
|
28
28
|
static styles: CSSResultGroup;
|
|
29
29
|
firstUpdated(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pd-order-summary.d.ts","sourceRoot":"","sources":["../src/pd-order-summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5E,OAAO,qDAAqD,CAAC;AAC7D,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AAEvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,6CAA6C,CAAC;AACrD,OAAO,qDAAqD,CAAC;AAO7D,OAAO,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,wBAAwB,CAAC;AAGhC;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"pd-order-summary.d.ts","sourceRoot":"","sources":["../src/pd-order-summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5E,OAAO,qDAAqD,CAAC;AAC7D,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AAEvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,6CAA6C,CAAC;AACrD,OAAO,qDAAqD,CAAC;AAO7D,OAAO,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,wBAAwB,CAAC;AAGhC;;;;;GAKG;AACH,qBAEa,cAAe,SAAQ,UAAU;IAC5C;;;OAGG;IAEH,UAAU,EAAE,WAAW,EAAE,CAAM;IAE/B;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IAEH,KAAK,CAAC,EAAE,GAAG,CAAC;IAGZ,OAAO,CAAC,UAAU,CAAmB;IAErC,OAAgB,MAAM,EAAE,cAAc,CAqDpC;IAEO,YAAY,IAAI,IAAI;IAYpB,MAAM;IA0Df,IAAI,KAAK,YAER;IAEY,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC;IA6BhD,SAAS,CAAC,oBAAoB,CAC5B,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,GACZ,cAAc;IAkBjB,SAAS,CAAC,6BAA6B,CACrC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,GACZ,cAAc,GAAG,IAAI;IAUxB,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW;IAoB9D,OAAO,CAAC,uBAAuB;CAOhC"}
|
package/dist/pd-order-summary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { property, query } from "lit/decorators.js";
|
|
3
|
-
import { msg } from "@lit/localize";
|
|
1
|
+
import { css, LitElement, html } from "lit";
|
|
2
|
+
import { property, query, customElement } from "lit/decorators.js";
|
|
3
|
+
import { localized, msg } from "@lit/localize";
|
|
4
4
|
import "@progressive-development/pd-forms/pd-form-container";
|
|
5
5
|
import "@progressive-development/pd-forms/pd-form-row";
|
|
6
6
|
import "@progressive-development/pd-forms/pd-checkbox";
|
|
@@ -10,15 +10,16 @@ import "@progressive-development/pd-content/pd-edit-content";
|
|
|
10
10
|
import { PdFontStyles, PdColorStyles } from "@progressive-development/pd-shared-styles";
|
|
11
11
|
import "./pd-order-contacts.js";
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
13
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
14
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
14
|
-
var result = void 0;
|
|
15
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
15
16
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
16
17
|
if (decorator = decorators[i])
|
|
17
|
-
result = decorator(target, key, result) || result;
|
|
18
|
-
if (result) __defProp(target, key, result);
|
|
18
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
19
|
+
if (kind && result) __defProp(target, key, result);
|
|
19
20
|
return result;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
let PdOrderSummary = class extends LitElement {
|
|
22
23
|
constructor() {
|
|
23
24
|
super(...arguments);
|
|
24
25
|
this.orderSteps = [];
|
|
@@ -171,7 +172,7 @@ const _PdOrderSummary = class _PdOrderSummary extends LitElement {
|
|
|
171
172
|
popup == null ? void 0 : popup.showPopup();
|
|
172
173
|
}
|
|
173
174
|
};
|
|
174
|
-
|
|
175
|
+
PdOrderSummary.styles = [
|
|
175
176
|
PdFontStyles,
|
|
176
177
|
PdColorStyles,
|
|
177
178
|
css`
|
|
@@ -225,22 +226,25 @@ _PdOrderSummary.styles = [
|
|
|
225
226
|
}
|
|
226
227
|
`
|
|
227
228
|
];
|
|
228
|
-
let PdOrderSummary = _PdOrderSummary;
|
|
229
229
|
__decorateClass([
|
|
230
230
|
property({ type: Array })
|
|
231
|
-
], PdOrderSummary.prototype, "orderSteps");
|
|
231
|
+
], PdOrderSummary.prototype, "orderSteps", 2);
|
|
232
232
|
__decorateClass([
|
|
233
233
|
property({ type: Boolean })
|
|
234
|
-
], PdOrderSummary.prototype, "withPayment");
|
|
234
|
+
], PdOrderSummary.prototype, "withPayment", 2);
|
|
235
235
|
__decorateClass([
|
|
236
236
|
property({ type: Boolean })
|
|
237
|
-
], PdOrderSummary.prototype, "withAgreement");
|
|
237
|
+
], PdOrderSummary.prototype, "withAgreement", 2);
|
|
238
238
|
__decorateClass([
|
|
239
239
|
property({ type: Object })
|
|
240
|
-
], PdOrderSummary.prototype, "order");
|
|
240
|
+
], PdOrderSummary.prototype, "order", 2);
|
|
241
241
|
__decorateClass([
|
|
242
242
|
query("#submitSummaryFormId")
|
|
243
|
-
], PdOrderSummary.prototype, "_agreeForm");
|
|
243
|
+
], PdOrderSummary.prototype, "_agreeForm", 2);
|
|
244
|
+
PdOrderSummary = __decorateClass([
|
|
245
|
+
customElement("pd-order-summary"),
|
|
246
|
+
localized()
|
|
247
|
+
], PdOrderSummary);
|
|
244
248
|
export {
|
|
245
249
|
PdOrderSummary
|
|
246
250
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemplateResult } from 'lit';
|
|
2
2
|
import { PdOrderSummary } from '../../pd-order-summary';
|
|
3
3
|
import { PdOrderStep } from '../../types';
|
|
4
|
-
export declare class TestSummary extends PdOrderSummary
|
|
4
|
+
export declare class TestSummary extends PdOrderSummary {
|
|
5
5
|
_renderCustomOrderStepSummary(step: PdOrderStep, index: number): TemplateResult | null;
|
|
6
6
|
private _getBookingSummary;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-summary.d.ts","sourceRoot":"","sources":["../../../src/stories/test-impl/test-summary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test-summary.d.ts","sourceRoot":"","sources":["../../../src/stories/test-impl/test-summary.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,qBACa,WAAY,SAAQ,cAAc;IACpC,6BAA6B,CACpC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,GACZ,cAAc,GAAG,IAAI;IAYxB,OAAO,CAAC,kBAAkB;CAiB3B"}
|