@arcanewizards/timecode-toolbox 0.2.0 → 0.2.1

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.
package/dist/frontend.js CHANGED
@@ -47097,6 +47097,7 @@ Data Directory: ${system.dataDirectory}`
47097
47097
  maximumFractionDigits: 0
47098
47098
  });
47099
47099
  var SOURCE_CODE_URL = "https://github.com/ArcaneWizards/open-source/tree/main/apps/timecode-toolbox";
47100
+ var HELP_AND_SUPPORT_URL = "https://arcanewizards.com/discord";
47100
47101
  var STRINGS = {
47101
47102
  title: "Timecode Toolbox",
47102
47103
  debugger: "Debug Tools & Log",
@@ -47110,6 +47111,7 @@ Data Directory: ${system.dataDirectory}`
47110
47111
  acceptLicense: "Accept License",
47111
47112
  licensePrompt: "Please review and accept the license to use Timecode Toolbox",
47112
47113
  sourceCode: "Source Code",
47114
+ helpAndSupport: "Get Help & Support",
47113
47115
  protocols: {
47114
47116
  artnet: {
47115
47117
  short: "ArtNet",
@@ -56833,7 +56835,7 @@ Data Directory: ${system.dataDirectory}`
56833
56835
  var import_compiler_runtime16 = __toESM(require_compiler_runtime());
56834
56836
  var import_jsx_runtime51 = __toESM(require_jsx_runtime());
56835
56837
  var Footer = (t0) => {
56836
- const $ = (0, import_compiler_runtime16.c)(7);
56838
+ const $ = (0, import_compiler_runtime16.c)(9);
56837
56839
  const {
56838
56840
  openLicenseDetails
56839
56841
  } = t0;
@@ -56874,17 +56876,31 @@ Data Directory: ${system.dataDirectory}`
56874
56876
  t4 = $[4];
56875
56877
  }
56876
56878
  let t5;
56877
- if ($[5] !== t4) {
56878
- t5 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
56879
+ let t6;
56880
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
56881
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ToolbarDivider, {});
56882
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ExternalLink, {
56883
+ href: HELP_AND_SUPPORT_URL,
56884
+ children: STRINGS.helpAndSupport
56885
+ });
56886
+ $[5] = t5;
56887
+ $[6] = t6;
56888
+ } else {
56889
+ t5 = $[5];
56890
+ t6 = $[6];
56891
+ }
56892
+ let t7;
56893
+ if ($[7] !== t4) {
56894
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", {
56879
56895
  className: "\n flex items-center justify-center gap-1 border-t border-sigil-border\n bg-sigil-bg-dark p-1 text-[80%]\n ",
56880
- children: [t1, t2, t3, t4]
56896
+ children: [t1, t2, t3, t4, t5, t6]
56881
56897
  });
56882
- $[5] = t4;
56883
- $[6] = t5;
56898
+ $[7] = t4;
56899
+ $[8] = t7;
56884
56900
  } else {
56885
- t5 = $[6];
56901
+ t7 = $[8];
56886
56902
  }
56887
- return t5;
56903
+ return t7;
56888
56904
  };
56889
56905
 
56890
56906
  // ../../packages/sigil/dist/frontend/styling.hooks.js
@@ -57077,11 +57093,14 @@ Data Directory: ${system.dataDirectory}`
57077
57093
  return t2;
57078
57094
  };
57079
57095
  var License = (t0) => {
57080
- const $ = (0, import_compiler_runtime19.c)(11);
57096
+ const $ = (0, import_compiler_runtime19.c)(16);
57081
57097
  const {
57082
57098
  license,
57083
57099
  setWindowMode
57084
57100
  } = t0;
57101
+ const {
57102
+ openExternalLink
57103
+ } = useBrowserContext();
57085
57104
  let t1;
57086
57105
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
57087
57106
  t1 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(TimecodeToolboxLogo, {
@@ -57118,14 +57137,11 @@ Data Directory: ${system.dataDirectory}`
57118
57137
  }
57119
57138
  let t5;
57120
57139
  if ($[6] !== t3) {
57121
- t5 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
57122
- className: "flex justify-center p-2",
57123
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ControlButton, {
57124
- onClick: t3,
57125
- variant: "large",
57126
- icon: "close",
57127
- children: t4
57128
- })
57140
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ControlButton, {
57141
+ onClick: t3,
57142
+ variant: "large",
57143
+ icon: "close",
57144
+ children: t4
57129
57145
  });
57130
57146
  $[6] = t3;
57131
57147
  $[7] = t5;
@@ -57133,21 +57149,49 @@ Data Directory: ${system.dataDirectory}`
57133
57149
  t5 = $[7];
57134
57150
  }
57135
57151
  let t6;
57136
- if ($[8] !== t2 || $[9] !== t5) {
57137
- t6 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
57152
+ if ($[8] !== openExternalLink) {
57153
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ControlButton, {
57154
+ onClick: (e) => {
57155
+ e.preventDefault();
57156
+ openExternalLink(HELP_AND_SUPPORT_URL);
57157
+ },
57158
+ variant: "large",
57159
+ icon: "help",
57160
+ children: STRINGS.helpAndSupport
57161
+ });
57162
+ $[8] = openExternalLink;
57163
+ $[9] = t6;
57164
+ } else {
57165
+ t6 = $[9];
57166
+ }
57167
+ let t7;
57168
+ if ($[10] !== t5 || $[11] !== t6) {
57169
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
57170
+ className: "flex justify-center p-2",
57171
+ children: [t5, t6]
57172
+ });
57173
+ $[10] = t5;
57174
+ $[11] = t6;
57175
+ $[12] = t7;
57176
+ } else {
57177
+ t7 = $[12];
57178
+ }
57179
+ let t8;
57180
+ if ($[13] !== t2 || $[14] !== t7) {
57181
+ t8 = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {
57138
57182
  className: "flex grow flex-col",
57139
57183
  children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", {
57140
57184
  className: "\n flex grow basis-0 flex-col overflow-y-auto px-2 pb-2 scrollbar-sigil\n ",
57141
- children: [t1, t2, t5]
57185
+ children: [t1, t2, t7]
57142
57186
  })
57143
57187
  });
57144
- $[8] = t2;
57145
- $[9] = t5;
57146
- $[10] = t6;
57188
+ $[13] = t2;
57189
+ $[14] = t7;
57190
+ $[15] = t8;
57147
57191
  } else {
57148
- t6 = $[10];
57192
+ t8 = $[15];
57149
57193
  }
57150
- return t6;
57194
+ return t8;
57151
57195
  };
57152
57196
  var LicenseGate = (t0) => {
57153
57197
  const $ = (0, import_compiler_runtime19.c)(14);