@capillarytech/creatives-library 3.8.11 → 3.9.0

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 (52) hide show
  1. package/components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +8 -7
  2. package/components/TemplatePreview/_templatePreview.scss +20 -279
  3. package/components/TemplatePreview/index.js +20 -180
  4. package/components/TemplatePreview/messages.js +0 -16
  5. package/index.js +6 -0
  6. package/package.json +1 -1
  7. package/v2Components/FormBuilder/index.js +17 -25
  8. package/v2Components/MobilePushPreviewV2/index.js +32 -40
  9. package/v2Components/MobilePushPreviewV2/messages.js +8 -0
  10. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/_wechatRichmediaTemplatePrev.scss +0 -64
  11. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +19 -101
  12. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/messages.js +0 -12
  13. package/v2Components/TemplatePreview/_templatePreview.scss +4 -13
  14. package/v2Components/TemplatePreview/index.js +20 -147
  15. package/v2Components/TemplatePreview/messages.js +0 -8
  16. package/v2Containers/Assets/Gallery/index.js +1 -0
  17. package/v2Containers/CreativesContainer/SlideBoxContent.js +17 -17
  18. package/v2Containers/CreativesContainer/SlideBoxHeader.js +1 -1
  19. package/v2Containers/CreativesContainer/index.js +51 -4
  20. package/v2Containers/CreativesContainer/messages.js +2 -2
  21. package/v2Containers/Email/_email.scss +1 -7
  22. package/v2Containers/Email/index.js +13 -39
  23. package/v2Containers/Email/messages.js +0 -4
  24. package/v2Containers/EmailWrapper/index.js +5 -7
  25. package/v2Containers/Line/Create/actions.js +2 -1
  26. package/v2Containers/Line/Create/index.js +137 -61
  27. package/v2Containers/Line/Create/sagas.js +2 -2
  28. package/v2Containers/Line/Create/selectors.js +2 -7
  29. package/v2Containers/Line/CreateWrapper/index.js +5 -2
  30. package/v2Containers/Line/CreateWrapper/messages.js +12 -0
  31. package/v2Containers/MobilePush/Create/index.js +0 -5
  32. package/v2Containers/MobilePush/Edit/index.js +0 -5
  33. package/v2Containers/MobilepushWrapper/index.js +1 -4
  34. package/v2Containers/Sms/Create/index.js +1 -2
  35. package/v2Containers/Sms/Edit/index.js +0 -2
  36. package/v2Containers/Templates/_templates.scss +20 -16
  37. package/v2Containers/Templates/actions.js +7 -0
  38. package/v2Containers/Templates/constants.js +2 -0
  39. package/v2Containers/Templates/index.js +58 -9
  40. package/v2Containers/Templates/messages.js +8 -0
  41. package/v2Containers/Templates/reducer.js +2 -0
  42. package/components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
  43. package/components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
  44. package/components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
  45. package/components/TemplatePreview/assets/images/sms_mobile_ios.svg +0 -16
  46. package/components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
  47. package/package-lock.json +0 -3096
  48. package/v2Components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
  49. package/v2Components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
  50. package/v2Components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
  51. package/v2Components/TemplatePreview/assets/images/wechat-home-screen-android.svg +0 -21
  52. package/v2Components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
@@ -160,6 +160,10 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
160
160
  break;
161
161
  case LINE:
162
162
  channel = "Line";
163
+ if (!this.props.isFullMode) {
164
+ activeMode = ACCOUNT_SELECTION_MODE;
165
+ this.props.actions.getWeCrmAccounts(channel);
166
+ }
163
167
  break;
164
168
  default:
165
169
  channel = '';
@@ -239,6 +243,10 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
239
243
  channel = 'Ebill';
240
244
  } else if (nextProps.route.name.toLowerCase() === 'line') {
241
245
  channel = 'Line';
246
+ if (!this.props.isFullMode) {
247
+ this.setState({defaultAccount: true});
248
+ nextProps.actions.getWeCrmAccounts(channel);
249
+ }
242
250
  }
243
251
  this.setState({ channel }, () => {
244
252
  if (this.state.channel.toLowerCase() === 'line' || this.state.channel.toLowerCase() === 'sms' || this.state.channel.toLowerCase() === 'email' || this.state.channel.toLowerCase() === 'ebill' || (this.state.channel.toLowerCase() === 'wechat' && !isEmpty(nextProps.Templates.selectedWeChatAccount))) {
@@ -421,6 +429,8 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
421
429
  } else {
422
430
  this.setState({selectedAccountError: false});
423
431
  }
432
+ } else if (this.state.channel.toLowerCase() === 'line') {
433
+ this.props.actions.setLineAccount(this.props.Templates.weCrmAccounts.find(item => item.name === this.state.selectedAccount));
424
434
  }
425
435
  this.setState({activeMode: TEMPLATES_MODE});
426
436
  console.log("getAllTemplates params: ", params);
@@ -460,6 +470,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
460
470
  } else {
461
471
  creativesParams._id = pathname.split('/')[3];
462
472
  creativesParams.modeType = pathname.split('/')[4];
473
+ creativesParams.account = pathname.split('/')[5];
463
474
  }
464
475
  creativesParams.type = this.state.channel.toUpperCase();
465
476
  }
@@ -577,7 +588,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
577
588
  onClick={() => { if (this.props.isFullMode) { handlers.handlePreviewClick(template); } else { this.props.handlePeviewTemplate(template); } }}
578
589
  />,
579
590
  ],
580
- hoverOption: <CapButton className={this.props.isFullMode ? `edit-${channelLowerCase}` : `select-${channelLowerCase}`} onClick={(e) => handlers.handleEditClick(e, template)}>{this.props.intl.formatMessage(this.props.isFullMode ? messages.creativesTemplatesEdit : messages.selectButton)}</CapButton>,
591
+ hoverOption: <CapButton className={this.props.isFullMode ? `edit-${channelLowerCase}` : `select-${channelLowerCase}`} onClick={(e) => handlers.handleEditClick(e, template, undefined, undefined, {account: this.state.selectedAccount})}>{this.props.intl.formatMessage(this.props.isFullMode ? messages.creativesTemplatesEdit : messages.selectButton)}</CapButton>,
581
592
  };
