qumra-cli 2.4.3 → 2.4.5

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 (2) hide show
  1. package/dist/cli.js +57 -55
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -278807,65 +278807,59 @@ const ansiRegex$1 = ansiRegex$2;
278807
278807
 
278808
278808
  var stripAnsi$3 = string => typeof string === 'string' ? string.replace(ansiRegex$1(), '') : string;
278809
278809
 
278810
- var isFullwidthCodePoint$1 = {exports: {}};
278810
+ var isFullwidthCodePoint$2 = {exports: {}};
278811
278811
 
278812
278812
  /* eslint-disable yoda */
278813
278813
 
278814
- var hasRequiredIsFullwidthCodePoint;
278815
-
278816
- function requireIsFullwidthCodePoint () {
278817
- if (hasRequiredIsFullwidthCodePoint) return isFullwidthCodePoint$1.exports;
278818
- hasRequiredIsFullwidthCodePoint = 1;
278814
+ const isFullwidthCodePoint$1 = codePoint => {
278815
+ if (Number.isNaN(codePoint)) {
278816
+ return false;
278817
+ }
278819
278818
 
278820
- const isFullwidthCodePoint = codePoint => {
278821
- if (Number.isNaN(codePoint)) {
278822
- return false;
278823
- }
278819
+ // Code points are derived from:
278820
+ // http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
278821
+ if (
278822
+ codePoint >= 0x1100 && (
278823
+ codePoint <= 0x115F || // Hangul Jamo
278824
+ codePoint === 0x2329 || // LEFT-POINTING ANGLE BRACKET
278825
+ codePoint === 0x232A || // RIGHT-POINTING ANGLE BRACKET
278826
+ // CJK Radicals Supplement .. Enclosed CJK Letters and Months
278827
+ (0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) ||
278828
+ // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
278829
+ (0x3250 <= codePoint && codePoint <= 0x4DBF) ||
278830
+ // CJK Unified Ideographs .. Yi Radicals
278831
+ (0x4E00 <= codePoint && codePoint <= 0xA4C6) ||
278832
+ // Hangul Jamo Extended-A
278833
+ (0xA960 <= codePoint && codePoint <= 0xA97C) ||
278834
+ // Hangul Syllables
278835
+ (0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
278836
+ // CJK Compatibility Ideographs
278837
+ (0xF900 <= codePoint && codePoint <= 0xFAFF) ||
278838
+ // Vertical Forms
278839
+ (0xFE10 <= codePoint && codePoint <= 0xFE19) ||
278840
+ // CJK Compatibility Forms .. Small Form Variants
278841
+ (0xFE30 <= codePoint && codePoint <= 0xFE6B) ||
278842
+ // Halfwidth and Fullwidth Forms
278843
+ (0xFF01 <= codePoint && codePoint <= 0xFF60) ||
278844
+ (0xFFE0 <= codePoint && codePoint <= 0xFFE6) ||
278845
+ // Kana Supplement
278846
+ (0x1B000 <= codePoint && codePoint <= 0x1B001) ||
278847
+ // Enclosed Ideographic Supplement
278848
+ (0x1F200 <= codePoint && codePoint <= 0x1F251) ||
278849
+ // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
278850
+ (0x20000 <= codePoint && codePoint <= 0x3FFFD)
278851
+ )
278852
+ ) {
278853
+ return true;
278854
+ }
278824
278855
 
278825
- // Code points are derived from:
278826
- // http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
278827
- if (
278828
- codePoint >= 0x1100 && (
278829
- codePoint <= 0x115F || // Hangul Jamo
278830
- codePoint === 0x2329 || // LEFT-POINTING ANGLE BRACKET
278831
- codePoint === 0x232A || // RIGHT-POINTING ANGLE BRACKET
278832
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
278833
- (0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) ||
278834
- // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
278835
- (0x3250 <= codePoint && codePoint <= 0x4DBF) ||
278836
- // CJK Unified Ideographs .. Yi Radicals
278837
- (0x4E00 <= codePoint && codePoint <= 0xA4C6) ||
278838
- // Hangul Jamo Extended-A
278839
- (0xA960 <= codePoint && codePoint <= 0xA97C) ||
278840
- // Hangul Syllables
278841
- (0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
278842
- // CJK Compatibility Ideographs
278843
- (0xF900 <= codePoint && codePoint <= 0xFAFF) ||
278844
- // Vertical Forms
278845
- (0xFE10 <= codePoint && codePoint <= 0xFE19) ||
278846
- // CJK Compatibility Forms .. Small Form Variants
278847
- (0xFE30 <= codePoint && codePoint <= 0xFE6B) ||
278848
- // Halfwidth and Fullwidth Forms
278849
- (0xFF01 <= codePoint && codePoint <= 0xFF60) ||
278850
- (0xFFE0 <= codePoint && codePoint <= 0xFFE6) ||
278851
- // Kana Supplement
278852
- (0x1B000 <= codePoint && codePoint <= 0x1B001) ||
278853
- // Enclosed Ideographic Supplement
278854
- (0x1F200 <= codePoint && codePoint <= 0x1F251) ||
278855
- // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
278856
- (0x20000 <= codePoint && codePoint <= 0x3FFFD)
278857
- )
278858
- ) {
278859
- return true;
278860
- }
278856
+ return false;
278857
+ };
278861
278858
 
278862
- return false;
278863
- };
278859
+ isFullwidthCodePoint$2.exports = isFullwidthCodePoint$1;
278860
+ isFullwidthCodePoint$2.exports.default = isFullwidthCodePoint$1;
278864
278861
 
278865
- isFullwidthCodePoint$1.exports = isFullwidthCodePoint;
278866
- isFullwidthCodePoint$1.exports.default = isFullwidthCodePoint;
278867
- return isFullwidthCodePoint$1.exports;
278868
- }
278862
+ var isFullwidthCodePointExports = isFullwidthCodePoint$2.exports;
278869
278863
 
278870
278864
  var emojiRegex$2 = function () {
278871
278865
  // https://mths.be/emoji
@@ -278873,7 +278867,7 @@ var emojiRegex$2 = function () {
278873
278867
  };
278874
278868
 
278875
278869
  const stripAnsi$2 = stripAnsi$3;
278876
- const isFullwidthCodePoint = requireIsFullwidthCodePoint();
278870
+ const isFullwidthCodePoint = isFullwidthCodePointExports;
278877
278871
  const emojiRegex$1 = emojiRegex$2;
278878
278872
 
278879
278873
  const stringWidth$2 = string => {
@@ -279161,7 +279155,7 @@ function requireStringWidth () {
279161
279155
  if (hasRequiredStringWidth) return stringWidth.exports;
279162
279156
  hasRequiredStringWidth = 1;
279163
279157
  const stripAnsi = requireStripAnsi();
279164
- const isFullwidthCodePoint = requireIsFullwidthCodePoint();
279158
+ const isFullwidthCodePoint = isFullwidthCodePointExports;
279165
279159
  const emojiRegex = requireEmojiRegex();
279166
279160
 
279167
279161
  const stringWidth$1 = string => {
@@ -304366,8 +304360,13 @@ class SectionBuilder {
304366
304360
  }
304367
304361
  }
304368
304362
 
304363
+ var version$2 = "2.4.5";
304364
+ var pkg = {
304365
+ version: version$2};
304366
+
304367
+ // @ts-ignore - imported via rollup json plugin
304369
304368
  const APP_NAME = 'qumra';
304370
- const APP_VERSION = '2.1.1';
304369
+ const APP_VERSION = pkg.version;
304371
304370
  const CLI_VERSION = APP_VERSION;
304372
304371
  const API_ENDPOINT = 'https://api.qumra.cloud/graphql';
304373
304372
  const REALTIME_ENDPOINT = 'wss://realtime.qumra.cloud';
@@ -360111,6 +360110,9 @@ let ThemeWatcherService = class ThemeWatcherService {
360111
360110
  variables.input.layout = parsedPage.layout;
360112
360111
  variables.input.title = parsedPage.title;
360113
360112
  variables.input.widgets = (_a = parsedPage.widgets) !== null && _a !== void 0 ? _a : [];
360113
+ variables.input.allowAdd = parsedPage.allowAdd;
360114
+ variables.input.allowRemove = parsedPage.allowRemove;
360115
+ variables.input.allowReorder = parsedPage.allowReorder;
360114
360116
  }
360115
360117
  await this.graphql.request(mutation, variables);
360116
360118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qumra-cli",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "description": "Professional CLI tool for Qumra Cloud - Shopify competitor",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {