microboard-ui-temp 0.1.26 → 0.1.28

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/index.js +10 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -283690,8 +283690,6 @@ function getApiUrl(path4) {
283690
283690
  if (!path4) {
283691
283691
  path4 = "";
283692
283692
  }
283693
- console.log("front conf", frontConf);
283694
- console.log("front conf spread", { ...frontConf });
283695
283693
  if (frontConf.apiURL) {
283696
283694
  return `${frontConf.apiURL}${path4}`;
283697
283695
  }
@@ -334838,7 +334836,6 @@ function createConnection(getCurrentBoard, getAccount3, getStorage) {
334838
334836
  case "AiChat":
334839
334837
  case "Confirmation":
334840
334838
  case "BoardEvent":
334841
- case "BoardSnapshot":
334842
334839
  case "CreateSnapshotRequest":
334843
334840
  case "BoardSubscriptionCompleted":
334844
334841
  case "UserJoin":
@@ -355497,7 +355494,8 @@ function GetCard({ cardPosition, rounded = "none" }) {
355497
355494
  tooltipPosition: "top",
355498
355495
  onClick: handleClick,
355499
355496
  variant: "secondary",
355500
- rounded
355497
+ rounded,
355498
+ hotkey: getHotkeyLabel(`getCard-${cardPosition}`)
355501
355499
  }, /* @__PURE__ */ import_react282.default.createElement(Icon, {
355502
355500
  iconName: "GetCard"
355503
355501
  }));
@@ -355740,7 +355738,8 @@ function FlipDeck({ rounded = "none" }) {
355740
355738
  tooltipPosition: "top",
355741
355739
  onClick: handleClick,
355742
355740
  variant: "secondary",
355743
- rounded
355741
+ rounded,
355742
+ hotkey: getHotkeyLabel("flipDeck")
355744
355743
  }, /* @__PURE__ */ import_react287.default.createElement(Icon, {
355745
355744
  iconName: "RotateCard",
355746
355745
  width: 24,
@@ -423666,7 +423665,7 @@ var MouseOrTrackpadModal = () => {
423666
423665
  }
423667
423666
  })), /* @__PURE__ */ import_react403.default.createElement("div", {
423668
423667
  className: MouseOrTracpadModal_module_default.cardsGrid
423669
- }, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(Card5, {
423668
+ }, getCardsArray().map((card) => /* @__PURE__ */ import_react403.default.createElement(Card6, {
423670
423669
  key: card.iconName,
423671
423670
  iconName: card.iconName,
423672
423671
  text: card.text,
@@ -423675,7 +423674,7 @@ var MouseOrTrackpadModal = () => {
423675
423674
  onClick: setControlMode
423676
423675
  }, t11("common.save"))));
423677
423676
  };
423678
- var Card5 = ({ iconName, style: style3, text: text5 }) => {
423677
+ var Card6 = ({ iconName, style: style3, text: text5 }) => {
423679
423678
  return /* @__PURE__ */ import_react403.default.createElement("div", {
423680
423679
  className: MouseOrTracpadModal_module_default.card,
423681
423680
  style: style3
@@ -446593,8 +446592,7 @@ function createApp(isHistory = true) {
446593
446592
  return;
446594
446593
  }
446595
446594
  const currIndex = board2.getSnapshot().lastIndex;
446596
- const snapshot2 = undefined;
446597
- board2.events = createEvents(board2, connection, currIndex || snapshot2?.lastIndex || 0);
446595
+ board2.events = createEvents(board2, connection, currIndex || 0);
446598
446596
  board2.presence.addEvents(board2.events);
446599
446597
  board2.presence.setCurrentUser(localStorage.getItem(`currentUser`) || (() => {
446600
446598
  const uuid = v4_default3();
@@ -446602,7 +446600,6 @@ function createApp(isHistory = true) {
446602
446600
  return uuid;
446603
446601
  })());
446604
446602
  board2.selection.events = board2.events;
446605
- if (snapshot2 && currIndex === 0) {}
446606
446603
  board2.resolveConnecting();
446607
446604
  setTimeout(() => {
446608
446605
  board2.items.subject.publish(board2.items);
@@ -446763,6 +446760,7 @@ function createApp(isHistory = true) {
446763
446760
  disableLogger,
446764
446761
  getLocalEditFileHandler: () => fileHandle,
446765
446762
  setControlMode,
446763
+ settings: getSettings(),
446766
446764
  getSettings
446767
446765
  };
446768
446766
  account.setOnInit(async () => {
@@ -446867,8 +446865,10 @@ export {
446867
446865
  exports_media as mediaApi,
446868
446866
  initInter,
446869
446867
  frontConf,
446868
+ exports_folders as foldersApi,
446870
446869
  customCursors_default as customCursors,
446871
446870
  createApp,
446871
+ exports_boards2 as boardsApiV2,
446872
446872
  exports_boards as boardsApi,
446873
446873
  exports_billing as billingApi,
446874
446874
  exports_auth as authApi,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",