@quillsql/admin 1.7.4 → 1.7.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 (3) hide show
  1. package/dist/index.cjs +122 -109
  2. package/dist/index.js +122 -109
  3. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -5978,7 +5978,6 @@ function EditTenant({
5978
5978
  )
5979
5979
  ] });
5980
5980
  }
5981
- console.log("STATE: ", state);
5982
5981
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
5983
5982
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
5984
5983
  "div",
@@ -21696,85 +21695,87 @@ function EmptyDashboardComponent() {
21696
21695
  boxShadow: "0px 1px 12px rgba(0, 0, 0, 0.07)"
21697
21696
  },
21698
21697
  children: [
21699
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
21700
- "div",
21701
- {
21702
- style: {
21703
- display: "flex",
21704
- flexDirection: "row",
21705
- alignItems: "center",
21706
- justifyContent: "center",
21707
- width: 260
21708
- },
21709
- children: [
21710
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
21711
- "svg",
21712
- {
21713
- xmlns: "http://www.w3.org/2000/svg",
21714
- viewBox: "0 0 24 24",
21715
- fill: "#565656",
21716
- height: 26,
21717
- width: 26,
21718
- children: [
21719
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21720
- "path",
21721
- {
21722
- fillRule: "evenodd",
21723
- d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
21724
- clipRule: "evenodd"
21725
- }
21726
- ),
21727
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21728
- "path",
21729
- {
21730
- fillRule: "evenodd",
21731
- d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
21732
- clipRule: "evenodd"
21733
- }
21734
- )
21735
- ]
21736
- }
21737
- ),
21738
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21739
- "div",
21740
- {
21741
- style: {
21742
- fontSize: state.theme.fontSize,
21743
- fontFamily: state.theme.fontFamily,
21744
- fontWeight: 500,
21745
- color: "#565656",
21746
- // border: '1px solid #e7e7e7',
21747
- paddingTop: 8,
21748
- paddingBottom: 8,
21749
- paddingRight: 12,
21750
- paddingLeft: 12,
21751
- borderRadius: 4,
21752
- cursor: "pointer"
21753
- },
21754
- className: "quill-hover-button",
21755
- children: "No reports created yet."
21756
- }
21757
- ),
21758
- state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21759
- "div",
21698
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
21699
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
21700
+ "div",
21701
+ {
21702
+ style: {
21703
+ display: "flex",
21704
+ flexDirection: "row",
21705
+ alignItems: "center",
21706
+ justifyContent: "center",
21707
+ width: 260
21708
+ },
21709
+ children: [
21710
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
21711
+ "svg",
21712
+ {
21713
+ xmlns: "http://www.w3.org/2000/svg",
21714
+ viewBox: "0 0 24 24",
21715
+ fill: "#565656",
21716
+ height: 26,
21717
+ width: 26,
21718
+ children: [
21719
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21720
+ "path",
21721
+ {
21722
+ fillRule: "evenodd",
21723
+ d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
21724
+ clipRule: "evenodd"
21725
+ }
21726
+ ),
21727
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21728
+ "path",
21729
+ {
21730
+ fillRule: "evenodd",
21731
+ d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
21732
+ clipRule: "evenodd"
21733
+ }
21734
+ )
21735
+ ]
21736
+ }
21737
+ ),
21738
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21739
+ "div",
21740
+ {
21741
+ style: {
21742
+ fontSize: state.theme.fontSize,
21743
+ fontFamily: state.theme.fontFamily,
21744
+ fontWeight: 500,
21745
+ color: "#565656",
21746
+ // border: '1px solid #e7e7e7',
21747
+ paddingTop: 8,
21748
+ paddingBottom: 8,
21749
+ paddingRight: 12,
21750
+ paddingLeft: 12,
21751
+ borderRadius: 4,
21752
+ cursor: "pointer"
21753
+ },
21754
+ className: "quill-hover-button",
21755
+ children: "No reports created yet."
21756
+ }
21757
+ )
21758
+ ]
21759
+ }
21760
+ ),
21761
+ state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21762
+ "div",
21763
+ {
21764
+ style: {
21765
+ display: "flex",
21766
+ justifyContent: "flex-start",
21767
+ width: 144
21768
+ },
21769
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21770
+ state.AskAIButton,
21760
21771
  {
21761
- style: {
21762
- display: "flex",
21763
- justifyContent: "flex-start",
21764
- width: 144
21765
- },
21766
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21767
- state.AskAIButton,
21768
- {
21769
- label: "What is a report?",
21770
- prompt: "what is a report?"
21771
- }
21772
- )
21772
+ label: "What is a report?",
21773
+ prompt: "what is a report?"
21773
21774
  }
