@colijnit/sharedcomponents 1.0.14 → 1.0.17

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 (30) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +239 -21
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/key-pad/key-pad.component.js +191 -0
  5. package/esm2015/lib/components/key-pad/key-pad.module.js +21 -0
  6. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +5 -1
  7. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +5 -1
  8. package/esm2015/lib/enum/icon.enum.js +2 -11
  9. package/esm2015/lib/enum/keyboard-code.enum.js +32 -0
  10. package/esm2015/lib/model/icon-svg.js +3 -12
  11. package/esm2015/lib/service/ione-connector-adapter.service.js +1 -1
  12. package/esm2015/public-api.js +3 -1
  13. package/fesm2015/colijnit-sharedcomponents.js +248 -23
  14. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  15. package/lib/components/docsign/style/material.scss +0 -1
  16. package/lib/components/key-pad/key-pad.component.d.ts +36 -0
  17. package/lib/components/key-pad/key-pad.module.d.ts +2 -0
  18. package/lib/components/key-pad/style/_layout.scss +104 -0
  19. package/lib/components/key-pad/style/_material-definition.scss +17 -0
  20. package/lib/components/key-pad/style/_theme.scss +35 -0
  21. package/lib/components/key-pad/style/material.scss +4 -0
  22. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +1 -0
  23. package/lib/components/send-method-dialog/style/material.scss +0 -1
  24. package/lib/components/stock/style/material.scss +0 -1
  25. package/lib/enum/icon.enum.d.ts +1 -10
  26. package/lib/enum/keyboard-code.enum.d.ts +30 -0
  27. package/lib/style/_variables.scss +3 -13
  28. package/lib/style/sharedcomponents-globals.scss +12 -0
  29. package/package.json +1 -1
  30. package/public-api.d.ts +2 -0
@@ -1967,22 +1967,13 @@
1967
1967
  /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