582
593
  if (this.props.isFullMode) {
583
594
  templateData.extra.push(<CapDropdown
@@ -646,7 +657,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
646
657
  <div className={!isEmpty(this.state.searchText) && isEmpty(cardDataList) ? '' : "pagination-container"}>
647
658
  <CapCustomCardList key={`${currentChannel}-card-list`} cardList={cardDataList} type={currentChannel} style={{marginLeft: '16px'}}/>
648
659
  </div>)
649
- : ['sms', "email"].includes(this.state.channel.toLowerCase()) && <CapIllustration buttonClassName={`create-new-${channelLowerCase}`} {...this.getChannelTypeIllustrationInfo(currentChannel)} />
660
+ : ['sms', "email"].includes(this.state.channel.toLowerCase()) && <CapIllustration {...this.getChannelTypeIllustrationInfo(currentChannel)} />
650
661
  }
651
662
 
652
663
  {(this.state.selectedAccount === '' && isEmpty(this.props.Templates.selectedWeChatAccount)) && (this.state.channel.toLowerCase() === 'wechat' || this.state.channel.toLowerCase() === "mobilepush") &&
@@ -668,7 +679,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
668
679
  isEmpty(filteredTemplates) &&
669
680
  isEmpty(this.state.searchText) &&
670
681
  <div style={this.isFullMode() ? { height: "calc(100vh - 325px)", overflow: 'auto'} : {}}>
671
- <CapIllustration buttonClassName={`create-new-${channelLowerCase}`} {...this.getChannelTypeIllustrationInfo(currentChannel)} />
682
+ <CapIllustration {...this.getChannelTypeIllustrationInfo(currentChannel)} />
672
683
  </div>
673
684
  )
674
685
  }
@@ -1119,7 +1130,14 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1119
1130
  } else if (this.state.channel.toLowerCase() === "email") {
1120
1131
  this.props.emailActions.duplicateTemplate(template._id, "EMAIL");
1121
1132
  } else if (this.state.channel.toLowerCase() === "line") {
1122
- this.props.lineActions.createTemplate(duplicateObj);
1133
+ this.props.lineActions.createTemplate(duplicateObj, (response) => {
1134
+ if (response && response.templateId) {
1135
+ const message = `${this.state.channel} ${this.props.intl.formatMessage(messages.templateDuplicateSuccess)}`;
1136
+ CapNotification.success({key: 'duplicateSucess', message});
1137
+ this.getAllTemplates({params, resetPage: true});
1138
+ this.props.lineActions.clearCreateResponse();
1139
+ }
1140
+ });
1123
1141
  }
1124
1142
  }
1125
1143
 
@@ -1161,7 +1179,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1161
1179
  }
1162
1180
  };
1163
1181
 
