@snabcentr/client-ui 0.0.0-test
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -0
- package/README.md +9 -0
- package/banner/index.d.ts +2 -0
- package/banner/sc-banner.component.d.ts +130 -0
- package/banner/sc-banner.module.d.ts +17 -0
- package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +77 -0
- package/cart/index.d.ts +2 -0
- package/cart/sc-cart.module.d.ts +16 -0
- package/catalog/category-card/sc-category-card.component.d.ts +68 -0
- package/catalog/index.d.ts +7 -0
- package/catalog/input-quantity/sc-input-quantity.component.d.ts +75 -0
- package/catalog/price-card/sc-price-card.component.d.ts +114 -0
- package/catalog/price-history/sc-chart-option.d.ts +7 -0
- package/catalog/price-history/sc-i-chart-data-item.d.ts +13 -0
- package/catalog/price-history/sc-lang-RU.d.ts +113 -0
- package/catalog/price-history/sc-price-history.component.d.ts +73 -0
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +37 -0
- package/catalog/sc-catalog.module.d.ts +21 -0
- package/catalog/sc-favorite-btn/sc-favorite-btn.component.d.ts +13 -0
- package/esm2020/banner/index.mjs +3 -0
- package/esm2020/banner/sc-banner.component.mjs +222 -0
- package/esm2020/banner/sc-banner.module.mjs +27 -0
- package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +119 -0
- package/esm2020/cart/index.mjs +3 -0
- package/esm2020/cart/sc-cart.module.mjs +58 -0
- package/esm2020/catalog/category-card/sc-category-card.component.mjs +109 -0
- package/esm2020/catalog/index.mjs +8 -0
- package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +154 -0
- package/esm2020/catalog/price-card/sc-price-card.component.mjs +154 -0
- package/esm2020/catalog/price-history/sc-chart-option.mjs +79 -0
- package/esm2020/catalog/price-history/sc-i-chart-data-item.mjs +2 -0
- package/esm2020/catalog/price-history/sc-lang-RU.mjs +113 -0
- package/esm2020/catalog/price-history/sc-price-history.component.mjs +104 -0
- package/esm2020/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +44 -0
- package/esm2020/catalog/sc-catalog.module.mjs +88 -0
- package/esm2020/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +24 -0
- package/esm2020/files/directives/index.mjs +3 -0
- package/esm2020/files/directives/tree-top.directive.mjs +63 -0
- package/esm2020/files/directives/tree.directive.mjs +47 -0
- package/esm2020/files/file-tree-item/file-tree-item.component.mjs +18 -0
- package/esm2020/files/files-and-documents.component.mjs +60 -0
- package/esm2020/files/files-and-documents.module.mjs +26 -0
- package/esm2020/files/index.mjs +6 -0
- package/esm2020/files/interfaces/tree-node.mjs +2 -0
- package/esm2020/files/services/index.mjs +3 -0
- package/esm2020/files/services/tree-icon.service.mjs +48 -0
- package/esm2020/files/services/tree-loader.service.mjs +60 -0
- package/esm2020/helpers/index.mjs +2 -0
- package/esm2020/helpers/sc-px-converter.mjs +27 -0
- package/esm2020/helpers/sc-units-helper.mjs +44 -0
- package/esm2020/icons/index.mjs +2 -0
- package/esm2020/icons/sc-client-ui-icons-name.mjs +107 -0
- package/esm2020/loader/index.mjs +2 -0
- package/esm2020/loader/sc-i-loader.mjs +2 -0
- package/esm2020/news/index.mjs +4 -0
- package/esm2020/news/news-card/sc-news-card.component.mjs +31 -0
- package/esm2020/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +23 -0
- package/esm2020/news/sc-news.module.mjs +24 -0
- package/esm2020/order/index.mjs +3 -0
- package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +79 -0
- package/esm2020/order/sc-order.module.mjs +23 -0
- package/esm2020/public-api.mjs +15 -0
- package/esm2020/share-button/index.mjs +3 -0
- package/esm2020/share-button/sc-share-button.component.mjs +35 -0
- package/esm2020/share-button/sc-share-button.module.mjs +22 -0
- package/esm2020/snabcentr-client-ui.mjs +5 -0
- package/esm2020/tokens/index.mjs +2 -0
- package/esm2020/tokens/sc-linear-values-token.mjs +10 -0
- package/esm2020/validators/index.mjs +2 -0
- package/esm2020/validators/stepValidator.mjs +13 -0
- package/fesm2015/snabcentr-client-ui.mjs +1929 -0
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -0
- package/fesm2020/snabcentr-client-ui.mjs +1901 -0
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -0
- package/files/directives/index.d.ts +2 -0
- package/files/directives/tree-top.directive.d.ts +33 -0
- package/files/directives/tree.directive.d.ts +35 -0
- package/files/file-tree-item/file-tree-item.component.d.ts +9 -0
- package/files/files-and-documents.component.d.ts +27 -0
- package/files/files-and-documents.module.d.ts +16 -0
- package/files/index.d.ts +5 -0
- package/files/interfaces/tree-node.d.ts +29 -0
- package/files/services/index.d.ts +2 -0
- package/files/services/tree-icon.service.d.ts +23 -0
- package/files/services/tree-loader.service.d.ts +43 -0
- package/helpers/index.d.ts +1 -0
- package/helpers/sc-px-converter.d.ts +15 -0
- package/helpers/sc-units-helper.d.ts +28 -0
- package/icons/index.d.ts +1 -0
- package/icons/sc-client-ui-icons-name.d.ts +5 -0
- package/icons/svg-pack/scIconAddProfile.svg +11 -0
- package/icons/svg-pack/scIconApplication.svg +11 -0
- package/icons/svg-pack/scIconArrowDown.svg +11 -0
- package/icons/svg-pack/scIconArrowDownLarge.svg +11 -0
- package/icons/svg-pack/scIconArrowDownLargeEnd.svg +12 -0
- package/icons/svg-pack/scIconArrowLeft.svg +11 -0
- package/icons/svg-pack/scIconArrowReturn.svg +11 -0
- package/icons/svg-pack/scIconArrowRight.svg +11 -0
- package/icons/svg-pack/scIconArrowUp.svg +11 -0
- package/icons/svg-pack/scIconAttention.svg +11 -0
- package/icons/svg-pack/scIconBag.svg +11 -0
- package/icons/svg-pack/scIconBasket.svg +11 -0
- package/icons/svg-pack/scIconBell.svg +11 -0
- package/icons/svg-pack/scIconBook.svg +11 -0
- package/icons/svg-pack/scIconBubble.svg +11 -0
- package/icons/svg-pack/scIconCalendar.svg +11 -0
- package/icons/svg-pack/scIconCancel.svg +18 -0
- package/icons/svg-pack/scIconCart.svg +11 -0
- package/icons/svg-pack/scIconCatalog.svg +16 -0
- package/icons/svg-pack/scIconClients.svg +11 -0
- package/icons/svg-pack/scIconClip.svg +11 -0
- package/icons/svg-pack/scIconClock.svg +11 -0
- package/icons/svg-pack/scIconConfigurator.svg +18 -0
- package/icons/svg-pack/scIconContacts.svg +11 -0
- package/icons/svg-pack/scIconCross.svg +11 -0
- package/icons/svg-pack/scIconDeleteProfile.svg +12 -0
- package/icons/svg-pack/scIconDone.svg +12 -0
- package/icons/svg-pack/scIconDownloading.svg +11 -0
- package/icons/svg-pack/scIconEdit.svg +11 -0
- package/icons/svg-pack/scIconError.svg +12 -0
- package/icons/svg-pack/scIconExcelFile.svg +11 -0
- package/icons/svg-pack/scIconEye.svg +11 -0
- package/icons/svg-pack/scIconFavorite.svg +11 -0
- package/icons/svg-pack/scIconFavoriteFill.svg +11 -0
- package/icons/svg-pack/scIconFile.svg +11 -0
- package/icons/svg-pack/scIconFilter.svg +11 -0
- package/icons/svg-pack/scIconFolder.svg +11 -0
- package/icons/svg-pack/scIconFolderOpen.svg +11 -0
- package/icons/svg-pack/scIconFolderPlus.svg +11 -0
- package/icons/svg-pack/scIconGraph.svg +11 -0
- package/icons/svg-pack/scIconHamburger.svg +13 -0
- package/icons/svg-pack/scIconHeart.svg +11 -0
- package/icons/svg-pack/scIconHeartFill.svg +11 -0
- package/icons/svg-pack/scIconHistory.svg +11 -0
- package/icons/svg-pack/scIconHome.svg +12 -0
- package/icons/svg-pack/scIconImage.svg +11 -0
- package/icons/svg-pack/scIconLike.svg +11 -0
- package/icons/svg-pack/scIconList.svg +11 -0
- package/icons/svg-pack/scIconLocation.svg +11 -0
- package/icons/svg-pack/scIconLock.svg +11 -0
- package/icons/svg-pack/scIconLockOpen.svg +11 -0
- package/icons/svg-pack/scIconLogIn.svg +11 -0
- package/icons/svg-pack/scIconLogOut.svg +13 -0
- package/icons/svg-pack/scIconLogOut2.svg +13 -0
- package/icons/svg-pack/scIconMail.svg +11 -0
- package/icons/svg-pack/scIconMinus.svg +11 -0
- package/icons/svg-pack/scIconMoney.svg +11 -0
- package/icons/svg-pack/scIconMoney2.svg +11 -0
- package/icons/svg-pack/scIconNews.svg +11 -0
- package/icons/svg-pack/scIconOffer.svg +11 -0
- package/icons/svg-pack/scIconPalette.svg +18 -0
- package/icons/svg-pack/scIconPdfFile.svg +12 -0
- package/icons/svg-pack/scIconPercentage.svg +11 -0
- package/icons/svg-pack/scIconPhone.svg +11 -0
- package/icons/svg-pack/scIconPlus.svg +11 -0
- package/icons/svg-pack/scIconPrice.svg +11 -0
- package/icons/svg-pack/scIconProfile.svg +11 -0
- package/icons/svg-pack/scIconQRCodeScan.svg +18 -0
- package/icons/svg-pack/scIconQuestion.svg +11 -0
- package/icons/svg-pack/scIconReclamation.svg +11 -0
- package/icons/svg-pack/scIconRefresh.svg +11 -0
- package/icons/svg-pack/scIconRepeat.svg +11 -0
- package/icons/svg-pack/scIconRequisites.svg +11 -0
- package/icons/svg-pack/scIconRocket.svg +18 -0
- package/icons/svg-pack/scIconSave.svg +11 -0
- package/icons/svg-pack/scIconSearch.svg +12 -0
- package/icons/svg-pack/scIconSend.svg +11 -0
- package/icons/svg-pack/scIconSettings.svg +11 -0
- package/icons/svg-pack/scIconShare.svg +15 -0
- package/icons/svg-pack/scIconSocialCopy.svg +13 -0
- package/icons/svg-pack/scIconSocialEmail.svg +13 -0
- package/icons/svg-pack/scIconSocialFacebook.svg +12 -0
- package/icons/svg-pack/scIconSocialInstagram.svg +33 -0
- package/icons/svg-pack/scIconSocialQR.svg +12 -0
- package/icons/svg-pack/scIconSocialTelegram.svg +20 -0
- package/icons/svg-pack/scIconSocialViber.svg +16 -0
- package/icons/svg-pack/scIconSocialVk.svg +12 -0
- package/icons/svg-pack/scIconSocialWhatsapp.svg +12 -0
- package/icons/svg-pack/scIconStar.svg +11 -0
- package/icons/svg-pack/scIconSuitcase.svg +11 -0
- package/icons/svg-pack/scIconTasks.svg +11 -0
- package/icons/svg-pack/scIconTick.svg +11 -0
- package/icons/svg-pack/scIconTop.svg +11 -0
- package/icons/svg-pack/scIconVerticalThreeDots.svg +11 -0
- package/icons/svg-pack/scIconViewGrid.svg +11 -0
- package/icons/svg-pack/scIconViewInline.svg +11 -0
- package/icons/svg-pack/scIconViewTree.svg +15 -0
- package/icons/svg-pack/scIconWallet.svg +11 -0
- package/icons/svg-pack/scIconWarning.svg +11 -0
- package/icons/svg-pack/scIconWordFile.svg +12 -0
- package/index.d.ts +5 -0
- package/loader/index.d.ts +1 -0
- package/loader/sc-i-loader.d.ts +9 -0
- package/news/index.d.ts +3 -0
- package/news/news-card/sc-news-card.component.d.ts +22 -0
- package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +12 -0
- package/news/sc-news.module.d.ts +14 -0
- package/order/index.d.ts +2 -0
- package/order/order-item-mobile/order-item-mobile.component.d.ts +53 -0
- package/order/sc-order.module.d.ts +13 -0
- package/package.json +62 -0
- package/public-api.d.ts +11 -0
- package/share-button/index.d.ts +2 -0
- package/share-button/sc-share-button.component.d.ts +22 -0
- package/share-button/sc-share-button.module.d.ts +12 -0
- package/styles/taiga/taiga-tailwind-preset.js +163 -0
- package/styles/taiga/variables.less +44 -0
- package/styles/tailwind/tailwind.scss +1461 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/sc-linear-values-token.d.ts +8 -0
- package/validators/index.d.ts +1 -0
- package/validators/stepValidator.d.ts +7 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconVerticalThreeDots" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path d="M11 6C11.3956 6 11.7822 5.8827 12.1111 5.66294C12.44 5.44318 12.6964 5.13082 12.8478 4.76537C12.9991 4.39992 13.0387 3.99778 12.9616 3.60982C12.8844 3.22186 12.6939 2.86549 12.4142 2.58579C12.1345 2.30608 11.7781 2.1156 11.3902 2.03843C11.0022 1.96126 10.6001 2.00087 10.2346 2.15224C9.86918 2.30362 9.55682 2.55996 9.33706 2.88886C9.1173 3.21776 9 3.60444 9 4C9 4.53043 9.21072 5.03914 9.58579 5.41421C9.96086 5.78929 10.4696 6 11 6ZM11 16C10.6044 16 10.2178 16.1173 9.88886 16.3371C9.55996 16.5568 9.30362 16.8692 9.15224 17.2346C9.00087 17.6001 8.96126 18.0022 9.03843 18.3902C9.1156 18.7781 9.30608 19.1345 9.58579 19.4142C9.86549 19.6939 10.2219 19.8844 10.6098 19.9616C10.9978 20.0387 11.3999 19.9991 11.7654 19.8478C12.1308 19.6964 12.4432 19.44 12.6629 19.1111C12.8827 18.7822 13 18.3956 13 18C13 17.4696 12.7893 16.9609 12.4142 16.5858C12.0391 16.2107 11.5304 16 11 16ZM11 9C10.6044 9 10.2178 9.1173 9.88886 9.33706C9.55996 9.55682 9.30362 9.86918 9.15224 10.2346C9.00087 10.6001 8.96126 11.0022 9.03843 11.3902C9.1156 11.7781 9.30608 12.1345 9.58579 12.4142C9.86549 12.6939 10.2219 12.8844 10.6098 12.9616C10.9978 13.0387 11.3999 12.9991 11.7654 12.8478C12.1308 12.6964 12.4432 12.44 12.6629 12.1111C12.8827 11.7822 13 11.3956 13 11C13 10.4696 12.7893 9.96086 12.4142 9.58579C12.0391 9.21071 11.5304 9 11 9Z" fill="currentColor" />
|
7
|
+
</svg>
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconViewGrid" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 2C1 1.44772 1.44772 1 2 1H9C9.55228 1 10 1.44772 10 2V9C10 9.55228 9.55228 10 9 10H2C1.44772 10 1 9.55228 1 9V2ZM3 3V8H8V3H3ZM12 2C12 1.44772 12.4477 1 13 1H20C20.5523 1 21 1.44772 21 2V9C21 9.55228 20.5523 10 20 10H13C12.4477 10 12 9.55228 12 9V2ZM14 3V8H19V3H14ZM1 13C1 12.4477 1.44772 12 2 12H9C9.55228 12 10 12.4477 10 13V20C10 20.5523 9.55228 21 9 21H2C1.44772 21 1 20.5523 1 20V13ZM3 14V19H8V14H3ZM12 13C12 12.4477 12.4477 12 13 12H20C20.5523 12 21 12.4477 21 13V20C21 20.5523 20.5523 21 20 21H13C12.4477 21 12 20.5523 12 20V13ZM14 14V19H19V14H14Z" fill="currentColor" />
|
7
|
+
</svg>
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconViewInline" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.29289 1.29289C1.48043 1.10536 1.73478 1 2 1L6 1C6.55228 1 7 1.44772 7 2V6C7 6.26522 6.89464 6.51957 6.70711 6.70711C6.51957 6.89464 6.26522 7 6 7L2 7C1.44772 7 1 6.55229 1 6L1 2C1 1.73478 1.10536 1.48043 1.29289 1.29289ZM3 3V5H5V3L3 3ZM9 4C9 3.44772 9.44772 3 10 3H20C20.5523 3 21 3.44772 21 4C21 4.55228 20.5523 5 20 5H10C9.44772 5 9 4.55228 9 4ZM1.29289 8.29289C1.48043 8.10536 1.73478 8 2 8L6 8C6.55228 8 7 8.44772 7 9V13C7 13.2652 6.89464 13.5196 6.70711 13.7071C6.51957 13.8946 6.26522 14 6 14L2 14C1.44772 14 1 13.5523 1 13L1 9C1 8.73478 1.10536 8.48043 1.29289 8.29289ZM3 10V12L5 12V10H3ZM9 11C9 10.4477 9.44772 10 10 10H20C20.5523 10 21 10.4477 21 11C21 11.5523 20.5523 12 20 12H10C9.44772 12 9 11.5523 9 11ZM1.29289 15.2929C1.48043 15.1054 1.73478 15 2 15L6 15C6.55228 15 7 15.4477 7 16V20C7 20.2652 6.89464 20.5196 6.70711 20.7071C6.51957 20.8946 6.26522 21 6 21L2 21C1.44771 21 1 20.5523 1 20L1 16C1 15.7348 1.10536 15.4804 1.29289 15.2929ZM3 17V19L5 19V17L3 17ZM9 18C9 17.4477 9.44772 17 10 17H20C20.5523 17 21 17.4477 21 18C21 18.5523 20.5523 19 20 19H10C9.44772 19 9 18.5523 9 18Z" fill="currentColor" />
|
7
|
+
</svg>
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconViewTree" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.29289 1.29289C1.48043 1.10536 1.73478 1 2 1L6 1C6.55228 1 7 1.44772 7 2V6C7 6.26522 6.89464 6.51957 6.70711 6.70711C6.51957 6.89464 6.26522 7 6 7L2 7C1.44772 7 1 6.55229 1 6L1 2C1 1.73478 1.10536 1.48043 1.29289 1.29289ZM3 3V5H5V3L3 3Z" fill="currentColor" />
|
7
|
+
<path d="M10 14C10 13.4477 10.4477 13 11 13H20C20.5523 13 21 13.4477 21 14C21 14.5523 20.5523 15 20 15H11C10.4477 15 10 14.5523 10 14Z" fill="currentColor" />
|
8
|
+
<path d="M9 4C9 3.44771 9.44772 3 10 3H20C20.5523 3 21 3.44771 21 4C21 4.55228 20.5523 5 20 5H10C9.44772 5 9 4.55228 9 4Z" fill="currentColor" />
|
9
|
+
<path d="M14 19C14 18.4477 14.4477 18 15 18H20C20.5523 18 21 18.4477 21 19C21 19.5523 20.5523 20 20 20H15C14.4477 20 14 19.5523 14 19Z" fill="currentColor" />
|
10
|
+
<path d="M7 9C7 8.44771 7.44772 8 8 8H20C20.5523 8 21 8.44771 21 9C21 9.55229 20.5523 10 20 10H8C7.44772 10 7 9.55229 7 9Z" fill="currentColor" />
|
11
|
+
</svg>
|
12
|
+
</svg>
|
13
|
+
</svg>
|
14
|
+
</g>
|
15
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconWallet" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path d="M18 6H17V5C17 4.20435 16.6839 3.44129 16.1213 2.87868C15.5587 2.31607 14.7956 2 14 2H4C3.20435 2 2.44129 2.31607 1.87868 2.87868C1.31607 3.44129 1 4.20435 1 5V17C1 17.7956 1.31607 18.5587 1.87868 19.1213C2.44129 19.6839 3.20435 20 4 20H18C18.7956 20 19.5587 19.6839 20.1213 19.1213C20.6839 18.5587 21 17.7956 21 17V9C21 8.20435 20.6839 7.44129 20.1213 6.87868C19.5587 6.31607 18.7956 6 18 6ZM4 4H14C14.2652 4 14.5196 4.10536 14.7071 4.29289C14.8946 4.48043 15 4.73478 15 5V6H4C3.73478 6 3.48043 5.89464 3.29289 5.70711C3.10536 5.51957 3 5.26522 3 5C3 4.73478 3.10536 4.48043 3.29289 4.29289C3.48043 4.10536 3.73478 4 4 4ZM19 14H18C17.7348 14 17.4804 13.8946 17.2929 13.7071C17.1054 13.5196 17 13.2652 17 13C17 12.7348 17.1054 12.4804 17.2929 12.2929C17.4804 12.1054 17.7348 12 18 12H19V14ZM19 10H18C17.2044 10 16.4413 10.3161 15.8787 10.8787C15.3161 11.4413 15 12.2044 15 13C15 13.7956 15.3161 14.5587 15.8787 15.1213C16.4413 15.6839 17.2044 16 18 16H19V17C19 17.2652 18.8946 17.5196 18.7071 17.7071C18.5196 17.8946 18.2652 18 18 18H4C3.73478 18 3.48043 17.8946 3.29289 17.7071C3.10536 17.5196 3 17.2652 3 17V7.83C3.32127 7.94302 3.65943 8.00051 4 8H18C18.2652 8 18.5196 8.10536 18.7071 8.29289C18.8946 8.48043 19 8.73478 19 9V10Z" fill="currentColor" />
|
7
|
+
</svg>
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconWarning" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path d="M11 11.9964C11.1316 11.9972 11.2621 11.972 11.3839 11.9222C11.5058 11.8724 11.6166 11.7991 11.71 11.7064C11.8027 11.6129 11.876 11.502 11.9258 11.3801C11.9755 11.2582 12.0008 11.1277 12 10.9961L12 6.99448C11.9989 6.73204 11.8947 6.48059 11.71 6.29426C11.6174 6.19973 11.5069 6.1245 11.3851 6.07298C11.2632 6.02146 11.1323 5.99464 11 5.99409C10.8677 5.99464 10.7368 6.02146 10.6149 6.07298C10.4931 6.1245 10.3826 6.19973 10.29 6.29426C10.1052 6.48059 10.0011 6.73204 10 6.99448L10 10.9961C9.99924 11.1277 10.0245 11.2582 10.0742 11.3801C10.124 11.502 10.1973 11.6129 10.29 11.7064C10.3834 11.7991 10.4943 11.8724 10.6161 11.9222C10.7379 11.972 10.8684 11.9972 11 11.9964ZM10.62 15.918C10.8635 16.0181 11.1365 16.0181 11.38 15.918C11.505 15.875 11.6181 15.803 11.71 15.7079C11.8026 15.614 11.8742 15.5015 11.92 15.3778C11.9779 15.2597 12.0054 15.129 12 14.9976C12.0016 14.8676 11.9778 14.7384 11.93 14.6175C11.8756 14.4959 11.8013 14.3843 11.71 14.2874C11.6077 14.2059 11.4971 14.1354 11.38 14.0773C11.227 14.0191 11.0632 13.9952 10.9 14.0072C10.7384 14.0265 10.5839 14.0848 10.45 14.1773C10.3119 14.2682 10.1986 14.392 10.12 14.5375C10.0408 14.6779 9.99947 14.8364 10 14.9976C9.99924 15.1293 10.0245 15.2598 10.0742 15.3817C10.124 15.5036 10.1973 15.6144 10.29 15.7079C10.3819 15.803 10.495 15.875 10.62 15.918ZM11 21C12.9787 21.0024 14.9137 20.4175 16.56 19.3193C18.2037 18.219 19.4843 16.6559 20.24 14.8276C20.9976 12.999 21.196 10.9867 20.81 9.04534C20.4232 7.10445 19.4697 5.32189 18.07 3.92327C16.6728 2.52377 14.8902 1.57291 12.95 1.19222C11.0094 0.806059 8.99783 1.00451 7.16998 1.76245C5.34256 2.51434 3.78219 3.79659 2.69 5.44389C1.59061 7.08688 1.00252 9.01892 1 10.9961C0.999204 12.3108 1.25744 13.6128 1.75998 14.8276C2.26254 16.0435 2.99996 17.1484 3.92999 18.0788C4.85982 19.0024 5.96022 19.7362 7.16998 20.2397C8.38362 20.7447 9.68557 21.0031 11 21ZM11 2.99292C12.5809 2.99434 14.1259 3.46433 15.44 4.34348C16.7569 5.22228 17.7835 6.47211 18.39 7.93486C18.9957 9.39984 19.1557 11.0111 18.85 12.5667C18.54 14.117 17.778 15.5408 16.66 16.6583C15.5402 17.7784 14.1133 18.5409 12.56 18.8492C11.0094 19.1592 9.40169 19.0025 7.94 18.399C6.47399 17.7741 5.22507 16.7301 4.34998 15.3978C3.46928 14.0803 2.99945 12.531 3 10.946C3.00098 8.82631 3.84254 6.79358 5.34 5.29387C6.8481 3.80803 8.88336 2.98061 11 2.99292Z" fill="currentColor" />
|
7
|
+
</svg>
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" overflow="visible">
|
2
|
+
<g id="scIconWordFile" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<svg x="50%" y="50%" width="1.375em" height="1.375em" overflow="visible" viewBox="0 0 22 22">
|
4
|
+
<svg x="-11" y="-11">
|
5
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6
|
+
<path d="M12 11H6C5.73478 11 5.48043 11.1054 5.29289 11.2929C5.10536 11.4804 5 11.7348 5 12C5 12.2652 5.10536 12.5196 5.29289 12.7071C5.48043 12.8946 5.73478 13 6 13H12C12.2652 13 12.5196 12.8946 12.7071 12.7071C12.8946 12.5196 13 12.2652 13 12C13 11.7348 12.8946 11.4804 12.7071 11.2929C12.5196 11.1054 12.2652 11 12 11ZM10 19H4C3.73478 19 3.48043 18.8946 3.29289 18.7071C3.10536 18.5196 3 18.2652 3 18V4C3 3.73478 3.10536 3.48043 3.29289 3.29289C3.48043 3.10536 3.73478 3 4 3H9V6C9 6.79565 9.31607 7.55871 9.87868 8.12132C10.4413 8.68393 11.2044 9 12 9H15V12C15 12.2652 15.1054 12.5196 15.2929 12.7071C15.4804 12.8946 15.7348 13 16 13C16.2652 13 16.5196 12.8946 16.7071 12.7071C16.8946 12.5196 17 12.2652 17 12V8C17 8 17 8 17 7.94C16.9896 7.84813 16.9695 7.75763 16.94 7.67V7.58C16.8919 7.47718 16.8278 7.38267 16.75 7.3L10.75 1.3C10.6673 1.22222 10.5728 1.15808 10.47 1.11C10.4369 1.10421 10.4031 1.10421 10.37 1.11C10.2728 1.058 10.1683 1.02092 10.06 1H4C3.20435 1 2.44129 1.31607 1.87868 1.87868C1.31607 2.44129 1 3.20435 1 4V18C1 18.7956 1.31607 19.5587 1.87868 20.1213C2.44129 20.6839 3.20435 21 4 21H10C10.2652 21 10.5196 20.8946 10.7071 20.7071C10.8946 20.5196 11 20.2652 11 20C11 19.7348 10.8946 19.4804 10.7071 19.2929C10.5196 19.1054 10.2652 19 10 19ZM11 4.41L13.59 7H12C11.7348 7 11.4804 6.89464 11.2929 6.70711C11.1054 6.51957 11 6.26522 11 6V4.41ZM6 7C5.73478 7 5.48043 7.10536 5.29289 7.29289C5.10536 7.48043 5 7.73478 5 8C5 8.26522 5.10536 8.51957 5.29289 8.70711C5.48043 8.89464 5.73478 9 6 9H7C7.26522 9 7.51957 8.89464 7.70711 8.70711C7.89464 8.51957 8 8.26522 8 8C8 7.73478 7.89464 7.48043 7.70711 7.29289C7.51957 7.10536 7.26522 7 7 7H6ZM10 15H6C5.73478 15 5.48043 15.1054 5.29289 15.2929C5.10536 15.4804 5 15.7348 5 16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H10C10.2652 17 10.5196 16.8946 10.7071 16.7071C10.8946 16.5196 11 16.2652 11 16C11 15.7348 10.8946 15.4804 10.7071 15.2929C10.5196 15.1054 10.2652 15 10 15Z" fill="currentColor" />
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.8041 15.0196C13.3456 14.9113 13.8725 15.2625 13.9808 15.8041L14.5421 18.6109L15.2002 17.7335C15.389 17.4817 15.6854 17.3335 16.0002 17.3335C16.3149 17.3335 16.6113 17.4817 16.8002 17.7335L17.4582 18.6109L18.0196 15.8041C18.1279 15.2625 18.6547 14.9113 19.1963 15.0196C19.7379 15.1279 20.0891 15.6547 19.9808 16.1963L18.9808 21.1963C18.9034 21.583 18.606 21.8882 18.2214 21.9754C17.8368 22.0627 17.4368 21.9157 17.2002 21.6002L16.0002 20.0002L14.8002 21.6002C14.5636 21.9157 14.1636 22.0627 13.779 21.9754C13.3944 21.8882 13.097 21.583 13.0196 21.1963L12.0196 16.1963C11.9113 15.6547 12.2625 15.1279 12.8041 15.0196Z" fill="currentColor" />
|
8
|
+
</svg>
|
9
|
+
</svg>
|
10
|
+
</svg>
|
11
|
+
</g>
|
12
|
+
</svg>
|
package/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './sc-i-loader';
|
package/news/index.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { ScNewsTile } from '@snabcentr/client-core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент карточки новости.
|
6
|
+
*/
|
7
|
+
export declare class ScNewsCardComponent {
|
8
|
+
/**
|
9
|
+
* Информация о новости.
|
10
|
+
*/
|
11
|
+
news: ScNewsTile;
|
12
|
+
/**
|
13
|
+
* Событие клика по карточке новости.
|
14
|
+
*/
|
15
|
+
clickCardEvent: EventEmitter<ScNewsTile>;
|
16
|
+
/**
|
17
|
+
* Событие клика по кнопке "Поделиться" карточки новости.
|
18
|
+
*/
|
19
|
+
clickShareEvent: EventEmitter<void>;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardComponent, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": "news"; }, { "clickCardEvent": "clickCardEvent"; "clickShareEvent": "clickShareEvent"; }, never, never, false>;
|
22
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
/**
|
3
|
+
* Компонент скелетона карточки новости.
|
4
|
+
*/
|
5
|
+
export declare class ScNewsCardSkeletonComponent {
|
6
|
+
/**
|
7
|
+
* Признак, что необходимо отобразить скелетон изображения новости.
|
8
|
+
*/
|
9
|
+
hasImg: boolean;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardSkeletonComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardSkeletonComponent, "sc-news-card-skeleton", never, { "hasImg": "hasImg"; }, {}, never, never, false>;
|
12
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./news-card/sc-news-card.component";
|
3
|
+
import * as i2 from "./news-card-skeleton/sc-news-card-skeleton.component";
|
4
|
+
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@angular/router";
|
6
|
+
import * as i5 from "../share-button/sc-share-button.module";
|
7
|
+
/**
|
8
|
+
* Модуль работы с новостями.
|
9
|
+
*/
|
10
|
+
export declare class ScNewsModule {
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsModule, never>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScNewsModule, [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.ScShareButtonModule], [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent]>;
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScNewsModule>;
|
14
|
+
}
|
package/order/index.d.ts
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { ScCartItem, ScIUrls, ScProduct } from '@snabcentr/client-core';
|
3
|
+
import { TuiPreviewDialogService } from '@taiga-ui/addon-preview';
|
4
|
+
import { UnitsHelper } from '../../helpers/sc-units-helper';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* Компонент карточки элемента заказа.
|
8
|
+
*/
|
9
|
+
export declare class ScOrderItemMobileComponent {
|
10
|
+
readonly unitsHelper: UnitsHelper;
|
11
|
+
private readonly previewDialogService;
|
12
|
+
private readonly urls;
|
13
|
+
private readonly pathImageNotFound;
|
14
|
+
/**
|
15
|
+
* Ссылка на представление спецификации.
|
16
|
+
*/
|
17
|
+
private readonly specificationPreviewRef?;
|
18
|
+
/**
|
19
|
+
* Элемент заказа.
|
20
|
+
*/
|
21
|
+
orderItem?: ScCartItem;
|
22
|
+
/**
|
23
|
+
* Событие нажатия на карточку.
|
24
|
+
*/
|
25
|
+
clickCardEvent: EventEmitter<void>;
|
26
|
+
/**
|
27
|
+
* Событие нажатия на дополнительные действия.
|
28
|
+
*/
|
29
|
+
clickActionsEvent: EventEmitter<void>;
|
30
|
+
/**
|
31
|
+
* Продукт элемента заказа.
|
32
|
+
*/
|
33
|
+
get product(): ScProduct | undefined;
|
34
|
+
/**
|
35
|
+
* Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
|
36
|
+
*
|
37
|
+
* @param unitsHelper Объект-хэлпер для работы со значениями единиц измерения товара.
|
38
|
+
* @param previewDialogService Сервис диалогового окна предварительного просмотра.
|
39
|
+
* @param urls Список ссылок на разделы backend'a.
|
40
|
+
* @param pathImageNotFound Путь до изображения 'Товар не найден'.
|
41
|
+
*/
|
42
|
+
constructor(unitsHelper: UnitsHelper, previewDialogService: TuiPreviewDialogService, urls: ScIUrls, pathImageNotFound: string);
|
43
|
+
/**
|
44
|
+
* Отобразить спецификацию.
|
45
|
+
*/
|
46
|
+
showSpecification(): void;
|
47
|
+
/**
|
48
|
+
* Возвращает ссылку на изображение карточки товара.
|
49
|
+
*/
|
50
|
+
getCardImage(): string;
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": "orderItem"; }, { "clickCardEvent": "clickCardEvent"; "clickActionsEvent": "clickActionsEvent"; }, never, never, false>;
|
53
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./order-item-mobile/order-item-mobile.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@taiga-ui/core";
|
5
|
+
import * as i4 from "../catalog/sc-catalog.module";
|
6
|
+
/**
|
7
|
+
* Модуль заказов.
|
8
|
+
*/
|
9
|
+
export declare class ScOrderModule {
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderModule, never>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent], [typeof i2.CommonModule, typeof i3.TuiLinkModule, typeof i3.TuiButtonModule, typeof i3.TuiModeModule, typeof i3.TuiSvgModule, typeof i4.ScCatalogModule], [typeof i1.ScOrderItemMobileComponent]>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScOrderModule>;
|
13
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"name": "@snabcentr/client-ui",
|
3
|
+
"version": "0.0.0-test",
|
4
|
+
"author": "Snabcentr Ltd.",
|
5
|
+
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
|
+
"license": "Commercial",
|
7
|
+
"description": "Snabcentr client UI package.",
|
8
|
+
"peerDependencies": {
|
9
|
+
"@angular/common": ">=14.2.0",
|
10
|
+
"@angular/core": ">=14.2.0",
|
11
|
+
"@ngneat/until-destroy": ">=9.2.3",
|
12
|
+
"@angular/forms": ">=14.2.12",
|
13
|
+
"@angular/router": ">=14.2.12",
|
14
|
+
"@angular/platform-browser": ">=14.2.12",
|
15
|
+
"@angular/platform-browser-dynamic": ">=14.2.12",
|
16
|
+
"@angular/material": ">=14.2.7",
|
17
|
+
"@snabcentr/client-core": ">=0.3.0",
|
18
|
+
"@taiga-ui/addon-charts": ">=3.42.1",
|
19
|
+
"@taiga-ui/addon-commerce": ">=3.42.1",
|
20
|
+
"@taiga-ui/addon-doc": ">=3.42.1",
|
21
|
+
"@taiga-ui/addon-mobile": ">=3.42.1",
|
22
|
+
"@taiga-ui/addon-preview": ">=3.42.1",
|
23
|
+
"@taiga-ui/addon-table": ">=3.42.1",
|
24
|
+
"@taiga-ui/addon-tablebars": ">=3.42.1",
|
25
|
+
"@taiga-ui/cdk": ">=3.42.1",
|
26
|
+
"@taiga-ui/core": ">=3.42.1",
|
27
|
+
"@taiga-ui/icons": ">=3.42.1",
|
28
|
+
"@taiga-ui/kit": ">=3.42.1",
|
29
|
+
"@taiga-ui/layout": ">=3.42.1",
|
30
|
+
"@taiga-ui/styles": ">=3.42.1",
|
31
|
+
"@tinkoff/ng-polymorpheus": ">=4.1.0",
|
32
|
+
"@ng-web-apis/intersection-observer": ">=3.0.0",
|
33
|
+
"echarts": "^5.4.3",
|
34
|
+
"moment": ">=2.29.4",
|
35
|
+
"ngx-echarts": "^14.0.0",
|
36
|
+
"rxjs": ">=7.5.0",
|
37
|
+
"zone.js": ">=0.12.0"
|
38
|
+
},
|
39
|
+
"dependencies": {
|
40
|
+
"tslib": "2.3.0"
|
41
|
+
},
|
42
|
+
"sideEffects": false,
|
43
|
+
"module": "fesm2015/snabcentr-client-ui.mjs",
|
44
|
+
"es2020": "fesm2020/snabcentr-client-ui.mjs",
|
45
|
+
"esm2020": "esm2020/snabcentr-client-ui.mjs",
|
46
|
+
"fesm2020": "fesm2020/snabcentr-client-ui.mjs",
|
47
|
+
"fesm2015": "fesm2015/snabcentr-client-ui.mjs",
|
48
|
+
"typings": "index.d.ts",
|
49
|
+
"exports": {
|
50
|
+
"./package.json": {
|
51
|
+
"default": "./package.json"
|
52
|
+
},
|
53
|
+
".": {
|
54
|
+
"types": "./index.d.ts",
|
55
|
+
"esm2020": "./esm2020/snabcentr-client-ui.mjs",
|
56
|
+
"es2020": "./fesm2020/snabcentr-client-ui.mjs",
|
57
|
+
"es2015": "./fesm2015/snabcentr-client-ui.mjs",
|
58
|
+
"node": "./fesm2015/snabcentr-client-ui.mjs",
|
59
|
+
"default": "./fesm2020/snabcentr-client-ui.mjs"
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
package/public-api.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
export * from './banner';
|
2
|
+
export * from './cart';
|
3
|
+
export * from './catalog';
|
4
|
+
export * from './files';
|
5
|
+
export * from './icons';
|
6
|
+
export * from './loader';
|
7
|
+
export * from './news';
|
8
|
+
export * from './order';
|
9
|
+
export * from './share-button';
|
10
|
+
export * from './validators';
|
11
|
+
export * from './tokens';
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Компонент кнопки "Поделиться".
|
6
|
+
*/
|
7
|
+
export declare class ScShareButtonComponent {
|
8
|
+
/**
|
9
|
+
* Формат внешнего вида кнопки.
|
10
|
+
*/
|
11
|
+
appearance: 'primary' | 'secondary' | 'outline' | 'flat';
|
12
|
+
/**
|
13
|
+
* Размер кнопки.
|
14
|
+
*/
|
15
|
+
size: TuiSizeL | TuiSizeM | TuiSizeS;
|
16
|
+
/**
|
17
|
+
* Событие клика по кнопке "Поделиться".
|
18
|
+
*/
|
19
|
+
clickShareEvent: EventEmitter<void>;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonComponent, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": "appearance"; "size": "size"; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false>;
|
22
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./sc-share-button.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@taiga-ui/core";
|
5
|
+
/**
|
6
|
+
* Модуль работы кнопки "Поделиться".
|
7
|
+
*/
|
8
|
+
export declare class ScShareButtonModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.TuiButtonModule], [typeof i1.ScShareButtonComponent]>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScShareButtonModule>;
|
12
|
+
}
|
@@ -0,0 +1,163 @@
|
|
1
|
+
/* eslint-disable linebreak-style */
|
2
|
+
/* eslint-disable no-undef */
|
3
|
+
module.exports = {
|
4
|
+
theme: {
|
5
|
+
extend: {
|
6
|
+
fontFamily: {
|
7
|
+
'tui-heading': 'var(--tui-font-heading)',
|
8
|
+
'tui-text': 'var(--tui-font-text)',
|
9
|
+
},
|
10
|
+
boxShadow: {
|
11
|
+
'sc-1': '0px 5px 20px 0px rgba(0, 0, 0, 0.10)',
|
12
|
+
'sc-2': '0px 2px 3px 0px rgba(0, 0, 0, 0.10)',
|
13
|
+
'sc-border-inner': 'inset 0 0 0 0.0625rem',
|
14
|
+
},
|
15
|
+
borderRadius: {
|
16
|
+
'tui-radius-xs': 'var(--tui-radius-xs)',
|
17
|
+
'tui-radius-s': 'var(--tui-radius-s)',
|
18
|
+
'tui-radius-m': 'var(--tui-radius-m)',
|
19
|
+
'tui-radius-l': 'var(--tui-radius-l)',
|
20
|
+
'tui-radius-xl': 'var(--tui-radius-xl)',
|
21
|
+
'tui-skeleton-radius': 'var(--tui-skeleton-radius)',
|
22
|
+
},
|
23
|
+
flexBasis: {
|
24
|
+
'min-content': 'min-content',
|
25
|
+
},
|
26
|
+
colors: {
|
27
|
+
// Base colors
|
28
|
+
'tui-autofill': 'var(--tui-autofill)',
|
29
|
+
'tui-base-01': 'var(--tui-base-01)',
|
30
|
+
'tui-base-02': 'var(--tui-base-02)',
|
31
|
+
'tui-base-03': 'var(--tui-base-03)',
|
32
|
+
'tui-base-04': 'var(--tui-base-04)',
|
33
|
+
'tui-base-05': 'var(--tui-base-05)',
|
34
|
+
'tui-base-06': 'var(--tui-base-06)',
|
35
|
+
'tui-base-07': 'var(--tui-base-07)',
|
36
|
+
'tui-base-08': 'var(--tui-base-08)',
|
37
|
+
'tui-base-09': 'var(--tui-base-09)',
|
38
|
+
'tui-primary': 'var(--tui-primary)',
|
39
|
+
'tui-primary-hover': 'var(--tui-primary-hover)',
|
40
|
+
'tui-primary-active': 'var(--tui-primary-active)',
|
41
|
+
'tui-primary-text': 'var(--tui-primary-text)',
|
42
|
+
'tui-secondary': 'var(--tui-secondary)',
|
43
|
+
'tui-secondary-hover': 'var(--tui-secondary-hover)',
|
44
|
+
'tui-secondary-active': 'var(--tui-secondary-active)',
|
45
|
+
'tui-accent': 'var(--tui-accent)',
|
46
|
+
'tui-accent-hover': 'var(--tui-accent-hover)',
|
47
|
+
'tui-accent-active': 'var(--tui-accent-active)',
|
48
|
+
'tui-accent-text': 'var(--tui-accent-text)',
|
49
|
+
'tui-selection': 'var(--tui-selection)',
|
50
|
+
'tui-focus': 'var(--tui-focus)',
|
51
|
+
'tui-clear': 'var(--tui-clear)',
|
52
|
+
'tui-clear-disabled': 'var(--tui-clear-disabled)',
|
53
|
+
'tui-clear-hover': 'var(--tui-clear-hover)',
|
54
|
+
'tui-clear-active': 'var(--tui-clear-active)',
|
55
|
+
'tui-clear-inverse': 'var(--tui-clear-inverse)',
|
56
|
+
'tui-clear-inverse-hover': 'var(--tui-clear-inverse-hover)',
|
57
|
+
'tui-clear-inverse-active': 'var(--tui-clear-inverse-active)',
|
58
|
+
'tui-elevation-01': 'var(--tui-elevation-01)',
|
59
|
+
'tui-elevation-02': 'var(--tui-elevation-02)',
|
60
|
+
|
61
|
+
// Statuses
|
62
|
+
'tui-error-fill': 'var(--tui-error-fill)',
|
63
|
+
'tui-error-bg': 'var(--tui-error-bg)',
|
64
|
+
'tui-error-bg-hover': 'var(--tui-error-bg-hover)',
|
65
|
+
'tui-success-fill': 'var(--tui-success-fill)',
|
66
|
+
'tui-success-bg': 'var(--tui-success-bg)',
|
67
|
+
'tui-success-bg-hover': 'var(--tui-success-bg-hover)',
|
68
|
+
'tui-warning-fill': 'var(--tui-warning-fill)',
|
69
|
+
'tui-warning-bg': 'var(--tui-warning-bg)',
|
70
|
+
'tui-warning-bg-hover': 'var(--tui-warning-bg-hover)',
|
71
|
+
'tui-info-fill': 'var(--tui-info-fill)',
|
72
|
+
'tui-info-bg': 'var(--tui-info-bg)',
|
73
|
+
'tui-info-bg-hover': 'var(--tui-info-bg-hover)',
|
74
|
+
'tui-neutral-fill': 'var(--tui-neutral-fill)',
|
75
|
+
'tui-neutral-bg': 'var(--tui-neutral-bg)',
|
76
|
+
'tui-neutral-bg-hover': 'var(--tui-neutral-bg-hover)',
|
77
|
+
|
78
|
+
// Text
|
79
|
+
'tui-text-01': 'var(--tui-text-01)',
|
80
|
+
'tui-text-02': 'var(--tui-text-02)',
|
81
|
+
'tui-text-03': 'var(--tui-text-03)',
|
82
|
+
'tui-link': 'var(--tui-link)',
|
83
|
+
'tui-link-hover': 'var(--tui-link-hover)',
|
84
|
+
'tui-positive': 'var(--tui-positive)',
|
85
|
+
'tui-positive-hover': 'var(--tui-positive-hover)',
|
86
|
+
'tui-negative': 'var(--tui-negative)',
|
87
|
+
'tui-negative-hover': 'var(--tui-negative-hover)',
|
88
|
+
|
89
|
+
// Modifiers for dark background
|
90
|
+
'tui-error-fill-night': 'var(--tui-error-fill-night)',
|
91
|
+
'tui-error-bg-night': 'var(--tui-error-bg-night)',
|
92
|
+
'tui-error-bg-night-hover': 'var(--tui-error-bg-night-hover)',
|
93
|
+
'tui-success-fill-night': 'var(--tui-success-fill-night)',
|
94
|
+
'tui-success-bg-night': 'var(--tui-success-bg-night)',
|
95
|
+
'tui-success-bg-night-hover': 'var(--tui-success-bg-night-hover)',
|
96
|
+
'tui-warning-fill-night': 'var(--tui-warning-fill-night)',
|
97
|
+
'tui-warning-bg-night': 'var(--tui-warning-bg-night)',
|
98
|
+
'tui-warning-bg-night-hover': 'var(--tui-warning-bg-night-hover)',
|
99
|
+
'tui-info-fill-night': 'var(--tui-info-fill-night)',
|
100
|
+
'tui-info-bg-night': 'var(--tui-info-bg-night)',
|
101
|
+
'tui-info-bg-night-hover': 'var(--tui-info-bg-night-hover)',
|
102
|
+
'tui-neutral-fill-night': 'var(--tui-neutral-fill-night)',
|
103
|
+
'tui-neutral-bg-night': 'var(--tui-neutral-bg-night)',
|
104
|
+
'tui-neutral-bg-night-hover': 'var(--tui-neutral-bg-night-hover)',
|
105
|
+
'tui-autofill-night': 'var(--tui-autofill-night)',
|
106
|
+
'tui-text-01-night': 'var(--tui-text-01-night)',
|
107
|
+
'tui-text-02-night': 'var(--tui-text-02-night)',
|
108
|
+
'tui-text-03-night': 'var(--tui-text-03-night)',
|
109
|
+
'tui-link-night': 'var(--tui-link-night)',
|
110
|
+
'tui-link-night-hover': 'var(--tui-link-night-hover)',
|
111
|
+
'tui-positive-night': 'var(--tui-positive-night)',
|
112
|
+
'tui-positive-night-hover': 'var(--tui-positive-night-hover)',
|
113
|
+
'tui-negative-night': 'var(--tui-negative-night)',
|
114
|
+
'tui-negative-night-hover': 'var(--tui-negative-night-hover)',
|
115
|
+
|
116
|
+
// Others
|
117
|
+
'tui-support-01': 'var(--tui-support-01)',
|
118
|
+
'tui-support-02': 'var(--tui-support-02)',
|
119
|
+
'tui-support-03': 'var(--tui-support-03)',
|
120
|
+
'tui-support-04': 'var(--tui-support-04)',
|
121
|
+
'tui-support-05': 'var(--tui-support-05)',
|
122
|
+
'tui-support-06': 'var(--tui-support-06)',
|
123
|
+
'tui-support-07': 'var(--tui-support-07)',
|
124
|
+
'tui-support-08': 'var(--tui-support-08)',
|
125
|
+
'tui-support-09': 'var(--tui-support-09)',
|
126
|
+
'tui-support-10': 'var(--tui-support-10)',
|
127
|
+
'tui-support-11': 'var(--tui-support-11)',
|
128
|
+
'tui-support-12': 'var(--tui-support-12)',
|
129
|
+
'tui-support-13': 'var(--tui-support-13)',
|
130
|
+
'tui-support-14': 'var(--tui-support-14)',
|
131
|
+
'tui-support-15': 'var(--tui-support-15)',
|
132
|
+
'tui-support-16': 'var(--tui-support-16)',
|
133
|
+
'tui-support-17': 'var(--tui-support-17)',
|
134
|
+
'tui-support-18': 'var(--tui-support-18)',
|
135
|
+
'tui-support-19': 'var(--tui-support-19)',
|
136
|
+
'tui-support-20': 'var(--tui-support-20)',
|
137
|
+
'tui-support-21': 'var(--tui-support-21)',
|
138
|
+
'tui-chart-0': 'var(--tui-chart-0)',
|
139
|
+
'tui-chart-1': 'var(--tui-chart-1)',
|
140
|
+
'tui-chart-2': 'var(--tui-chart-2)',
|
141
|
+
'tui-chart-3': 'var(--tui-chart-3)',
|
142
|
+
'tui-chart-4': 'var(--tui-chart-4)',
|
143
|
+
},
|
144
|
+
height: {
|
145
|
+
'tui-height-xs': 'var(--tui-height-xs)',
|
146
|
+
'tui-height-s': 'var(--tui-height-s)',
|
147
|
+
'tui-height-m': 'var(--tui-height-m)',
|
148
|
+
'tui-height-l': 'var(--tui-height-l)',
|
149
|
+
},
|
150
|
+
padding: {
|
151
|
+
'tui-padding-s': 'var(--tui-padding-s)',
|
152
|
+
'tui-padding-m': 'var(--tui-padding-m)',
|
153
|
+
'tui-padding-l': 'var(--tui-padding-l)',
|
154
|
+
},
|
155
|
+
opacity: {
|
156
|
+
'tui-padding-s': 'var(--tui-padding-s)',
|
157
|
+
'tui-padding-m': 'var(--tui-padding-m)',
|
158
|
+
'tui-padding-l': 'var(--tui-padding-l)',
|
159
|
+
},
|
160
|
+
},
|
161
|
+
},
|
162
|
+
plugins: [],
|
163
|
+
};
|
@@ -0,0 +1,44 @@
|
|
1
|
+
:root {
|
2
|
+
// Sizes
|
3
|
+
--tui-skeleton-radius: var(--tui-radius-m);
|
4
|
+
// Base colors
|
5
|
+
--tui-primary: #ffcc40; // primary buttons, background
|
6
|
+
--tui-primary-hover: #ffe49b; // primary buttons hover
|
7
|
+
--tui-primary-active: #ffbb00; // primary buttons pressed
|
8
|
+
--tui-primary-text: #000; // text on primary background
|
9
|
+
--tui-clear: rgba(246, 246, 246, 1); // translucent dark fill
|
10
|
+
--tui-clear-disabled: rgb(230, 229, 229); // translucent dark fill disabled
|
11
|
+
--tui-clear-hover: rgba(238, 239, 239, 1); // translucent dark fill hover
|
12
|
+
--tui-clear-active: rgba(224, 223, 224, 1); // translucent dark fill pressed
|
13
|
+
--tui-clear-inverse: rgba(255, 255, 255, 0.16); // translucent light fill
|
14
|
+
--tui-clear-inverse-hover: rgba(255, 255, 255, 0.24); // translucent light fill hover
|
15
|
+
--tui-clear-inverse-active: rgba(255, 255, 255, 0.4); // translucent light fill pressed
|
16
|
+
}
|
17
|
+
|
18
|
+
sc-input-quantity {
|
19
|
+
[tuiWrapper][data-appearance='textfield'] {
|
20
|
+
color: inherit !important;
|
21
|
+
box-shadow: none !important;
|
22
|
+
background: none !important;
|
23
|
+
|
24
|
+
.t-buttons {
|
25
|
+
display: none !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
&:after {
|
29
|
+
display: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
&._invalid {
|
33
|
+
color: var(--tui-error-fill) !important;
|
34
|
+
}
|
35
|
+
|
36
|
+
input {
|
37
|
+
--tui-padding-l: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
section.t-buttons {
|
42
|
+
display: none !important;
|
43
|
+
}
|
44
|
+
}
|