1968
1968
  var IconSvg = {
1969
1969
  "arrow_fat_right": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"37.5 25 25.2 12.7 25.2 20.35 12.5 20.35 12.5 29.66 25.2 29.66 25.2 37.3 37.5 25\" fill=\"#484f60\"/></svg>",
1970
- "arrow_point_down": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-280 371 51 51\" enable-background=\"new -280 371 51 51\" ><path fill=\"#29363E\" d=\"M-248.3,392.2c0.3,0,0.6,0.1,0.8,0.3c0.5,0.5,0.5,1.2,0,1.6l-6.2,6.2c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3l-6.2-6.2c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3l5.4,5.4l5.4-5.4C-248.9,392.4-248.6,392.2-248.3,392.2z\"/></svg>",
1971
- "arrow_point_left": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M31.9,36.7l-14.7-9.6C17.1,27,17,26.9,17,26.7v-2.4c0-0.2,0.1-0.3,0.2-0.4l14.7-9.6c0.2-0.2,0.5-0.1,0.7,0.1l1.4,2.1c0.2,0.2,0.1,0.5-0.1,0.7l-12,7.8c-0.3,0.2-0.3,0.6,0,0.8l12,7.8c0.2,0.2,0.3,0.5,0.1,0.7l-1.4,2.1C32.4,36.8,32.1,36.8,31.9,36.7z\"/></svg>",
1972
- "arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
1973
- "calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
1974
- "cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
1970
+ "arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\"><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
1971
+ "delete_left_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z\"/></svg>",
1975
1972
  "delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
1976
- "edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
1977
1973
  "email": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.79,38.45A17.82,17.82,0,0,1,23.86,40,13.09,13.09,0,0,1,10.41,26.42C10.41,17.63,16.83,10,26.53,10c7.63,0,13.06,5.21,13.06,12.46,0,6.33-3.53,10.3-8.19,10.3a3.42,3.42,0,0,1-3.71-3.32h-.08A6.5,6.5,0,0,1,22,32.76c-2.75,0-4.82-2.11-4.82-5.65a9.85,9.85,0,0,1,10.13-10,12.89,12.89,0,0,1,5.13,1l-1.3,8c-.43,2.54-.13,3.71,1.08,3.75,1.85.09,4.18-2.28,4.18-7.28,0-5.65-3.62-10-10.3-10S13.73,17.76,13.73,26c0,7.25,4.57,11.3,11,11.3A14.81,14.81,0,0,0,31,36ZM28,20.65a5.34,5.34,0,0,0-1.33-.18c-2.85,0-5.09,2.81-5.09,6.12,0,1.64.73,2.68,2.16,2.68,1.59,0,3.27-2,3.66-4.53Z\" fill=\"#484f60\"/></svg>",
1978
1974
  "pdf": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.88c-2.16,0-2.72-.56-2.72-2.72V12.88c0-2.15.56-2.71,2.72-2.71h11.6l8.66,8.88v3.43H32.8V19.6l-7.88-8.09h-11c-1.38,0-1.38,0-1.38,1.37V37.45c0,1.37,0,1.37,1.38,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M27.83,26.63v4.24h1a3.57,3.57,0,0,0,.78-.06,1.22,1.22,0,0,0,.52-.26,1.44,1.44,0,0,0,.34-.62,4.13,4.13,0,0,0,.13-1.18,3.79,3.79,0,0,0-.13-1.14,1.51,1.51,0,0,0-.37-.62,1.14,1.14,0,0,0-.6-.3,5.93,5.93,0,0,0-1.06-.06Z\" fill=\"#484f60\"/><path d=\"M21.86,26.63v1.82h.71a3.57,3.57,0,0,0,1-.1A.88.88,0,0,0,24,28a.84.84,0,0,0,.14-.5.8.8,0,0,0-.2-.57.88.88,0,0,0-.52-.29,6.36,6.36,0,0,0-.93,0Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.12,4.24a1.68,1.68,0,0,1-.54.63,1.9,1.9,0,0,1-.67.3,6.57,6.57,0,0,1-1.34.1h-.85V32H20.57V25.54h2.07a7.75,7.75,0,0,1,1.54.1,1.73,1.73,0,0,1,.93.63,2,2,0,0,1,.37,1.25A2,2,0,0,1,25.26,28.51Zm6.45,1.66A2.91,2.91,0,0,1,31,31.31a2.28,2.28,0,0,1-.91.51A4,4,0,0,1,29,32H26.54V25.54H28.9a4.21,4.21,0,0,1,1.22.13,2.08,2.08,0,0,1,1,.59,2.79,2.79,0,0,1,.61,1,4.76,4.76,0,0,1,.21,1.52A4.19,4.19,0,0,1,31.71,30.17Zm5.7-3.54h-3.1v1.52H37v1.08H34.31V32H33V25.54h4.39Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/></svg>",
1979
- "plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
1980
1975
  "print": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M38,16.5H12a2,2,0,0,0-2,2v9a2,2,0,0,0,2,2h2v-5H36v5h2a2,2,0,0,0,2-2v-9A2,2,0,0,0,38,16.5ZM37,21a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,37,21Z\" fill=\"#484f60\"/><path d=\"M35,11.5v5H15v-5H35m1-1H14v7H36v-7Z\" fill=\"#484f60\"/><path d=\"M35,25.5v13H15v-13H35m1-1H14v15H36v-15Z\" fill=\"#484f60\"/><rect x=\"17\" y=\"28.3\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"31.5\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/><rect x=\"17\" y=\"34.7\" width=\"16\" height=\"0.8\" fill=\"#484f60\"/></svg>",
1981
1976
  "signature_field": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M20.1,25.42a1.1,1.1,0,1,1,1.27,1.45l-3.3,9.07A63.13,63.13,0,0,1,28,28.3l1.26-12-8.26-3-6.77,10A62.4,62.4,0,0,1,17,35.54l3.3-9.07A1.12,1.12,0,0,1,20.1,25.42Z\" fill=\"#484f60\"/><rect x=\"21.62\" y=\"11.43\" width=\"8.79\" height=\"2.34\" transform=\"translate(5.88 -8.14) rotate(20)\" fill=\"#484f60\"/><path d=\"M18.11,37.48c1.44,2.65,4.58,2.94,7.23,2.1,1.41-.44,2.2-1.49,3.44-2.06,2.42-1.1,3.13,1.2,5.36,1.37.42,0,2-.65,1.54-.68-2.55-.19-2.93-3.13-5.51-2.65a4.9,4.9,0,0,0-1.64.71c-.77.49-1.31,1.62-2.07,2l-4.61.56A3.38,3.38,0,0,1,20,37c-.22-.41-2,.28-1.85.5Z\" fill=\"#484f60\"/></svg>",
1982
- "tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
1983
- "thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
1984
- "thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
1985
- "txt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm6.68,2.36h-1.9V32h-1.3V26.63h-1.9V25.54h5.1ZM30.4,32,29,29.74,27.55,32H26l2.19-3.34-2-3.07h1.52L29,27.6l1.26-2.06h1.5l-2,3.12L32,32Zm6.86-5.32h-1.9V32H34.07V26.63H32.16V25.54h5.1Z\" fill=\"#484f60\"/></svg>",
1986
1977
  "xml": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.42,40.17H13.87c-2.15,0-2.71-.56-2.71-2.72V12.88c0-2.15.56-2.71,2.71-2.71H25.48l8.66,8.88v3.43H32.8V19.6l-7.88-8.09H13.87c-1.37,0-1.37,0-1.37,1.37V37.45c0,1.37,0,1.37,1.37,1.37H31.42c1.38,0,1.38,0,1.38-1.37V35h1.34v2.43C34.14,39.61,33.58,40.17,31.42,40.17Z\" fill=\"#484f60\"/><path d=\"M25.2,10.84v6.44c0,1.78.27,2,2,2h6.23Z\" fill=\"#484f60\"/><path d=\"M19.14,24.27v9h19.7v-9Zm5.36,7.41-1.3-2-1.3,2H20.48l2-3.06-1.81-2.8h1.38l1.18,1.88,1.15-1.88h1.37l-1.83,2.85,2,3Zm7.67,0h-1.1V27.07l-1.16,4.61H28.77l-1.16-4.61v4.61H26.52V25.82h1.76l1.07,4,1-4h1.77Zm5.33,0H33.38V25.87h1.18v4.82H37.5Z\" fill=\"#484f60\"/></svg>"
1987
1978
  };
