@xras/ui 0.4.0 → 0.4.2

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/xras-ui.css CHANGED
@@ -1 +1 @@
1
- @import"http://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,70,400;0,100,400;0,100,600;0,100,800;1,100,400&display=swap";._allocations-map_1iid9_1{height:500px;position:relative;width:100%}._allocations-map_1iid9_1._fullscreen_1iid9_6{left:0;top:0;height:100vh;position:fixed;z-index:9999}._map_1iid9_14{height:100%;width:100%}button._fullscreen_1iid9_6{background-color:#ffffff80;border:0 none transparent;padding:2px 7px;position:absolute;right:0;top:0}button._fullscreen_1iid9_6:active,button._fullscreen_1iid9_6:focus,button._fullscreen_1iid9_6:hover{background-color:#ffffffbf}._group_11k83_1{background-color:var(--base-2);width:24rem}._button_11k83_6{font-size:.75rem;position:relative;text-transform:none;width:100%}._button_11k83_6:not(:last-child){border-right:0 none transparent}._icon_11k83_16{font-size:1.3rem;height:.75rem;position:absolute;left:.25rem;top:0}._controls_1be4t_1{background-color:#ffffff80;left:25px;padding:10px;position:absolute;top:25px}._legend_odgg9_1{background-color:#ffffff80;bottom:25px;left:25px;padding:10px;pointer-events:none;position:absolute}._legend_odgg9_1 h2 small{display:block;font-size:.8rem;font-style:italic;font-weight:400}._symbols_odgg9_17{display:flex;flex-direction:row;justify-content:space-between}._symbol_odgg9_17{font-size:.7rem;font-weight:700;padding:0 .25rem;position:relative;text-align:center}._symbol_odgg9_17 svg{height:42px}._info_oxxoh_1 p{font-size:1rem!important;line-height:1.5!important;margin:0!important;width:24rem!important}._info_oxxoh_1 p ._user_oxxoh_7{border-bottom:3px solid #f07537}._info_oxxoh_1 p ._rp_oxxoh_10{border-bottom:3px solid #1a5b6e}._info_oxxoh_1 ._user_oxxoh_7 ._user_oxxoh_7,._info_oxxoh_1 ._rp_oxxoh_10 ._rp_oxxoh_10,._info_oxxoh_1 ._credits_oxxoh_15{font-weight:600}._project_qqnbz_1{--bs-tooltip-bg: var(--bs-primary)}._expand_qqnbz_5{background-color:transparent;border:0 none transparent;padding:0}._returnedForCorrectionsNotes_jujbd_1{background-color:#fff;font-size:1em!important;padding:10px;white-space:pre-wrap;border-left:20px solid #a70000;border-radius:.375rem}._grid_15z6r_1{border:1px solid #cccccc;max-height:400px;max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}._grid_15z6r_1 table{border-collapse:separate;border-spacing:0;margin-bottom:0;position:relative}._grid_15z6r_1 th{position:sticky;top:0;z-index:10}._grid_15z6r_1 th,._grid_15z6r_1 td{background-color:#fff;border-bottom:1px solid #cccccc;border-left:0 none transparent;border-right:1px solid #cccccc;border-top:0 none transparent}._grid_15z6r_1 th:last-child,._grid_15z6r_1 td:last-child{border-right:0 none transparent}._grid_15z6r_1 th._important_15z6r_32,._grid_15z6r_1 td._important_15z6r_32{background-color:#f8f9fa}._grid_15z6r_1 th._input_15z6r_36,._grid_15z6r_1 td._input_15z6r_36{background-color:var(--teal-200)}._grid_15z6r_1 ._edited_15z6r_40 td,._grid_15z6r_1 ._edited_15z6r_40 select{background-color:#faf1d7}._grid_15z6r_1 ._edited_15z6r_40 td._important_15z6r_32,._grid_15z6r_1 ._edited_15z6r_40 select._important_15z6r_32{background-color:#fbeeca}._grid_15z6r_1 ._disabled_15z6r_48 td,._grid_15z6r_1 ._disabled_15z6r_48 select{background-color:#ddd}._grid_15z6r_1 ._disabled_15z6r_48 td._important_15z6r_32,._grid_15z6r_1 ._disabled_15z6r_48 select._important_15z6r_32{background-color:#ccc}._grid_15z6r_1 tbody tr:last-child th,._grid_15z6r_1 tbody tr:last-child td{border-bottom:0 none transparent}._items_c2dbg_1{margin:0!important;padding:0}._item_c2dbg_1{align-items:center;display:flex;flex-direction:row;list-style-type:none;white-space:nowrap}._details_c2dbg_14{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._text_c2dbg_20{display:flex;flex-direction:column;font-size:.9rem;line-height:1.1;height:100px;justify-content:center;text-align:center;width:100px}._text_c2dbg_20 strong{display:block;font-size:1.1rem}._number_c2dbg_35{background-color:#000;border-radius:.55rem;color:#fff;display:inline-block;flex-shrink:0;font-size:.75rem;font-weight:700;height:1.1rem;line-height:1.1rem;text-align:center;vertical-align:middle;width:1.1rem}._outer_c2dbg_50{border-style:solid;border-width:2px;display:inline-block;flex-shrink:0;height:1.5rem;vertical-align:middle;position:relative;width:100px}._inner_c2dbg_61{display:inline-block;height:100%;left:0;position:absolute;top:0}._fos-select-list_1bl6z_1{height:200px;overflow-x:auto;padding:2px}._abstract_cz9zk_1{white-space:pre-wrap;padding:5px}._link_viyef_1{width:50px;text-align:center}select._link_viyef_1{width:auto}._access_1sxq2_2{font-family:Archivo,sans-serif}._resourceName_1sxq2_6{font-size:1.3rem;font-weight:700}._description_1sxq2_11{white-space:pre-wrap}._filterBar_1sxq2_15{position:sticky;top:5px;z-index:30}._cardBg_1sxq2_21{background-color:#1a5b6e!important;color:#fff!important}._active_1sxq2_26{background-color:#1a5b6e;color:#fff!important}._plainButton_1sxq2_31{background:none;border:none;margin:unset;text-decoration:underline;color:#069;padding:0;cursor:pointer}._btnSecondary_1sxq2_41{color:#000!important;background-color:#fec42d!important;border-color:#fec42d!important}._btnSecondary_1sxq2_41:hover{background-color:#fecd4d!important;border-color:#feca42!important}
1
+ @import"https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,70,400;0,100,400;0,100,600;0,100,800;1,100,400&display=swap";._allocations-map_1iid9_1{height:500px;position:relative;width:100%}._allocations-map_1iid9_1._fullscreen_1iid9_6{left:0;top:0;height:100vh;position:fixed;z-index:9999}._map_1iid9_14{height:100%;width:100%}button._fullscreen_1iid9_6{background-color:#ffffff80;border:0 none transparent;padding:2px 7px;position:absolute;right:0;top:0}button._fullscreen_1iid9_6:active,button._fullscreen_1iid9_6:focus,button._fullscreen_1iid9_6:hover{background-color:#ffffffbf}._group_11k83_1{background-color:var(--base-2);width:24rem}._button_11k83_6{font-size:.75rem;position:relative;text-transform:none;width:100%}._button_11k83_6:not(:last-child){border-right:0 none transparent}._icon_11k83_16{font-size:1.3rem;height:.75rem;position:absolute;left:.25rem;top:0}._controls_1be4t_1{background-color:#ffffff80;left:25px;padding:10px;position:absolute;top:25px}._legend_odgg9_1{background-color:#ffffff80;bottom:25px;left:25px;padding:10px;pointer-events:none;position:absolute}._legend_odgg9_1 h2 small{display:block;font-size:.8rem;font-style:italic;font-weight:400}._symbols_odgg9_17{display:flex;flex-direction:row;justify-content:space-between}._symbol_odgg9_17{font-size:.7rem;font-weight:700;padding:0 .25rem;position:relative;text-align:center}._symbol_odgg9_17 svg{height:42px}._info_oxxoh_1 p{font-size:1rem!important;line-height:1.5!important;margin:0!important;width:24rem!important}._info_oxxoh_1 p ._user_oxxoh_7{border-bottom:3px solid #f07537}._info_oxxoh_1 p ._rp_oxxoh_10{border-bottom:3px solid #1a5b6e}._info_oxxoh_1 ._user_oxxoh_7 ._user_oxxoh_7,._info_oxxoh_1 ._rp_oxxoh_10 ._rp_oxxoh_10,._info_oxxoh_1 ._credits_oxxoh_15{font-weight:600}._project_qqnbz_1{--bs-tooltip-bg: var(--bs-primary)}._expand_qqnbz_5{background-color:transparent;border:0 none transparent;padding:0}._returnedForCorrectionsNotes_jujbd_1{background-color:#fff;font-size:1em!important;padding:10px;white-space:pre-wrap;border-left:20px solid #a70000;border-radius:.375rem}._grid_15z6r_1{border:1px solid #cccccc;max-height:400px;max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}._grid_15z6r_1 table{border-collapse:separate;border-spacing:0;margin-bottom:0;position:relative}._grid_15z6r_1 th{position:sticky;top:0;z-index:10}._grid_15z6r_1 th,._grid_15z6r_1 td{background-color:#fff;border-bottom:1px solid #cccccc;border-left:0 none transparent;border-right:1px solid #cccccc;border-top:0 none transparent}._grid_15z6r_1 th:last-child,._grid_15z6r_1 td:last-child{border-right:0 none transparent}._grid_15z6r_1 th._important_15z6r_32,._grid_15z6r_1 td._important_15z6r_32{background-color:#f8f9fa}._grid_15z6r_1 th._input_15z6r_36,._grid_15z6r_1 td._input_15z6r_36{background-color:var(--teal-200)}._grid_15z6r_1 ._edited_15z6r_40 td,._grid_15z6r_1 ._edited_15z6r_40 select{background-color:#faf1d7}._grid_15z6r_1 ._edited_15z6r_40 td._important_15z6r_32,._grid_15z6r_1 ._edited_15z6r_40 select._important_15z6r_32{background-color:#fbeeca}._grid_15z6r_1 ._disabled_15z6r_48 td,._grid_15z6r_1 ._disabled_15z6r_48 select{background-color:#ddd}._grid_15z6r_1 ._disabled_15z6r_48 td._important_15z6r_32,._grid_15z6r_1 ._disabled_15z6r_48 select._important_15z6r_32{background-color:#ccc}._grid_15z6r_1 tbody tr:last-child th,._grid_15z6r_1 tbody tr:last-child td{border-bottom:0 none transparent}._items_c2dbg_1{margin:0!important;padding:0}._item_c2dbg_1{align-items:center;display:flex;flex-direction:row;list-style-type:none;white-space:nowrap}._details_c2dbg_14{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._text_c2dbg_20{display:flex;flex-direction:column;font-size:.9rem;line-height:1.1;height:100px;justify-content:center;text-align:center;width:100px}._text_c2dbg_20 strong{display:block;font-size:1.1rem}._number_c2dbg_35{background-color:#000;border-radius:.55rem;color:#fff;display:inline-block;flex-shrink:0;font-size:.75rem;font-weight:700;height:1.1rem;line-height:1.1rem;text-align:center;vertical-align:middle;width:1.1rem}._outer_c2dbg_50{border-style:solid;border-width:2px;display:inline-block;flex-shrink:0;height:1.5rem;vertical-align:middle;position:relative;width:100px}._inner_c2dbg_61{display:inline-block;height:100%;left:0;position:absolute;top:0}._fos-select-list_1bl6z_1{height:200px;overflow-x:auto;padding:2px}._abstract_cz9zk_1{white-space:pre-wrap;padding:5px}._link_viyef_1{width:50px;text-align:center}select._link_viyef_1{width:auto}._access_ae3ny_2{font-family:Archivo,sans-serif}._resourceName_ae3ny_6{font-size:1.3rem;font-weight:700}._description_ae3ny_11{white-space:pre-wrap}._filterBar_ae3ny_15{position:sticky;top:5px;z-index:30}._cardBg_ae3ny_21{background-color:#1a5b6e!important;color:#fff!important}._active_ae3ny_26{background-color:#1a5b6e;color:#fff!important}._plainButton_ae3ny_31{background:none;border:none;margin:unset;text-decoration:underline;color:#069;padding:0;cursor:pointer}._btnSecondary_ae3ny_41{color:#000!important;background-color:#fec42d!important;border-color:#fec42d!important}._btnSecondary_ae3ny_41:hover{background-color:#fecd4d!important;border-color:#feca42!important}
package/dist/xras-ui.js CHANGED
@@ -25127,7 +25127,7 @@ const pw = [
25127
25127
  actionId: _,
25128
25128
  allowedOperations: F,
25129
25129
  detailAvailable: z,
25130
- date: (H || q || U).split(
25130
+ date: (U || H || q).split(
25131
25131
  "T"
25132
25132
  )[0],
25133
25133
  deleteStatus: null,
@@ -25149,7 +25149,9 @@ const pw = [
25149
25149
  requestId: d,
25150
25150
  resources: v.map(vw).filter((_) => _.isCredit || _.allocated > 0).sort(f0),
25151
25151
  resourcesReason: "",
25152
- returnedForCorrections: !!r.find((_) => _.returnedForCorrections),
25152
+ returnedForCorrections: !!r.find(
25153
+ (_) => _.returnedForCorrections
25154
+ ),
25153
25155
  returnedForCorrectionsNotes: r.map((_) => _.adminComments).join(","),
25154
25156
  showActionsModal: !1,
25155
25157
  showConfirmModal: !1,
@@ -25563,7 +25565,9 @@ const pw = [
25563
25565
  i.payload.projectsList.sort(
25564
25566
  (u, l) => d0(u.requests[0]) > d0(l.requests[0]) ? -1 : 1
25565
25567
  ), r.username = i.payload.username, r.projectsList = i.payload.projectsList.map((u) => {
25566
- const { grantNumber: l, requestMasterId: d, requests: h, status: v, title: y } = u, x = u.requests.filter((R) => R.actions.filter((T) => T.returnedForCorrections).length > 0).length > 0 ? "Returned for Corrections" : v || h && (h.find(({ timeStatus: R }) => R == "current") ? "Active" : h[0].timeStatus == "past" ? "Inactive" : h[0].status);
25568
+ const { grantNumber: l, requestMasterId: d, requests: h, status: v, title: y } = u, x = u.requests.filter(
25569
+ (R) => R.actions.filter((T) => T.returnedForCorrections).length > 0
25570
+ ).length > 0 ? "Returned for Corrections" : v || h && (h.find(({ timeStatus: R }) => R == "current") ? "Active" : h[0].timeStatus == "past" ? "Inactive" : h[0].status);
25567
25571
  return h && UU(r, u, x), {
25568
25572
  grantNumber: l || d,
25569
25573
  status: x,
@@ -38626,7 +38630,7 @@ const H6 = (n) => {
38626
38630
  setResourcesLoaded: UO,
38627
38631
  toggleCatalog: X6,
38628
38632
  toggleFilter: qk
38629
- } = Jk.actions, Qk = (n) => n.resourceCatalog.catalogs, Y6 = (n) => n.resourceCatalog.filters, Z6 = (n) => n.resourceCatalog.hasErrors, J6 = (n) => n.resourceCatalog.resourcesLoaded, q6 = (n) => n.resourceCatalog.filteredResources, Q6 = Jk.reducer, K6 = "_access_1sxq2_2", e8 = "_resourceName_1sxq2_6", t8 = "_description_1sxq2_11", n8 = "_filterBar_1sxq2_15", r8 = "_cardBg_1sxq2_21", a8 = "_active_1sxq2_26", i8 = "_plainButton_1sxq2_31", o8 = "_btnSecondary_1sxq2_41", Pp = {
38633
+ } = Jk.actions, Qk = (n) => n.resourceCatalog.catalogs, Y6 = (n) => n.resourceCatalog.filters, Z6 = (n) => n.resourceCatalog.hasErrors, J6 = (n) => n.resourceCatalog.resourcesLoaded, q6 = (n) => n.resourceCatalog.filteredResources, Q6 = Jk.reducer, K6 = "_access_ae3ny_2", e8 = "_resourceName_ae3ny_6", t8 = "_description_ae3ny_11", n8 = "_filterBar_ae3ny_15", r8 = "_cardBg_ae3ny_21", a8 = "_active_ae3ny_26", i8 = "_plainButton_ae3ny_31", o8 = "_btnSecondary_ae3ny_41", Pp = {
38630
38634
  access: K6,
38631
38635
  resourceName: e8,
38632
38636
  description: t8,
@@ -38756,37 +38760,33 @@ const H6 = (n) => {
38756
38760
  ] }) });
38757
38761
  }, p8 = ({ baseUrl: n }) => /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
38758
38762
  /* @__PURE__ */ b.jsx("div", { className: "row", children: /* @__PURE__ */ b.jsx("div", { className: "col d-flex", children: /* @__PURE__ */ b.jsx("img", { alt: "Access Logo", style: { height: "75px" }, src: `${n}/access_logo.png` }) }) }),
38759
- /* @__PURE__ */ b.jsx("div", { className: "row", children: /* @__PURE__ */ b.jsx("div", { className: "col", children: /* @__PURE__ */ b.jsx("h3", { className: "border-bottom", children: "The ACCESS On-Ramps Program" }) }) }),
38763
+ /* @__PURE__ */ b.jsx("div", { className: "row", children: /* @__PURE__ */ b.jsx("div", { className: "col", children: /* @__PURE__ */ b.jsx("h3", { className: "border-bottom", children: "NSF ACCESS Resources" }) }) }),
38760
38764
  /* @__PURE__ */ b.jsx("div", { className: "row", children: /* @__PURE__ */ b.jsxs("div", { className: "col", children: [
38761
- /* @__PURE__ */ b.jsx("p", { children: "Need more advanced computing and storage options for your work? The On-Ramps program offers your institution cost-free entry to the nation's cyberinfrastructure resources. Simply select a resource from the catalog below to get started. On-Ramps expands your cyberinfrastructure with many powerful resource options." }),
38762
- /* @__PURE__ */ b.jsx("p", { children: /* @__PURE__ */ b.jsx("a", { href: "https://allocations.access-ci.org", target: "_blank", children: "Learn more on our About On-Ramps page" }) }),
38763
- /* @__PURE__ */ b.jsx("h4", { className: "border-bottom", children: "About ACCESS" }),
38764
- /* @__PURE__ */ b.jsx("p", { children: "ACCESS is a program established and funded by the National Science Foundation to help researchers and educators, with or without supporting grants, to utilize the nation's advanced computing systems and services — at no cost." }),
38765
+ /* @__PURE__ */ b.jsx("h4", { children: "Discover the nationwide NSF cyberinfrastructure" }),
38766
+ /* @__PURE__ */ b.jsx("p", { children: "Need advanced computing and storage options for your research or classroom? The ACCESS program has been established and funded by the U.S. National Science Foundation to help you - the nation's researchers and educators - to use some of the country's most advanced computing systems and services - at no cost to you." }),
38767
+ /* @__PURE__ */ b.jsx("p", { children: "Thousands of researchers, instructors, and students from institutions large and small use ACCESS-integrated resources every year. With more than 30 resources from more than 15 resource providers, there's bound to be a resource for you, your lab, or your class." }),
38768
+ /* @__PURE__ */ b.jsx("p", { children: "Explore the resource catalog below - filter the list to discover the resources that have the features or services to accelerate your activities. The System Info button will take you to the resource's documentation for all the details." }),
38769
+ /* @__PURE__ */ b.jsx("p", { children: 'Ready to begin? Click the "Get Your First Project" button and join the ACCESS community!' }),
38770
+ /* @__PURE__ */ b.jsx("p", { children: /* @__PURE__ */ b.jsxs(
38771
+ "a",
38772
+ {
38773
+ href: "https://allocations.access-ci.org/get-your-first-project",
38774
+ target: "_blank",
38775
+ className: `btn btn-secondary fw-bold ${Pp.btnSecondary}`,
38776
+ children: [
38777
+ "Get Your First Project ",
38778
+ /* @__PURE__ */ b.jsx("i", { className: "bi bi-box-arrow-up-right" })
38779
+ ]
38780
+ }
38781
+ ) }),
38765
38782
  /* @__PURE__ */ b.jsxs("p", { children: [
38766
- /* @__PURE__ */ b.jsxs(
38767
- "a",
38768
- {
38769
- href: "https://access-ci.org",
38770
- target: "_blank",
38771
- className: "btn btn-info me-2 fw-bold",
38772
- children: [
38773
- "Learn more about ACCESS ",
38774
- /* @__PURE__ */ b.jsx("i", { className: "bi bi-box-arrow-up-right" })
38775
- ]
38776
- }
38777
- ),
38778
- /* @__PURE__ */ b.jsxs(
38779
- "a",
38780
- {
38781
- href: "https://allocations.access-ci.org/get-your-first-project",
38782
- target: "_blank",
38783
- className: `btn btn-secondary fw-bold ${Pp.btnSecondary}`,
38784
- children: [
38785
- "Get Your First Project ",
38786
- /* @__PURE__ */ b.jsx("i", { className: "bi bi-box-arrow-up-right" })
38787
- ]
38788
- }
38789
- )
38783
+ "If you have feedback for ACCESS, please complete our",
38784
+ /* @__PURE__ */ b.jsx("a", { target: "_blank", href: "https://docs.google.com/forms/d/e/1FAIpQLSdn-SXokNB_5s0r2SA_S9ZIZWZFlVPRD2OHepTH5HY2YND_zw/viewform", children: " Feedback Form" }),
38785
+ ".",
38786
+ /* @__PURE__ */ b.jsx("br", {}),
38787
+ "If you have questions, please use the",
38788
+ /* @__PURE__ */ b.jsx("a", { target: "_blank", href: "https://support.access-ci.org/user/login?destination=/open-a-ticket", children: " ACCESS Help Request Form" }),
38789
+ "."
38790
38790
  ] })
38791
38791
  ] }) })
38792
38792
  ] }), v8 = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xras/ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "User interface components for XRAS",
5
5
  "repository": "github:access-ci-org/xras-ui",
6
6
  "license": "Apache-2.0",