@pisell/private-materials 6.12.406 → 6.12.408

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.
Files changed (67) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +1 -0
  10. package/es/components/bigSale/components/ProductList/index.js +1 -0
  11. package/es/components/bigSale/components/TimeBar/index.js +1 -0
  12. package/es/components/bigSale/dialog.js +1 -0
  13. package/es/components/bigSale/hooks/useBigSaleContext.js +1 -0
  14. package/es/components/bigSale/hooks/useBigSaleProductListConfig.js +0 -1
  15. package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +1 -0
  16. package/es/components/bigSale/index.js +1 -0
  17. package/es/components/bigSale/templates/Kiosk/index.js +1 -0
  18. package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +1 -0
  19. package/es/components/ticketBooking/components/addServiceVariant/addService.js +0 -1
  20. package/es/components/vendingMachine/README.md +1 -1
  21. package/es/components/vendingMachine/customer.less +2 -20
  22. package/es/components/vendingMachine/dispense.less +1 -3
  23. package/es/components/vendingMachine/redeem.less +1 -1
  24. package/es/components/vendingMachine/vendingBottomBar.less +2 -2
  25. package/es/components/venueBookingSales/catalogPresentation.js +0 -1
  26. package/es/components/venueBookingSales/checkout/useVenueBookingCheckout.js +1 -0
  27. package/es/index.js +2 -0
  28. package/es/plus/multiCurrencySettlement/index.js +1 -1
  29. package/es/plus/pisellReservation/PisellReservation.js +1 -0
  30. package/es/plus/pisellReservation/components/ReservationNewReservationModal.js +29 -1
  31. package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
  32. package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
  33. package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
  34. package/es/plus/pisellReservation/index.js +17 -0
  35. package/es/plus/saleDetail/Base.js +1 -0
  36. package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +1 -0
  37. package/es/plus/saleDetail/components/DetailActions/PrintAction.js +1 -0
  38. package/es/plus/saleDetail/components/DetailActions/index.js +1 -0
  39. package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +1 -0
  40. package/es/plus/saleDetail/index.js +1 -0
  41. package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +1 -0
  42. package/es/plus/saleDetail/tmpl/B/index.js +1 -0
  43. package/es/plus/salesSdk/index.js +54 -0
  44. package/es/plus/salesSdk/utils/addProductWithFlowDebounced.js +1 -1
  45. package/es/plus/salesSdk/utils/bookingDate.js +1 -1
  46. package/es/plus/salesSdk/utils/enrichCartLineHolderDisplay.js +1 -1
  47. package/es/pro/Login2.0/AuthModal.d.ts +1 -1
  48. package/es/pro/Login2.0/index.d.ts +2 -2
  49. package/es/pro/Login2.0/shared/types.d.ts +1 -1
  50. package/lib/components/vendingMachine/README.md +1 -1
  51. package/lib/components/vendingMachine/customer.less +2 -20
  52. package/lib/components/vendingMachine/dispense.less +1 -3
  53. package/lib/components/vendingMachine/redeem.less +1 -1
  54. package/lib/components/vendingMachine/vendingBottomBar.less +2 -2
  55. package/lib/plus/pisellReservation/PisellReservation.js +1 -0
  56. package/lib/plus/pisellReservation/components/ReservationNewReservationModal.js +29 -1
  57. package/package.json +4 -4
  58. package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -3
  59. package/es/components/vendingMachine/assets/Bricolage-Grotesque-OFL.txt +0 -93
  60. package/es/components/vendingMachine/assets/DM-Sans-OFL.txt +0 -93
  61. package/es/components/vendingMachine/assets/bricolage-grotesque-latin.woff2 +0 -0
  62. package/es/components/vendingMachine/assets/dm-sans-latin.woff2 +0 -0
  63. package/es/private-materials/lowcode/authmodal/meta.d.ts +0 -1
  64. package/lib/components/vendingMachine/assets/Bricolage-Grotesque-OFL.txt +0 -93
  65. package/lib/components/vendingMachine/assets/DM-Sans-OFL.txt +0 -93
  66. package/lib/components/vendingMachine/assets/bricolage-grotesque-latin.woff2 +0 -0
  67. package/lib/components/vendingMachine/assets/dm-sans-latin.woff2 +0 -0
@@ -41,7 +41,7 @@
41
41
  border-radius: 18px;
42
42
  background: transparent;
43
43
  color: var(--vm-primary);
44
- font-family: 'Vending DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
44
+ font-family: inherit;
45
45
  font-size: 24px;
46
46
  font-weight: 700;
47
47
  line-height: 1.25;
