useblocks 1.1.72 → 1.1.84

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 (67) hide show
  1. package/CHANGELOG.md +461 -0
  2. package/README.md +55 -6
  3. package/iframe/css/sandbox-dark.css +1 -1
  4. package/iframe/css/sandbox-darktheme.css +3 -3
  5. package/iframe/css/sandbox-light.css +1 -1
  6. package/iframe/css/sandbox.css +2 -2
  7. package/iframe/js/amp.D1dkO3ub.js +1 -0
  8. package/iframe/js/iframe-eblock.js +1 -1
  9. package/iframe/js/iframe.js +1 -1
  10. package/iframe/js/rules.4N5s3OV-.js +1 -1
  11. package/package.json +30 -9
  12. package/static/core/{842c8d41.js → 16c7408a.js} +4 -4
  13. package/static/core/{dd94baa62.js → 278c19282.js} +1208 -1127
  14. package/static/core/27b7d154.js +1098 -0
  15. package/static/core/{585259872.js → 7877b5712.js} +41 -41
  16. package/static/core/{ffc83e02.js → 86acf537.js} +7 -7
  17. package/static/core/{e02024fb2.js → 95074b4e2.js} +58 -58
  18. package/static/core/{ce9be2ec2.js → 9a1229572.js} +2155 -2090
  19. package/static/core/{b7c107e3.js → ab3c035c.js} +15 -15
  20. package/static/core/{d082c64e2.js → b8fa83f82.js} +2490 -2229
  21. package/static/core/{bfab4558.js → bb8665a8.js} +3551 -3153
  22. package/static/core/{513594a8.js → c013e7cc.js} +72 -72
  23. package/static/core/{efbe495c.js → c871702e.js} +2403 -2548
  24. package/static/core/cf26b064.js +3280 -0
  25. package/static/core/{d645302e.js → d15a988b.js} +272 -248
  26. package/static/core/{24c3f399.js → d4962564.js} +3 -3
  27. package/static/core/dc948de7.js +2134 -0
  28. package/static/core/{5e082e16.js → e9b6fbb9.js} +48 -48
  29. package/static/core/{d19e8c6f.js → ec6e74e5.js} +22978 -19773
  30. package/static/umd-runtime/{n8zqoGYh.js → D80ABE1O.js} +7 -1
  31. package/static/umd-runtime/runtime.js +2 -2
  32. package/static/umd-runtime/ui-kit.js +1704 -1628
  33. package/ui-kit/index.js +1390 -1310
  34. package/{useblocks-core.8837a348.js → useblocks-core.2fa005e8.js} +6 -6
  35. package/useblocks-esm.js +4 -4
  36. package/{useblocks-po.8837a348.js → useblocks-po.2fa005e8.js} +1 -1
  37. package/useblocks.d.ts +55 -24
  38. package/useblocks.js +3 -3
  39. package/favicon-b.ico +0 -0
  40. package/favicon.ico +0 -0
  41. package/fonts/SegoeUI-Bold.woff2 +0 -0
  42. package/fonts/SegoeUI-Semibold.woff2 +0 -0
  43. package/fonts/SegoeUI.woff2 +0 -0
  44. package/iframe/js/amp.DllX-Im0.js +0 -1
  45. package/js/amplitude.min.js +0 -10859
  46. package/js/sourcebuster.min.js +0 -672
  47. package/manifest.json +0 -17
  48. package/npm-publish.manifest.json +0 -51
  49. package/static/core/241f0387.js +0 -3189
  50. package/static/core/45b5e246.js +0 -925
  51. package/static/core/9bcb736c.js +0 -2122
  52. package/static/media/image-editor/images/samples/large_sample.jpg +0 -0
  53. package/static/media/image-editor/images/samples/sample1.jpg +0 -0
  54. package/static/media/image-editor/images/samples/sample1_thumbnail.jpg +0 -0
  55. package/static/media/image-editor/images/samples/sample2.jpg +0 -0
  56. package/static/media/image-editor/images/samples/sample2_thumbnail.jpg +0 -0
  57. package/static/media/image-editor/images/samples/sample3.jpg +0 -0
  58. package/static/media/image-editor/images/samples/sample3_thumbnail.jpg +0 -0
  59. package/static/media/image-editor/images/samples/sample4.json +0 -871
  60. package/static/media/image-editor/images/samples/sample4_preview.jpg +0 -0
  61. package/test-font.otf +0 -0
  62. package/test-font.ttf +0 -0
  63. package/test-font.woff2 +0 -0
  64. package/tsconfig.json +0 -14
  65. package/two_step_headless_plugin.html +0 -558
  66. /package/iframe/{iframe-eblock.8837a348.html → iframe-eblock.2fa005e8.html} +0 -0
  67. /package/iframe/{iframe.8837a348.html → iframe.2fa005e8.html} +0 -0
