@everymatrix/retail-search

1.21.34 • Public • Published

@everymatrix/retail-control-bar


First step


  lerna bootstrap

Run Widget


  • starts server at port 5050
  • has livereload
  yarn run dev

Build Widget


  yarn run build

Publishing widget


  • Note add your user to the npm
  lerna publish

Posible searches:

  • ID ( 1123124124125 )
  • EVENT SHORTCODE ( 123412 )
  • SELECTION SHORTCODE ( 12312-#EPK2346 #1WorX )
  • EVENT NAME ( BARCELONA )

Widget sends a post message with type "Search"

  • For empty field sends:

      {
        type: "Search",
        payload: { type: "empty" },
      }
    
  • For selection shortcode:

    {
    
      type: "Search",
      payload: {
        type: 'shortCode',
        eventShortCode: '12312'
        selectionShortCode: '#EPK235 #1worx'
      }
    }
    
  • For any other type will send:

    {
      type: "Search",
      payload: {
        type: 'event' | 'player',
        src: 'demo.norway.com/event?name='barcelona',
      }
    }
    
    
    

Readme

Keywords

none

Package Sidebar

Install

npm i @everymatrix/retail-search

Weekly Downloads

391

Version

1.21.34

License

none

Unpacked Size

150 kB

Total Files

13

Last publish

Collaborators

  • andriizadvirnyi
  • stefan.vlad
  • strulea.sebastian
  • catalinpoclid
  • adrian.pripon
  • cristian.taloi
  • natalya.anisimova
  • marian.t
  • grace_zhang
  • clokze
  • roman.sainchuk.em
  • retail-ci
  • raul.vasile