21774
- ) : null
21775
- ]
21776
- }
21777
- ),
21775
+ )
21776
+ }
21777
+ ) : null
21778
+ ] }),
21778
21779
  /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { style: { paddingBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
21779
21780
  MemoizedButton,
21780
21781
  {
@@ -26171,43 +26172,55 @@ Affected item${plural ? "s" : ""} ${value.affected.join(", ")}`
26171
26172
  ]
26172
26173
  }
26173
26174
  ),
26174
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26175
- "div",
26176
- {
26177
- style: {
26178
- fontSize: state.theme?.fontSize,
26179
- fontWeight: 500,
26180
- fontFamily: state.theme?.fontFamily,
26181
- fontSizeAdjust: 0.5,
26182
- color: "#565656",
26183
- paddingTop: 8,
26184
- paddingBottom: 8,
26185
- paddingRight: 12,
26186
- paddingLeft: 12,
26187
- borderRadius: 4,
26188
- cursor: "pointer"
26189
- },
26190
- className: "quill-hover-button",
26191
- children: "No dashboards created yet."
26192
- }
26193
- ),
26194
- state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26175
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
26195
26176
  "div",
26196
26177
  {
26197
26178
  style: {
26198
26179
  display: "flex",
26199
- justifyContent: "flex-start",
26200
- width: 144
26180
+ flexDirection: "column",
26181
+ gap: 8
26201
26182
  },
26202
- children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26203
- state.AskAIButton,
26204
- {
26205
- label: "What is a dashboard?",
26206
- prompt: "what is a dashboard?"
26207
- }
26208
- )
26183
+ children: [
26184
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26185
+ "div",
26186
+ {
26187
+ style: {
26188
+ fontSize: state.theme?.fontSize,
26189
+ fontWeight: 500,
26190
+ fontFamily: state.theme?.fontFamily,
26191
+ fontSizeAdjust: 0.5,
26192
+ color: "#565656",
26193
+ paddingTop: 8,
26194
+ paddingBottom: 8,
26195
+ paddingRight: 12,
26196
+ paddingLeft: 12,
26197
+ borderRadius: 4,
26198
+ cursor: "pointer"
26199
+ },
26200
+ className: "quill-hover-button",
26201
+ children: "No dashboards created yet."
26202
+ }
26203
+ ),
26204
+ state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26205
+ "div",
26206
+ {
26207
+ style: {
26208
+ display: "flex",
26209
+ justifyContent: "flex-start",
26210
+ width: 144
26211
+ },
26212
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
26213
+ state.AskAIButton,
26214
+ {
26215
+ label: "What is a dashboard?",
26216
+ prompt: "what is a dashboard?"
26217
+ }
26218
+ )
26219
+ }
26220
+ ) : null
26221
+ ]
26209
26222
  }
26210
- ) : null
26223
+ )
26211
26224
  ]
26212
26225
  }
26213
26226
  ),
package/dist/index.js CHANGED
@@ -5966,7 +5966,6 @@ function EditTenant({
5966
5966
  )
5967
5967
  ] });
5968
5968
  }
5969
- console.log("STATE: ", state);
5970
5969
  return /* @__PURE__ */ jsxs16(Fragment5, { children: [
5971
5970
  /* @__PURE__ */ jsxs16(
5972
5971
  "div",
@@ -21744,85 +21743,87 @@ function EmptyDashboardComponent() {
21744
21743
  boxShadow: "0px 1px 12px rgba(0, 0, 0, 0.07)"
21745
21744
  },
21746
21745
  children: [
21747
- /* @__PURE__ */ jsxs42(
21748
- "div",
21749
- {
21750
- style: {
21751
- display: "flex",
21752
- flexDirection: "row",
21753
- alignItems: "center",
21754
- justifyContent: "center",
21755
- width: 260
21756
- },
21757
- children: [
21758
- /* @__PURE__ */ jsxs42(
21759
- "svg",
21760
- {
21761
- xmlns: "http://www.w3.org/2000/svg",
21762
- viewBox: "0 0 24 24",
21763
- fill: "#565656",
21764
- height: 26,
21765
- width: 26,
21766
- children: [
21767
- /* @__PURE__ */ jsx57(
21768
- "path",
21769
- {
21770
- fillRule: "evenodd",
21771
- d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
21772
- clipRule: "evenodd"
21773
- }
21774
- ),
21775
- /* @__PURE__ */ jsx57(
21776
- "path",
21777
- {
21778
- fillRule: "evenodd",
21779
- d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
21780
- clipRule: "evenodd"
21781
- }
21782
- )
21783
- ]
21784
- }
21785
- ),
21786
- /* @__PURE__ */ jsx57(
21787
- "div",
21788
- {
21789
- style: {
21790
- fontSize: state.theme.fontSize,
21791
- fontFamily: state.theme.fontFamily,
21792
- fontWeight: 500,
21793
- color: "#565656",
21794
- // border: '1px solid #e7e7e7',
21795
- paddingTop: 8,
21796
- paddingBottom: 8,
21797
- paddingRight: 12,
21798
- paddingLeft: 12,
21799
- borderRadius: 4,
21800
- cursor: "pointer"
21801
- },
21802
- className: "quill-hover-button",
21803
- children: "No reports created yet."
21804
- }
21805
- ),
21806
- state.AskAIButton ? /* @__PURE__ */ jsx57(
21807
- "div",
21746
+ /* @__PURE__ */ jsxs42("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
21747
+ /* @__PURE__ */ jsxs42(
21748
+ "div",
21749
+ {
21750
+ style: {
21751
+ display: "flex",
21752
+ flexDirection: "row",
21753
+ alignItems: "center",
21754
+ justifyContent: "center",
21755
+ width: 260
21756
+ },
21757
+ children: [
21758
+ /* @__PURE__ */ jsxs42(
21759
+ "svg",
21760
+ {
21761
+ xmlns: "http://www.w3.org/2000/svg",
21762
+ viewBox: "0 0 24 24",
21763
+ fill: "#565656",
21764
+ height: 26,
21765
+ width: 26,
21766
+ children: [
21767
+ /* @__PURE__ */ jsx57(
21768
+ "path",
21769
+ {
21770
+ fillRule: "evenodd",
21771
+ d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
21772
+ clipRule: "evenodd"
21773
+ }
21774
+ ),
21775
+ /* @__PURE__ */ jsx57(
21776
+ "path",
21777
+ {
21778
+ fillRule: "evenodd",
21779
+ d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
21780
+ clipRule: "evenodd"
21781
+ }
21782
+ )
21783
+ ]
21784
+ }
21785
+ ),
21786
+ /* @__PURE__ */ jsx57(
21787
+ "div",
21788
+ {
21789
+ style: {
21790
+ fontSize: state.theme.fontSize,
21791
+ fontFamily: state.theme.fontFamily,
21792
+ fontWeight: 500,
21793
+ color: "#565656",
21794
+ // border: '1px solid #e7e7e7',
21795
+ paddingTop: 8,
21796
+ paddingBottom: 8,
21797
+ paddingRight: 12,
21798
+ paddingLeft: 12,
21799
+ borderRadius: 4,
21800
+ cursor: "pointer"
21801
+ },
21802
+ className: "quill-hover-button",
21803
+ children: "No reports created yet."
21804
+ }
21805
+ )
21806
+ ]
21807
+ }
21808
+ ),
21809
+ state.AskAIButton ? /* @__PURE__ */ jsx57(
21810
+ "div",
21811
+ {
21812
+ style: {
21813
+ display: "flex",
21814
+ justifyContent: "flex-start",
21815
+ width: 144
21816
+ },
21817
+ children: /* @__PURE__ */ jsx57(
21818
+ state.AskAIButton,
21808
21819
  {
21809
- style: {
21810
- display: "flex",
21811
- justifyContent: "flex-start",
21812
- width: 144
21813
- },
21814
- children: /* @__PURE__ */ jsx57(
21815
- state.AskAIButton,
21816
- {
21817
- label: "What is a report?",
21818
- prompt: "what is a report?"
21819
- }
21820
- )
21820
+ label: "What is a report?",
21821
+ prompt: "what is a report?"
21821
21822
  }
21822
- ) : null
21823
- ]
21824
- }
21825
- ),
21823
+ )
21824
+ }
21825
+ ) : null
21826
+ ] }),
21826
21827
  /* @__PURE__ */ jsx57("div", { style: { paddingBottom: 8 }, children: /* @__PURE__ */ jsx57(
21827
21828
  MemoizedButton,
21828
21829
  {
@@ -26219,43 +26220,55 @@ Affected item${plural ? "s" : ""} ${value.affected.join(", ")}`
26219
26220
  ]
26220
26221
  }
26221
26222
  ),