@@ -1,13 +1,13 @@
1
- __useblocks__.define("static/core/b7c107e3.js", [
1
+ __useblocks__.define("static/core/ab3c035c.js", [
2
2
  "require",
3
3
  "exports",
4
4
  "module",
5
- "static/core/bfab4558.js",
6
- "static/core/45b5e246.js",
7
- "static/core/dd94baa62.js",
8
- "static/core/d082c64e2.js"
9
- ], function(_, I, N) {
10
- const h = _("./bfab4558.js"), P = _("./45b5e246.js"), S = _("./dd94baa62.js"), f = _("./d082c64e2.js");
5
+ "static/core/bb8665a8.js",
6
+ "static/core/27b7d154.js",
7
+ "static/core/278c19282.js",
8
+ "static/core/b8fa83f82.js"
9
+ ], function(_, I, z) {
10
+ const h = _("./bb8665a8.js"), P = _("./27b7d154.js"), S = _("./278c19282.js"), f = _("./b8fa83f82.js");
11
11
  var F;
12
12
  (function(d) {
13
13
  function e(a, i, n = (s, o) => s === o) {
@@ -133,10 +133,10 @@ __useblocks__.define("static/core/b7c107e3.js", [
133
133
  function O(d) {
134
134
  return typeof d?.watchThumbnail == "function";
135
135
  }
136
- var T = 200, B = class m {
136
+ var T = 200, N = class m {
137
137
  pathMode = !1;
138
138
  rootId = "";
139
- trashPath = f.Bi;
139
+ trashPath = f.Yi;
140
140
  useSoftDelete = !1;
141
141
  api;
142
142
  projectId;
@@ -148,13 +148,13 @@ __useblocks__.define("static/core/b7c107e3.js", [
148
148
  thumbWatchers = new Map();
149
149
  resolveSystemFolderByPath;
150
150
  constructor(e) {
151
- this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? S.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.Ui({ Trash: {
152
- id: f.Bi,
151
+ this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? S.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.Qi({ Trash: {
152
+ id: f.Yi,
153
153
  folderId: this.rootId
154
154
  } });
155
155
  }
156
156
  async getItems(e) {
157
- const t = e.folderId === f.Bi;
157
+ const t = e.folderId === f.Yi;
158
158
  if (e.itemType === "folder") return { items: await this.listFolders(e.folderId, t) };
159
159
  const r = e.itemType === "all" && (e.page ?? 1) <= 1, [a, i] = await Promise.all([r ? this.listFolders(e.folderId, t, e.search) : [], this.listFiles(e, t)]);
160
160
  return {
@@ -209,7 +209,7 @@ __useblocks__.define("static/core/b7c107e3.js", [
209
209
  throw s;
210
210
  }
211
211
  this.onIndexingStateChange?.(!!i.data.indexing);
212
- const n = t ? f.Bi : this.normalizeFolderId(e.folderId) ?? this.rootId;
212
+ const n = t ? f.Yi : this.normalizeFolderId(e.folderId) ?? this.rootId;
213
213
  return {
214
214
  items: (i.data.data ?? []).map((s) => this.mapFile(s, n)),
215
215
  pagination: this.mapPagination(i.data.page, r)
@@ -454,7 +454,7 @@ __useblocks__.define("static/core/b7c107e3.js", [
454
454
  success: !0,
455
455
  detailed: []
456
456
  };
457
- const r = e.filter((s) => s.folderId === f.Bi), a = e.filter((s) => s.folderId !== f.Bi), i = [];
457
+ const r = e.filter((s) => s.folderId === f.Yi), a = e.filter((s) => s.folderId !== f.Yi), i = [];
458
458
  if (r.length > 0) {
459
459
  const s = await this.api.trash.restoreCreate({
460
460
  project_id: this.projectId,
@@ -660,7 +660,7 @@ __useblocks__.define("static/core/b7c107e3.js", [
660
660
  }), Object.defineProperty(I, "FileManagerRestApiProviderV2", {
661
661
  enumerable: !0,
662
662
  get: function() {
663
- return B;
663
+ return N;
664
664
  }
665
665
  }), Object.defineProperty(I, "arrays", {
666
666
  enumerable: !0,