pro-gallery 4.0.15-beta.185 → 4.0.15-beta.186

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 (29) hide show
  1. package/dist/cjs/components/item/imageRenderer.js +4 -1
  2. package/dist/cjs/components/item/imageRenderer.js.map +1 -1
  3. package/dist/cjs/components/item/printOnlySource.js +30 -0
  4. package/dist/cjs/components/item/printOnlySource.js.map +1 -0
  5. package/dist/cjs/index.js +3 -1
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/esm/components/item/imageRenderer.js +4 -1
  8. package/dist/esm/components/item/imageRenderer.js.map +1 -1
  9. package/dist/esm/components/item/printOnlySource.js +27 -0
  10. package/dist/esm/components/item/printOnlySource.js.map +1 -0
  11. package/dist/esm/index.js +1 -0
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm-types/components/gallery/proGallery/galleryContainer.d.ts +1 -1
  14. package/dist/esm-types/components/item/imageRenderer.d.ts.map +1 -1
  15. package/dist/esm-types/components/item/itemView.d.ts +1 -1
  16. package/dist/esm-types/components/item/printOnlySource.d.ts +11 -0
  17. package/dist/esm-types/components/item/printOnlySource.d.ts.map +1 -0
  18. package/dist/esm-types/index.d.ts +1 -0
  19. package/dist/esm-types/index.d.ts.map +1 -1
  20. package/dist/tsconfig-esm.tsbuildinfo +25 -8
  21. package/dist/tsconfig.tsbuildinfo +25 -8
  22. package/dist/types/components/gallery/proGallery/galleryContainer.d.ts +1 -1
  23. package/dist/types/components/item/imageRenderer.d.ts.map +1 -1
  24. package/dist/types/components/item/itemView.d.ts +1 -1
  25. package/dist/types/components/item/printOnlySource.d.ts +11 -0
  26. package/dist/types/components/item/printOnlySource.d.ts.map +1 -0
  27. package/dist/types/index.d.ts +1 -0
  28. package/dist/types/index.d.ts.map +1 -1
  29. package/package.json +5 -5
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
4
  var react_1 = tslib_1.__importDefault(require("react"));
5
+ var printOnlySource_1 = require("./printOnlySource");
5
6
  var ImageRenderer = function (props) {
6
7
  if (typeof ImageRenderer.customImageRenderer === 'function') {
7
8
  return ImageRenderer.customImageRenderer(props);
@@ -11,7 +12,9 @@ var ImageRenderer = function (props) {
11
12
  }
12
13
  else if (typeof props.src === 'object') {
13
14
  return (react_1.default.createElement("picture", { id: "multi_picture_" + props.id, key: "multi_picture_" + props.id },
14
- props.src.map(function (src) { return (react_1.default.createElement("source", { srcSet: src.dpr || src.url, type: "image/" + src.type })); }),
15
+ props.src.map(function (src) {
16
+ return src.forPrinting ? (react_1.default.createElement(printOnlySource_1.PrintOnlyImageSource, { srcSet: src.dpr, type: "image/" + src.type })) : (react_1.default.createElement("source", { srcSet: src.dpr || src.url, type: "image/" + src.type }));
17
+ }),
15
18
  react_1.default.createElement("img", tslib_1.__assign({ alt: props.alt }, props, { src: props.src[props.src.length - 1].url }))));
16
19
  }
17
20
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"imageRenderer.js","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";;;AAAA,wDAA0B;AAE1B,IAAM,aAAa,GAAG,UAAC,KAAK;IAC1B,IAAI,OAAO,aAAa,CAAC,mBAAmB,KAAK,UAAU,EAAE;QAC3D,OAAO,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KACjD;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,wDAAK,GAAG,EAAE,KAAK,CAAC,GAAG,IAAM,KAAK,EAAI,CAAC;KAC3C;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,CACL,2CACE,EAAE,EAAE,mBAAiB,KAAK,CAAC,EAAI,EAC/B,GAAG,EAAE,mBAAiB,KAAK,CAAC,EAAI;YAE/B,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAC,GAAG,IAAK,OAAA,CACtB,0CAAQ,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CAClE,EAFuB,CAEvB,CAAC;YACF,wDACE,GAAG,EAAE,KAAK,CAAC,GAAG,IACV,KAAK,IACT,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,IACxC,CACM,CACX,CAAC;KACH;SAAM;QACL,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"imageRenderer.js","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";;;AAAA,wDAA0B;AAC1B,qDAAyD;AAEzD,IAAM,aAAa,GAAG,UAAC,KAAK;IAC1B,IAAI,OAAO,aAAa,CAAC,mBAAmB,KAAK,UAAU,EAAE;QAC3D,OAAO,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KACjD;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,wDAAK,GAAG,EAAE,KAAK,CAAC,GAAG,IAAM,KAAK,EAAI,CAAC;KAC3C;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,CACL,2CACE,EAAE,EAAE,mBAAiB,KAAK,CAAC,EAAI,EAC/B,GAAG,EAAE,mBAAiB,KAAK,CAAC,EAAI;YAE/B,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAC,GAAG;gBACjB,OAAA,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAChB,8BAAC,sCAAoB,IAAC,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CACrE,CAAC,CAAC,CAAC,CACF,0CAAQ,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CAClE;YAJD,CAIC,CACF;YACD,wDACE,GAAG,EAAE,KAAK,CAAC,GAAG,IACV,KAAK,IACT,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,IACxC,CACM,CACX,CAAC;KACH;SAAM;QACL,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrintOnlyImageSource = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var react_1 = tslib_1.__importDefault(require("react"));
6
+ var PrintOnlyImageSource = /** @class */ (function (_super) {
7
+ tslib_1.__extends(PrintOnlyImageSource, _super);
8
+ function PrintOnlyImageSource(props) {
9
+ var _this = _super.call(this, props) || this;
10
+ _this.state = {
11
+ isPrinting: false,
12
+ };
13
+ return _this;
14
+ }
15
+ PrintOnlyImageSource.prototype.componentDidMount = function () {
16
+ var _this = this;
17
+ window.addEventListener('beforeprint', function () {
18
+ _this.setState({ isPrinting: true });
19
+ });
20
+ window.addEventListener('afterprint', function () {
21
+ _this.setState({ isPrinting: false });
22
+ });
23
+ };
24
+ PrintOnlyImageSource.prototype.render = function () {
25
+ return this.state.isPrinting ? react_1.default.createElement("source", tslib_1.__assign({}, this.props)) : null;
26
+ };
27
+ return PrintOnlyImageSource;
28
+ }(react_1.default.Component));
29
+ exports.PrintOnlyImageSource = PrintOnlyImageSource;
30
+ //# sourceMappingURL=printOnlySource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printOnlySource.js","sourceRoot":"","sources":["../../../../src/components/item/printOnlySource.tsx"],"names":[],"mappings":";;;;AAAA,wDAA0B;AAI1B;IAA0C,gDAGzC;IACC,8BAAY,KAA2B;QAAvC,YACE,kBAAM,KAAK,CAAC,SAIb;QAHC,KAAI,CAAC,KAAK,GAAG;YACX,UAAU,EAAE,KAAK;SAClB,CAAC;;IACJ,CAAC;IAED,gDAAiB,GAAjB;QAAA,iBAOC;QANC,MAAM,CAAC,gBAAgB,CAAC,aAAa,EAAE;YACrC,KAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE;YACpC,KAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,qCAAM,GAAN;QACE,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,6DAAY,IAAI,CAAC,KAAK,EAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnE,CAAC;IACH,2BAAC;AAAD,CAAC,AAvBD,CAA0C,eAAK,CAAC,SAAS,GAuBxD;AAvBY,oDAAoB"}
package/dist/cjs/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.defaultOptions = exports.addPresetOptions = exports.GALLERY_CONSTS = exports.ItemView = exports.cssScrollHelper = exports.ProGalleryRenderer = exports.ProGallery = void 0;
6
+ exports.defaultOptions = exports.addPresetOptions = exports.GALLERY_CONSTS = exports.PrintOnlyImageSource = exports.ItemView = exports.cssScrollHelper = exports.ProGalleryRenderer = exports.ProGallery = void 0;
7
7
  var index_1 = require("./components/gallery/index");
8
8
  Object.defineProperty(exports, "ProGallery", { enumerable: true, get: function () { return __importDefault(index_1).default; } });
9
9
  var rendererIndex_1 = require("./components/gallery/rendererIndex");
@@ -12,6 +12,8 @@ var cssScrollHelper_1 = require("./components/helpers/cssScrollHelper");
12
12
  Object.defineProperty(exports, "cssScrollHelper", { enumerable: true, get: function () { return cssScrollHelper_1.cssScrollHelper; } });
13
13
  var itemView_1 = require("./components/item/itemView");
14
14
  Object.defineProperty(exports, "ItemView", { enumerable: true, get: function () { return __importDefault(itemView_1).default; } });
15
+ var printOnlySource_1 = require("./components/item/printOnlySource");
16
+ Object.defineProperty(exports, "PrintOnlyImageSource", { enumerable: true, get: function () { return printOnlySource_1.PrintOnlyImageSource; } });
15
17
  var pro_gallery_lib_1 = require("pro-gallery-lib");
16
18
  Object.defineProperty(exports, "GALLERY_CONSTS", { enumerable: true, get: function () { return pro_gallery_lib_1.GALLERY_CONSTS; } });
17
19
  var pro_gallery_lib_2 = require("pro-gallery-lib");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAmE;AAA1D,oHAAA,OAAO,OAAc;AAC9B,oEAAmF;AAA1E,oIAAA,OAAO,OAAsB;AACtC,wEAAuE;AAA9D,kHAAA,eAAe,OAAA;AACxB,uDAAiE;AAAxD,qHAAA,OAAO,OAAY;AAW5B,mDAAiD;AAAxC,iHAAA,cAAc,OAAA;AACvB,mDAAmD;AAA1C,mHAAA,gBAAgB,OAAA;AACzB,mDAAiD;AAAxC,iHAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAmE;AAA1D,oHAAA,OAAO,OAAc;AAC9B,oEAAmF;AAA1E,oIAAA,OAAO,OAAsB;AACtC,wEAAuE;AAA9D,kHAAA,eAAe,OAAA;AACxB,uDAAiE;AAAxD,qHAAA,OAAO,OAAY;AAC5B,qEAAyE;AAAhE,uHAAA,oBAAoB,OAAA;AAW7B,mDAAiD;AAAxC,iHAAA,cAAc,OAAA;AACvB,mDAAmD;AAA1C,mHAAA,gBAAgB,OAAA;AACzB,mDAAiD;AAAxC,iHAAA,cAAc,OAAA"}
@@ -1,5 +1,6 @@
1
1
  import { __assign } from "tslib";
2
2
  import React from 'react';
3
+ import { PrintOnlyImageSource } from './printOnlySource';
3
4
  var ImageRenderer = function (props) {
4
5
  if (typeof ImageRenderer.customImageRenderer === 'function') {
5
6
  return ImageRenderer.customImageRenderer(props);
@@ -9,7 +10,9 @@ var ImageRenderer = function (props) {
9
10
  }
10
11
  else if (typeof props.src === 'object') {
11
12
  return (React.createElement("picture", { id: "multi_picture_" + props.id, key: "multi_picture_" + props.id },
12
- props.src.map(function (src) { return (React.createElement("source", { srcSet: src.dpr || src.url, type: "image/" + src.type })); }),
13
+ props.src.map(function (src) {
14
+ return src.forPrinting ? (React.createElement(PrintOnlyImageSource, { srcSet: src.dpr, type: "image/" + src.type })) : (React.createElement("source", { srcSet: src.dpr || src.url, type: "image/" + src.type }));
15
+ }),
13
16
  React.createElement("img", __assign({ alt: props.alt }, props, { src: props.src[props.src.length - 1].url }))));
14
17
  }
15
18
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"imageRenderer.js","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAM,aAAa,GAAG,UAAC,KAAK;IAC1B,IAAI,OAAO,aAAa,CAAC,mBAAmB,KAAK,UAAU,EAAE;QAC3D,OAAO,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KACjD;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,sCAAK,GAAG,EAAE,KAAK,CAAC,GAAG,IAAM,KAAK,EAAI,CAAC;KAC3C;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,CACL,iCACE,EAAE,EAAE,mBAAiB,KAAK,CAAC,EAAI,EAC/B,GAAG,EAAE,mBAAiB,KAAK,CAAC,EAAI;YAE/B,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAC,GAAG,IAAK,OAAA,CACtB,gCAAQ,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CAClE,EAFuB,CAEvB,CAAC;YACF,sCACE,GAAG,EAAE,KAAK,CAAC,GAAG,IACV,KAAK,IACT,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,IACxC,CACM,CACX,CAAC;KACH;SAAM;QACL,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"imageRenderer.js","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,IAAM,aAAa,GAAG,UAAC,KAAK;IAC1B,IAAI,OAAO,aAAa,CAAC,mBAAmB,KAAK,UAAU,EAAE;QAC3D,OAAO,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KACjD;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,sCAAK,GAAG,EAAE,KAAK,CAAC,GAAG,IAAM,KAAK,EAAI,CAAC;KAC3C;SAAM,IAAI,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;QACxC,OAAO,CACL,iCACE,EAAE,EAAE,mBAAiB,KAAK,CAAC,EAAI,EAC/B,GAAG,EAAE,mBAAiB,KAAK,CAAC,EAAI;YAE/B,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAC,GAAG;gBACjB,OAAA,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAChB,oBAAC,oBAAoB,IAAC,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CACrE,CAAC,CAAC,CAAC,CACF,gCAAQ,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,WAAS,GAAG,CAAC,IAAM,GAAI,CAClE;YAJD,CAIC,CACF;YACD,sCACE,GAAG,EAAE,KAAK,CAAC,GAAG,IACV,KAAK,IACT,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,IACxC,CACM,CACX,CAAC;KACH;SAAM;QACL,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { __assign, __extends } from "tslib";
2
+ import React from 'react';
3
+ var PrintOnlyImageSource = /** @class */ (function (_super) {
4
+ __extends(PrintOnlyImageSource, _super);
5
+ function PrintOnlyImageSource(props) {
6
+ var _this = _super.call(this, props) || this;
7
+ _this.state = {
8
+ isPrinting: false,
9
+ };
10
+ return _this;
11
+ }
12
+ PrintOnlyImageSource.prototype.componentDidMount = function () {
13
+ var _this = this;
14
+ window.addEventListener('beforeprint', function () {
15
+ _this.setState({ isPrinting: true });
16
+ });
17
+ window.addEventListener('afterprint', function () {
18
+ _this.setState({ isPrinting: false });
19
+ });
20
+ };
21
+ PrintOnlyImageSource.prototype.render = function () {
22
+ return this.state.isPrinting ? React.createElement("source", __assign({}, this.props)) : null;
23
+ };
24
+ return PrintOnlyImageSource;
25
+ }(React.Component));
26
+ export { PrintOnlyImageSource };
27
+ //# sourceMappingURL=printOnlySource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printOnlySource.js","sourceRoot":"","sources":["../../../../src/components/item/printOnlySource.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;IAA0C,wCAGzC;IACC,8BAAY,KAA2B;QAAvC,YACE,kBAAM,KAAK,CAAC,SAIb;QAHC,KAAI,CAAC,KAAK,GAAG;YACX,UAAU,EAAE,KAAK;SAClB,CAAC;;IACJ,CAAC;IAED,gDAAiB,GAAjB;QAAA,iBAOC;QANC,MAAM,CAAC,gBAAgB,CAAC,aAAa,EAAE;YACrC,KAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE;YACpC,KAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,qCAAM,GAAN;QACE,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,2CAAY,IAAI,CAAC,KAAK,EAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnE,CAAC;IACH,2BAAC;AAAD,CAAC,AAvBD,CAA0C,KAAK,CAAC,SAAS,GAuBxD"}
package/dist/esm/index.js CHANGED
@@ -2,6 +2,7 @@ export { default as ProGallery } from './components/gallery/index';
2
2
  export { default as ProGalleryRenderer } from './components/gallery/rendererIndex';
3
3
  export { cssScrollHelper } from './components/helpers/cssScrollHelper';
4
4
  export { default as ItemView } from './components/item/itemView';
5
+ export { PrintOnlyImageSource } from './components/item/printOnlySource';
5
6
  export { GALLERY_CONSTS } from 'pro-gallery-lib';
6
7
  export { addPresetOptions } from 'pro-gallery-lib';
7
8
  export { defaultOptions } from 'pro-gallery-lib';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAWjE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAWzE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
@@ -95,7 +95,7 @@ export class GalleryContainer extends React.Component<any, any, any> {
95
95
  clientHeight: number;
96
96
  }[] | null;
97
97
  };
98
- containerInfiniteGrowthDirection(options?: boolean): "horizontal" | "vertical" | "none";
98
+ containerInfiniteGrowthDirection(options?: boolean): "none" | "horizontal" | "vertical";
99
99
  createDynamicStyles({ overlayBackground }: {
100
100
  overlayBackground: any;
101
101
  }, isPrerenderMode: any): void;
@@ -1 +1 @@
1
- {"version":3,"file":"imageRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAEA,gDAwBC"}
1
+ {"version":3,"file":"imageRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAGA,gDA4BC"}
@@ -245,7 +245,7 @@ declare class ItemView extends React.Component<any, any, any> {
245
245
  simulateOverlayHover(): any;
246
246
  itemHasLink(): boolean;
247
247
  onContextMenu(e: any): void;
248
- getItemAriaRole(): "" | "button" | "link";
248
+ getItemAriaRole(): "button" | "link" | "";
249
249
  composeItem(): JSX.Element;
250
250
  hasRequiredMediaUrl: any;
251
251
  itemContainer: HTMLDivElement | null | undefined;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type PrintOnlySourceProps = React.SourceHTMLAttributes<HTMLSourceElement>;
3
+ export declare class PrintOnlyImageSource extends React.Component<PrintOnlySourceProps, {
4
+ isPrinting: boolean;
5
+ }> {
6
+ constructor(props: PrintOnlySourceProps);
7
+ componentDidMount(): void;
8
+ render(): React.ReactNode;
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=printOnlySource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printOnlySource.d.ts","sourceRoot":"","sources":["../../../../src/components/item/printOnlySource.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,aAAK,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1E,qBAAa,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CACvD,oBAAoB,EACpB;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,CACxB;gBACa,KAAK,EAAE,oBAAoB;IAOvC,iBAAiB,IAAI,IAAI;IASzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAG1B"}
@@ -2,6 +2,7 @@ export { default as ProGallery } from './components/gallery/index';
2
2
  export { default as ProGalleryRenderer } from './components/gallery/rendererIndex';
3
3
  export { cssScrollHelper } from './components/helpers/cssScrollHelper';
4
4
  export { default as ItemView } from './components/item/itemView';
5
+ export { PrintOnlyImageSource } from './components/item/printOnlySource';
5
6
  export { Item, PhotoItem, VideoItem, TextItem } from 'pro-gallery-lib';
6
7
  export { Container } from 'pro-gallery-lib';
7
8
  export { RendererContainer } from 'pro-gallery-lib';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
@@ -701,8 +701,13 @@
701
701
  "signature": "fa8d85cf9765719483d1a13054b9cfcfaaf687d259cae18efd8700d54563fbb9",
702
702
  "affectsGlobalScope": false
703
703
  },
704
+ "../src/components/item/printOnlySource.tsx": {
705
+ "version": "635af347f85db9ffdae442b704c8d4db919f0a10045df1a4700e29723cec1fc1",
706
+ "signature": "e30901d62f4f95279afd82ad8976d2899d1c21f8b7b7d76302c1d4e5046d2cc6",
707
+ "affectsGlobalScope": false
708
+ },
704
709
  "../src/components/item/imageRenderer.js": {
705
- "version": "750b815d07f298b5e72b8bc28922ef82cc9f0d0456dbcb857d9c824300211302",
710
+ "version": "f23b1c238f76c4bc83a40dc6534ac42b1e585b72e4d76d029afda24bdd4d9961",
706
711
  "signature": "fc276123ce73a399de415d31e7360dc13b78b22722c346535f70c0b85113bbf6",
707
712
  "affectsGlobalScope": false
708
713
  },
@@ -843,7 +848,7 @@
843
848
  },
844
849
  "../src/components/item/itemView.js": {
845
850
  "version": "a2108687b9a2c2f38d5e11e9d806b70f7b81f3279ef2b6ddc21ebb172e8f200c",
846
- "signature": "488bbe56adb85926016ce6dd7ce793de8b92d3c6c760b4817c004c8ce7de23cb",
851
+ "signature": "1075b2fea173c8ea2142f7d9e8626b6fef5b48487548ea73b121aacfec88710b",
847
852
  "affectsGlobalScope": false
848
853
  },
849
854
  "../src/components/gallery/proGallery/galleryView.js": {
@@ -943,7 +948,7 @@
943
948
  },
944
949
  "../src/components/gallery/proGallery/galleryContainer.js": {
945
950
  "version": "ece3f3c00a15606f9ef177e59b6b6c60e3fe32e5b0bf5e4e3a1adc226f29a8d3",
946
- "signature": "62c44665f13afd93b853fbc6cfe3a24a5244c77013cd53f56f928ce9ee2fc6b8",
951
+ "signature": "35035f7dd49a8450e7ae358655fd1563f921d04b1d32e5474922757d1e7a2ead",
947
952
  "affectsGlobalScope": false
948
953
  },
949
954
  "../src/versionLogger.js": {
@@ -982,8 +987,8 @@
982
987
  "affectsGlobalScope": false
983
988
  },
984
989
  "../src/index.ts": {
985
- "version": "e5d4c8dcf08cbdd4ac2e01f578bfb23db82dc14fd696eabc220670cbc3337833",
986
- "signature": "48251a4f0f6d986bb9d9a2082f5ae169a4b08a8ec73569ca4bec274d6438a87c",
990
+ "version": "aeeb97dafb64693d31324e851231ea3de39eb6378000d6e27f3d0600bc339fc9",
991
+ "signature": "82b85565a6d85db61a4bdb3c6a5805373dcb9993b5903f8b1aa71168a77e7797",
987
992
  "affectsGlobalScope": false
988
993
  },
989
994
  "../src/components/gallery/proGallery/propTypes.js": {
@@ -2721,7 +2726,8 @@
2721
2726
  "../src/components/item/imageRenderer.js": [
2722
2727
  "../../../node_modules/@types/node/util.d.ts",
2723
2728
  "../../../node_modules/@types/react/index.d.ts",
2724
- "../../../node_modules/tslib/tslib.d.ts"
2729
+ "../../../node_modules/tslib/tslib.d.ts",
2730
+ "../src/components/item/printOnlySource.tsx"
2725
2731
  ],
2726
2732
  "../src/components/item/imageWithMagnified.js": [
2727
2733
  "../../../node_modules/@types/node/util.d.ts",
@@ -2759,6 +2765,11 @@
2759
2765
  "../../../node_modules/tslib/tslib.d.ts",
2760
2766
  "../../lib/dist/esm-types/index.d.ts"
2761
2767
  ],
2768
+ "../src/components/item/printOnlySource.tsx": [
2769
+ "../../../node_modules/@types/node/util.d.ts",
2770
+ "../../../node_modules/@types/react/index.d.ts",
2771
+ "../../../node_modules/tslib/tslib.d.ts"
2772
+ ],
2762
2773
  "../src/components/item/pure.js": [
2763
2774
  "../../../node_modules/@types/node/util.d.ts",
2764
2775
  "../../../node_modules/tslib/tslib.d.ts",
@@ -2872,7 +2883,8 @@
2872
2883
  "../src/components/gallery/index.tsx",
2873
2884
  "../src/components/gallery/rendererIndex.tsx",
2874
2885
  "../src/components/helpers/cssScrollHelper.js",
2875
- "../src/components/item/itemView.js"
2886
+ "../src/components/item/itemView.js",
2887
+ "../src/components/item/printOnlySource.tsx"
2876
2888
  ],
2877
2889
  "../src/versionLogger.js": [
2878
2890
  "../../../node_modules/@types/node/util.d.ts"
@@ -4145,6 +4157,9 @@
4145
4157
  "../src/components/item/imageWithMagnified.js": [
4146
4158
  "../../../node_modules/@types/react/index.d.ts"
4147
4159
  ],
4160
+ "../src/components/item/printOnlySource.tsx": [
4161
+ "../../../node_modules/@types/react/index.d.ts"
4162
+ ],
4148
4163
  "../src/components/item/videos/videoItemWrapper.js": [
4149
4164
  "../src/components/item/videos/videoItem.js"
4150
4165
  ],
@@ -4153,7 +4168,8 @@
4153
4168
  "../src/components/gallery/index.tsx",
4154
4169
  "../src/components/gallery/rendererIndex.tsx",
4155
4170
  "../src/components/helpers/cssScrollHelper.js",
4156
- "../src/components/item/itemView.js"
4171
+ "../src/components/item/itemView.js",
4172
+ "../src/components/item/printOnlySource.tsx"
4157
4173
  ],
4158
4174
  "../../lib/dist/esm-types/common/constants/arrowsContainerStyleType.d.ts": [
4159
4175
  "../../../node_modules/@types/node/util.d.ts"
@@ -4739,6 +4755,7 @@
4739
4755
  "../src/components/item/itemHover.js",
4740
4756
  "../src/components/item/itemView.js",
4741
4757
  "../src/components/item/itemViewStyleProvider.js",
4758
+ "../src/components/item/printOnlySource.tsx",
4742
4759
  "../src/components/item/pure.js",
4743
4760
  "../src/components/item/textItem.js",
4744
4761
  "../src/components/item/videos/getStyle.js",
@@ -701,8 +701,13 @@
701
701
  "signature": "fa8d85cf9765719483d1a13054b9cfcfaaf687d259cae18efd8700d54563fbb9",
702
702
  "affectsGlobalScope": false
703
703
  },
704
+ "../src/components/item/printOnlySource.tsx": {
705
+ "version": "635af347f85db9ffdae442b704c8d4db919f0a10045df1a4700e29723cec1fc1",
706
+ "signature": "e30901d62f4f95279afd82ad8976d2899d1c21f8b7b7d76302c1d4e5046d2cc6",
707
+ "affectsGlobalScope": false
708
+ },
704
709
  "../src/components/item/imageRenderer.js": {
705
- "version": "750b815d07f298b5e72b8bc28922ef82cc9f0d0456dbcb857d9c824300211302",
710
+ "version": "f23b1c238f76c4bc83a40dc6534ac42b1e585b72e4d76d029afda24bdd4d9961",
706
711
  "signature": "fc276123ce73a399de415d31e7360dc13b78b22722c346535f70c0b85113bbf6",
707
712
  "affectsGlobalScope": false
708
713
  },
@@ -843,7 +848,7 @@
843
848
  },
844
849
  "../src/components/item/itemView.js": {
845
850
  "version": "a2108687b9a2c2f38d5e11e9d806b70f7b81f3279ef2b6ddc21ebb172e8f200c",
846
- "signature": "488bbe56adb85926016ce6dd7ce793de8b92d3c6c760b4817c004c8ce7de23cb",
851
+ "signature": "1075b2fea173c8ea2142f7d9e8626b6fef5b48487548ea73b121aacfec88710b",
847
852
  "affectsGlobalScope": false
848
853
  },
849
854
  "../src/components/gallery/proGallery/galleryView.js": {
@@ -943,7 +948,7 @@
943
948
  },
944
949
  "../src/components/gallery/proGallery/galleryContainer.js": {
945
950
  "version": "ece3f3c00a15606f9ef177e59b6b6c60e3fe32e5b0bf5e4e3a1adc226f29a8d3",
946
- "signature": "62c44665f13afd93b853fbc6cfe3a24a5244c77013cd53f56f928ce9ee2fc6b8",
951
+ "signature": "35035f7dd49a8450e7ae358655fd1563f921d04b1d32e5474922757d1e7a2ead",
947
952
  "affectsGlobalScope": false
948
953
  },
949
954
  "../src/versionLogger.js": {
@@ -982,8 +987,8 @@
982
987
  "affectsGlobalScope": false
983
988
  },
984
989
  "../src/index.ts": {
985
- "version": "e5d4c8dcf08cbdd4ac2e01f578bfb23db82dc14fd696eabc220670cbc3337833",
986
- "signature": "48251a4f0f6d986bb9d9a2082f5ae169a4b08a8ec73569ca4bec274d6438a87c",
990
+ "version": "aeeb97dafb64693d31324e851231ea3de39eb6378000d6e27f3d0600bc339fc9",
991
+ "signature": "82b85565a6d85db61a4bdb3c6a5805373dcb9993b5903f8b1aa71168a77e7797",
987
992
  "affectsGlobalScope": false
988
993
  },
989
994
  "../src/components/gallery/proGallery/propTypes.js": {
@@ -2720,7 +2725,8 @@
2720
2725
  "../src/components/item/imageRenderer.js": [
2721
2726
  "../../../node_modules/@types/node/util.d.ts",
2722
2727
  "../../../node_modules/@types/react/index.d.ts",
2723
- "../../../node_modules/tslib/tslib.d.ts"
2728
+ "../../../node_modules/tslib/tslib.d.ts",
2729
+ "../src/components/item/printOnlySource.tsx"
2724
2730
  ],
2725
2731
  "../src/components/item/imageWithMagnified.js": [
2726
2732
  "../../../node_modules/@types/node/util.d.ts",
@@ -2758,6 +2764,11 @@
2758
2764
  "../../../node_modules/tslib/tslib.d.ts",
2759
2765
  "../../lib/dist/esm-types/index.d.ts"
2760
2766
  ],
2767
+ "../src/components/item/printOnlySource.tsx": [
2768
+ "../../../node_modules/@types/node/util.d.ts",
2769
+ "../../../node_modules/@types/react/index.d.ts",
2770
+ "../../../node_modules/tslib/tslib.d.ts"
2771
+ ],
2761
2772
  "../src/components/item/pure.js": [
2762
2773
  "../../../node_modules/@types/node/util.d.ts",
2763
2774
  "../../../node_modules/tslib/tslib.d.ts",
@@ -2871,7 +2882,8 @@
2871
2882
  "../src/components/gallery/index.tsx",
2872
2883
  "../src/components/gallery/rendererIndex.tsx",
2873
2884
  "../src/components/helpers/cssScrollHelper.js",
2874
- "../src/components/item/itemView.js"
2885
+ "../src/components/item/itemView.js",
2886
+ "../src/components/item/printOnlySource.tsx"
2875
2887
  ],
2876
2888
  "../src/versionLogger.js": [
2877
2889
  "../../../node_modules/@types/node/util.d.ts"
@@ -4144,6 +4156,9 @@
4144
4156
  "../src/components/item/imageWithMagnified.js": [
4145
4157
  "../../../node_modules/@types/react/index.d.ts"
4146
4158
  ],
4159
+ "../src/components/item/printOnlySource.tsx": [
4160
+ "../../../node_modules/@types/react/index.d.ts"
4161
+ ],
4147
4162
  "../src/components/item/videos/videoItemWrapper.js": [
4148
4163
  "../src/components/item/videos/videoItem.js"
4149
4164
  ],
@@ -4152,7 +4167,8 @@
4152
4167
  "../src/components/gallery/index.tsx",
4153
4168
  "../src/components/gallery/rendererIndex.tsx",
4154
4169
  "../src/components/helpers/cssScrollHelper.js",
4155
- "../src/components/item/itemView.js"
4170
+ "../src/components/item/itemView.js",
4171
+ "../src/components/item/printOnlySource.tsx"
4156
4172
  ],
4157
4173
  "../../lib/dist/esm-types/common/constants/arrowsContainerStyleType.d.ts": [
4158
4174
  "../../../node_modules/@types/node/util.d.ts"
@@ -4738,6 +4754,7 @@
4738
4754
  "../src/components/item/itemHover.js",
4739
4755
  "../src/components/item/itemView.js",
4740
4756
  "../src/components/item/itemViewStyleProvider.js",
4757
+ "../src/components/item/printOnlySource.tsx",
4741
4758
  "../src/components/item/pure.js",
4742
4759
  "../src/components/item/textItem.js",
4743
4760
  "../src/components/item/videos/getStyle.js",
@@ -95,7 +95,7 @@ export class GalleryContainer extends React.Component<any, any, any> {
95
95
  clientHeight: number;
96
96
  }[] | null;
97
97
  };
98
- containerInfiniteGrowthDirection(options?: boolean): "horizontal" | "vertical" | "none";
98
+ containerInfiniteGrowthDirection(options?: boolean): "none" | "horizontal" | "vertical";
99
99
  createDynamicStyles({ overlayBackground }: {
100
100
  overlayBackground: any;
101
101
  }, isPrerenderMode: any): void;
@@ -1 +1 @@
1
- {"version":3,"file":"imageRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAEA,gDAwBC"}
1
+ {"version":3,"file":"imageRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/item/imageRenderer.js"],"names":[],"mappings":";AAGA,gDA4BC"}
@@ -245,7 +245,7 @@ declare class ItemView extends React.Component<any, any, any> {
245
245
  simulateOverlayHover(): any;
246
246
  itemHasLink(): boolean;
247
247
  onContextMenu(e: any): void;
248
- getItemAriaRole(): "" | "button" | "link";
248
+ getItemAriaRole(): "button" | "link" | "";
249
249
  composeItem(): JSX.Element;
250
250
  hasRequiredMediaUrl: any;
251
251
  itemContainer: HTMLDivElement | null | undefined;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ declare type PrintOnlySourceProps = React.SourceHTMLAttributes<HTMLSourceElement>;
3
+ export declare class PrintOnlyImageSource extends React.Component<PrintOnlySourceProps, {
4
+ isPrinting: boolean;
5
+ }> {
6
+ constructor(props: PrintOnlySourceProps);
7
+ componentDidMount(): void;
8
+ render(): React.ReactNode;
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=printOnlySource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printOnlySource.d.ts","sourceRoot":"","sources":["../../../../src/components/item/printOnlySource.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,aAAK,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1E,qBAAa,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CACvD,oBAAoB,EACpB;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,CACxB;gBACa,KAAK,EAAE,oBAAoB;IAOvC,iBAAiB,IAAI,IAAI;IASzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAG1B"}
@@ -2,6 +2,7 @@ export { default as ProGallery } from './components/gallery/index';
2
2
  export { default as ProGalleryRenderer } from './components/gallery/rendererIndex';
3
3
  export { cssScrollHelper } from './components/helpers/cssScrollHelper';
4
4
  export { default as ItemView } from './components/item/itemView';
5
+ export { PrintOnlyImageSource } from './components/item/printOnlySource';
5
6
  export { Item, PhotoItem, VideoItem, TextItem } from 'pro-gallery-lib';
6
7
  export { Container } from 'pro-gallery-lib';
7
8
  export { RendererContainer } from 'pro-gallery-lib';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "pro-gallery",
4
- "version": "4.0.15-beta.185",
4
+ "version": "4.0.15-beta.186",
5
5
  "sideEffects": [
6
6
  "./src/components/styles/gallery.scss"
7
7
  ],
@@ -39,9 +39,9 @@
39
39
  "dependencies": {
40
40
  "@vimeo/player": "2.8.2",
41
41
  "hls.js": "^0.14.12",
42
- "pro-gallery-blueprints": "4.0.15-beta.185",
43
- "pro-gallery-lib": "4.0.15-beta.185",
44
- "pro-layouts": "4.0.15-beta.185",
42
+ "pro-gallery-blueprints": "4.0.15-beta.186",
43
+ "pro-gallery-lib": "4.0.15-beta.186",
44
+ "pro-layouts": "4.0.15-beta.186",
45
45
  "react-player": "^2.6.2"
46
46
  },
47
47
  "peerDependencies": {
@@ -98,5 +98,5 @@
98
98
  "<rootDir>/tests/environment-setup.js"
99
99
  ]
100
100
  },
101
- "gitHead": "05c9eeeb9c297a6cf80be79af98654a0fc5f9571"
101
+ "gitHead": "2c60c0d943a011748e97fb9f3f290f7d0e7a23d3"
102
102
  }