@odus/checkout 1.11.0 → 1.11.2
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/checkout.es.js +122 -121
- package/dist/components/checkout/form/FormComponentManager.d.ts.map +1 -1
- package/dist/core/vgs/VGSCollectService.d.ts +20 -0
- package/dist/core/vgs/VGSCollectService.d.ts.map +1 -1
- package/dist/core/vgs/index.d.ts +1 -1
- package/dist/core/vgs/index.d.ts.map +1 -1
- package/dist/elements/OdusElements.d.ts.map +1 -1
- package/dist/elements/card/VgsCardAdapter.d.ts.map +1 -1
- package/dist/elements.es.js +173 -171
- package/dist/phone.js +4 -4
- package/dist/services/checkout/Checkout.service.d.ts.map +1 -1
- package/dist/shared.js +3984 -3970
- package/dist/utils/dom/appendGoogleFont.d.ts.map +1 -1
- package/dist/utils/dom/fetchGoogleFontFace.d.ts.map +1 -1
- package/dist/utils/dom/googleFontUrl.d.ts +26 -0
- package/dist/utils/dom/googleFontUrl.d.ts.map +1 -0
- package/dist/utils/dom/index.d.ts +1 -0
- package/dist/utils/dom/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appendGoogleFont.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/appendGoogleFont.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appendGoogleFont.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/appendGoogleFont.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,GAAI,MAAM,eAAe,YACkB,CAAC;AAEzE,eAAO,MAAM,gBAAgB,GAAI,gBAAgB;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE;;CA2CvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchGoogleFontFace.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/fetchGoogleFontFace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetchGoogleFontFace.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/fetchGoogleFontFace.ts"],"names":[],"mappings":"AASA,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAuBxB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const GOOGLE_FONTS_ORIGIN = "https://fonts.googleapis.com/";
|
|
2
|
+
/**
|
|
3
|
+
* The value for the `family=` parameter, or `null` when Google Fonts cannot
|
|
4
|
+
* serve this family.
|
|
5
|
+
*
|
|
6
|
+
* The API answers `400` rather than an empty stylesheet, and both callers
|
|
7
|
+
* treat that as "no font", so a request for a family it cannot serve buys
|
|
8
|
+
* nothing and costs a round trip. `fetchGoogleFontFace` spends that round trip
|
|
9
|
+
* on the path that mounts the card fields, so the check has to happen before
|
|
10
|
+
* the request rather than on its response.
|
|
11
|
+
*
|
|
12
|
+
* A list of families is rejected for the same reason: `family=` takes one
|
|
13
|
+
* name, so `Roboto, sans-serif` answers `400` exactly as `system-ui` does.
|
|
14
|
+
* Reading the first real family out of a list would load a font that does not
|
|
15
|
+
* load today, which is a change of behaviour rather than of load order — see
|
|
16
|
+
* #5406.
|
|
17
|
+
*/
|
|
18
|
+
export declare const toGoogleFontFamilyParam: (fontFamily: string | undefined) => string | null;
|
|
19
|
+
/**
|
|
20
|
+
* The Google Fonts stylesheet for a family param from
|
|
21
|
+
* `toGoogleFontFamilyParam`. Both the injected `<link>` and the `fetch` that
|
|
22
|
+
* reads the woff2 URL out of the CSS ask for the same URL, so they share one
|
|
23
|
+
* definition of it.
|
|
24
|
+
*/
|
|
25
|
+
export declare const googleFontStylesheetUrl: (familyParam: string) => string;
|
|
26
|
+
//# sourceMappingURL=googleFontUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"googleFontUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/googleFontUrl.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,kCAAkC,CAAC;AA4CnE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,GAAG,SAAS,KAC7B,MAAM,GAAG,IAQX,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,aAAa,MAAM,KAAG,MACgB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './appendGoogleFont';
|
|
2
2
|
export * from './createSyntheticEvent.util';
|
|
3
3
|
export * from './fetchGoogleFontFace';
|
|
4
|
+
export * from './googleFontUrl';
|
|
4
5
|
export * from './preconnectOrigins';
|
|
5
6
|
export * from './restoreCursorAfterFormat.util';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/dom/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC"}
|