26222
- /* @__PURE__ */ jsx64(
26223
- "div",
26224
- {
26225
- style: {
26226
- fontSize: state.theme?.fontSize,
26227
- fontWeight: 500,
26228
- fontFamily: state.theme?.fontFamily,
26229
- fontSizeAdjust: 0.5,
26230
- color: "#565656",
26231
- paddingTop: 8,
26232
- paddingBottom: 8,
26233
- paddingRight: 12,
26234
- paddingLeft: 12,
26235
- borderRadius: 4,
26236
- cursor: "pointer"
26237
- },
26238
- className: "quill-hover-button",
26239
- children: "No dashboards created yet."
26240
- }
26241
- ),
26242
- state.AskAIButton ? /* @__PURE__ */ jsx64(
26223
+ /* @__PURE__ */ jsxs49(
26243
26224
  "div",
26244
26225
  {
26245
26226
  style: {
26246
26227
  display: "flex",
26247
- justifyContent: "flex-start",
26248
- width: 144
26228
+ flexDirection: "column",
26229
+ gap: 8
26249
26230
  },
26250
- children: /* @__PURE__ */ jsx64(
26251
- state.AskAIButton,
26252
- {
26253
- label: "What is a dashboard?",
26254
- prompt: "what is a dashboard?"
26255
- }
26256
- )
26231
+ children: [
26232
+ /* @__PURE__ */ jsx64(
26233
+ "div",
26234
+ {
26235
+ style: {
26236
+ fontSize: state.theme?.fontSize,
26237
+ fontWeight: 500,
26238
+ fontFamily: state.theme?.fontFamily,
26239
+ fontSizeAdjust: 0.5,
26240
+ color: "#565656",
26241
+ paddingTop: 8,
26242
+ paddingBottom: 8,
26243
+ paddingRight: 12,
26244
+ paddingLeft: 12,
26245
+ borderRadius: 4,
26246
+ cursor: "pointer"
26247
+ },
26248
+ className: "quill-hover-button",
26249
+ children: "No dashboards created yet."
26250
+ }
26251
+ ),
26252
+ state.AskAIButton ? /* @__PURE__ */ jsx64(
26253
+ "div",
26254
+ {
26255
+ style: {
26256
+ display: "flex",
26257
+ justifyContent: "flex-start",
26258
+ width: 144
26259
+ },
26260
+ children: /* @__PURE__ */ jsx64(
26261
+ state.AskAIButton,
26262
+ {
26263
+ label: "What is a dashboard?",
26264
+ prompt: "what is a dashboard?"
26265
+ }
26266
+ )
26267
+ }
26268
+ ) : null
26269
+ ]
26257
26270
  }
26258
- ) : null
26271
+ )
26259
26272
  ]
26260
26273
  }
26261
26274
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/admin",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Admin tools for Quill",
5
5
  "type": "module",
6
6
  "exports": {