1988
1979
 
@@ -2041,22 +2032,13 @@
2041
2032
  var Icon;
2042
2033
  (function (Icon) {
2043
2034
  Icon["ArrowFatRight"] = "arrow_fat_right";
2044
- Icon["ArrowPointDown"] = "arrow_point_down";
2045
- Icon["ArrowPointLeft"] = "arrow_point_left";
2046
2035
  Icon["ArrowPointRight"] = "arrow_point_right";
2047
- Icon["CalendarDay"] = "calendar_day";
2048
- Icon["Cancel"] = "cancel";
2036
+ Icon["DeleteLeftRegular"] = "delete_left_regular";
2049
2037
  Icon["DeliveryTruck"] = "delivery_truck";
2050
- Icon["EditPencil"] = "edit_pencil";
2051
2038
  Icon["Email"] = "email";
2052
2039
  Icon["Pdf"] = "pdf";
2053
- Icon["PlusRound"] = "plus_round";
2054
2040
  Icon["Print"] = "print";
2055
2041
  Icon["SignatureField"] = "signature_field";
2056
- Icon["Tag"] = "tag";
2057
- Icon["ThickLines"] = "thick_lines";
2058
- Icon["ThinLines"] = "thin_lines";
2059
- Icon["Txt"] = "txt";
2060
2042
  Icon["Xml"] = "xml";
2061
2043
  })(Icon || (Icon = {}));
2062
2044
 
@@ -2407,6 +2389,13 @@
2407
2389
  this.startSignatureClicked = new i0.EventEmitter();
2408
2390
  this.printButtonClicked = new i0.EventEmitter();
2409
2391
  }
2392
+ Object.defineProperty(SendMethodDialogComponent.prototype, "options", {
2393
+ set: function (value) {
2394
+ this._stockService.connectConnector(value);
2395
+ },
2396
+ enumerable: false,
2397
+ configurable: true
2398
+ });
2410
2399
  SendMethodDialogComponent.prototype.showClass = function () {
2411
2400
  return true;
2412
2401
  };
@@ -2475,6 +2464,7 @@
2475
2464
  { type: StockService }
2476
2465
  ]; };
2477
2466
  SendMethodDialogComponent.propDecorators = {
2467
+ options: [{ type: i0.Input }],
2478
2468
  showDialog: [{ type: i0.Input }],
2479
2469
  headerTitle: [{ type: i0.Input }],
2480
2470
  printerList: [{ type: i0.Input }],
@@ -2505,6 +2495,9 @@
2505
2495
  ],
2506
2496
  exports: [
2507
2497
  SendMethodDialogComponent
2498
+ ],
2499
+ providers: [
2500
+ StockService
2508
2501
  ]
2509
2502
  },] }
2510
2503
  ];
@@ -2601,6 +2594,229 @@
2601
2594
  },] }
2602
2595
  ];
2603
2596
 