1164
- handleEditClick(e, template, modeType, path) {
1182
+ handleEditClick(e, template, modeType, path, options) {
1165
1183
  timeTracker.startTimer(CHANNEL_EDIT_TRACK_MAPPING[this.state.channel.toLowerCase()]);
1166
1184
  if (modeType && modeType !== undefined) {
1167
1185
  this.setState({modeType});
@@ -1197,6 +1215,9 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1197
1215
  const { messages } = template.versions.base.content;
1198
1216
  const type = messages && messages[0] && messages[0].type;
1199
1217
  pathName = `/line/edit/${id}/${type}`;
1218
+ if (options && options.account) {
1219
+ pathName += `/${options.account}`;
1220
+ }
1200
1221
  }
1201
1222
  if (this.state.channel.toUpperCase() === WECHAT) {
1202
1223
  if (get(template, 'definition.msgcontent', '') === "RICH_MEDIA_WECHAT") {
@@ -1577,10 +1598,11 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1577
1598
  const { weCrmAccounts = [], fetchingWeCrmAccounts = false } = templates;
1578
1599
  const isWechatChannel = channel === WECHAT;
1579
1600
  const isMobilePushChannel = channel === MOBILE_PUSH;
1601
+ const isLineChannel = channel === LINE;
1580
1602
 
1581
- if ((isWechatChannel || isMobilePushChannel) && !isEmpty(weCrmAccounts)) {
1603
+ if ((isWechatChannel || isMobilePushChannel || isLineChannel) && !isEmpty(weCrmAccounts)) {
1582
1604
  forEach(weCrmAccounts, (account) => {
1583
- if ((isWechatChannel && account.configs && account.configs.is_wecrm_enabled) || isMobilePushChannel) {
1605
+ if ((isWechatChannel && account.configs && account.configs.is_wecrm_enabled) || isMobilePushChannel || isLineChannel) {
1584
1606
  if (query.type === 'embedded' && (!query.module || (query.module && query.module !== 'library'))) {
1585
1607
  if (query.source_account_id && account.sourceAccountIdentifier === query.source_account_id) {
1586
1608
  accountOptions.push(
@@ -1613,11 +1635,37 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1613
1635
  }
1614
1636
  });
1615
1637
  }
1638
+ const {
1639
+ intl: {
1640
+ formatMessage,
1641
+ },
1642
+ } = this.props;
1643
+ let accountHeader = formatMessage(messages.mobilepushAccount);
1644
+ let noAccountHeader = messages.noAccountsPresent;
1645
+ switch (channel) {
1646
+ case MOBILE_PUSH: {
1647
+ accountHeader = formatMessage(messages.mobilepushAccount);
1648
+ noAccountHeader = messages.noAccountsPresent;
1649
+ break;
1650
+ }
1651
+ case WECHAT: {
1652
+ accountHeader = formatMessage(messages.noAccountsPresentWeChat);
1653
+ noAccountHeader = messages.noAccountsPresent;
1654
+ break;
1655
+ }
1656
+ case LINE: {
1657
+ accountHeader = formatMessage(messages.lineAccount);
1658
+ noAccountHeader = messages.noAccountsPresentLine;
1659
+ break;
1660
+ }
1661
+ default:
1662
+ break;
1663
+ }
1616
1664
  return (<CapSpin spinning={fetchingWeCrmAccounts}>
1617
- {isEmpty(weCrmAccounts) && !fetchingWeCrmAccounts ? <FormattedMessage {...(channel === WECHAT ? messages.noAccountsPresentWeChat : messages.noAccountsPresent)} /> :
1665
+ {isEmpty(weCrmAccounts) && !fetchingWeCrmAccounts ? <FormattedMessage {...noAccountHeader} /> :
1618
1666
  <div style={{ overflowX: "auto", paddingBottom: CAP_SPACE_16 }}>
1619
1667
  <CapHeader
1620
- title={isMobilePushChannel ? this.props.intl.formatMessage(messages.mobilepushAccount) : this.props.intl.formatMessage(messages.wechatAccount)}
1668
+ title={accountHeader}
1621
1669
  description={this.props.intl.formatMessage(messages.chooseAccount)}
1622
1670
  size="regular"
1623
1671
  className="select-account-header"
@@ -1798,6 +1846,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1798
1846
  channel={route.name.toUpperCase()}
1799
1847
  handleCloseCreatives={this.onCreateComplete}
1800
1848
  selectedWeChatAccount={get(this.props, 'Templates.selectedWeChatAccount', {})}
1849
+ selectedAccount={this.state.selectedAccount}
1801
1850
  />
1802
1851
  }
1803
1852
  </CapRow>
@@ -126,6 +126,10 @@ export default defineMessages({
126
126
  id: `${scope}.noAccountsPresentWeChat`,
127
127
  defaultMessage: "Wechat accounts are not setup for your brand",
128
128
  },
129
+ "noAccountsPresentLine": {
130
+ id: `${scope}.noAccountsPresentLine`,
131
+ defaultMessage: "Line accounts are not setup for your brand",
132
+ },
129
133
  "noTemplatesMessage": {
130
134
  id: `${scope}.noTemplatesMessage`,
131
135
  defaultMessage: "No templates available",
@@ -326,6 +330,10 @@ export default defineMessages({
326
330
  id: `${scope}.mobilepushAccount`,
327
331
  defaultMessage: 'Mobilepush account',
328
332
  },
333
+ "lineAccount": {
334
+ id: `${scope}.lineAccount`,
335
+ defaultMessage: 'Line account',
336
+ },
329
337
  "all": {
330
338
  id: `${scope}.all`,
331
339
  defaultMessage: 'All',
@@ -71,6 +71,8 @@ function templatesReducer(state = initialState, action) {
71
71
  case types.SET_WECHAT_ACCOUNT:
72
72
  return state
73
73
  .set('selectedWeChatAccount', fromJS(action.weChatAccount));
74
+ case types.SET_LINE_ACCOUNT:
75
+ return state.set('selectedLineAccount', fromJS(action.lineAccount));
74
76
  case types.RESET_ACCOUNT:
75
77
  return state
76
78
  .remove('selectedWeChatAccount')
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="220" height="472" viewBox="0 0 220 472">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect width="220" height="472" fill="#101211" rx="26"/>
4
- <rect width="52" height="5" x="84" y="14" fill="#2E2E2E" rx="2.5"/>
5
- <rect width="52" height="5" x="84" y="455" fill="#2E2E2E" rx="2.5"/>
6
- <circle cx="45.5" cy="19.5" r="5.5" fill="#2E2E2E"/>
7
- <circle cx="65.5" cy="19.5" r="3.5" fill="#2E2E2E"/>
8
- <rect width="202" height="404" x="9" y="36" fill="#E51FA3" rx="9"/>
9
- <path fill="#F4F5F7" d="M20.692 152h178.616c2.675 0 3.645.278 4.623.801.977.523 1.745 1.29 2.268 2.268.523.978.801 1.948.801 4.623v78.616c0 2.675-.278 3.645-.801 4.623-.523.977-1.29 1.745-2.268 2.268-.978.523-1.948.801-4.623.801H20.692c-2.675 0-3.645-.278-4.623-.801-.977-.523-1.745-1.29-2.268-2.268-.523-.978-.801-1.948-.801-4.623v-78.616c0-2.675.278-3.645.801-4.623.523-.977 1.29-1.745 2.268-2.268.978-.523 1.948-.801 4.623-.801z"/>
10
- <text fill="#5E5E5E" font-family="Roboto-Regular, Roboto" font-size="10">
11
- <tspan x="25" y="169">Messages</tspan>
12
- </text>
13
- <text fill="#5E5E5E" font-family="Roboto-Regular, Roboto" font-size="10">
14
- <tspan x="85.146" y="169">now</tspan>
15
- </text>
16
- <circle cx="78" cy="167" r="1" fill="#5E5E5E" fill-rule="nonzero"/>
17
- <path fill="#5E5E5E" d="M116.725 163.048L113.424 166.342 110.123 163.048 109.109 164.062 113.424 168.377 117.739 164.062z"/>
18
- <path fill="#FFF" fill-opacity=".6" d="M113.75 419.333h-.625v-1.238c0-1.708-1.4-3.095-3.125-3.095s-3.125 1.387-3.125 3.095v1.238h-.625c-.688 0-1.25.557-1.25 1.238v6.19c0 .682.563 1.239 1.25 1.239h7.5c.688 0 1.25-.557 1.25-1.238v-6.19c0-.682-.563-1.239-1.25-1.239zM110 425c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2-6h-4v-1.176c0-1.006.897-1.824 2-1.824s2 .818 2 1.824V419z"/>
19
- <path fill="#FFF" fill-rule="nonzero" d="M86.325 111.884l6.192-8.676-.072-.072c-.84.576-1.908.864-3.204.864-1.248 0-2.472-.348-3.672-1.044-1.2-.696-2.172-1.65-2.916-2.862-.744-1.212-1.116-2.562-1.116-4.05 0-1.44.378-2.79 1.134-4.05.756-1.26 1.776-2.274 3.06-3.042 1.284-.768 2.682-1.152 4.194-1.152 1.632 0 3.09.396 4.374 1.188 1.284.792 2.28 1.818 2.988 3.078.708 1.26 1.062 2.586 1.062 3.978 0 1.32-.27 2.586-.81 3.798-.54 1.212-1.314 2.562-2.322 4.05l-6.444 9.684-2.448-1.692zm3.6-10.62c.96 0 1.854-.234 2.682-.702.828-.468 1.482-1.104 1.962-1.908.48-.804.72-1.686.72-2.646 0-.984-.24-1.878-.72-2.682s-1.134-1.44-1.962-1.908c-.828-.468-1.722-.702-2.682-.702s-1.848.234-2.664.702c-.816.468-1.464 1.104-1.944 1.908-.48.804-.72 1.698-.72 2.682 0 .96.24 1.842.72 2.646.48.804 1.128 1.44 1.944 1.908.816.468 1.704.702 2.664.702zm13.806-2.232c-.648 0-1.194-.222-1.638-.666-.444-.444-.666-.99-.666-1.638 0-.648.222-1.194.666-1.638.444-.444.99-.666 1.638-.666.624 0 1.158.222 1.602.666.444.444.666.99.666 1.638 0 .648-.222 1.194-.666 1.638-.444.444-.978.666-1.602.666zm0 14.184c-.648 0-1.194-.222-1.638-.666-.444-.444-.666-.99-.666-1.638 0-.624.222-1.158.666-1.602.444-.444.99-.666 1.638-.666.624 0 1.158.222 1.602.666.444.444.666.978.666 1.602 0 .648-.222 1.194-.666 1.638-.444.444-.978.666-1.602.666zm17.191-5.508h-11.808v-2.304l11.52-17.028h3.312v16.452h3.168v2.88h-3.168V113h-3.024v-5.292zm0-2.88V92.84h-.144l-8.172 11.988h8.316zm14.527-12.168l-4.32 3.096-1.584-2.34 7.02-5.04h1.944V113h-3.06V92.66zM90.177 134.16c-.56 0-1.074-.17-1.54-.51-.467-.34-.787-.817-.96-1.43l.81-.33c.113.427.323.777.63 1.05.306.273.666.41 1.08.41.413 0 .763-.112 1.05-.335.286-.223.43-.528.43-.915 0-.333-.122-.608-.365-.825-.244-.217-.642-.418-1.195-.605l-.45-.16c-.507-.18-.92-.417-1.24-.71-.32-.293-.48-.7-.48-1.22 0-.34.093-.655.28-.945.186-.29.446-.522.78-.695.333-.173.706-.26 1.12-.26.413 0 .773.077 1.08.23.306.153.551.34.735.56.183.22.311.437.385.65l-.8.34c-.067-.247-.219-.47-.455-.67-.237-.2-.549-.3-.935-.3-.367 0-.68.103-.94.31-.26.207-.39.467-.39.78 0 .28.11.508.33.685.22.177.553.342 1 .495l.47.16c.606.22 1.08.495 1.42.825.34.33.51.778.51 1.345 0 .46-.119.847-.355 1.16-.237.313-.535.543-.895.69-.36.147-.73.22-1.11.22zm4.995 0c-.614 0-1.082-.18-1.405-.54-.324-.36-.485-.863-.485-1.51v-3.21h.85v3.08c0 .487.11.843.33 1.07.22.227.516.34.89.34.286 0 .541-.077.765-.23.223-.153.396-.353.52-.6.123-.247.185-.507.185-.78v-2.88h.85v5.1h-.81v-.74h-.04c-.14.253-.364.467-.67.64-.307.173-.634.26-.98.26zm3.615-5.26h.81v.75h.04c.14-.253.363-.468.67-.645.307-.177.633-.265.98-.265.613 0 1.082.178 1.405.535.323.357.485.842.485 1.455V134h-.85v-3.14c0-.473-.113-.817-.34-1.03-.227-.213-.537-.32-.93-.32-.273 0-.518.077-.735.23-.217.153-.385.355-.505.605s-.18.512-.18.785V134h-.85v-5.1zm8.88 5.26c-.526 0-.986-.145-1.38-.435-.393-.29-.67-.698-.83-1.225l.8-.33c.24.787.71 1.18 1.41 1.18.394 0 .709-.137.945-.41.237-.273.355-.633.355-1.08v-5.02h.85v4.95c0 .5-.091.928-.275 1.285-.183.357-.436.627-.76.81-.323.183-.695.275-1.115.275zm5.065 0c-.613 0-1.081-.18-1.405-.54-.323-.36-.485-.863-.485-1.51v-3.21h.85v3.08c0 .487.11.843.33 1.07.22.227.517.34.89.34.287 0 .542-.077.765-.23.224-.153.397-.353.52-.6.124-.247.185-.507.185-.78v-2.88h.85v5.1h-.81v-.74h-.04c-.14.253-.363.467-.67.64-.306.173-.633.26-.98.26zm3.616-7.32h.85V134h-.85v-7.16zm2.525 7.22c-.18 0-.332-.062-.455-.185-.124-.123-.185-.275-.185-.455 0-.173.061-.322.185-.445.123-.123.275-.185.455-.185.173 0 .321.062.445.185.123.123.185.272.185.445 0 .18-.062.332-.185.455-.124.123-.272.185-.445.185zm3.67-.91c.207-.207.617-.622 1.23-1.245.613-.623 1.04-1.065 1.28-1.325.34-.367.57-.653.69-.86.12-.207.18-.457.18-.75 0-.2-.052-.388-.155-.565-.103-.177-.253-.32-.45-.43-.197-.11-.432-.165-.705-.165-.36 0-.648.105-.865.315-.217.21-.358.438-.425.685l-.78-.31c.067-.213.187-.435.36-.665.173-.23.407-.427.7-.59.293-.163.64-.245 1.04-.245.42 0 .792.09 1.115.27.323.18.575.42.755.72.18.3.27.623.27.97 0 .7-.367 1.423-1.1 2.17l-2.05 2.06h3.23v.81h-4.32v-.85zm6.435.54l1.72-2.41-.02-.02c-.233.16-.53.24-.89.24-.346 0-.686-.097-1.02-.29-.333-.193-.603-.458-.81-.795-.206-.337-.31-.712-.31-1.125 0-.4.105-.775.315-1.125.21-.35.494-.632.85-.845.357-.213.745-.32 1.165-.32.454 0 .859.11 1.215.33.357.22.634.505.83.855.197.35.295.718.295 1.105 0 .367-.075.718-.225 1.055-.15.337-.365.712-.645 1.125l-1.79 2.69-.68-.47zm1-2.95c.267 0 .515-.065.745-.195.23-.13.412-.307.545-.53.134-.223.2-.468.2-.735 0-.273-.066-.522-.2-.745-.133-.223-.315-.4-.545-.53-.23-.13-.478-.195-.745-.195-.266 0-.513.065-.74.195-.226.13-.406.307-.54.53-.133.223-.2.472-.2.745 0 .267.067.512.2.735.134.223.314.4.54.53.227.13.474.195.74.195z"/>
20
- </g>
21
- </svg>
@@ -1,16 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="220" height="472" viewBox="0 0 220 472">
2
- <g fill="none" fill-rule="evenodd">
3
- <path fill="#101211" fill-rule="nonzero" d="M30.877 0h158.246C206.202 0 220 14.3 220 32v408c0 17.7-13.798 32-30.877 32H30.877C13.798 472 0 457.7 0 440V32C0 14.3 13.798 0 30.877 0z"/>
4
- <path fill="#23CCCC" fill-rule="nonzero" d="M55.965 11v3c0 7.2 5.596 13 12.544 13h82.982c6.948 0 12.544-5.8 12.544-13v-3h24.123c12.254 0 22.193 10.3 22.193 23v405c0 12.7-9.939 23-22.193 23H31.842C19.588 462 9.65 451.7 9.65 439V34c0-12.7 9.939-23 22.193-23h24.123z"/>
5
- <path fill="#2E2E2E" fill-rule="nonzero" d="M76.566 455h66.868c.695 0 1.303.467 1.303 1 0 .533-.608 1-1.303 1H76.566c-.695 0-1.303-.467-1.303-1 0-.533.608-1 1.303-1z" opacity=".4"/>
6
- <path fill="#FFF" fill-rule="nonzero" d="M24.095 242h171.81c2.674 0 3.644.278 4.622.801.978.523 1.745 1.29 2.268 2.268.523.978.801 1.948.801 4.623v61.616c0 2.675-.278 3.645-.8 4.623-.524.977-1.291 1.745-2.269 2.268-.978.523-1.948.801-4.622.801H24.095c-2.674 0-3.644-.278-4.622-.801-.978-.523-1.745-1.29-2.268-2.268-.523-.978-.801-1.948-.801-4.623v-61.616c0-2.675.278-3.645.8-4.623.524-.977 1.291-1.745 2.269-2.268.978-.523 1.948-.801 4.622-.801zM24.095 134h171.81c2.674 0 3.644.278 4.622.801.978.523 1.745 1.29 2.268 2.268.523.978.801 1.948.801 4.623v68.616c0 2.675-.278 3.645-.8 4.623-.524.977-1.291 1.745-2.269 2.268-.978.523-1.948.801-4.622.801H24.095c-2.674 0-3.644-.278-4.622-.801-.978-.523-1.745-1.29-2.268-2.268-.523-.978-.801-1.948-.801-4.623v-68.616c0-2.675.278-3.645.8-4.623.524-.977 1.291-1.745 2.269-2.268.978-.523 1.948-.801 4.622-.801z"/>
7
- <path fill="#DFE2E7" d="M16.404 280H203.597V281H16.404z"/>
8
- <text fill="#97A0AF" font-family="Roboto-Regular, Roboto" font-size="10">
9
- <tspan x="170.386" y="158">NOW</tspan>
10
- </text>
11
- <text fill="#97A0AF" font-family="Roboto-Regular, Roboto" font-size="10">
12
- <tspan x="29" y="158">MESSAGES</tspan>
13
- </text>
14
- <path fill="#FFF" fill-rule="nonzero" d="M112.991 43.3v-3.7c0-1.7-1.35-3.1-2.991-3.1-1.64 0-2.991 1.4-2.991 3.1v3.7h5.886c0-.1.096-.1.096 0zm1.544.5c.772.5 1.254 1.4 1.254 2.5v4.4c0 1.7-1.254 3-2.894 3h-5.79c-1.64 0-2.894-1.3-2.894-3v-4.4c0-1.1.482-2 1.35-2.5 0-.1-.096-.2-.096-.3v-3.9c0-2.6 2.026-4.6 4.535-4.6 2.509 0 4.535 2.1 4.535 4.6v4.2zM70.067 120.223c.026.488.137.884.333 1.19.374.57 1.031.855 1.974.855.422 0 .806-.063 1.153-.188.67-.242 1.006-.676 1.006-1.3 0-.47-.141-.803-.424-1.003-.286-.195-.735-.365-1.345-.51l-1.125-.263c-.735-.172-1.256-.361-1.56-.568-.529-.36-.792-.897-.792-1.612 0-.773.258-1.408.774-1.904.517-.496 1.248-.744 2.194-.744.87 0 1.61.218 2.219.653.609.436.913 1.132.913 2.089H74.33c-.057-.461-.177-.814-.362-1.06-.343-.45-.925-.674-1.747-.674-.663 0-1.14.144-1.43.433-.29.29-.436.625-.436 1.008 0 .422.17.73.509.926.222.125.726.281 1.51.469l1.164.275c.562.133.995.314 1.3.545.528.402.792.986.792 1.752 0 .953-.334 1.635-1.003 2.045-.67.41-1.447.615-2.333.615-1.032 0-1.84-.273-2.425-.82-.584-.543-.87-1.28-.86-2.21h1.058zm8.038-3.498v4.166c0 .32.05.582.147.785.181.375.519.562 1.012.562.709 0 1.191-.328 1.448-.984.14-.352.209-.834.209-1.447v-3.082h1.018V123h-.962l.012-.926c-.132.239-.296.44-.492.604-.388.328-.86.492-1.414.492-.863 0-1.45-.299-1.764-.897-.17-.32-.254-.748-.254-1.283v-4.265h1.04zm5.59 0h.968v.89c.286-.367.59-.63.91-.79.32-.16.676-.241 1.068-.241.86 0 1.44.31 1.742.932.166.34.248.826.248 1.459V123h-1.034v-3.955c0-.383-.055-.691-.164-.926-.181-.39-.509-.586-.984-.586-.241 0-.439.026-.594.076-.278.086-.523.258-.735.516-.17.207-.28.42-.33.642-.051.22-.077.536-.077.946V123h-1.017v-6.275zm7.253 3.21c0 .672.138 1.235.413 1.688.275.453.716.68 1.323.68.471 0 .858-.21 1.162-.63.303-.42.455-1.023.455-1.808 0-.793-.156-1.38-.47-1.76-.312-.381-.698-.572-1.158-.572-.513 0-.928.203-1.247.61-.318.406-.478 1.003-.478 1.793zm1.533-3.322c.463 0 .851.102 1.164.305.181.117.387.322.616.615v-3.17h.979V123h-.916v-.873c-.238.387-.519.666-.843.838-.324.172-.695.258-1.114.258-.674 0-1.258-.294-1.752-.882-.494-.588-.74-1.37-.74-2.347 0-.914.224-1.706.675-2.376.45-.67 1.094-1.005 1.93-1.005zm5.211 4.717c0 .305.108.545.322.72.215.177.47.264.764.264.358 0 .704-.085 1.04-.257.565-.286.848-.752.848-1.4v-.85c-.124.082-.285.15-.48.205-.197.054-.389.093-.577.117l-.617.082c-.369.05-.646.13-.83.24-.313.184-.47.477-.47.88zm2.465-2.133c.234-.031.39-.133.47-.304.045-.094.067-.229.067-.405 0-.36-.123-.62-.37-.782-.247-.162-.6-.243-1.06-.243-.532 0-.909.148-1.13.445-.125.164-.206.408-.244.733h-.95c.019-.774.261-1.312.727-1.615.465-.302 1.005-.454 1.62-.454.712 0 1.29.14 1.735.422.441.281.662.719.662 1.313v3.615c0 .11.021.197.065.264.043.066.134.1.274.1.045 0 .096-.004.153-.01.056-.005.116-.014.18-.026v.78c-.158.046-.278.075-.361.087-.083.012-.196.018-.34.018-.35 0-.605-.13-.763-.387-.083-.137-.141-.33-.175-.58-.207.281-.505.525-.893.732-.389.207-.816.31-1.284.31-.561 0-1.02-.176-1.377-.53-.356-.353-.534-.795-.534-1.326 0-.583.175-1.034.526-1.354.35-.32.81-.518 1.38-.592l1.622-.21zm7.145-2.472h1.125c-.143.402-.461 1.32-.955 2.754-.37 1.078-.678 1.957-.927 2.636-.588 1.602-1.003 2.578-1.244 2.93-.241.351-.656.527-1.244.527-.143 0-.253-.006-.33-.017-.078-.012-.173-.034-.286-.065v-.96c.177.05.305.081.384.093.08.012.15.018.21.018.188 0 .326-.033.415-.097.089-.065.163-.144.223-.237.02-.032.087-.192.204-.48.117-.29.202-.505.254-.645l-2.239-6.457h1.154l1.622 5.109 1.634-5.11zm1.537 7.5c.26-.047.443-.237.548-.569.057-.176.085-.345.085-.51 0-.027 0-.051-.003-.073-.001-.021-.006-.046-.014-.073h-.616v-1.277h1.21v1.183c0 .465-.09.873-.271 1.225-.181.351-.494.568-.939.65v-.556zm6.172-1.225c.037-.723.181-1.352.432-1.887.25-.535.74-1.021 1.467-1.459l1.086-.65c.486-.293.827-.543 1.023-.75.31-.324.464-.695.464-1.113 0-.489-.142-.876-.424-1.163-.283-.288-.66-.431-1.131-.431-.697 0-1.18.273-1.447.82-.144.293-.223.7-.238 1.219h-1.035c.012-.73.142-1.326.39-1.787.442-.813 1.22-1.219 2.336-1.219.927 0 1.604.26 2.032.78.428.519.642 1.097.642 1.734 0 .672-.228 1.246-.684 1.722-.264.278-.737.614-1.42 1.008l-.774.446c-.37.21-.66.412-.87.603-.378.34-.615.717-.713 1.13h4.421V123h-5.557zm7.784-2.027c.03.582.246.984.65 1.207.207.117.44.175.7.175.487 0 .902-.21 1.245-.63.343-.42.586-1.272.729-2.557-.226.371-.506.632-.84.782-.333.15-.692.226-1.077.226-.78 0-1.397-.252-1.851-.756-.454-.504-.681-1.152-.681-1.945 0-.762.224-1.432.672-2.01.449-.578 1.11-.867 1.985-.867 1.18 0 1.994.55 2.442 1.652.249.605.373 1.363.373 2.273 0 1.028-.149 1.938-.446 2.73-.494 1.321-1.33 1.981-2.51 1.981-.792 0-1.393-.214-1.804-.644-.411-.43-.616-.969-.616-1.617h1.029zm1.543-1.723c.403 0 .772-.138 1.105-.413.334-.275.5-.757.5-1.444 0-.618-.15-1.078-.449-1.38-.3-.303-.681-.454-1.145-.454-.497 0-.892.172-1.184.518-.292.346-.438.808-.438 1.386 0 .547.128.981.384 1.304.257.322.665.483 1.227.483zm11.87 1.184c0 .726-.103 1.29-.31 1.693-.385.734-1.116 1.102-2.194 1.102-.622 0-1.153-.175-1.594-.525-.441-.35-.662-.972-.662-1.866v-.615h1.057v.615c0 .469.101.821.303 1.058.202.236.515.354.941.354.6 0 .992-.213 1.176-.639.113-.261.17-.756.17-1.482v-5.736h1.114v6.04zm2.764-3.71v4.167c0 .32.05.582.147.785.181.375.518.562 1.012.562.709 0 1.191-.328 1.448-.984.139-.352.209-.834.209-1.447v-3.082h1.017V123h-.96l.01-.926c-.131.239-.295.44-.491.604-.389.328-.86.492-1.414.492-.863 0-1.45-.299-1.764-.897-.17-.32-.254-.748-.254-1.283v-4.265h1.04zm5.619-2.331h1.018V123h-1.018v-8.607zm6.495 2.332h1.125c-.143.402-.462 1.32-.956 2.754-.369 1.078-.678 1.957-.927 2.636-.588 1.602-1.002 2.578-1.244 2.93-.24.351-.655.527-1.243.527-.144 0-.254-.006-.331-.017-.077-.012-.173-.034-.286-.065v-.96c.177.05.306.081.385.093.079.012.149.018.209.018.188 0 .327-.033.415-.097.09-.065.164-.144.224-.237.019-.032.087-.192.203-.48.117-.29.202-.505.255-.645l-2.24-6.457h1.154l1.623 5.109 1.634-5.11zM78.271 92.566c.11 2.135.905 3.61 2.384 4.426.76.43 1.617.645 2.57.645 1.784 0 3.304-.77 4.562-2.31 1.257-1.54 2.149-4.666 2.674-9.378-.83 1.36-1.856 2.317-3.079 2.868-1.223.552-2.54.828-3.949.828-2.86 0-5.124-.924-6.79-2.772-1.664-1.848-2.497-4.225-2.497-7.133 0-2.793.822-5.25 2.467-7.369 1.644-2.12 4.07-3.18 7.276-3.18 4.326 0 7.311 2.02 8.956 6.059.912 2.22 1.368 4.999 1.368 8.336 0 3.767-.546 7.104-1.638 10.012-1.81 4.84-4.878 7.261-9.204 7.261-2.902 0-5.107-.787-6.613-2.363-1.507-1.575-2.26-3.552-2.26-5.93h3.773zm5.66-6.316c1.478 0 2.83-.505 4.052-1.515 1.224-1.01 1.835-2.775 1.835-5.296 0-2.263-.55-3.95-1.648-5.06-1.099-1.11-2.498-1.664-4.198-1.664-1.824 0-3.272.634-4.343 1.901-1.071 1.268-1.607 2.961-1.607 5.081 0 2.005.47 3.599 1.41 4.78.94 1.182 2.44 1.773 4.499 1.773zm16.975-8.959h4.333v4.684h-4.333V77.29zm0 18.025h4.333V100h-4.333v-4.684zm21.08-6.209V75.164l-9.515 13.943h9.515zm.062 10.893v-7.52H109.03V88.7l13.6-19.552h3.15v19.96h4.375v3.372h-4.374V100h-3.732zm13.534-21.785V75.25c2.695-.272 4.575-.727 5.639-1.364 1.064-.638 1.859-2.145 2.384-4.523h2.944V100h-3.98V78.215h-6.987z"/>
15
- </g>
16
- </svg>
@@ -1,22 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="220" height="472" viewBox="0 0 220 472">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect width="220" height="472" fill="#101211" rx="26"/>
4
- <rect width="202" height="404" x="9" y="36" fill="#F4F5F7" rx="9"/>
5
- <rect width="182" height="136" x="19" y="92" fill="#F4F5F7" rx="17.5"/>
6
- <path fill="#CF0E8F" d="M18 36h184c4.97 0 9 4.03 9 9v6H9v-6c0-4.97 4.03-9 9-9z"/>
7
- <path fill="#FFF" d="M9 404h202v28.5c0 4.142-3.358 7.5-7.5 7.5h-187c-4.142 0-7.5-3.358-7.5-7.5V404z"/>
8
- <path fill="#E51FA3" d="M9 51H211V82H9z" transform="matrix(1 0 0 -1 0 133)"/>
9
- <rect width="52" height="5" x="84" y="14" fill="#2E2E2E" rx="2.5"/>
10
- <rect width="52" height="5" x="84" y="455" fill="#2E2E2E" rx="2.5"/>
11
- <circle cx="45.5" cy="19.5" r="5.5" fill="#2E2E2E"/>
12
- <circle cx="65.5" cy="19.5" r="3.5" fill="#2E2E2E"/>
13
- <text fill="#FFF" font-family="Roboto-Regular, Roboto" font-size="12" letter-spacing=".175">
14
- <tspan x="49.5" y="71">Sender ID</tspan>
15
- </text>
16
- <circle cx="199" cy="63" r="1" fill="#FFF"/>
17
- <circle cx="199" cy="70" r="1" fill="#FFF"/>
18
- <circle cx="199" cy="66.5" r="1" fill="#FFF"/>
19
- <path fill="#FFF" d="M28 66c0 .279-.226.505-.505.505h-5.556l2.42 2.42c.198.197.198.518 0 .716-.198.198-.52.198-.718 0l-2.934-2.934c-.39-.39-.39-1.024 0-1.414l2.934-2.934c.198-.198.52-.198.718 0 .198.198.198.519 0 .717l-2.42 2.419h5.556c.279 0 .505.226.505.505z"/>
20
- <path fill="#B3BAC5" d="M189.006 427.286L201 422.143 189.006 417 189 421 197.571 422.143 189 423.286z"/>
21
- </g>
22
- </svg>
@@ -1,16 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="220" height="472" viewBox="0 0 220 472">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect width="220" height="472" fill="#101211" rx="32"/>
4
- <path fill="#FFF" d="M55.965 11v3c0 7.18 5.82 13 13 13h82.07c7.18 0 13-5.82 13-13v-3h23.316c12.702 0 23 10.297 23 23v405c0 12.703-10.298 23-23 23H32.649c-12.702 0-23-10.297-23-23V34c0-12.703 10.298-23 23-23h23.316z"/>
5
- <rect width="181.404" height="136" x="19.298" y="88" fill="#FFF" rx="17.5"/>
6
- <path fill="#F8F8F8" d="M55.965 11v3c0 7.18 5.82 13 13 13h82.07c7.18 0 13-5.82 13-13v-3h23.316c12.702 0 23 10.297 23 23v43.092H9.649V34c0-12.703 10.298-23 23-23h23.316z"/>
7
- <rect width="176" height="20" x="22" y="421.072" fill="#FAFAFA" stroke="#C8C7CC" stroke-width=".5" rx="10"/>
8
- <path fill="#2E2E2E" fill-rule="nonzero" d="M76.566 455h66.868c.695 0 1.303.467 1.303 1 0 .533-.608 1-1.303 1H76.566c-.695 0-1.303-.467-1.303-1 0-.533.608-1 1.303-1z" opacity=".4"/>
9
- <path fill="#E0E0E0" d="M9.649 77H210.351V78H9.649z"/>
10
- <path fill="#007AFF" d="M19.769 59.041l-4.623-4.568c-.195-.192-.195-.503 0-.696l4.623-4.568c.28-.279.738-.279 1.02 0 .281.278.281.73 0 1.008l-3.954 3.908 3.954 3.908c.281.279.281.73 0 1.008-.282.279-.74.279-1.02 0M193.947 60c-3.313 0-6-2.686-6-6s2.687-6 6-6c3.314 0 6 2.686 6 6s-2.686 6-6 6zm0-.818c2.862 0 5.182-2.32 5.182-5.182 0-2.862-2.32-5.182-5.182-5.182-2.861 0-5.181 2.32-5.181 5.182 0 2.862 2.32 5.182 5.181 5.182zm-.125-7.473c-.347 0-.627-.28-.627-.627s.28-.627.627-.627c.346 0 .627.28.627.627 0 .346-.28.627-.627.627zm-.878 5.018v-.25h.502v-3.764h-.502v-.251h1.505V56.476h.502v.251h-2.007z"/>
11
- <text fill="#0A0A0A" font-family="Roboto-Regular, Roboto" font-size="7" letter-spacing="-.169">
12
- <tspan x="96.491" y="70">Sender ID</tspan>
13
- </text>
14
- <path fill="#959BA9" fill-rule="nonzero" d="M104.33 58.425c1.611-1.204 4.06-1.394 4.563-2.793.062-.709.038-1.204.038-1.852-.31-.169-.888-1.244-.981-2.15-.244-.021-.628-.268-.74-1.24-.061-.523.18-.817.327-.91-.824-3.286-.371-6.156 3.388-6.228.94 0 1.663.26 1.945.774 2.743.395 1.92 4.219 1.523 5.455.147.092.388.386.328.908-.113.973-.497 1.22-.74 1.24-.095.908-.65 1.982-.96 2.15 0 .649-.024 1.144.038 1.853.502 1.399 2.94 1.589 4.543 2.791 1.924-1.848 3.128-4.49 3.128-7.423 0-5.59-4.372-10.12-9.765-10.12-5.393 0-9.765 4.53-9.765 10.12 0 2.934 1.205 5.577 3.13 7.425zM110.965 62c-5.862 0-10.614-4.925-10.614-11s4.752-11 10.614-11c5.862 0 10.614 4.925 10.614 11s-4.752 11-10.614 11z"/>
15
- </g>
16
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="220" height="472" viewBox="0 0 220 472">
2
- <g fill="none" fill-rule="evenodd">
3
- <rect width="220" height="472" fill="#101211" rx="26"/>
4
- <rect width="202" height="404" x="9" y="36" fill="#F4F5F7" rx="9"/>
5
- <rect width="182" height="136" x="19" y="112" fill="#F4F5F7" rx="17.5"/>
6
- <path fill="#F4F5F7" d="M18 36h184c4.97 0 9 4.03 9 9v6H9v-6c0-4.97 4.03-9 9-9z"/>
7
- <path fill="#F4F5F7" d="M9 51H211V82H9z" transform="matrix(1 0 0 -1 0 133)"/>
8
- <rect width="52" height="5" x="84" y="14" fill="#2E2E2E" rx="2.5"/>
9
- <rect width="52" height="5" x="84" y="455" fill="#2E2E2E" rx="2.5"/>
10
- <circle cx="45.5" cy="19.5" r="5.5" fill="#2E2E2E"/>
11
- <circle cx="65.5" cy="19.5" r="3.5" fill="#2E2E2E"/>
12
- <text fill="#000" font-family="Roboto-Regular, Roboto" font-size="12" letter-spacing=".175">
13
- <tspan x="49.5" y="71">Muji India</tspan>
14
- </text>
15
- <circle cx="199" cy="63" r="1" fill="#000"/>
16
- <circle cx="199" cy="70" r="1" fill="#000"/>
17
- <circle cx="199" cy="66.5" r="1" fill="#000"/>
18
- <path fill="#000" d="M28 66c0 .279-.226.505-.505.505h-5.556l2.42 2.42c.198.197.198.518 0 .716-.198.198-.52.198-.718 0l-2.934-2.934c-.39-.39-.39-1.024 0-1.414l2.934-2.934c.198-.198.52-.198.718 0 .198.198.198.519 0 .717l-2.42 2.419h5.556c.279 0 .505.226.505.505z"/>
19
- </g>
20
- </svg>