From 403466c99839e20ac17f57eec36a874c41d9ff2b Mon Sep 17 00:00:00 2001 From: Daybrush Date: Sun, 23 Jul 2023 16:10:43 +0900 Subject: [PATCH] fix: fix angular consts --- config/update-type-consts.js | 4 ++-- .../projects/ngx-infinite-viewer/package.json | 2 +- .../projects/ngx-infinite-viewer/src/lib/consts.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/update-type-consts.js b/config/update-type-consts.js index cefc32b..933e93d 100644 --- a/config/update-type-consts.js +++ b/config/update-type-consts.js @@ -1,10 +1,10 @@ const path = require("path"); const { convertProperties } = require("@daybrush/release/angular"); -const { PROPERTIES, EVENTS } = require("../packages/infinite-viewer/dist/infinite-viewer.cjs.js"); +const { EVENTS, OPTIONS } = require("../packages/infinite-viewer/dist/infinite-viewer.cjs.js"); convertProperties( { - ANGULAR_INFINITE_VIEWER_INPUTS: PROPERTIES, + ANGULAR_INFINITE_VIEWER_INPUTS: OPTIONS, ANGULAR_INFINITE_VIEWER_OUTPUTS: EVENTS, }, [ diff --git a/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/package.json b/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/package.json index 4b86d4d..c5cd7bb 100644 --- a/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/package.json +++ b/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/package.json @@ -1,6 +1,6 @@ { "name": "ngx-infinite-viewer", - "version": "0.26.1", + "version": "0.26.2", "description": "Angular Infinite Viewer is Document Viewer Component with infinite scrolling.", "repository": { "type": "git", diff --git a/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/src/lib/consts.ts b/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/src/lib/consts.ts index dfeeb15..2bed255 100644 --- a/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/src/lib/consts.ts +++ b/packages/ngx-infinite-viewer/projects/ngx-infinite-viewer/src/lib/consts.ts @@ -1,4 +1,4 @@ // auto // eslint-disable-next-line max-len -export const ANGULAR_INFINITE_VIEWER_INPUTS: ["margin","threshold","zoomOffsetX","zoomOffsetY","zoom","zoomX","zoomY","rangeX","rangeY","rangeOffsetX","rangeOffsetY","usePinch","useMouseDrag","pinchThreshold","maxPinchWheel","wheelScale","displayVerticalScroll","displayHorizontalScroll","translateZ","useAutoZoom","wheelPinchKey","zoomRange","pinchDirection","useOverflowScroll"] = ["margin","threshold","zoomOffsetX","zoomOffsetY","zoom","zoomX","zoomY","rangeX","rangeY","rangeOffsetX","rangeOffsetY","usePinch","useMouseDrag","pinchThreshold","maxPinchWheel","wheelScale","displayVerticalScroll","displayHorizontalScroll","translateZ","useAutoZoom","wheelPinchKey","zoomRange","pinchDirection","useOverflowScroll"]; +export const ANGULAR_INFINITE_VIEWER_INPUTS: ["margin","threshold","zoomOffsetX","zoomOffsetY","zoom","zoomX","zoomY","rangeX","rangeY","rangeOffsetX","rangeOffsetY","usePinch","useMouseDrag","pinchThreshold","maxPinchWheel","wheelScale","displayVerticalScroll","displayHorizontalScroll","translateZ","useAutoZoom","wheelPinchKey","zoomRange","pinchDirection","useOverflowScroll","preventWheelClick","useWheelPinch","useWheelScroll","useGesture","cspNonce","wrapperElement","scrollAreaElement","verticalScrollElement","horizontalScrollElement","useResizeObserver","wheelContainer","useBounceScrollBar"] = ["margin","threshold","zoomOffsetX","zoomOffsetY","zoom","zoomX","zoomY","rangeX","rangeY","rangeOffsetX","rangeOffsetY","usePinch","useMouseDrag","pinchThreshold","maxPinchWheel","wheelScale","displayVerticalScroll","displayHorizontalScroll","translateZ","useAutoZoom","wheelPinchKey","zoomRange","pinchDirection","useOverflowScroll","preventWheelClick","useWheelPinch","useWheelScroll","useGesture","cspNonce","wrapperElement","scrollAreaElement","verticalScrollElement","horizontalScrollElement","useResizeObserver","wheelContainer","useBounceScrollBar"]; export const ANGULAR_INFINITE_VIEWER_OUTPUTS: ["scroll","abortPinch","dragStart","dragEnd","pinchStart","pinch"] = ["scroll","abortPinch","dragStart","dragEnd","pinchStart","pinch"];