@@ -75,7 +75,7 @@
75
75
  .vm-bottom-bar {
76
76
  .kiosk-self-service-bar-frame();
77
77
  z-index: 8;
78
- font-family: 'Vending DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
78
+ font-family: inherit;
79
79
  font-size: 16px;
80
80
  line-height: 1.5;
81
81
 
@@ -862,6 +862,7 @@ const PisellReservationCore = (props) => {
862
862
  }), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellRecordBoard.ShellFrame, null, /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellRecordBoard.GridLayout, null), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellRecordBoard.FloorMap, null), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellRecordBoard.Calendar, countryAwareCalendarSlotProps), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellRecordBoard.ResourceWall, null))), /* @__PURE__ */ react.default.createElement(require_ReservationNewReservationModal.ReservationNewReservationModal, {
863
863
  ref: newReservationModalRef,
864
864
  router,
865
+ businessCode: BIZ,
865
866
  app
866
867
  }), /* @__PURE__ */ react.default.createElement(require_ReservationBookingDetailModal.ReservationBookingDetailModal, {
867
868
  open: bookingDetailOpen,
@@ -11,9 +11,32 @@ let ahooks = require("ahooks");
11
11
  * 新建预约:引擎路由多选弹窗;仅单条路由时直接 history.push。
12
12
  */
13
13
  /**
14
+ * 解析当前业务的 Sales2 新建页。
15
+ *
16
+ * 路由配置优先,支持 `/sales2/biz/:business_code` 这类动态段;旧店铺未下发
17
+ * sales2 路由时使用 POS 既有的规范地址作为兼容回退。
18
+ */
19
+ function resolveBusinessSalesRoute(router, businessCode) {
20
+ const biz = typeof businessCode === "string" ? businessCode.trim() : "";
21
+ if (!biz) return void 0;
22
+ const encodedBiz = encodeURIComponent(biz);
23
+ const configuredRoute = (router && typeof router === "object" ? Object.values(router) : []).find((item) => {
24
+ if (!item || typeof item !== "object") return false;
25
+ const route = item;
26
+ return route.page_type === "proCode" && route.proCodeId === "sales2" && typeof route.router === "string" && route.router.trim() !== "";
27
+ });
28
+ const configuredPath = typeof (configuredRoute === null || configuredRoute === void 0 ? void 0 : configuredRoute.router) === "string" ? configuredRoute.router.trim() : "";
29
+ const [pathAndQuery, hash = ""] = (/:business_code\b/.test(configuredPath) ? configuredPath : `/sales2/biz/${encodedBiz}`).replace(/:business_code\b/g, encodedBiz).split("#", 2);
30
+ const [path, query = ""] = pathAndQuery.split("?", 2);
31
+ const params = new URLSearchParams(query);
32
+ const salesType = biz === "dine_in" ? "food" : biz === "party" ? "ticket" : biz;
33
+ params.set("type", salesType);
34
+ return `${path}?${params.toString()}${hash ? `#${hash}` : ""}`;
35
+ }
36
+ /**
14
37
  * 受控弹窗内容在内部;通过 ref 暴露 `requestOpen` 供顶栏「新建」等调用。
15
38
  */
16
- const ReservationNewReservationModal = (0, react.forwardRef)(function ReservationNewReservationModal({ router, app }, ref) {
39
+ const ReservationNewReservationModal = (0, react.forwardRef)(function ReservationNewReservationModal({ router, businessCode, app }, ref) {
17
40
  const newReservationRoutes = require_useNewReservationRoutesFromEngine.useNewReservationRoutesFromEngine(router);
18
41
  const [open, setOpen] = (0, react.useState)(false);
19
42
  const handleRouteJump = (0, ahooks.useMemoizedFn)((routePath) => {
@@ -23,6 +46,11 @@ const ReservationNewReservationModal = (0, react.forwardRef)(function Reservatio
23
46
  app === null || app === void 0 || (_app$history = app.history) === null || _app$history === void 0 || (_app$history$push = _app$history.push) === null || _app$history$push === void 0 || _app$history$push.call(_app$history, routePath);
24
47
  });
25
48
  const requestOpen = (0, ahooks.useMemoizedFn)(() => {
49
+ const businessSalesRoute = resolveBusinessSalesRoute(router, businessCode);
50
+ if (businessSalesRoute) {
51
+ handleRouteJump(businessSalesRoute);
52
+ return;
53
+ }
26
54
  if (newReservationRoutes.length === 1) {
27
55
  handleRouteJump(newReservationRoutes[0].router);
28
56
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.12.406",
3
+ "version": "6.12.408",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -75,10 +75,10 @@
75
75
  "styled-components": "^6.0.0-rc.3",
76
76
  "use-sync-external-store": "^1.6.0",
77
77
  "@pisell/pi-payment-sdk": "0.0.4",
78
- "@pisell/date-picker": "3.0.12",
79
- "@pisell/icon": "0.0.11",
80
78
  "@pisell/utils": "3.0.7",
81
- "@pisell/materials": "6.12.91"
79
+ "@pisell/materials": "6.12.91",
80
+ "@pisell/icon": "0.0.11",
81
+ "@pisell/date-picker": "3.0.12"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "react": "^18.0.0",
@@ -1,3 +0,0 @@
1
- import "./ProductDisplayAdapter.js";
2
- import "./types.js";
3
- export {};
@@ -1,93 +0,0 @@
1
- Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,93 +0,0 @@
1
- Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1 +0,0 @@
1
- export { };
@@ -1,93 +0,0 @@
1
- Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,93 +0,0 @@
1
- Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.