@postnord/pn-marketweb-components 2.4.27 → 2.4.28
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/cjs/index-4199ff85.js +16 -4
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +183 -0
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +309 -0
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +105 -0
- package/collection/collection-manifest.json +3 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +27 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.js +673 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +26 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.js +970 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.stories.js +86 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/types.js +1 -0
- package/collection/components/input/pn-multiple-input/pn-multiple-input.css +16 -0
- package/collection/components/input/pn-multiple-input/pn-multiple-input.js +185 -0
- package/collection/components/input/pn-multiple-input/pn-multiple-input.stories.js +24 -0
- package/collection/components/input/pn-multiple-input/types.js +1 -0
- package/components/index.d.ts +3 -0
- package/components/index.js +3 -0
- package/components/pn-dropdown-with-multi-input-rows-row.d.ts +11 -0
- package/components/pn-dropdown-with-multi-input-rows-row.js +6 -0
- package/components/pn-dropdown-with-multi-input-rows-row2.js +232 -0
- package/components/pn-dropdown-with-multi-input-rows.d.ts +11 -0
- package/components/pn-dropdown-with-multi-input-rows.js +379 -0
- package/components/pn-multiple-input.d.ts +11 -0
- package/components/pn-multiple-input.js +130 -0
- package/esm/index-ee44c065.js +16 -4
- package/esm/loader.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +179 -0
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +305 -0
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-multiple-input.entry.js +101 -0
- package/esm-es5/index-ee44c065.js +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -0
- package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -0
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-multiple-input.entry.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/p-313658e7.entry.js +1 -0
- package/pn-market-web-components/p-47239bce.system.entry.js +1 -0
- package/pn-market-web-components/p-52e8d0ec.system.entry.js +1 -0
- package/pn-market-web-components/p-7787ca3b.entry.js +1 -0
- package/pn-market-web-components/p-ad952e14.system.entry.js +1 -0
- package/pn-market-web-components/p-e05b6e0c.entry.js +1 -0
- package/pn-market-web-components/p-fcdb7381.system.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.d.ts +59 -0
- package/types/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.d.ts +77 -0
- package/types/components/input/pn-dropdown-with-multi-input-rows/types.d.ts +18 -0
- package/types/components/input/pn-multiple-input/pn-multiple-input.d.ts +22 -0
- package/types/components/input/pn-multiple-input/types.d.ts +11 -0
- package/types/components.d.ts +180 -6
- package/umd/modules/@postnord/web-components/package.json +32 -62
- package/umd/modules/@webcomponents/custom-elements/package.json +23 -58
package/types/components.d.ts
CHANGED
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { CityProps, PostalCodeProps, StreetAddressProps, StreetNumberProps } from "./components/input/pn-address-autofill/types";
|
|
9
9
|
import { Root } from "./components/input/pn-dropdown-choice-adds-row/types";
|
|
10
|
+
import { PredefinedValues, Root as Root1 } from "./components/input/pn-dropdown-with-multi-input-rows/types";
|
|
10
11
|
import { ProductPriceItem } from "./components/widgets/pn-find-price/pn-find-price-types";
|
|
11
12
|
import { ProductPriceItem as ProductPriceItem1 } from "./globals/shared/productprice/product-price-types";
|
|
12
13
|
import { LoginDialog, LoginDialogLink, ProfileSelectorCustomerItem, ProfileSelectorOrganization, SiteHeaderI18N, SiteHeaderSearch } from "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types";
|
|
13
14
|
import { FormValue } from "./components/input/pn-multi-formfield/types";
|
|
14
|
-
import { PredefinedValues, Root as
|
|
15
|
+
import { PredefinedValues as PredefinedValues1, Root as Root2 } from "./components/input/pn-multi-row-connected-dropdown/types";
|
|
15
16
|
import { ProductGenericItem, ProxioPriceListGroupResponse } from "./components/widgets/pn-proxio-pricegroup/types";
|
|
16
17
|
export namespace Components {
|
|
17
18
|
interface PnAddressAutofill {
|
|
@@ -129,6 +130,65 @@ export namespace Components {
|
|
|
129
130
|
"rowNameLabel": string;
|
|
130
131
|
"totalInputLimit": number;
|
|
131
132
|
}
|
|
133
|
+
interface PnDropdownWithMultiInputRows {
|
|
134
|
+
"abortDeleteButtonText": string;
|
|
135
|
+
"addRowText": string;
|
|
136
|
+
"confirmDeleteButtonText": string;
|
|
137
|
+
"dateDaysFromToday": number;
|
|
138
|
+
"dateLabel": string;
|
|
139
|
+
"datePlaceholder": string;
|
|
140
|
+
"deleteMultipleRowsWarningText": string;
|
|
141
|
+
"dropdownData": string | Root1[];
|
|
142
|
+
"elementHelperText": string;
|
|
143
|
+
"firstDropdownHelperText": string;
|
|
144
|
+
"firstDropdownLabel": string;
|
|
145
|
+
"firstInputHighErrorText": string;
|
|
146
|
+
"firstInputLowErrorText": string;
|
|
147
|
+
"firstInputMax": number;
|
|
148
|
+
"firstInputMin": number;
|
|
149
|
+
"firstInputWarning": number;
|
|
150
|
+
"firstInputWarningText": string;
|
|
151
|
+
"fristInputLabel": string;
|
|
152
|
+
"fristInputPlaceholder": string;
|
|
153
|
+
"languageCode": string;
|
|
154
|
+
"secondDropdownHelperText": string;
|
|
155
|
+
"secondDropdownLabel": string;
|
|
156
|
+
"secondDropdownMax": number;
|
|
157
|
+
"secondInputHighErrorText": string;
|
|
158
|
+
"secondInputLabel": string;
|
|
159
|
+
"secondInputLowErrorText": string;
|
|
160
|
+
"secondInputMax": number;
|
|
161
|
+
"secondInputMin": number;
|
|
162
|
+
"secondInputPlaceholder": string;
|
|
163
|
+
"secondInputWarning": number;
|
|
164
|
+
"secondInputWarningText": string;
|
|
165
|
+
"sumFieldLabel": string;
|
|
166
|
+
"yearsToAddToEndDate": number;
|
|
167
|
+
}
|
|
168
|
+
interface PnDropdownWithMultiInputRowsRow {
|
|
169
|
+
"dateLabel": string;
|
|
170
|
+
"datePlaceholder": string;
|
|
171
|
+
"firstInputHighErrorText": string;
|
|
172
|
+
"firstInputLowErrorText": string;
|
|
173
|
+
"firstInputMax": number;
|
|
174
|
+
"firstInputMin": number;
|
|
175
|
+
"firstInputWarning": number;
|
|
176
|
+
"firstInputWarningText": string;
|
|
177
|
+
"firstValidDate": string;
|
|
178
|
+
"fristInputPlaceholder": string;
|
|
179
|
+
"languageCode": string;
|
|
180
|
+
"lastValidDate": string;
|
|
181
|
+
"minRowCount": number;
|
|
182
|
+
"predefinedValue": string;
|
|
183
|
+
"rowIndex": number;
|
|
184
|
+
"secondInputHighErrorText": string;
|
|
185
|
+
"secondInputLowErrorText": string;
|
|
186
|
+
"secondInputMax": number;
|
|
187
|
+
"secondInputMin": number;
|
|
188
|
+
"secondInputPlaceholder": string;
|
|
189
|
+
"secondInputWarning": number;
|
|
190
|
+
"secondInputWarningText": string;
|
|
191
|
+
}
|
|
132
192
|
interface PnFilterCheckbox {
|
|
133
193
|
/**
|
|
134
194
|
* The string you put here will be what you'd make the ID of a native radio button, you can't name props "id" because it's reserved so we went with the more descriptive name "checkboxid", if you want to create labels for your checkbox, you will bind it to this ID
|
|
@@ -515,7 +575,7 @@ export namespace Components {
|
|
|
515
575
|
"dateButtonText": string;
|
|
516
576
|
"dateDaysFromToday": number;
|
|
517
577
|
"datePlaceholder": string;
|
|
518
|
-
"dropdownData": string |
|
|
578
|
+
"dropdownData": string | Root2[];
|
|
519
579
|
"dropdownPlaceholder": string;
|
|
520
580
|
"endDateLabel": string;
|
|
521
581
|
"firstDropdownLabel": string;
|
|
@@ -537,7 +597,7 @@ export namespace Components {
|
|
|
537
597
|
"dateButtonText": string;
|
|
538
598
|
"dateDaysFromToday": number;
|
|
539
599
|
"datePlaceholder": string;
|
|
540
|
-
"dropdownData": string |
|
|
600
|
+
"dropdownData": string | Root2[];
|
|
541
601
|
"dropdownPlaceholder": string;
|
|
542
602
|
"endDateLabel": string;
|
|
543
603
|
"firstDropdownLabel": string;
|
|
@@ -555,6 +615,11 @@ export namespace Components {
|
|
|
555
615
|
"startDateLabel": string;
|
|
556
616
|
"yearsToAddToEndDate": number;
|
|
557
617
|
}
|
|
618
|
+
interface PnMultipleInput {
|
|
619
|
+
"addRowButtonText": string;
|
|
620
|
+
"label": string;
|
|
621
|
+
"placeholder": string;
|
|
622
|
+
}
|
|
558
623
|
interface PnParcelTracker {
|
|
559
624
|
"buttonLabel": string;
|
|
560
625
|
"formActionUrl": string;
|
|
@@ -863,6 +928,14 @@ export interface PnDropdownChoiceAddsRowCustomEvent<T> extends CustomEvent<T> {
|
|
|
863
928
|
detail: T;
|
|
864
929
|
target: HTMLPnDropdownChoiceAddsRowElement;
|
|
865
930
|
}
|
|
931
|
+
export interface PnDropdownWithMultiInputRowsCustomEvent<T> extends CustomEvent<T> {
|
|
932
|
+
detail: T;
|
|
933
|
+
target: HTMLPnDropdownWithMultiInputRowsElement;
|
|
934
|
+
}
|
|
935
|
+
export interface PnDropdownWithMultiInputRowsRowCustomEvent<T> extends CustomEvent<T> {
|
|
936
|
+
detail: T;
|
|
937
|
+
target: HTMLPnDropdownWithMultiInputRowsRowElement;
|
|
938
|
+
}
|
|
866
939
|
export interface PnLanguageSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
867
940
|
detail: T;
|
|
868
941
|
target: HTMLPnLanguageSelectorElement;
|
|
@@ -899,6 +972,10 @@ export interface PnMultiRowConnectedDropdownRowCustomEvent<T> extends CustomEven
|
|
|
899
972
|
detail: T;
|
|
900
973
|
target: HTMLPnMultiRowConnectedDropdownRowElement;
|
|
901
974
|
}
|
|
975
|
+
export interface PnMultipleInputCustomEvent<T> extends CustomEvent<T> {
|
|
976
|
+
detail: T;
|
|
977
|
+
target: HTMLPnMultipleInputElement;
|
|
978
|
+
}
|
|
902
979
|
export interface PnProfileModalCustomernumberCustomEvent<T> extends CustomEvent<T> {
|
|
903
980
|
detail: T;
|
|
904
981
|
target: HTMLPnProfileModalCustomernumberElement;
|
|
@@ -990,6 +1067,18 @@ declare global {
|
|
|
990
1067
|
prototype: HTMLPnDropdownChoiceAddsRowElement;
|
|
991
1068
|
new (): HTMLPnDropdownChoiceAddsRowElement;
|
|
992
1069
|
};
|
|
1070
|
+
interface HTMLPnDropdownWithMultiInputRowsElement extends Components.PnDropdownWithMultiInputRows, HTMLStencilElement {
|
|
1071
|
+
}
|
|
1072
|
+
var HTMLPnDropdownWithMultiInputRowsElement: {
|
|
1073
|
+
prototype: HTMLPnDropdownWithMultiInputRowsElement;
|
|
1074
|
+
new (): HTMLPnDropdownWithMultiInputRowsElement;
|
|
1075
|
+
};
|
|
1076
|
+
interface HTMLPnDropdownWithMultiInputRowsRowElement extends Components.PnDropdownWithMultiInputRowsRow, HTMLStencilElement {
|
|
1077
|
+
}
|
|
1078
|
+
var HTMLPnDropdownWithMultiInputRowsRowElement: {
|
|
1079
|
+
prototype: HTMLPnDropdownWithMultiInputRowsRowElement;
|
|
1080
|
+
new (): HTMLPnDropdownWithMultiInputRowsRowElement;
|
|
1081
|
+
};
|
|
993
1082
|
interface HTMLPnFilterCheckboxElement extends Components.PnFilterCheckbox, HTMLStencilElement {
|
|
994
1083
|
}
|
|
995
1084
|
var HTMLPnFilterCheckboxElement: {
|
|
@@ -1152,6 +1241,12 @@ declare global {
|
|
|
1152
1241
|
prototype: HTMLPnMultiRowConnectedDropdownRowElement;
|
|
1153
1242
|
new (): HTMLPnMultiRowConnectedDropdownRowElement;
|
|
1154
1243
|
};
|
|
1244
|
+
interface HTMLPnMultipleInputElement extends Components.PnMultipleInput, HTMLStencilElement {
|
|
1245
|
+
}
|
|
1246
|
+
var HTMLPnMultipleInputElement: {
|
|
1247
|
+
prototype: HTMLPnMultipleInputElement;
|
|
1248
|
+
new (): HTMLPnMultipleInputElement;
|
|
1249
|
+
};
|
|
1155
1250
|
interface HTMLPnParcelTrackerElement extends Components.PnParcelTracker, HTMLStencilElement {
|
|
1156
1251
|
}
|
|
1157
1252
|
var HTMLPnParcelTrackerElement: {
|
|
@@ -1430,6 +1525,8 @@ declare global {
|
|
|
1430
1525
|
"pn-customernumber-selector-option": HTMLPnCustomernumberSelectorOptionElement;
|
|
1431
1526
|
"pn-date-and-time": HTMLPnDateAndTimeElement;
|
|
1432
1527
|
"pn-dropdown-choice-adds-row": HTMLPnDropdownChoiceAddsRowElement;
|
|
1528
|
+
"pn-dropdown-with-multi-input-rows": HTMLPnDropdownWithMultiInputRowsElement;
|
|
1529
|
+
"pn-dropdown-with-multi-input-rows-row": HTMLPnDropdownWithMultiInputRowsRowElement;
|
|
1433
1530
|
"pn-filter-checkbox": HTMLPnFilterCheckboxElement;
|
|
1434
1531
|
"pn-find-price": HTMLPnFindPriceElement;
|
|
1435
1532
|
"pn-find-price-result": HTMLPnFindPriceResultElement;
|
|
@@ -1457,6 +1554,7 @@ declare global {
|
|
|
1457
1554
|
"pn-multi-formfield": HTMLPnMultiFormfieldElement;
|
|
1458
1555
|
"pn-multi-row-connected-dropdown": HTMLPnMultiRowConnectedDropdownElement;
|
|
1459
1556
|
"pn-multi-row-connected-dropdown-row": HTMLPnMultiRowConnectedDropdownRowElement;
|
|
1557
|
+
"pn-multiple-input": HTMLPnMultipleInputElement;
|
|
1460
1558
|
"pn-parcel-tracker": HTMLPnParcelTrackerElement;
|
|
1461
1559
|
"pn-pex-pricefinder": HTMLPnPexPricefinderElement;
|
|
1462
1560
|
"pn-play-on-scroll": HTMLPnPlayOnScrollElement;
|
|
@@ -1622,6 +1720,70 @@ declare namespace LocalJSX {
|
|
|
1622
1720
|
"rowNameLabel"?: string;
|
|
1623
1721
|
"totalInputLimit"?: number;
|
|
1624
1722
|
}
|
|
1723
|
+
interface PnDropdownWithMultiInputRows {
|
|
1724
|
+
"abortDeleteButtonText"?: string;
|
|
1725
|
+
"addRowText"?: string;
|
|
1726
|
+
"confirmDeleteButtonText"?: string;
|
|
1727
|
+
"dateDaysFromToday"?: number;
|
|
1728
|
+
"dateLabel"?: string;
|
|
1729
|
+
"datePlaceholder"?: string;
|
|
1730
|
+
"deleteMultipleRowsWarningText"?: string;
|
|
1731
|
+
"dropdownData"?: string | Root1[];
|
|
1732
|
+
"elementHelperText"?: string;
|
|
1733
|
+
"firstDropdownHelperText"?: string;
|
|
1734
|
+
"firstDropdownLabel"?: string;
|
|
1735
|
+
"firstInputHighErrorText"?: string;
|
|
1736
|
+
"firstInputLowErrorText"?: string;
|
|
1737
|
+
"firstInputMax"?: number;
|
|
1738
|
+
"firstInputMin"?: number;
|
|
1739
|
+
"firstInputWarning"?: number;
|
|
1740
|
+
"firstInputWarningText"?: string;
|
|
1741
|
+
"fristInputLabel"?: string;
|
|
1742
|
+
"fristInputPlaceholder"?: string;
|
|
1743
|
+
"languageCode"?: string;
|
|
1744
|
+
"onAllFormValues"?: (event: PnDropdownWithMultiInputRowsCustomEvent<string>) => void;
|
|
1745
|
+
"secondDropdownHelperText"?: string;
|
|
1746
|
+
"secondDropdownLabel"?: string;
|
|
1747
|
+
"secondDropdownMax"?: number;
|
|
1748
|
+
"secondInputHighErrorText"?: string;
|
|
1749
|
+
"secondInputLabel"?: string;
|
|
1750
|
+
"secondInputLowErrorText"?: string;
|
|
1751
|
+
"secondInputMax"?: number;
|
|
1752
|
+
"secondInputMin"?: number;
|
|
1753
|
+
"secondInputPlaceholder"?: string;
|
|
1754
|
+
"secondInputWarning"?: number;
|
|
1755
|
+
"secondInputWarningText"?: string;
|
|
1756
|
+
"sumFieldLabel"?: string;
|
|
1757
|
+
"yearsToAddToEndDate"?: number;
|
|
1758
|
+
}
|
|
1759
|
+
interface PnDropdownWithMultiInputRowsRow {
|
|
1760
|
+
"dateLabel"?: string;
|
|
1761
|
+
"datePlaceholder"?: string;
|
|
1762
|
+
"firstInputHighErrorText"?: string;
|
|
1763
|
+
"firstInputLowErrorText"?: string;
|
|
1764
|
+
"firstInputMax"?: number;
|
|
1765
|
+
"firstInputMin"?: number;
|
|
1766
|
+
"firstInputWarning"?: number;
|
|
1767
|
+
"firstInputWarningText"?: string;
|
|
1768
|
+
"firstValidDate"?: string;
|
|
1769
|
+
"fristInputPlaceholder"?: string;
|
|
1770
|
+
"languageCode"?: string;
|
|
1771
|
+
"lastValidDate"?: string;
|
|
1772
|
+
"minRowCount"?: number;
|
|
1773
|
+
"onDeleteRowEvent"?: (event: PnDropdownWithMultiInputRowsRowCustomEvent<string>) => void;
|
|
1774
|
+
"onFirstInputChange"?: (event: PnDropdownWithMultiInputRowsRowCustomEvent<PredefinedValues>) => void;
|
|
1775
|
+
"onRowValueChange"?: (event: PnDropdownWithMultiInputRowsRowCustomEvent<PredefinedValues>) => void;
|
|
1776
|
+
"onSecondInputChange"?: (event: PnDropdownWithMultiInputRowsRowCustomEvent<PredefinedValues>) => void;
|
|
1777
|
+
"predefinedValue"?: string;
|
|
1778
|
+
"rowIndex"?: number;
|
|
1779
|
+
"secondInputHighErrorText"?: string;
|
|
1780
|
+
"secondInputLowErrorText"?: string;
|
|
1781
|
+
"secondInputMax"?: number;
|
|
1782
|
+
"secondInputMin"?: number;
|
|
1783
|
+
"secondInputPlaceholder"?: string;
|
|
1784
|
+
"secondInputWarning"?: number;
|
|
1785
|
+
"secondInputWarningText"?: string;
|
|
1786
|
+
}
|
|
1625
1787
|
interface PnFilterCheckbox {
|
|
1626
1788
|
/**
|
|
1627
1789
|
* The string you put here will be what you'd make the ID of a native radio button, you can't name props "id" because it's reserved so we went with the more descriptive name "checkboxid", if you want to create labels for your checkbox, you will bind it to this ID
|
|
@@ -2025,7 +2187,7 @@ declare namespace LocalJSX {
|
|
|
2025
2187
|
"dateButtonText"?: string;
|
|
2026
2188
|
"dateDaysFromToday"?: number;
|
|
2027
2189
|
"datePlaceholder"?: string;
|
|
2028
|
-
"dropdownData"?: string |
|
|
2190
|
+
"dropdownData"?: string | Root2[];
|
|
2029
2191
|
"dropdownPlaceholder"?: string;
|
|
2030
2192
|
"endDateLabel"?: string;
|
|
2031
2193
|
"firstDropdownLabel"?: string;
|
|
@@ -2048,7 +2210,7 @@ declare namespace LocalJSX {
|
|
|
2048
2210
|
"dateButtonText"?: string;
|
|
2049
2211
|
"dateDaysFromToday"?: number;
|
|
2050
2212
|
"datePlaceholder"?: string;
|
|
2051
|
-
"dropdownData"?: string |
|
|
2213
|
+
"dropdownData"?: string | Root2[];
|
|
2052
2214
|
"dropdownPlaceholder"?: string;
|
|
2053
2215
|
"endDateLabel"?: string;
|
|
2054
2216
|
"firstDropdownLabel"?: string;
|
|
@@ -2061,13 +2223,19 @@ declare namespace LocalJSX {
|
|
|
2061
2223
|
"multiDateHelperText"?: string;
|
|
2062
2224
|
"noDatesText"?: string;
|
|
2063
2225
|
"onDeleteRowEvent"?: (event: PnMultiRowConnectedDropdownRowCustomEvent<string>) => void;
|
|
2064
|
-
"onRowValueChange"?: (event: PnMultiRowConnectedDropdownRowCustomEvent<
|
|
2226
|
+
"onRowValueChange"?: (event: PnMultiRowConnectedDropdownRowCustomEvent<PredefinedValues1>) => void;
|
|
2065
2227
|
"predefinedValue"?: string;
|
|
2066
2228
|
"saveDateButtonText"?: string;
|
|
2067
2229
|
"secondDropdownLabel"?: string;
|
|
2068
2230
|
"startDateLabel"?: string;
|
|
2069
2231
|
"yearsToAddToEndDate"?: number;
|
|
2070
2232
|
}
|
|
2233
|
+
interface PnMultipleInput {
|
|
2234
|
+
"addRowButtonText"?: string;
|
|
2235
|
+
"label"?: string;
|
|
2236
|
+
"onAllFormValues"?: (event: PnMultipleInputCustomEvent<string>) => void;
|
|
2237
|
+
"placeholder"?: string;
|
|
2238
|
+
}
|
|
2071
2239
|
interface PnParcelTracker {
|
|
2072
2240
|
"buttonLabel"?: string;
|
|
2073
2241
|
"formActionUrl"?: string;
|
|
@@ -2381,6 +2549,8 @@ declare namespace LocalJSX {
|
|
|
2381
2549
|
"pn-customernumber-selector-option": PnCustomernumberSelectorOption;
|
|
2382
2550
|
"pn-date-and-time": PnDateAndTime;
|
|
2383
2551
|
"pn-dropdown-choice-adds-row": PnDropdownChoiceAddsRow;
|
|
2552
|
+
"pn-dropdown-with-multi-input-rows": PnDropdownWithMultiInputRows;
|
|
2553
|
+
"pn-dropdown-with-multi-input-rows-row": PnDropdownWithMultiInputRowsRow;
|
|
2384
2554
|
"pn-filter-checkbox": PnFilterCheckbox;
|
|
2385
2555
|
"pn-find-price": PnFindPrice;
|
|
2386
2556
|
"pn-find-price-result": PnFindPriceResult;
|
|
@@ -2408,6 +2578,7 @@ declare namespace LocalJSX {
|
|
|
2408
2578
|
"pn-multi-formfield": PnMultiFormfield;
|
|
2409
2579
|
"pn-multi-row-connected-dropdown": PnMultiRowConnectedDropdown;
|
|
2410
2580
|
"pn-multi-row-connected-dropdown-row": PnMultiRowConnectedDropdownRow;
|
|
2581
|
+
"pn-multiple-input": PnMultipleInput;
|
|
2411
2582
|
"pn-parcel-tracker": PnParcelTracker;
|
|
2412
2583
|
"pn-pex-pricefinder": PnPexPricefinder;
|
|
2413
2584
|
"pn-play-on-scroll": PnPlayOnScroll;
|
|
@@ -2471,6 +2642,8 @@ declare module "@stencil/core" {
|
|
|
2471
2642
|
"pn-customernumber-selector-option": LocalJSX.PnCustomernumberSelectorOption & JSXBase.HTMLAttributes<HTMLPnCustomernumberSelectorOptionElement>;
|
|
2472
2643
|
"pn-date-and-time": LocalJSX.PnDateAndTime & JSXBase.HTMLAttributes<HTMLPnDateAndTimeElement>;
|
|
2473
2644
|
"pn-dropdown-choice-adds-row": LocalJSX.PnDropdownChoiceAddsRow & JSXBase.HTMLAttributes<HTMLPnDropdownChoiceAddsRowElement>;
|
|
2645
|
+
"pn-dropdown-with-multi-input-rows": LocalJSX.PnDropdownWithMultiInputRows & JSXBase.HTMLAttributes<HTMLPnDropdownWithMultiInputRowsElement>;
|
|
2646
|
+
"pn-dropdown-with-multi-input-rows-row": LocalJSX.PnDropdownWithMultiInputRowsRow & JSXBase.HTMLAttributes<HTMLPnDropdownWithMultiInputRowsRowElement>;
|
|
2474
2647
|
"pn-filter-checkbox": LocalJSX.PnFilterCheckbox & JSXBase.HTMLAttributes<HTMLPnFilterCheckboxElement>;
|
|
2475
2648
|
"pn-find-price": LocalJSX.PnFindPrice & JSXBase.HTMLAttributes<HTMLPnFindPriceElement>;
|
|
2476
2649
|
"pn-find-price-result": LocalJSX.PnFindPriceResult & JSXBase.HTMLAttributes<HTMLPnFindPriceResultElement>;
|
|
@@ -2498,6 +2671,7 @@ declare module "@stencil/core" {
|
|
|
2498
2671
|
"pn-multi-formfield": LocalJSX.PnMultiFormfield & JSXBase.HTMLAttributes<HTMLPnMultiFormfieldElement>;
|
|
2499
2672
|
"pn-multi-row-connected-dropdown": LocalJSX.PnMultiRowConnectedDropdown & JSXBase.HTMLAttributes<HTMLPnMultiRowConnectedDropdownElement>;
|
|
2500
2673
|
"pn-multi-row-connected-dropdown-row": LocalJSX.PnMultiRowConnectedDropdownRow & JSXBase.HTMLAttributes<HTMLPnMultiRowConnectedDropdownRowElement>;
|
|
2674
|
+
"pn-multiple-input": LocalJSX.PnMultipleInput & JSXBase.HTMLAttributes<HTMLPnMultipleInputElement>;
|
|
2501
2675
|
"pn-parcel-tracker": LocalJSX.PnParcelTracker & JSXBase.HTMLAttributes<HTMLPnParcelTrackerElement>;
|
|
2502
2676
|
"pn-pex-pricefinder": LocalJSX.PnPexPricefinder & JSXBase.HTMLAttributes<HTMLPnPexPricefinderElement>;
|
|
2503
2677
|
"pn-play-on-scroll": LocalJSX.PnPlayOnScroll & JSXBase.HTMLAttributes<HTMLPnPlayOnScrollElement>;
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
],
|
|
8
|
-
"_development": true,
|
|
9
|
-
"_from": "@postnord/web-components@4.0.8",
|
|
10
|
-
"_id": "@postnord/web-components@4.0.8",
|
|
11
|
-
"_inBundle": false,
|
|
12
|
-
"_integrity": "sha512-H7P0niB3+FjeGCYn6Obw3QlBP6LBR+Ae8oyRqRZnLHiNGA9PjOVMEuYb9QpNnJId5Kn80i6dlraWSMmrAH47Ug==",
|
|
13
|
-
"_location": "/@postnord/web-components",
|
|
14
|
-
"_phantomChildren": {},
|
|
15
|
-
"_requested": {
|
|
16
|
-
"type": "version",
|
|
17
|
-
"registry": true,
|
|
18
|
-
"raw": "@postnord/web-components@4.0.8",
|
|
19
|
-
"name": "@postnord/web-components",
|
|
20
|
-
"escapedName": "@postnord%2fweb-components",
|
|
21
|
-
"scope": "@postnord",
|
|
22
|
-
"rawSpec": "4.0.8",
|
|
23
|
-
"saveSpec": null,
|
|
24
|
-
"fetchSpec": "4.0.8"
|
|
2
|
+
"name": "@postnord/web-components",
|
|
3
|
+
"version": "4.0.8",
|
|
4
|
+
"description": "PostNord Web Components",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
25
7
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"_where": "/opt/atlassian/pipelines/agent/build",
|
|
8
|
+
"main": "./index.cjs.js",
|
|
9
|
+
"module": "./index.js",
|
|
10
|
+
"es2015": "./esm/index.mjs",
|
|
11
|
+
"es2017": "./esm/index.mjs",
|
|
12
|
+
"types": "./types/index.d.ts",
|
|
32
13
|
"collection": "./collection/collection-manifest.json",
|
|
33
14
|
"collection:main": "./collection/index.js",
|
|
15
|
+
"unpkg": "./postnord-web-components/postnord-web-components.esm.js",
|
|
16
|
+
"files": [
|
|
17
|
+
"*"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"start": " npm-run-all --parallel stencil storybook",
|
|
21
|
+
"build": "npm-run-all build:assets clean build:stencil build:storybook",
|
|
22
|
+
"build:stencil": "cross-env STENCIL_ENV=prod stencil build --docs",
|
|
23
|
+
"build:storybook": "build-storybook",
|
|
24
|
+
"build:assets": "node ./scripts/createIconFile.js && node ./scripts/createColorFile.js && node ./scripts/createIllustrationsFile.js",
|
|
25
|
+
"generate": "plop",
|
|
26
|
+
"prestart": "npm-run-all kill clean build:assets build:stencil",
|
|
27
|
+
"kill": "kill-port 3333 6006",
|
|
28
|
+
"clean": "rm -rf ./ loader/ www/",
|
|
29
|
+
"exposed": "npm-run-all --parallel start script:exposed",
|
|
30
|
+
"stencil": "cross-env STENCIL_ENV=dev stencil build --watch --serve",
|
|
31
|
+
"storybook": "start-storybook -p 6006",
|
|
32
|
+
"script:exposed": "./scripts/expose_server.sh",
|
|
33
|
+
"test": "cross-env STENCIL_ENV=dev stencil test --spec --e2e",
|
|
34
|
+
"test:watch": "cross-env STENCIL_ENV=dev stencil test --spec --e2e --watchAll"
|
|
35
|
+
},
|
|
34
36
|
"dependencies": {
|
|
35
37
|
"@stencil/core": "^2.16.1"
|
|
36
38
|
},
|
|
37
|
-
"description": "PostNord Web Components",
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@babel/core": "^7.18.5",
|
|
40
41
|
"@stencil/sass": "^1.5.2",
|
|
@@ -76,36 +77,5 @@
|
|
|
76
77
|
"svgo": "^2.8.0",
|
|
77
78
|
"webpack": "^5.73.0"
|
|
78
79
|
},
|
|
79
|
-
"
|
|
80
|
-
"es2017": "./esm/index.mjs",
|
|
81
|
-
"files": [
|
|
82
|
-
"*"
|
|
83
|
-
],
|
|
84
|
-
"license": "MIT",
|
|
85
|
-
"main": "./index.cjs.js",
|
|
86
|
-
"module": "./index.js",
|
|
87
|
-
"name": "@postnord/web-components",
|
|
88
|
-
"publishConfig": {
|
|
89
|
-
"registry": "https://registry.npmjs.org/"
|
|
90
|
-
},
|
|
91
|
-
"scripts": {
|
|
92
|
-
"build": "npm-run-all build:assets clean build:stencil build:storybook",
|
|
93
|
-
"build:assets": "node ./scripts/createIconFile.js && node ./scripts/createColorFile.js && node ./scripts/createIllustrationsFile.js",
|
|
94
|
-
"build:stencil": "cross-env STENCIL_ENV=prod stencil build --docs",
|
|
95
|
-
"build:storybook": "build-storybook",
|
|
96
|
-
"clean": "rm -rf ./ loader/ www/",
|
|
97
|
-
"exposed": "npm-run-all --parallel start script:exposed",
|
|
98
|
-
"generate": "plop",
|
|
99
|
-
"kill": "kill-port 3333 6006",
|
|
100
|
-
"prestart": "npm-run-all kill clean build:assets build:stencil",
|
|
101
|
-
"script:exposed": "./scripts/expose_server.sh",
|
|
102
|
-
"start": " npm-run-all --parallel stencil storybook",
|
|
103
|
-
"stencil": "cross-env STENCIL_ENV=dev stencil build --watch --serve",
|
|
104
|
-
"storybook": "start-storybook -p 6006",
|
|
105
|
-
"test": "cross-env STENCIL_ENV=dev stencil test --spec --e2e",
|
|
106
|
-
"test:watch": "cross-env STENCIL_ENV=dev stencil test --spec --e2e --watchAll"
|
|
107
|
-
},
|
|
108
|
-
"types": "./types/index.d.ts",
|
|
109
|
-
"unpkg": "./postnord-web-components/postnord-web-components.esm.js",
|
|
110
|
-
"version": "4.0.8"
|
|
80
|
+
"license": "MIT"
|
|
111
81
|
}
|
|
@@ -1,45 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
]
|
|
7
|
-
],
|
|
8
|
-
"_development": true,
|
|
9
|
-
"_from": "@webcomponents/custom-elements@1.5.0",
|
|
10
|
-
"_id": "@webcomponents/custom-elements@1.5.0",
|
|
11
|
-
"_inBundle": false,
|
|
12
|
-
"_integrity": "sha512-c+7jPQCs9h/BYVcZ2Kna/3tsl3A/9EyXfvWjp5RiTDm1OpTcbZaCa1z4RNcTe/hUtXaqn64JjNW1yrWT+rZ8gg==",
|
|
13
|
-
"_location": "/@webcomponents/custom-elements",
|
|
14
|
-
"_phantomChildren": {},
|
|
15
|
-
"_requested": {
|
|
16
|
-
"type": "version",
|
|
17
|
-
"registry": true,
|
|
18
|
-
"raw": "@webcomponents/custom-elements@1.5.0",
|
|
19
|
-
"name": "@webcomponents/custom-elements",
|
|
20
|
-
"escapedName": "@webcomponents%2fcustom-elements",
|
|
21
|
-
"scope": "@webcomponents",
|
|
22
|
-
"rawSpec": "1.5.0",
|
|
23
|
-
"saveSpec": null,
|
|
24
|
-
"fetchSpec": "1.5.0"
|
|
25
|
-
},
|
|
26
|
-
"_requiredBy": [
|
|
27
|
-
"#DEV:/"
|
|
28
|
-
],
|
|
29
|
-
"_resolved": "https://registry.npmjs.org/@webcomponents/custom-elements/-/custom-elements-1.5.0.tgz",
|
|
30
|
-
"_spec": "1.5.0",
|
|
31
|
-
"_where": "/opt/atlassian/pipelines/agent/build",
|
|
32
|
-
"author": {
|
|
33
|
-
"name": "The Polymer Project Authors",
|
|
34
|
-
"url": "https://polymer.github.io/AUTHORS.txt"
|
|
35
|
-
},
|
|
36
|
-
"bugs": {
|
|
37
|
-
"url": "https://github.com/webcomponents/polyfills/issues?q=is%3Aissue+is%3Aopen+label%3A\"Package%3A+custom-elements\""
|
|
2
|
+
"name": "@webcomponents/custom-elements",
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
38
6
|
},
|
|
39
7
|
"description": "HTML Custom Elements Polyfill",
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"
|
|
8
|
+
"license": "BSD-3-Clause",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/webcomponents/polyfills.git",
|
|
12
|
+
"directory": "packages/custom-elements"
|
|
13
|
+
},
|
|
14
|
+
"author": "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)",
|
|
15
|
+
"homepage": "https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements",
|
|
16
|
+
"bugs": "https://github.com/webcomponents/polyfills/issues?q=is%3Aissue+is%3Aopen+label%3A\"Package%3A+custom-elements\"",
|
|
17
|
+
"main": "custom-elements.min.js",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc && gulp",
|
|
20
|
+
"build:watch": "chokidar --initial 'ts_src/**/*.ts' -c 'npm run build'",
|
|
21
|
+
"debug": "rollup -c",
|
|
22
|
+
"prepack": "npm run build"
|
|
43
23
|
},
|
|
44
24
|
"files": [
|
|
45
25
|
"CHANGELOG.md",
|
|
@@ -47,8 +27,6 @@
|
|
|
47
27
|
"externs/",
|
|
48
28
|
"src/"
|
|
49
29
|
],
|
|
50
|
-
"gitHead": "966c28a79fcd46dedc4367be6b93404565ab9cf6",
|
|
51
|
-
"homepage": "https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements",
|
|
52
30
|
"keywords": [
|
|
53
31
|
"custom-elements",
|
|
54
32
|
"customelements",
|
|
@@ -57,22 +35,9 @@
|
|
|
57
35
|
"polyfill",
|
|
58
36
|
"shim"
|
|
59
37
|
],
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public"
|
|
65
|
-
},
|
|
66
|
-
"repository": {
|
|
67
|
-
"type": "git",
|
|
68
|
-
"url": "git+https://github.com/webcomponents/polyfills.git",
|
|
69
|
-
"directory": "packages/custom-elements"
|
|
70
|
-
},
|
|
71
|
-
"scripts": {
|
|
72
|
-
"build": "tsc && gulp",
|
|
73
|
-
"build:watch": "chokidar --initial 'ts_src/**/*.ts' -c 'npm run build'",
|
|
74
|
-
"debug": "rollup -c",
|
|
75
|
-
"prepack": "npm run build"
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@webcomponents/html-imports": "^1.3.0",
|
|
40
|
+
"@webcomponents/shadydom": "^1.9.0"
|
|
76
41
|
},
|
|
77
|
-
"
|
|
42
|
+
"gitHead": "966c28a79fcd46dedc4367be6b93404565ab9cf6"
|
|
78
43
|
}
|