2597
+ var KeyboardCode;
2598
+ (function (KeyboardCode) {
2599
+ KeyboardCode["Backspace"] = "Backspace";
2600
+ KeyboardCode["Digit0"] = "Digit0";
2601
+ KeyboardCode["Digit1"] = "Digit1";
2602
+ KeyboardCode["Digit2"] = "Digit2";
2603
+ KeyboardCode["Digit3"] = "Digit3";
2604
+ KeyboardCode["Digit4"] = "Digit4";
2605
+ KeyboardCode["Digit5"] = "Digit5";
2606
+ KeyboardCode["Digit6"] = "Digit6";
2607
+ KeyboardCode["Digit7"] = "Digit7";
2608
+ KeyboardCode["Digit8"] = "Digit8";
2609
+ KeyboardCode["Digit9"] = "Digit9";
2610
+ KeyboardCode["Enter"] = "Enter";
2611
+ KeyboardCode["Escape"] = "Escape";
2612
+ KeyboardCode["Minus"] = "Minus";
2613
+ KeyboardCode["Numpad0"] = "Numpad0";
2614
+ KeyboardCode["Numpad1"] = "Numpad1";
2615
+ KeyboardCode["Numpad2"] = "Numpad2";
2616
+ KeyboardCode["Numpad3"] = "Numpad3";
2617
+ KeyboardCode["Numpad4"] = "Numpad4";
2618
+ KeyboardCode["Numpad5"] = "Numpad5";
2619
+ KeyboardCode["Numpad6"] = "Numpad6";
2620
+ KeyboardCode["Numpad7"] = "Numpad7";
2621
+ KeyboardCode["Numpad8"] = "Numpad8";
2622
+ KeyboardCode["Numpad9"] = "Numpad9";
2623
+ KeyboardCode["NumpadDecimal"] = "NumpadDecimal";
2624
+ KeyboardCode["NumpadEnter"] = "NumpadEnter";
2625
+ KeyboardCode["NumpadSubtract"] = "NumpadSubtract";
2626
+ KeyboardCode["Period"] = "Period";
2627
+ })(KeyboardCode || (KeyboardCode = {}));
2628
+
2629
+ var KeyPadComponent = /** @class */ (function () {
2630
+ function KeyPadComponent(iconCacheService) {
2631
+ this.iconCacheService = iconCacheService;
2632
+ this.icons = Icon;
2633
+ this.showValue = true;
2634
+ this.emitModelChangeOnEnter = true;
2635
+ this.modelChange = new i0.EventEmitter();
2636
+ this.internalModelChange = new i0.EventEmitter();
2637
+ this.enterClick = new i0.EventEmitter();
2638
+ this._validKeyMap = new Map([
2639
+ [KeyboardCode.Digit0, "0"],
2640
+ [KeyboardCode.Digit1, "1"],
2641
+ [KeyboardCode.Digit2, "2"],
2642
+ [KeyboardCode.Digit3, "3"],
2643
+ [KeyboardCode.Digit4, "4"],
2644
+ [KeyboardCode.Digit5, "5"],
2645
+ [KeyboardCode.Digit6, "6"],
2646
+ [KeyboardCode.Digit7, "7"],
2647
+ [KeyboardCode.Digit8, "8"],
2648
+ [KeyboardCode.Digit9, "9"],
2649
+ [KeyboardCode.Numpad0, "0"],
2650
+ [KeyboardCode.Numpad1, "1"],
2651
+ [KeyboardCode.Numpad2, "2"],
2652
+ [KeyboardCode.Numpad3, "3"],
2653
+ [KeyboardCode.Numpad4, "4"],
2654
+ [KeyboardCode.Numpad5, "5"],
2655
+ [KeyboardCode.Numpad6, "6"],
2656
+ [KeyboardCode.Numpad7, "7"],
2657
+ [KeyboardCode.Numpad8, "8"],
2658
+ [KeyboardCode.Numpad9, "9"],
2659
+ [KeyboardCode.NumpadDecimal, "."],
2660
+ [KeyboardCode.Period, "."]
2661
+ ]);
2662
+ this.isNegative = false;
2663
+ this._model = 0;
2664
+ this._internalModel = "0";
2665
+ this._maxCharacters = 11;
2666
+ }
2667
+ Object.defineProperty(KeyPadComponent.prototype, "model", {
2668
+ get: function () {
2669
+ return this._model;
2670
+ },
2671
+ set: function (value) {
2672
+ this._model = value;
2673
+ this._internalModel = this._model + "";
2674
+ },
2675
+ enumerable: false,
2676
+ configurable: true
2677
+ });
2678
+ KeyPadComponent.prototype.showClass = function () {
2679
+ return true;
2680
+ };
2681
+ KeyPadComponent.prototype.handleKeyDown = function (event) {
2682
+ this._keyDown(event);
2683
+ };
2684
+ Object.defineProperty(KeyPadComponent.prototype, "internalModel", {
2685
+ get: function () {
2686
+ return this._internalModel;
2687
+ },
2688
+ set: function (value) {
2689
+ this._internalModel = value;
2690
+ this.isNegative = parseFloat(this._internalModel) < 0;
2691
+ this.internalModelChange.emit(this._internalModel);
2692
+ },
2693
+ enumerable: false,
2694
+ configurable: true
2695
+ });
2696
+ KeyPadComponent.prototype.handleMinusClick = function (event) {
2697
+ var model = parseFloat(this.internalModel);
2698
+ if (model !== 0) {
2699
+ if (model < 0) {
2700
+ this.internalModel = Math.abs(model) + "";
2701
+ }
2702
+ else {
2703
+ this.internalModel = -model + "";
2704
+ }
2705
+ }
2706
+ this._emitModelChange();
2707
+ };
2708
+ KeyPadComponent.prototype.handleClearClick = function (event) {
2709
+ this.internalModel = "0";
2710
+ this._emitModelChange();
2711
+ };
2712
+ KeyPadComponent.prototype.handleBsClick = function (event) {
2713
+ var wish = this.internalModel;
2714
+ wish = wish.slice(0, wish.length - 1) || "0";
2715
+ if (!isNaN(parseFloat(wish))) {
2716
+ this.internalModel = parseFloat(wish) + "";
2717
+ }
2718
+ this._emitModelChange();
2719
+ };
2720
+ KeyPadComponent.prototype.handleButtonClick = function (chr) {
2721
+ this._updateModel(chr);
2722
+ };
2723
+ KeyPadComponent.prototype.handleEnterClick = function (event) {
2724
+ this._emitModelChange(true);
2725
+ this.enterClick.emit();
2726
+ };
2727
+ KeyPadComponent.prototype._updateModel = function (value) {
2728
+ if (value === undefined || value === null ||
2729
+ (value === '.' && this.internalModel.indexOf('.') > -1) ||
2730
+ this.internalModel.length >= this._maxCharacters) {
2731
+ return;
2732
+ }
2733
+ this.internalModel = this.internalModel !== "0" ? this.internalModel + value : value;
2734
+ this._emitModelChange();
2735
+ };
2736
+ KeyPadComponent.prototype._keyDown = function (event) {
2737
+ if (this._isEnter(event)) {
2738
+ this.handleEnterClick(event);
2739
+ }
2740
+ else if (this._isMinus(event)) {
2741
+ this.handleMinusClick(event);
2742
+ }
2743
+ else if (this._isEscape(event)) {
2744
+ this.handleClearClick(event);
2745
+ }
2746
+ else if (this._isBackspace(event)) {
2747
+ this.handleBsClick(event);
2748
+ }
2749
+ else {
2750
+ this._updateModel(this._validKeyMap.get(event.code));
2751
+ }
2752
+ };
2753
+ KeyPadComponent.prototype._isEnter = function (event) {
2754
+ return event.code === KeyboardCode.Enter || event.code === KeyboardCode.NumpadEnter;
2755
+ };
2756
+ KeyPadComponent.prototype._isMinus = function (event) {
2757
+ return event.code === KeyboardCode.Minus || event.code === KeyboardCode.NumpadSubtract;
2758
+ };
2759
+ KeyPadComponent.prototype._isEscape = function (event) {
2760
+ return event.code === KeyboardCode.Escape;
2761
+ };
2762
+ KeyPadComponent.prototype._isBackspace = function (event) {
2763
+ return event.code === KeyboardCode.Backspace;
2764
+ };
2765
+ KeyPadComponent.prototype._emitModelChange = function (enter) {
2766
+ if (enter === void 0) { enter = false; }
2767
+ if ((enter && this.emitModelChangeOnEnter) || (!enter && !this.emitModelChangeOnEnter)) {
2768
+ var model = parseFloat(this.internalModel);
2769
+ if (!isNaN(model)) {
2770
+ if (enter && this.emitModelChangeOnEnter) {
2771
+ this.model = model;
2772
+ }
2773
+ this.modelChange.emit(model);
2774
+ }
2775
+ }
2776
+ };
2777
+ return KeyPadComponent;
2778
+ }());
2779
+ KeyPadComponent.decorators = [
2780
+ { type: i0.Component, args: [{
2781
+ selector: 'co-key-pad',
2782
+ template: "\n <div class=\"key-pad-wrapper\">\n <div class=\"key-pad-model-wrapper\" *ngIf=\"showValue\">\n <div class=\"key-pad-model\" [textContent]=\"internalModel\" [class.negative]=\"isNegative\"></div>\n </div>\n <div class=\"key-pad-button-wrapper\">\n <div class=\"key-pad-button button-7\" [textContent]=\"'7'\" (click)=\"handleButtonClick('7')\"></div>\n <div class=\"key-pad-button button-8\" [textContent]=\"'8'\" (click)=\"handleButtonClick('8')\"></div>\n <div class=\"key-pad-button button-9\" [textContent]=\"'9'\" (click)=\"handleButtonClick('9')\"></div>\n <div class=\"key-pad-button button-bs\" (click)=\"handleBsClick($event)\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.DeleteLeftRegular)\"></co-icon>\n </div>\n <div class=\"key-pad-button button-4\" [textContent]=\"'4'\" (click)=\"handleButtonClick('4')\"></div>\n <div class=\"key-pad-button button-5\" [textContent]=\"'5'\" (click)=\"handleButtonClick('5')\"></div>\n <div class=\"key-pad-button button-6\" [textContent]=\"'6'\" (click)=\"handleButtonClick('6')\"></div>\n <div class=\"key-pad-button button-minus\" [textContent]=\"'-'\" (click)=\"handleMinusClick($event)\"></div>\n <div class=\"key-pad-button button-1\" [textContent]=\"'1'\" (click)=\"handleButtonClick('1')\"></div>\n <div class=\"key-pad-button button-2\" [textContent]=\"'2'\" (click)=\"handleButtonClick('2')\"></div>\n <div class=\"key-pad-button button-3\" [textContent]=\"'3'\" (click)=\"handleButtonClick('3')\"></div>\n <div class=\"key-pad-button button-enter\" (click)=\"handleEnterClick($event)\">\n <span [textContent]=\"'enter'\"></span>\n </div>\n <div class=\"key-pad-button button-0\" [textContent]=\"'0'\" (click)=\"handleButtonClick('0')\"></div>\n <div class=\"key-pad-button button-dot\" [textContent]=\"'.'\" (click)=\"handleButtonClick('.')\"></div>\n </div>\n </div>\n ",
2783
+ encapsulation: i0.ViewEncapsulation.None
2784
+ },] }
2785
+ ];
2786
+ KeyPadComponent.ctorParameters = function () { return [
2787
+ { type: IconCacheService }
2788
+ ]; };
2789
+ KeyPadComponent.propDecorators = {
2790
+ model: [{ type: i0.Input }],
2791
+ showValue: [{ type: i0.Input }],
2792
+ emitModelChangeOnEnter: [{ type: i0.Input }],
2793
+ modelChange: [{ type: i0.Output }],
2794
+ internalModelChange: [{ type: i0.Output }],
2795
+ enterClick: [{ type: i0.Output }],
2796
+ showClass: [{ type: i0.HostBinding, args: ['class.co-key-pad',] }],
2797
+ handleKeyDown: [{ type: i0.HostListener, args: ['window:keydown', ['$event'],] }]
2798
+ };
2799
+
2800
+ var KeyPadModule = /** @class */ (function () {
2801
+ function KeyPadModule() {
2802
+ }
2803
+ return KeyPadModule;
2804
+ }());
2805
+ KeyPadModule.decorators = [
2806
+ { type: i0.NgModule, args: [{
2807
+ imports: [
2808
+ common.CommonModule,
2809
+ corecomponents_v12.IconModule
2810
+ ],
2811
+ declarations: [
2812
+ KeyPadComponent
2813
+ ],
2814
+ exports: [
2815
+ KeyPadComponent
2816
+ ]
2817
+ },] }
2818
+ ];
2819
+
2604
2820
  /*
2605
2821
  * Public API Surface of sharedcomponents
2606
2822
  */
@@ -2611,6 +2827,8 @@
2611
2827
 
2612
2828
  exports.DocsignComponent = DocsignComponent;
2613
2829
  exports.DocsignModule = DocsignModule;
2830
+ exports.KeyPadComponent = KeyPadComponent;
2831
+ exports.KeyPadModule = KeyPadModule;
2614
2832
  exports.SendMethodDialogComponent = SendMethodDialogComponent;
2615
2833
  exports.SendMethodDialogModule = SendMethodDialogModule;
2616
2834
  exports.StockComponent = StockComponent;