button.js 591 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.button = void 0;
  6. function Behavior(behavior) {
  7. behavior.$id = Number(new Date()) + String(Math.random()).substring(2, 7);
  8. return behavior;
  9. }
  10. var button = Behavior({
  11. externalClasses: ["hover-class"],
  12. properties: {
  13. id: String,
  14. lang: String,
  15. businessId: Number,
  16. sessionFrom: String,
  17. sendMessageTitle: String,
  18. sendMessagePath: String,
  19. sendMessageImg: String,
  20. showMessageCard: Boolean,
  21. appParameter: String,
  22. ariaLabel: String
  23. }
  24. });
  25. exports.button = button;