File tree Expand file tree Collapse file tree 11 files changed +80
-1
lines changed
Expand file tree Collapse file tree 11 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ import Vue from 'vue' ;
2+
3+ const template = require ( './template.html' ) ;
4+
5+ export default Vue . component ( 'text-blob-droplet' , {
6+ template,
7+ name : 'text-blob-droplet' ,
8+ } ) ;
Original file line number Diff line number Diff line change 1+ < div >
2+ < span class ="drzBlobText-strike "> Strike</ span > Text.
3+ </ div >
Original file line number Diff line number Diff line change 1+ .drzBlobText-strike {
2+ margin-right : 5px ;
3+ opacity : .6 ;
4+ text-decoration : line-through ;
5+ }
Original file line number Diff line number Diff line change 313313 "route" : " /text" ,
314314 "children" : []
315315 },
316+ {
317+ "text" : " Text Blob" ,
318+ "route" : " /text-blob" ,
319+ "children" : []
320+ },
316321 {
317322 "text" : " Text Swapper" ,
318323 "route" : " /text-swapper" ,
Original file line number Diff line number Diff line change 6161@import ' ../../../droplets/group-list/themes/default/styles' ;
6262@import ' ../../../droplets/progress-bar/themes/default/styles' ;
6363@import ' ../../../droplets/text-swapper/themes/default/styles' ;
64+ @import ' ../../../droplets/text-blob/themes/default/styles' ;
Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ export default {
6464 'group-list' : require ( '@/droplets/group-list' ) ,
6565 'progress-bar' : require ( '@/droplets/progress-bar' ) ,
6666 'text-swapper' : require ( '@/droplets/text-swapper' ) ,
67+ 'text-blob' : require ( '@/droplets/text-blob' ) ,
6768} ;
Original file line number Diff line number Diff line change 1+ import Vue from 'vue' ;
2+ import TextBlob from '@/droplets/text-blob' ;
3+ import TextBlobTpl from '@/droplets/text-blob/template.html' ;
4+ import { cleanDropletTpl } from '@/mixins/cleanDropletTpl' ;
5+
6+ const template = require ( './template.html' ) ;
7+
8+ export default Vue . component ( 'text-blob-page' , {
9+ template,
10+ name : 'text-blob-page' ,
11+ mixins : [ cleanDropletTpl ] ,
12+ components : {
13+ TextBlob,
14+ } ,
15+ data ( ) {
16+ return {
17+ dropletHtml : this . cleanDropletTpl ( TextBlobTpl ) ,
18+ } ;
19+ } ,
20+ } ) ;
Original file line number Diff line number Diff line change 1+ < div >
2+ < header class ="picazzo-page-header "> Text Blob</ header >
3+
4+ < header class ="picazzo-sectionHeader "> Demo</ header >
5+
6+ < div class ="row ">
7+ < text-blob-droplet > </ text-blob-droplet >
8+ </ div >
9+
10+ < header class ="picazzo-sectionHeader "> HTML</ header >
11+
12+ < div class ="row ">
13+ < pre v-highlightjs > < code class ="html "> {{ dropletHtml }}</ code > </ pre >
14+ </ div >
15+
16+ < div class ="picazzo-docFooter "> </ div >
17+ </ div >
Original file line number Diff line number Diff line change 401401 "path" : " /text-swapper" ,
402402 "name" : " text-swapper" ,
403403 "component" : " require('@/pages/droplets/text-swapper/').default"
404+ },
405+ {
406+ "path" : " /text-blob" ,
407+ "name" : " text-blob" ,
408+ "component" : " require('@/pages/droplets/text-blob/').default"
404409 }
405410 ]
406411 },
Original file line number Diff line number Diff line change 187187 $select = $billState ;
188188 }
189189 $select . empty ( ) . append ( $ ( '<option selected value="">State</option>' ) ) ;
190- $ . each ( methods . countries [ val ] . regions , ( i , country ) => {
190+ const { regions = [ ] } = methods . countries [ val ] ;
191+ const sortedRegions = regions . sort ( ( a , b ) => a . name . localeCompare ( b . name ) ) ;
192+ $ . each ( sortedRegions , ( i , country ) => {
191193 $select . append ( $ (
192194 `<option value"${ country . iso } " data-state-iso="${ country . iso } " data-state-name=${ country . name } >${ country . name } </option>` ,
193195 ) ) ;
684686 <div class="drzSlideCheckout-item-detailsGrid">
685687 <div>
686688 <span class="drzSlideCheckout-cart-itemPrice">
689+ ${ data . product . originalPrice ? `<span class="drzSlideCheckout-cart-itemPriceOriginal">${ options . currency . symbol } ${ data . product . originalPrice } </span>` : '' }
687690 ${ options . currency . symbol } ${ data . product . price } ${ options . currency . type }
688691 </span>
689692 <div class="drzSlideCheckout-cart-mainBtns">
828831 } ) ;
829832 cartItems . splice ( 0 , cartItems . length ) ;
830833 methods . saveCart ( cartItems ) ;
834+ methods . totalItems = 0 ;
835+ $cartCount . each ( function setIconCounts ( ) {
836+ $ ( this ) . hide ( ) . html ( '' ) ;
837+ } ) ;
831838 $backBtn . html ( 'Back to Store' ) ;
832839 if ( window . matchMedia ( drzzle . viewports . mobile ) . matches ) {
833840 $ ( 'html, body' ) . animate ( { scrollTop : 0 } , 'fast' ) ;
You can’t perform that action at this time.
0 commit comments