chayns-api 1.1.14 → 1.1.15

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.Language = exports.IconType = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.DialogButtonType = exports.DialogAnimation = exports.DeviceOs = exports.DateType = exports.ColorMode = exports.BrowserName = exports.AppName = exports.AccessMode = void 0;
6
+ exports.WeekDayType = exports.ToastType = exports.TappEvent = exports.SharingApp = exports.ScreenSize = exports.ScanQrCodeCodeType = exports.ScanQrCodeCameraTypes = exports.RuntimeEnviroment = exports.MediaType = exports.Language = exports.IconType = exports.Gender = exports.Font = exports.FloatingButtonPosition = exports.FloatingButtonAnimation = exports.Environment = exports.DialogType = exports.DialogSelectType = exports.DialogInputType = exports.DialogIconType = exports.DialogButtonType = exports.DialogAnimation = exports.DeviceOs = exports.DateType = exports.ColorMode = exports.BrowserName = exports.AppName = exports.AccessMode = void 0;
7
7
  let DateType = exports.DateType = /*#__PURE__*/function (DateType) {
8
8
  DateType[DateType["DATE"] = 0] = "DATE";
9
9
  DateType[DateType["TIME"] = 1] = "TIME";
@@ -164,6 +164,12 @@ let FloatingButtonPosition = exports.FloatingButtonPosition = /*#__PURE__*/funct
164
164
  FloatingButtonPosition[FloatingButtonPosition["Left"] = 2] = "Left";
165
165
  return FloatingButtonPosition;
166
166
  }({});
167
+ let FloatingButtonAnimation = exports.FloatingButtonAnimation = /*#__PURE__*/function (FloatingButtonAnimation) {
168
+ FloatingButtonAnimation["None"] = "none";
169
+ FloatingButtonAnimation["FadeIn"] = "fade-in";
170
+ FloatingButtonAnimation["Pulse"] = "pulse";
171
+ return FloatingButtonAnimation;
172
+ }({});
167
173
  let SharingApp = exports.SharingApp = /*#__PURE__*/function (SharingApp) {
168
174
  SharingApp[SharingApp["Mail"] = 0] = "Mail";
169
175
  SharingApp[SharingApp["WhatsApp"] = 1] = "WhatsApp";
@@ -161,6 +161,12 @@ export let FloatingButtonPosition = /*#__PURE__*/function (FloatingButtonPositio
161
161
  FloatingButtonPosition[FloatingButtonPosition["Left"] = 2] = "Left";
162
162
  return FloatingButtonPosition;
163
163
  }({});
164
+ export let FloatingButtonAnimation = /*#__PURE__*/function (FloatingButtonAnimation) {
165
+ FloatingButtonAnimation["None"] = "none";
166
+ FloatingButtonAnimation["FadeIn"] = "fade-in";
167
+ FloatingButtonAnimation["Pulse"] = "pulse";
168
+ return FloatingButtonAnimation;
169
+ }({});
164
170
  export let SharingApp = /*#__PURE__*/function (SharingApp) {
165
171
  SharingApp[SharingApp["Mail"] = 0] = "Mail";
166
172
  SharingApp[SharingApp["WhatsApp"] = 1] = "WhatsApp";
@@ -619,6 +619,11 @@ export declare enum FloatingButtonPosition {
619
619
  Center = 1,
620
620
  Left = 2
621
621
  }
622
+ export declare enum FloatingButtonAnimation {
623
+ None = "none",
624
+ FadeIn = "fade-in",
625
+ Pulse = "pulse"
626
+ }
622
627
  export interface FloatingButton {
623
628
  isEnabled: boolean;
624
629
  position: FloatingButtonPosition;
@@ -635,6 +640,7 @@ export interface FloatingButton {
635
640
  text: string;
636
641
  icon: string;
637
642
  }[];
643
+ animation?: FloatingButtonAnimation;
638
644
  }
639
645
  export declare enum SharingApp {
640
646
  Mail = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",