@illinois-grad/grad-vue 2.5.3 → 2.5.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.
- package/custom-elements.json +80 -0
- package/dist/components/GCurrencyInput.vue.d.ts +11 -0
- package/dist/components/GDateInput.vue.d.ts +11 -0
- package/dist/components/GDateRangeInput.vue.d.ts +11 -0
- package/dist/components/GEmailInput.vue.d.ts +11 -0
- package/dist/components/GMultiSelect.vue.d.ts +11 -0
- package/dist/components/GSelect.vue.d.ts +11 -0
- package/dist/components/GSelectButton.vue.d.ts +11 -0
- package/dist/components/GTextInput.vue.d.ts +11 -0
- package/dist/{grad-vue-D4cwVtpD.js → grad-vue-DImrz5Wj.js} +435 -360
- package/dist/grad-vue-DImrz5Wj.js.map +1 -0
- package/dist/grad-vue-elements.js +379 -304
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.js +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
- package/dist/grad-vue-D4cwVtpD.js.map +0 -1
|
@@ -4822,7 +4822,7 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4822
4822
|
J("div", eu, [V(t.$slots, "app-controls", { class: "g-app-header__app-controls" }, void 0, !0)])
|
|
4823
4823
|
]));
|
|
4824
4824
|
}
|
|
4825
|
-
}), [["styles", ["html{scroll-padding-top:70px}.g-app-header .g-app-header__title{flex:1;align-items:center;margin-left:20px;display:flex}.g-app-header .g-app-header__title>*{color:var(--g-primary-500);margin:0;font-family:Source Sans;font-size:20px;font-style:normal;line-height:30px}.g-app-header .g-app-header__app-controls-wrap{margin-right:20px}.app-name{color:var(--g-primary-500);margin:0 10px 0 20px;font-family:Source Sans;font-size:1.25rem;font-style:normal;font-weight:700;line-height:1.875rem;text-decoration:none}.app-name a{color:var(--g-primary-500)}.app-name a:hover{color:var(--g-accent-700);text-decoration:underline}@media screen and (width<=640px){.app-name{display:none}}a.app-name:hover{color:var(--g-accent-700);text-decoration:underline}", ".g-app-header[data-v-9ccf6042]{box-sizing:border-box;background-color:var(--g-surface-100);padding-right:var(--g-scrollbar-width,0px);z-index:2;height:var(--g-toolbar-height);border-bottom:2px solid var(--g-accent-500);align-items:center;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 1px 2px #00000040,0 1px 10px 5px #00000014}.g-app-header__background[data-v-9ccf6042]{z-index:-1;width:470px;position:absolute;top:0;bottom:0;left:0}@media screen and (width<=640px){.g-app-header__background[data-v-9ccf6042]{width:80%}}.g-app-header__background-pattern[data-v-9ccf6042]{opacity:.5;background-image:url(\"data:image/svg+xml,<%3Fxml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"%3F><svg id=\\\"White\\\" height=\\\"60\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" viewBox=\\\"0 0 712.9248 669.165\\\"><defs><linearGradient id=\\\"linear-gradient\\\" x1=\\\"-7196.9772\\\" y1=\\\"-1811.3069\\\" x2=\\\"-7204.2\\\" y2=\\\"-2284.4046\\\" gradientTransform=\\\"translate(13629.8481 -2798.015) scale(2.0465 -1)\\\" gradientUnits=\\\"userSpaceOnUse\\\"><stop offset=\\\"0\\\" stop-color=\\\"%23c8c6c7\\\"/><stop offset=\\\".9807\\\" stop-color=\\\"%23fff\\\"/></linearGradient><linearGradient id=\\\"linear-gradient-2\\\" x1=\\\"-7196.9771\\\" y1=\\\"-1558.6549\\\" x2=\\\"-7204.2\\\" y2=\\\"-2031.7526\\\" gradientTransform=\\\"translate(13808.4999 -2366.711) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-3\\\" x1=\\\"-7196.9771\\\" y1=\\\"-1306.0029\\\" x2=\\\"-7204.1999\\\" y2=\\\"-1779.1006\\\" gradientTransform=\\\"translate(13987.1517 -1935.4069) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-4\\\" x1=\\\"-7196.977\\\" y1=\\\"-1053.3509\\\" x2=\\\"-7204.1999\\\" y2=\\\"-1526.4486\\\" gradientTransform=\\\"translate(14165.8035 -1504.1028) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-5\\\" x1=\\\"-7196.977\\\" y1=\\\"-800.6988\\\" x2=\\\"-7204.1999\\\" y2=\\\"-1273.7966\\\" gradientTransform=\\\"translate(14344.4553 -1072.7988) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-6\\\" x1=\\\"-7196.9769\\\" y1=\\\"-548.0468\\\" x2=\\\"-7204.1998\\\" y2=\\\"-1021.1445\\\" gradientTransform=\\\"translate(14523.1071 -641.4947) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-7\\\" x1=\\\"-7199.49\\\" y1=\\\"-295.3714\\\" x2=\\\"-7206.7129\\\" y2=\\\"-768.4691\\\" gradientTransform=\\\"translate(14710.5552 -213.7874) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-8\\\" x1=\\\"-7199.49\\\" y1=\\\"-42.7194\\\" x2=\\\"-7206.7128\\\" y2=\\\"-515.8171\\\" gradientTransform=\\\"translate(14889.207 217.5166) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-9\\\" x1=\\\"-7199.4899\\\" y1=\\\"209.9326\\\" x2=\\\"-7206.7128\\\" y2=\\\"-263.1651\\\" gradientTransform=\\\"translate(15067.8588 648.8207) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-10\\\" x1=\\\"-7199.4899\\\" y1=\\\"462.5846\\\" x2=\\\"-7206.7128\\\" y2=\\\"-10.5131\\\" gradientTransform=\\\"translate(15246.5106 1080.1248) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-11\\\" x1=\\\"-7199.4898\\\" y1=\\\"715.2367\\\" x2=\\\"-7206.7127\\\" y2=\\\"242.1389\\\" gradientTransform=\\\"translate(15425.1624 1511.4288) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/><linearGradient id=\\\"linear-gradient-12\\\" x1=\\\"-7199.4898\\\" y1=\\\"967.8887\\\" x2=\\\"-7206.7127\\\" y2=\\\"494.791\\\" gradientTransform=\\\"translate(15603.8142 1942.7329) scale(2.0465 -1)\\\" xlink:href=\\\"%23linear-gradient\\\"/></defs><g clip-path=\\\"url(%23clippath)\\\"><g><rect x=\\\"-2546.6738\\\" y=\\\"-978.5334\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-2485.5349 -674.873) rotate(135)\\\" fill=\\\"url(%23linear-gradient)\\\"/><rect x=\\\"-2368.0219\\\" y=\\\"-799.8814\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-2054.231 -496.2207) rotate(135)\\\" fill=\\\"url(%23linear-gradient-2)\\\"/><rect x=\\\"-2189.37\\\" y=\\\"-621.2293\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-1622.9271 -317.5685) rotate(135)\\\" fill=\\\"url(%23linear-gradient-3)\\\"/><rect x=\\\"-2010.7182\\\" y=\\\"-442.5773\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-1191.6232 -138.9163) rotate(135)\\\" fill=\\\"url(%23linear-gradient-4)\\\"/><rect x=\\\"-1832.0663\\\" y=\\\"-263.9253\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-760.3193 39.736) rotate(135)\\\" fill=\\\"url(%23linear-gradient-5)\\\"/><rect x=\\\"-1653.4144\\\" y=\\\"-85.2732\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-329.0155 218.3882) rotate(135)\\\" fill=\\\"url(%23linear-gradient-6)\\\"/><rect x=\\\"-1471.1093\\\" y=\\\"89.7587\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(105.9651 388.2772) rotate(135)\\\" fill=\\\"url(%23linear-gradient-7)\\\"/><rect x=\\\"-1292.4575\\\" y=\\\"268.4107\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(537.269 566.9294) rotate(135)\\\" fill=\\\"url(%23linear-gradient-8)\\\"/><rect x=\\\"-1113.8056\\\" y=\\\"447.0628\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(968.5728 745.5817) rotate(135)\\\" fill=\\\"url(%23linear-gradient-9)\\\"/><rect x=\\\"-935.1537\\\" y=\\\"625.7148\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(1399.8767 924.2339) rotate(135)\\\" fill=\\\"url(%23linear-gradient-10)\\\"/><rect x=\\\"-756.5019\\\" y=\\\"804.3669\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(1831.1806 1102.8862) rotate(135)\\\" fill=\\\"url(%23linear-gradient-11)\\\"/><rect x=\\\"-577.85\\\" y=\\\"983.0189\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(2262.4845 1281.5384) rotate(135)\\\" fill=\\\"url(%23linear-gradient-12)\\\"/></g></g></svg>\");background-repeat:repeat;position:absolute;inset:0}.darkmode .g-app-header__background-pattern[data-v-9ccf6042]{background-image:url(\"data:image/svg+xml,<%3Fxml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"%3F><svg xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" viewBox=\\\"0 0 712.9248 669.165\\\"><defs><linearGradient id=\\\"linear-gradient\\\" x1=\\\"-1489.8977\\\" y1=\\\"3840.7045\\\" x2=\\\"-1497.1206\\\" y2=\\\"3367.6068\\\" gradientTransform=\\\"translate(-3080.7102 -3500.1236) rotate(-180) scale(2.0465 -1)\\\" gradientUnits=\\\"userSpaceOnUse\\\"><stop offset=\\\"0\\\" stop-color=\\\"%2313294b\\\"/><stop offset=\\\"1\\\" stop-color=\\\"%230071ce\\\"/></linearGradient><linearGradient id=\\\"linear-gradient-2\\\" x1=\\\"-1489.8977\\\" y1=\\\"4093.3564\\\" x2=\\\"-1497.1204\\\" y2=\\\"3620.2586\\\" gradientTransform=\\\"translate(-2902.0583 -3574.1233) rotate(-180) scale(2.0465 -1)\\\" gradientUnits=\\\"userSpaceOnUse\\\"><stop offset=\\\"0\\\" stop-color=\\\"%2313294b\\\"/><stop offset=\\\"1\\\" stop-color=\\\"%230071ce\\\"/></linearGradient><linearGradient id=\\\"linear-gradient-3\\\" x1=\\\"-1489.8976\\\" y1=\\\"4346.0085\\\" x2=\\\"-1497.1205\\\" y2=\\\"3872.9108\\\" gradientTransform=\\\"translate(-2723.4065 -3648.1232) rotate(-180) scale(2.0465 -1)\\\" gradientUnits=\\\"userSpaceOnUse\\\"><stop offset=\\\"0\\\" stop-color=\\\"%2313294b\\\"/><stop offset=\\\"1\\\" stop-color=\\\"%230071ce\\\"/></linearGradient><linearGradient id=\\\"linear-gradient-4\\\" x1=\\\"-1489.8976\\\" y1=\\\"4598.6606\\\" x2=\\\"-1497.1205\\\" y2=\\\"4125.5627\\\" gradientTransform=\\\"translate(-2544.7544 -3722.123) rotate(-180) scale(2.0465 -1)\\\" gradientUnits=\\\"userSpaceOnUse\\\"><stop offset=\\\"0\\\" stop-color=\\\"%2313294b\\\"/><stop offset=\\\"1\\\" stop-color=\\\"%230071ce\\\"/></linearGradient></defs><g id=\\\"Blue\\\"><g clip-path=\\\"url(%23clippath)\\\"><g><rect x=\\\"-1471.1094\\\" y=\\\"79.7585\\\" width=\\\"2887.354\\\" height=\\\"252.652\\\" transform=\\\"translate(-153.7585 40.9631) rotate(-45)\\\" fill=\\\"url(%23linear-gradient)\\\"/><rect x=\\\"-1292.4576\\\" y=\\\"258.4107\\\" width=\\\"2887.354\\\" height=\\\"252.652\\\" transform=\\\"translate(-227.7588 219.615) rotate(-45)\\\" fill=\\\"url(%23linear-gradient-2)\\\"/><rect x=\\\"-1113.8058\\\" y=\\\"437.0627\\\" width=\\\"2887.354\\\" height=\\\"252.652\\\" transform=\\\"translate(-301.759 398.2669) rotate(-45)\\\" fill=\\\"url(%23linear-gradient-3)\\\"/><rect x=\\\"-935.1538\\\" y=\\\"615.715\\\" width=\\\"2887.354\\\" height=\\\"252.652\\\" transform=\\\"translate(-375.7592 576.919) rotate(-45)\\\" fill=\\\"url(%23linear-gradient-4)\\\"/><rect x=\\\"-756.5019\\\" y=\\\"794.367\\\" width=\\\"2887.354\\\" height=\\\"252.652\\\" transform=\\\"translate(-449.7594 755.5709) rotate(-45)\\\" fill=\\\"url(%23linear-gradient-5)\\\"/><rect x=\\\"-577.8503\\\" y=\\\"973.0192\\\" width=\\\"2887.3541\\\" height=\\\"252.652\\\" transform=\\\"translate(-523.7597 934.2227) rotate(-45)\\\" fill=\\\"url(%23linear-gradient-6)\\\"/></g></g></g></svg>\")}.darkmode .g-app-header__block-i-container[data-v-9ccf6042]{background:var(--il-orange)}.darkmode .g-app-header__block-i-fill[data-v-9ccf6042]{fill:var(--il-blue)}.g-app-header__background-gradient[data-v-9ccf6042]{background:linear-gradient(90deg, transparent -15.89%, var(--g-surface-100) 95.85%);position:absolute;inset:0}.g-app-header__brand[data-v-9ccf6042]{min-width:1rem;margin-top:2px}.g-app-header__brand[data-v-9ccf6042] a{font-family:var(--il-font-montserrat);letter-spacing:.98px;color:var(--g-primary-300);padding:10px 15px;font-size:14px;font-style:normal;font-weight:800;text-decoration:none}.g-app-header__brand[data-v-9ccf6042] a:hover{color:var(--g-primary-500);text-decoration:underline}@media screen and (width<=740px){.g-app-header__brand[data-v-9ccf6042] a{display:none}}.g-app-header__block-i-container[data-v-9ccf6042]{height:calc(var(--g-toolbar-height) + 3px);box-sizing:border-box;margin-top:6px;box-shadow:0 0 1px 1px #00000014,2px 1px 10px #00000059}.g-app-header__app-controls[data-v-9ccf6042]{flex:1;justify-content:flex-end;gap:10px;padding:0 10px;display:flex}.g-app-header__block-i-container[data-v-9ccf6042]{background-color:var(--il-blue);min-width:40px;padding:8px 10px}.g-app-header__block-i-container .g-app-header__block-i[data-v-9ccf6042]{width:24px;display:block}.g-app-header__block-i-container .g-app-header__block-i-outline[data-v-9ccf6042]{fill:#fff}.g-app-header__block-i-container .g-app-header__block-i-fill[data-v-9ccf6042]{fill:var(--il-orange)}"]], ["__scopeId", "data-v-9ccf6042"]]);
|
|
4825
|
+
}), [["styles", ["html{scroll-padding-top:70px}.g-app-header .g-app-header__title{flex:1;align-items:center;margin-left:20px;display:flex}.g-app-header .g-app-header__title>*{color:var(--g-primary-500);margin:0;font-family:Source Sans;font-size:20px;font-style:normal;line-height:30px}.g-app-header .g-app-header__app-controls-wrap{margin-right:20px}.app-name{color:var(--g-primary-500);margin:0 10px 0 20px;font-family:Source Sans;font-size:1.25rem;font-style:normal;font-weight:700;line-height:1.875rem;text-decoration:none}.app-name a{color:var(--g-primary-500)}.app-name a:hover{color:var(--g-accent-700);text-decoration:underline}@media screen and (width<=640px){.app-name{display:none}}a.app-name:hover{color:var(--g-accent-700);text-decoration:underline}", ".g-app-header[data-v-a83cd06a]{box-sizing:border-box;background-color:var(--g-surface-100);padding-right:var(--g-scrollbar-width,0px);z-index:2;height:var(--g-toolbar-height);border-bottom:2px solid var(--g-accent-500);align-items:center;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 1px 2px #00000040,0 1px 10px 5px #00000014}.g-app-header__background[data-v-a83cd06a]{z-index:-1;width:470px;position:absolute;top:0;bottom:0;left:0}@media screen and (width<=640px){.g-app-header__background[data-v-a83cd06a]{width:80%}}.g-app-header__background-pattern[data-v-a83cd06a]{opacity:.5;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBoZWlnaHQ9IjQ2IiB2aWV3Qm94PSIwIDAgNzEyLjkyNSA2NjkuMTY1Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSItNzE5Ni45NzciIHgyPSItNzIwNC4yIiB5MT0iLTE4MTEuMzA3IiB5Mj0iLTIyODQuNDA1IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTM2MjkuODQ4IC0yNzk4LjAxNSkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNjOGM2YzciLz48c3RvcCBvZmZzZXQ9Ii45ODEiIHN0b3AtY29sb3I9IiNmZmYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCB4bGluazpocmVmPSIjYSIgaWQ9ImIiIHgxPSItNzE5Ni45NzciIHgyPSItNzIwNC4yIiB5MT0iLTE1NTguNjU1IiB5Mj0iLTIwMzEuNzUzIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTM4MDguNSAtMjM2Ni43MTEpIi8+PGxpbmVhckdyYWRpZW50IHhsaW5rOmhyZWY9IiNhIiBpZD0iYyIgeDE9Ii03MTk2Ljk3NyIgeDI9Ii03MjA0LjIiIHkxPSItMTMwNi4wMDMiIHkyPSItMTc3OS4xMDEiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMi4wNDY1IDAgMCAtMSAxMzk4Ny4xNTIgLTE5MzUuNDA3KSIvPjxsaW5lYXJHcmFkaWVudCB4bGluazpocmVmPSIjYSIgaWQ9ImQiIHgxPSItNzE5Ni45NzciIHgyPSItNzIwNC4yIiB5MT0iLTEwNTMuMzUxIiB5Mj0iLTE1MjYuNDQ5IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTQxNjUuODAzIC0xNTA0LjEwMykiLz48bGluZWFyR3JhZGllbnQgeGxpbms6aHJlZj0iI2EiIGlkPSJlIiB4MT0iLTcxOTYuOTc3IiB4Mj0iLTcyMDQuMiIgeTE9Ii04MDAuNjk5IiB5Mj0iLTEyNzMuNzk3IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTQzNDQuNDU1IC0xMDcyLjc5OSkiLz48bGluZWFyR3JhZGllbnQgeGxpbms6aHJlZj0iI2EiIGlkPSJmIiB4MT0iLTcxOTYuOTc3IiB4Mj0iLTcyMDQuMiIgeTE9Ii01NDguMDQ3IiB5Mj0iLTEwMjEuMTQ0IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTQ1MjMuMTA3IC02NDEuNDk1KSIvPjxsaW5lYXJHcmFkaWVudCB4bGluazpocmVmPSIjYSIgaWQ9ImciIHgxPSItNzE5OS40OSIgeDI9Ii03MjA2LjcxMyIgeTE9Ii0yOTUuMzcxIiB5Mj0iLTc2OC40NjkiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMi4wNDY1IDAgMCAtMSAxNDcxMC41NTUgLTIxMy43ODcpIi8+PGxpbmVhckdyYWRpZW50IHhsaW5rOmhyZWY9IiNhIiBpZD0iaCIgeDE9Ii03MTk5LjQ5IiB4Mj0iLTcyMDYuNzEzIiB5MT0iLTQyLjcxOSIgeTI9Ii01MTUuODE3IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTQ4ODkuMjA3IDIxNy41MTcpIi8+PGxpbmVhckdyYWRpZW50IHhsaW5rOmhyZWY9IiNhIiBpZD0iaSIgeDE9Ii03MTk5LjQ5IiB4Mj0iLTcyMDYuNzEzIiB5MT0iMjA5LjkzMyIgeTI9Ii0yNjMuMTY1IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTUwNjcuODU5IDY0OC44MikiLz48bGluZWFyR3JhZGllbnQgeGxpbms6aHJlZj0iI2EiIGlkPSJqIiB4MT0iLTcxOTkuNDkiIHgyPSItNzIwNi43MTMiIHkxPSI0NjIuNTg1IiB5Mj0iLTEwLjUxMyIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgyLjA0NjUgMCAwIC0xIDE1MjQ2LjUxIDEwODAuMTI1KSIvPjxsaW5lYXJHcmFkaWVudCB4bGluazpocmVmPSIjYSIgaWQ9ImsiIHgxPSItNzE5OS40OSIgeDI9Ii03MjA2LjcxMyIgeTE9IjcxNS4yMzciIHkyPSIyNDIuMTM5IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTU0MjUuMTYyIDE1MTEuNDI5KSIvPjxsaW5lYXJHcmFkaWVudCB4bGluazpocmVmPSIjYSIgaWQ9ImwiIHgxPSItNzE5OS40OSIgeDI9Ii03MjA2LjcxMyIgeTE9Ijk2Ny44ODkiIHkyPSI0OTQuNzkxIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDIuMDQ2NSAwIDAgLTEgMTU2MDMuODE0IDE5NDIuNzMzKSIvPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjY2xpcHBhdGgpIj48cGF0aCBmaWxsPSJ1cmwoI2EpIiBkPSJNLTI1NDYuNjc0LTk3OC41MzNIMzQwLjY4djI1Mi42NTJoLTI4ODcuMzU0eiIgdHJhbnNmb3JtPSJyb3RhdGUoMTM1IC0xMTAyLjk5NyAtODUyLjIwOCkiLz48cGF0aCBmaWxsPSJ1cmwoI2IpIiBkPSJNLTIzNjguMDIyLTc5OS44ODFINTE5LjMzMnYyNTIuNjUyaC0yODg3LjM1NHoiIHRyYW5zZm9ybT0icm90YXRlKDEzNSAtOTI0LjM0NSAtNjczLjU1NikiLz48cGF0aCBmaWxsPSJ1cmwoI2MpIiBkPSJNLTIxODkuMzctNjIxLjIyOUg2OTcuOTg0djI1Mi42NTJILTIxODkuMzd6IiB0cmFuc2Zvcm09InJvdGF0ZSgxMzUgLTc0NS42OTMgLTQ5NC45MDMpIi8+PHBhdGggZmlsbD0idXJsKCNkKSIgZD0iTS0yMDEwLjcxOC00NDIuNTc3SDg3Ni42MzZ2MjUyLjY1MmgtMjg4Ny4zNTR6IiB0cmFuc2Zvcm09InJvdGF0ZSgxMzUgLTU2Ny4wNDEgLTMxNi4yNTEpIi8+PHBhdGggZmlsbD0idXJsKCNlKSIgZD0iTS0xODMyLjA2Ni0yNjMuOTI1aDI4ODcuMzU0djI1Mi42NTJoLTI4ODcuMzU0eiIgdHJhbnNmb3JtPSJyb3RhdGUoMTM1IC0zODguMzkgLTEzNy42KSIvPjxwYXRoIGZpbGw9InVybCgjZikiIGQ9Ik0tMTY1My40MTQtODUuMjczSDEyMzMuOTR2MjUyLjY1MmgtMjg4Ny4zNTR6IiB0cmFuc2Zvcm09InJvdGF0ZSgxMzUgLTIwOS43MzcgNDEuMDUzKSIvPjxwYXRoIGZpbGw9InVybCgjZykiIGQ9Ik0tMTQ3MS4xMDkgODkuNzU5aDI4ODcuMzU0djI1Mi42NTJoLTI4ODcuMzU0eiIgdHJhbnNmb3JtPSJyb3RhdGUoMTM1IC0yNy40MzIgMjE2LjA4NSkiLz48cGF0aCBmaWxsPSJ1cmwoI2gpIiBkPSJNLTEyOTIuNDU3IDI2OC40MTFoMjg4Ny4zNTR2MjUyLjY1MmgtMjg4Ny4zNTR6IiB0cmFuc2Zvcm09InJvdGF0ZSgxMzUgMTUxLjIyIDM5NC43MzcpIi8+PHBhdGggZmlsbD0idXJsKCNpKSIgZD0iTS0xMTEzLjgwNiA0NDcuMDYzaDI4ODcuMzU0djI1Mi42NTJoLTI4ODcuMzU0eiIgdHJhbnNmb3JtPSJyb3RhdGUoMTM1IDMyOS44NzEgNTczLjM4OSkiLz48cGF0aCBmaWxsPSJ1cmwoI2opIiBkPSJNLTkzNS4xNTQgNjI1LjcxNUgxOTUyLjJ2MjUyLjY1MkgtOTM1LjE1NHoiIHRyYW5zZm9ybT0icm90YXRlKDEzNSA1MDguNTIzIDc1Mi4wNCkiLz48cGF0aCBmaWxsPSJ1cmwoI2spIiBkPSJNLTc1Ni41MDIgODA0LjM2N2gyODg3LjM1NHYyNTIuNjUySC03NTYuNTAyeiIgdHJhbnNmb3JtPSJyb3RhdGUoMTM1IDY4Ny4xNzUgOTMwLjY5MykiLz48cGF0aCBmaWxsPSJ1cmwoI2wpIiBkPSJNLTU3Ny44NSA5ODMuMDE5aDI4ODcuMzU0djI1Mi42NTJILTU3Ny44NXoiIHRyYW5zZm9ybT0icm90YXRlKDEzNSA4NjUuODI3IDExMDkuMzQ1KSIvPjwvZz48L3N2Zz4=);background-repeat:repeat;position:absolute;inset:0}.darkmode .g-app-header__block-i-container[data-v-a83cd06a]{background:var(--il-orange)}.darkmode .g-app-header__block-i-fill[data-v-a83cd06a]{fill:var(--il-blue)}.g-app-header__background-gradient[data-v-a83cd06a]{background:linear-gradient(90deg, transparent -15.89%, var(--g-surface-100) 95.85%);position:absolute;inset:0}.g-app-header__brand[data-v-a83cd06a]{min-width:1rem;margin-top:2px}.g-app-header__brand[data-v-a83cd06a] a{font-family:var(--il-font-montserrat);letter-spacing:.98px;color:var(--g-primary-300);padding:10px 15px;font-size:14px;font-style:normal;font-weight:800;text-decoration:none}.g-app-header__brand[data-v-a83cd06a] a:hover{color:var(--g-primary-500);text-decoration:underline}@media screen and (width<=740px){.g-app-header__brand[data-v-a83cd06a] a{display:none}}.g-app-header__block-i-container[data-v-a83cd06a]{height:calc(var(--g-toolbar-height) + 3px);box-sizing:border-box;margin-top:6px;box-shadow:0 0 1px 1px #00000014,2px 1px 10px #00000059}.g-app-header__app-controls[data-v-a83cd06a]{flex:1;justify-content:flex-end;gap:10px;padding:0 10px;display:flex}.g-app-header__block-i-container[data-v-a83cd06a]{background-color:var(--il-blue);min-width:40px;padding:8px 10px}.g-app-header__block-i-container .g-app-header__block-i[data-v-a83cd06a]{width:24px;display:block}.g-app-header__block-i-container .g-app-header__block-i-outline[data-v-a83cd06a]{fill:#fff}.g-app-header__block-i-container .g-app-header__block-i-fill[data-v-a83cd06a]{fill:var(--il-orange)}"]], ["__scopeId", "data-v-a83cd06a"]]);
|
|
4826
4826
|
//#endregion
|
|
4827
4827
|
//#region src/compose/useForm.ts
|
|
4828
4828
|
function nu() {
|
|
@@ -4942,6 +4942,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
4942
4942
|
"value",
|
|
4943
4943
|
"checked",
|
|
4944
4944
|
"disabled",
|
|
4945
|
+
"required",
|
|
4945
4946
|
"onChange"
|
|
4946
4947
|
], gu = { class: "g-checkbox-group__label-text" }, _u = ["id"], vu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
4947
4948
|
__name: "GCheckboxGroup",
|
|
@@ -4995,14 +4996,13 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
4995
4996
|
i = n.radio ? t ? [e] : [] : t ? r.value.includes(e) ? r.value : [...r.value, e] : r.value.filter((t) => t !== e), r.value = i, s("change", i);
|
|
4996
4997
|
}
|
|
4997
4998
|
let u = Q(() => n.radio ? "radio" : "checkbox"), d = Q(() => `error-message-${i}`), f = Q(() => `instructions-${i}`), p = Q(() => n.radio || n.options.length > 1), m = Q(() => {
|
|
4998
|
-
if (!n.radio) return {};
|
|
4999
4999
|
let e = [];
|
|
5000
|
-
return n.instructions && e.push(f.value), {
|
|
5000
|
+
return n.instructions && e.push(f.value), n.radio ? {
|
|
5001
5001
|
role: "radiogroup",
|
|
5002
5002
|
"aria-invalid": o.value ? "true" : void 0,
|
|
5003
5003
|
"aria-errormessage": o.value ? d.value : void 0,
|
|
5004
5004
|
"aria-describedby": e.length ? e.join(" ") : void 0
|
|
5005
|
-
};
|
|
5005
|
+
} : { "aria-describedby": e.length ? e.join(" ") : void 0 };
|
|
5006
5006
|
});
|
|
5007
5007
|
function h(e) {
|
|
5008
5008
|
return `${i}-hint-${e}`;
|
|
@@ -5014,6 +5014,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5014
5014
|
let r = [];
|
|
5015
5015
|
return !n.radio && n.instructions && r.push(f.value), e.hint && r.push(h(t)), n.radio ? { "aria-describedby": r.length ? r.join(" ") : void 0 } : {
|
|
5016
5016
|
"aria-describedby": r.length ? r.join(" ") : void 0,
|
|
5017
|
+
"aria-required": n.required && n.options.length > 1 ? "true" : void 0,
|
|
5017
5018
|
"aria-invalid": o.value ? "true" : "false",
|
|
5018
5019
|
"aria-errormessage": o.value ? d.value : void 0
|
|
5019
5020
|
};
|
|
@@ -5039,6 +5040,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5039
5040
|
value: t.value,
|
|
5040
5041
|
checked: c(t.value),
|
|
5041
5042
|
disabled: t.disabled,
|
|
5043
|
+
required: e.required && (e.radio && n === 0 || !e.radio && e.options.length === 1),
|
|
5042
5044
|
class: "g-checkbox-group__input"
|
|
5043
5045
|
}, { ref_for: !0 }, _(t, n), { onChange: (e) => l(t.value, e.target.checked) }), null, 16, hu), J("span", gu, j(t.label), 1)], 10, mu), t.hint ? (G(), K("div", {
|
|
5044
5046
|
key: 0,
|
|
@@ -5053,7 +5055,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5053
5055
|
_: 1
|
|
5054
5056
|
}, 16, ["class"]));
|
|
5055
5057
|
}
|
|
5056
|
-
}), [["styles", [".g-checkbox-group[data-v-
|
|
5058
|
+
}), [["styles", [".g-checkbox-group[data-v-962dc60c]{border:none;flex-direction:column;margin:0;padding:0;display:flex}.g-checkbox-group__legend[data-v-962dc60c],.g-checkbox-group__label[data-v-962dc60c]{float:left;width:100%;margin-bottom:.5em;padding:0;font-size:1.25em}.g-checkbox-group__required[data-v-962dc60c]{color:var(--g-danger-600)}.g-checkbox-group__instructions[data-v-962dc60c]{color:var(--g-surface-800);clear:both;margin:0 0 .75em .5em}.g-checkbox-group__options[data-v-962dc60c]{clear:both;flex-direction:column;gap:.5em;display:flex}.g-checkbox-group__option-wrapper[data-v-962dc60c]{flex-direction:column;display:flex}.g-checkbox-group__option-wrapper--disabled[data-v-962dc60c]{opacity:.5;cursor:not-allowed}.g-checkbox-group__option[data-v-962dc60c]{cursor:pointer;border-radius:4px;align-items:flex-start;gap:.5em;padding:.375em .5em;display:flex}.g-checkbox-group__option-wrapper--disabled .g-checkbox-group__option[data-v-962dc60c]{cursor:not-allowed}.g-checkbox-group__input[data-v-962dc60c]{accent-color:var(--g-primary-500);cursor:pointer;flex-shrink:0;width:1.1em;height:1.1em;margin-top:.2em}.g-checkbox-group__input[data-v-962dc60c]:focus-visible{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-checkbox-group__option-wrapper--disabled .g-checkbox-group__input[data-v-962dc60c]{cursor:not-allowed}.g-checkbox-group__label-text[data-v-962dc60c]{font-family:var(--il-font-sans);line-height:1.4}.g-checkbox-group__hint[data-v-962dc60c]{color:var(--g-surface-700);margin-top:.125em;padding-left:2.1em;padding-right:.5em;font-size:.875em}.g-checkbox-group--error .g-checkbox-group__options[data-v-962dc60c]{border-left:3px solid var(--g-danger-600);padding-left:.75em}"]], ["__scopeId", "data-v-962dc60c"]]);
|
|
5057
5059
|
//#endregion
|
|
5058
5060
|
//#region src/compose/popoverPosition.ts
|
|
5059
5061
|
function yu(e, t, n, r) {
|
|
@@ -5184,18 +5186,23 @@ var Du = {
|
|
|
5184
5186
|
d: "M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
|
|
5185
5187
|
})], -1)]], 32)), [[F(n), s.value]])]));
|
|
5186
5188
|
}
|
|
5187
|
-
}), [["styles", [".g-clipboard-text-button[data-v-bd5d31d2]{cursor:pointer;color:var(--g-surface-0);background:var(--g-primary-500);border:1px solid var(--g-primary-500);border-radius:4px;align-items:center;margin-left:.5rem;padding:.4rem;font-size:14px;display:inline-flex}.g-clipboard-text-button .g-clipboard-svg[data-v-bd5d31d2]{display:block}.g-clipboard-text-button[data-v-bd5d31d2]:hover{color:var(--g-primary-500);background:var(--g-surface-0)}.g-clipboard-text-button[data-v-bd5d31d2]:focus{color:var(--g-primary-500);background:var(--g-info-200);outline-color:var(--g-primary-500)}.g-clipboard-text-button [data-v-bd5d31d2] span{display:block}"]], ["__scopeId", "data-v-bd5d31d2"]]), Au = ["for"], ju =
|
|
5189
|
+
}), [["styles", [".g-clipboard-text-button[data-v-bd5d31d2]{cursor:pointer;color:var(--g-surface-0);background:var(--g-primary-500);border:1px solid var(--g-primary-500);border-radius:4px;align-items:center;margin-left:.5rem;padding:.4rem;font-size:14px;display:inline-flex}.g-clipboard-text-button .g-clipboard-svg[data-v-bd5d31d2]{display:block}.g-clipboard-text-button[data-v-bd5d31d2]:hover{color:var(--g-primary-500);background:var(--g-surface-0)}.g-clipboard-text-button[data-v-bd5d31d2]:focus{color:var(--g-primary-500);background:var(--g-info-200);outline-color:var(--g-primary-500)}.g-clipboard-text-button [data-v-bd5d31d2] span{display:block}"]], ["__scopeId", "data-v-bd5d31d2"]]), Au = ["for"], ju = {
|
|
5190
|
+
key: 0,
|
|
5191
|
+
class: "g-text-input-required",
|
|
5192
|
+
"aria-hidden": "true"
|
|
5193
|
+
}, Mu = ["id"], Nu = {
|
|
5188
5194
|
key: 0,
|
|
5189
5195
|
class: "g-text-input-prefix"
|
|
5190
|
-
},
|
|
5196
|
+
}, Pu = [
|
|
5191
5197
|
"value",
|
|
5192
5198
|
"placeholder",
|
|
5193
5199
|
"disabled",
|
|
5200
|
+
"required",
|
|
5194
5201
|
"aria-invalid"
|
|
5195
|
-
],
|
|
5202
|
+
], Fu = {
|
|
5196
5203
|
key: 1,
|
|
5197
5204
|
class: "g-text-input-suffix"
|
|
5198
|
-
},
|
|
5205
|
+
}, Iu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5199
5206
|
inheritAttrs: !1,
|
|
5200
5207
|
__name: "GTextInput",
|
|
5201
5208
|
props: /* @__PURE__ */ H({
|
|
@@ -5211,6 +5218,10 @@ var Du = {
|
|
|
5211
5218
|
type: Boolean,
|
|
5212
5219
|
default: !1
|
|
5213
5220
|
},
|
|
5221
|
+
required: {
|
|
5222
|
+
type: Boolean,
|
|
5223
|
+
default: !1
|
|
5224
|
+
},
|
|
5214
5225
|
errors: {
|
|
5215
5226
|
default: () => [],
|
|
5216
5227
|
type: Array
|
|
@@ -5282,18 +5293,19 @@ var Du = {
|
|
|
5282
5293
|
key: 0,
|
|
5283
5294
|
for: c.value,
|
|
5284
5295
|
class: "g-text-input-label"
|
|
5285
|
-
}, j(n.label),
|
|
5296
|
+
}, [X(j(n.label), 1), n.required ? (G(), K("span", ju, " *")) : Z("", !0)], 8, Au)) : Z("", !0),
|
|
5286
5297
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
5287
5298
|
key: 1,
|
|
5288
5299
|
id: "instructions-" + F(i),
|
|
5289
5300
|
class: "g-text-input-instructions"
|
|
5290
|
-
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8,
|
|
5301
|
+
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8, Mu)) : Z("", !0),
|
|
5291
5302
|
J("div", { class: A([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
|
|
5292
|
-
n.prefix ? (G(), K("span",
|
|
5303
|
+
n.prefix ? (G(), K("span", Nu, j(n.prefix), 1)) : Z("", !0),
|
|
5293
5304
|
J("input", Ha({
|
|
5294
5305
|
value: r.value,
|
|
5295
5306
|
placeholder: n.placeholder,
|
|
5296
5307
|
disabled: n.disabled,
|
|
5308
|
+
required: n.required,
|
|
5297
5309
|
onInput: h,
|
|
5298
5310
|
onBlur: g,
|
|
5299
5311
|
onPaste: _,
|
|
@@ -5305,8 +5317,8 @@ var Du = {
|
|
|
5305
5317
|
id: c.value,
|
|
5306
5318
|
"aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + F(i) : void 0,
|
|
5307
5319
|
"aria-errormessage": F(u) ? "error-message-" + F(i) : void 0
|
|
5308
|
-
}, { "aria-invalid": F(u) ? "true" : "false" }), null, 16,
|
|
5309
|
-
n.suffix ? (G(), K("span",
|
|
5320
|
+
}, { "aria-invalid": F(u) ? "true" : "false" }), null, 16, Pu),
|
|
5321
|
+
n.suffix ? (G(), K("span", Fu, j(n.suffix), 1)) : Z("", !0)
|
|
5310
5322
|
], 2),
|
|
5311
5323
|
Y(su, {
|
|
5312
5324
|
errors: F(l),
|
|
@@ -5314,7 +5326,7 @@ var Du = {
|
|
|
5314
5326
|
}, null, 8, ["errors", "id"])
|
|
5315
5327
|
], 2));
|
|
5316
5328
|
}
|
|
5317
|
-
}), [["styles", [".g-text-input-wrap[data-v-
|
|
5329
|
+
}), [["styles", [".g-text-input-wrap[data-v-a769f5df]{flex-direction:column;display:flex;position:relative}.g-text-input-label[data-v-a769f5df]{margin-bottom:.5em;font-size:1.25em}.g-text-input-required[data-v-a769f5df]{color:var(--g-danger-600)}.g-text-input-instructions[data-v-a769f5df]{color:var(--g-surface-800);margin:0 0 .75em .5em}.g-text-input-field-wrapper[data-v-a769f5df]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);border-radius:4px;align-items:center;display:flex;overflow:hidden}.g-text-input-field-wrapper[data-v-a769f5df]:focus-within{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-text-input-prefix[data-v-a769f5df],.g-text-input-suffix[data-v-a769f5df]{background:var(--g-surface-100);color:var(--g-surface-700);white-space:nowrap;font-family:var(--il-font-sans);padding:.5em}.g-text-input[data-v-a769f5df]{width:100%;color:var(--g-surface-950);font-size:1em;font-family:var(--il-font-sans);background:0 0;border:none;border-radius:0;padding:.5em}.g-text-input[data-v-a769f5df]:focus{outline:none}.g-text-input-has-error .g-text-input-field-wrapper[data-v-a769f5df]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-text-input[data-v-a769f5df]:disabled{color:var(--g-surface-700);background:0 0}.g-text-input-field-wrapper[data-v-a769f5df]:has(.g-text-input:disabled){background:var(--g-surface-100)}"]], ["__scopeId", "data-v-a769f5df"]]), Lu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5318
5330
|
__name: "GCurrencyInput",
|
|
5319
5331
|
props: /* @__PURE__ */ H({
|
|
5320
5332
|
label: {
|
|
@@ -5329,6 +5341,10 @@ var Du = {
|
|
|
5329
5341
|
type: Boolean,
|
|
5330
5342
|
default: !1
|
|
5331
5343
|
},
|
|
5344
|
+
required: {
|
|
5345
|
+
type: Boolean,
|
|
5346
|
+
default: !1
|
|
5347
|
+
},
|
|
5332
5348
|
errors: {
|
|
5333
5349
|
default: () => [],
|
|
5334
5350
|
type: Array
|
|
@@ -5352,13 +5368,14 @@ var Du = {
|
|
|
5352
5368
|
emits: ["update:modelValue"],
|
|
5353
5369
|
setup(e) {
|
|
5354
5370
|
let t = e, n = U(e, "modelValue");
|
|
5355
|
-
return (e, r) => (G(), q(
|
|
5371
|
+
return (e, r) => (G(), q(Iu, Ha({
|
|
5356
5372
|
modelValue: n.value,
|
|
5357
5373
|
"onUpdate:modelValue": r[0] ||= (e) => n.value = e,
|
|
5358
5374
|
name: t.name,
|
|
5359
5375
|
label: t.label,
|
|
5360
5376
|
placeholder: t.placeholder,
|
|
5361
5377
|
disabled: t.disabled,
|
|
5378
|
+
required: t.required,
|
|
5362
5379
|
errors: t.errors,
|
|
5363
5380
|
instructions: t.instructions,
|
|
5364
5381
|
"form-key": t.formKey,
|
|
@@ -5372,12 +5389,13 @@ var Du = {
|
|
|
5372
5389
|
"label",
|
|
5373
5390
|
"placeholder",
|
|
5374
5391
|
"disabled",
|
|
5392
|
+
"required",
|
|
5375
5393
|
"errors",
|
|
5376
5394
|
"instructions",
|
|
5377
5395
|
"form-key"
|
|
5378
5396
|
]));
|
|
5379
5397
|
}
|
|
5380
|
-
}), [["styles", [""]], ["__scopeId", "data-v-
|
|
5398
|
+
}), [["styles", [""]], ["__scopeId", "data-v-6ad6135a"]]), Ru = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5381
5399
|
__name: "GDateInput",
|
|
5382
5400
|
props: /* @__PURE__ */ H({
|
|
5383
5401
|
label: {
|
|
@@ -5392,6 +5410,10 @@ var Du = {
|
|
|
5392
5410
|
type: Boolean,
|
|
5393
5411
|
default: !1
|
|
5394
5412
|
},
|
|
5413
|
+
required: {
|
|
5414
|
+
type: Boolean,
|
|
5415
|
+
default: !1
|
|
5416
|
+
},
|
|
5395
5417
|
errors: {
|
|
5396
5418
|
default: () => [],
|
|
5397
5419
|
type: Array
|
|
@@ -5415,13 +5437,14 @@ var Du = {
|
|
|
5415
5437
|
emits: ["update:modelValue"],
|
|
5416
5438
|
setup(e) {
|
|
5417
5439
|
let t = e, n = U(e, "modelValue");
|
|
5418
|
-
return (e, r) => (G(), q(
|
|
5440
|
+
return (e, r) => (G(), q(Iu, Ha({
|
|
5419
5441
|
modelValue: n.value,
|
|
5420
5442
|
"onUpdate:modelValue": r[0] ||= (e) => n.value = e,
|
|
5421
5443
|
name: t.name,
|
|
5422
5444
|
label: t.label,
|
|
5423
5445
|
placeholder: t.placeholder,
|
|
5424
5446
|
disabled: t.disabled,
|
|
5447
|
+
required: t.required,
|
|
5425
5448
|
errors: t.errors,
|
|
5426
5449
|
instructions: t.instructions,
|
|
5427
5450
|
"form-key": t.formKey,
|
|
@@ -5432,22 +5455,27 @@ var Du = {
|
|
|
5432
5455
|
"label",
|
|
5433
5456
|
"placeholder",
|
|
5434
5457
|
"disabled",
|
|
5458
|
+
"required",
|
|
5435
5459
|
"errors",
|
|
5436
5460
|
"instructions",
|
|
5437
5461
|
"form-key"
|
|
5438
5462
|
]));
|
|
5439
5463
|
}
|
|
5440
|
-
}), [["styles", [""]], ["__scopeId", "data-v-
|
|
5464
|
+
}), [["styles", [""]], ["__scopeId", "data-v-da47b274"]]), zu = { class: "g-date-range-input" }, Bu = {
|
|
5441
5465
|
key: 0,
|
|
5442
5466
|
class: "g-date-range-input__label"
|
|
5443
|
-
},
|
|
5467
|
+
}, Vu = {
|
|
5468
|
+
key: 0,
|
|
5469
|
+
class: "g-date-range-input__required",
|
|
5470
|
+
"aria-hidden": "true"
|
|
5471
|
+
}, Hu = {
|
|
5444
5472
|
key: 1,
|
|
5445
5473
|
class: "g-date-range-input__instructions"
|
|
5446
|
-
},
|
|
5474
|
+
}, Uu = { class: "g-date-range-input__fields" }, Wu = {
|
|
5447
5475
|
key: 2,
|
|
5448
5476
|
class: "g-date-range-input__errors",
|
|
5449
5477
|
role: "alert"
|
|
5450
|
-
},
|
|
5478
|
+
}, Gu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5451
5479
|
__name: "GDateRangeInput",
|
|
5452
5480
|
props: /* @__PURE__ */ H({
|
|
5453
5481
|
label: {
|
|
@@ -5466,6 +5494,10 @@ var Du = {
|
|
|
5466
5494
|
type: Boolean,
|
|
5467
5495
|
default: !1
|
|
5468
5496
|
},
|
|
5497
|
+
required: {
|
|
5498
|
+
type: Boolean,
|
|
5499
|
+
default: !1
|
|
5500
|
+
},
|
|
5469
5501
|
errors: {
|
|
5470
5502
|
default: () => [],
|
|
5471
5503
|
type: Array
|
|
@@ -5504,37 +5536,41 @@ var Du = {
|
|
|
5504
5536
|
};
|
|
5505
5537
|
}), L(n, (e) => {
|
|
5506
5538
|
e.start !== r.value && (r.value = e.start), e.end !== i.value && (i.value = e.end);
|
|
5507
|
-
}, { deep: !0 }), (e, n) => (G(), K("div",
|
|
5508
|
-
t.label ? (G(), K("div",
|
|
5509
|
-
t.instructions ? (G(), K("div",
|
|
5510
|
-
J("div",
|
|
5539
|
+
}, { deep: !0 }), (e, n) => (G(), K("div", zu, [
|
|
5540
|
+
t.label ? (G(), K("div", Bu, [X(j(t.label), 1), t.required ? (G(), K("span", Vu, " *")) : Z("", !0)])) : Z("", !0),
|
|
5541
|
+
t.instructions ? (G(), K("div", Hu, j(t.instructions), 1)) : Z("", !0),
|
|
5542
|
+
J("div", Uu, [Y(Ru, {
|
|
5511
5543
|
modelValue: r.value,
|
|
5512
5544
|
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
5513
5545
|
label: t.startLabel,
|
|
5514
5546
|
disabled: t.disabled,
|
|
5547
|
+
required: t.required,
|
|
5515
5548
|
class: "g-date-range-input__field"
|
|
5516
5549
|
}, null, 8, [
|
|
5517
5550
|
"modelValue",
|
|
5518
5551
|
"label",
|
|
5519
|
-
"disabled"
|
|
5520
|
-
|
|
5552
|
+
"disabled",
|
|
5553
|
+
"required"
|
|
5554
|
+
]), Y(Ru, {
|
|
5521
5555
|
modelValue: i.value,
|
|
5522
5556
|
"onUpdate:modelValue": n[1] ||= (e) => i.value = e,
|
|
5523
5557
|
label: t.endLabel,
|
|
5524
5558
|
disabled: t.disabled,
|
|
5559
|
+
required: t.required,
|
|
5525
5560
|
class: "g-date-range-input__field"
|
|
5526
5561
|
}, null, 8, [
|
|
5527
5562
|
"modelValue",
|
|
5528
5563
|
"label",
|
|
5529
|
-
"disabled"
|
|
5564
|
+
"disabled",
|
|
5565
|
+
"required"
|
|
5530
5566
|
])]),
|
|
5531
|
-
F(a).length > 0 ? (G(), K("div",
|
|
5567
|
+
F(a).length > 0 ? (G(), K("div", Wu, [(G(!0), K(W, null, B(F(a), (e, t) => (G(), K("div", {
|
|
5532
5568
|
key: t,
|
|
5533
5569
|
class: "g-date-range-input__error"
|
|
5534
5570
|
}, j(e), 1))), 128))])) : Z("", !0)
|
|
5535
5571
|
]));
|
|
5536
5572
|
}
|
|
5537
|
-
}), [["styles", [".g-date-range-input[data-v-
|
|
5573
|
+
}), [["styles", [".g-date-range-input[data-v-e61c209b]{flex-direction:column;gap:.5rem;display:flex}.g-date-range-input__label[data-v-e61c209b]{font-size:1.25em;font-weight:600}.g-date-range-input__required[data-v-e61c209b]{color:var(--g-danger-600)}.g-date-range-input__instructions[data-v-e61c209b]{color:var(--g-surface-800);margin:0 0 .25em .5em}.g-date-range-input__fields[data-v-e61c209b]{flex-direction:row;align-items:flex-start;gap:1rem;display:flex}.g-date-range-input__field[data-v-e61c209b]{flex:1;min-width:0}.g-date-range-input__errors[data-v-e61c209b]{flex-direction:column;gap:.25em;display:flex}.g-date-range-input__error[data-v-e61c209b]{background:var(--g-surface-0);color:var(--g-danger-600);padding:.25em .5em}"]], ["__scopeId", "data-v-e61c209b"]]), Ku = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5538
5574
|
__name: "GDetailList",
|
|
5539
5575
|
props: { variant: {
|
|
5540
5576
|
default: "grid",
|
|
@@ -5544,13 +5580,13 @@ var Du = {
|
|
|
5544
5580
|
let t = e;
|
|
5545
5581
|
return (e, n) => (G(), K("dl", { class: A(["g-detail-list", `g-detail-list--${t.variant}`]) }, [V(e.$slots, "default", {}, void 0, !0)], 2));
|
|
5546
5582
|
}
|
|
5547
|
-
}), [["styles", [".g-detail-list[data-v-b851df7b]{margin:0}.g-detail-list--grid[data-v-b851df7b]{grid-template-columns:repeat(auto-fill, minmax(var(--g-detail-list-item-min-width,10rem), var(--g-detail-list-item-max-width,1fr)));align-items:start;gap:1.5rem 2.5rem;display:grid}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item{border-left:2px solid var(--g-accent-500);flex-direction:column;padding-left:.75rem;display:flex}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item__label{font-size:.875rem}.g-detail-list--vertical[data-v-b851df7b]{flex-direction:column;display:flex}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item{border-bottom:1px solid var(--g-surface-200);grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:.25rem 1rem;padding:.75rem 0;display:grid}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item:last-child{border-bottom:none}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__label{align-self:start;font-size:1rem}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__value{text-align:right;justify-self:end}"]], ["__scopeId", "data-v-b851df7b"]]),
|
|
5583
|
+
}), [["styles", [".g-detail-list[data-v-b851df7b]{margin:0}.g-detail-list--grid[data-v-b851df7b]{grid-template-columns:repeat(auto-fill, minmax(var(--g-detail-list-item-min-width,10rem), var(--g-detail-list-item-max-width,1fr)));align-items:start;gap:1.5rem 2.5rem;display:grid}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item{border-left:2px solid var(--g-accent-500);flex-direction:column;padding-left:.75rem;display:flex}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item__label{font-size:.875rem}.g-detail-list--vertical[data-v-b851df7b]{flex-direction:column;display:flex}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item{border-bottom:1px solid var(--g-surface-200);grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:.25rem 1rem;padding:.75rem 0;display:grid}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item:last-child{border-bottom:none}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__label{align-self:start;font-size:1rem}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__value{text-align:right;justify-self:end}"]], ["__scopeId", "data-v-b851df7b"]]), qu = { class: "g-detail-list-item" }, Ju = { class: "g-detail-list-item__label" }, Yu = { class: "g-detail-list-item__value" }, Xu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5548
5584
|
__name: "GDetailListItem",
|
|
5549
5585
|
props: { label: { type: String } },
|
|
5550
5586
|
setup(e) {
|
|
5551
|
-
return (t, n) => (G(), K("div",
|
|
5587
|
+
return (t, n) => (G(), K("div", qu, [J("dt", Ju, [V(t.$slots, "label", {}, () => [X(j(e.label), 1)])]), J("dd", Yu, [V(t.$slots, "default")])]));
|
|
5552
5588
|
}
|
|
5553
|
-
}), [["styles", [".g-detail-list-item{margin:0}.g-detail-list-item__label{color:var(--g-primary-500);margin:0;font-weight:700}.g-detail-list-item__value{margin:0}"]]]),
|
|
5589
|
+
}), [["styles", [".g-detail-list-item{margin:0}.g-detail-list-item__label{color:var(--g-primary-500);margin:0;font-weight:700}.g-detail-list-item__value{margin:0}"]]]), Zu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5554
5590
|
__name: "GEmailInput",
|
|
5555
5591
|
props: /* @__PURE__ */ H({
|
|
5556
5592
|
label: {
|
|
@@ -5565,6 +5601,10 @@ var Du = {
|
|
|
5565
5601
|
type: Boolean,
|
|
5566
5602
|
default: !1
|
|
5567
5603
|
},
|
|
5604
|
+
required: {
|
|
5605
|
+
type: Boolean,
|
|
5606
|
+
default: !1
|
|
5607
|
+
},
|
|
5568
5608
|
errors: {
|
|
5569
5609
|
default: () => [],
|
|
5570
5610
|
type: Array
|
|
@@ -5584,13 +5624,14 @@ var Du = {
|
|
|
5584
5624
|
emits: ["update:modelValue"],
|
|
5585
5625
|
setup(e) {
|
|
5586
5626
|
let t = U(e, "modelValue");
|
|
5587
|
-
return (n, r) => (G(), q(
|
|
5627
|
+
return (n, r) => (G(), q(Iu, Ha({
|
|
5588
5628
|
modelValue: t.value,
|
|
5589
5629
|
"onUpdate:modelValue": r[0] ||= (e) => t.value = e,
|
|
5590
5630
|
name: e.name,
|
|
5591
5631
|
label: e.label,
|
|
5592
5632
|
placeholder: e.placeholder,
|
|
5593
5633
|
disabled: e.disabled,
|
|
5634
|
+
required: e.required,
|
|
5594
5635
|
errors: e.errors,
|
|
5595
5636
|
instructions: e.instructions,
|
|
5596
5637
|
type: "email"
|
|
@@ -5600,17 +5641,18 @@ var Du = {
|
|
|
5600
5641
|
"label",
|
|
5601
5642
|
"placeholder",
|
|
5602
5643
|
"disabled",
|
|
5644
|
+
"required",
|
|
5603
5645
|
"errors",
|
|
5604
5646
|
"instructions"
|
|
5605
5647
|
]));
|
|
5606
5648
|
}
|
|
5607
|
-
}), [["styles", [""]], ["__scopeId", "data-v-
|
|
5649
|
+
}), [["styles", [""]], ["__scopeId", "data-v-d6d4df0c"]]), Qu = ["for"], $u = {
|
|
5608
5650
|
key: 0,
|
|
5609
5651
|
class: "g-file-input-required"
|
|
5610
|
-
},
|
|
5652
|
+
}, ed = {
|
|
5611
5653
|
key: 0,
|
|
5612
5654
|
class: "g-file-input-box-header"
|
|
5613
|
-
},
|
|
5655
|
+
}, td = ["id"], nd = [
|
|
5614
5656
|
"id",
|
|
5615
5657
|
"disabled",
|
|
5616
5658
|
"required",
|
|
@@ -5619,11 +5661,11 @@ var Du = {
|
|
|
5619
5661
|
"aria-invalid",
|
|
5620
5662
|
"aria-describedby",
|
|
5621
5663
|
"aria-errormessage"
|
|
5622
|
-
],
|
|
5664
|
+
], rd = {
|
|
5623
5665
|
key: 1,
|
|
5624
5666
|
class: "g-file-input-pills",
|
|
5625
5667
|
"aria-label": "Selected files"
|
|
5626
|
-
},
|
|
5668
|
+
}, id = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5627
5669
|
inheritAttrs: !1,
|
|
5628
5670
|
__name: "GFileInput",
|
|
5629
5671
|
props: /* @__PURE__ */ H({
|
|
@@ -5686,12 +5728,12 @@ var Du = {
|
|
|
5686
5728
|
key: 0,
|
|
5687
5729
|
for: F(i),
|
|
5688
5730
|
class: "g-file-input-label"
|
|
5689
|
-
}, [X(j(e.label) + " ", 1), e.required ? (G(), K("span",
|
|
5731
|
+
}, [X(j(e.label) + " ", 1), e.required ? (G(), K("span", $u, "*")) : Z("", !0)], 8, Qu)) : Z("", !0),
|
|
5690
5732
|
J("div", { class: A(["g-file-input-box", { "g-file-input-box--disabled": e.disabled }]) }, [
|
|
5691
|
-
e.instructions ? (G(), K("div",
|
|
5733
|
+
e.instructions ? (G(), K("div", ed, [J("span", {
|
|
5692
5734
|
id: "instructions-" + F(i),
|
|
5693
5735
|
class: "g-file-input-instructions"
|
|
5694
|
-
}, j(e.instructions), 9,
|
|
5736
|
+
}, j(e.instructions), 9, td)])) : Z("", !0),
|
|
5695
5737
|
J("input", {
|
|
5696
5738
|
id: F(i),
|
|
5697
5739
|
type: "file",
|
|
@@ -5704,8 +5746,8 @@ var Du = {
|
|
|
5704
5746
|
"aria-describedby": e.instructions ? "instructions-" + F(i) : void 0,
|
|
5705
5747
|
"aria-errormessage": d.value ? "error-message-" + F(i) : void 0,
|
|
5706
5748
|
onChange: l
|
|
5707
|
-
}, null, 40,
|
|
5708
|
-
e.multiple && f.value.length > 0 ? (G(), K("ul",
|
|
5749
|
+
}, null, 40, nd),
|
|
5750
|
+
e.multiple && f.value.length > 0 ? (G(), K("ul", rd, [(G(!0), K(W, null, B(f.value, (e) => (G(), K("li", {
|
|
5709
5751
|
key: e,
|
|
5710
5752
|
class: "g-file-input-pill"
|
|
5711
5753
|
}, [n[0] ||= J("svg", {
|
|
@@ -5721,7 +5763,7 @@ var Du = {
|
|
|
5721
5763
|
}, null, 8, ["errors", "id"])
|
|
5722
5764
|
], 2));
|
|
5723
5765
|
}
|
|
5724
|
-
}), [["styles", [".g-file-input-wrap[data-v-0c8c7f65]{flex-direction:column;display:flex;position:relative}.g-file-input-label[data-v-0c8c7f65]{margin-bottom:.5em;font-size:1.25em}.g-file-input-required[data-v-0c8c7f65]{color:var(--g-danger-600);margin-left:.2em}.g-file-input-box[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);background:var(--g-surface-50);flex-direction:column;gap:.75em;max-width:360px;padding:.75em;display:flex}.g-file-input-box--disabled[data-v-0c8c7f65]{border-color:var(--g-surface-400);background:var(--g-surface-100)}.g-file-input-has-error .g-file-input-box[data-v-0c8c7f65]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-file-input-box-header[data-v-0c8c7f65]{color:var(--g-surface-700);align-items:center;gap:.5em;display:flex}.g-file-input-upload-icon[data-v-0c8c7f65]{width:2em;height:2em;color:var(--g-primary-500);flex-shrink:0}.g-file-input-box--disabled .g-file-input-upload-icon[data-v-0c8c7f65]{color:var(--g-surface-600)}.g-file-input-instructions[data-v-0c8c7f65]{color:var(--g-surface-900);font-size:.9em}.g-file-input[data-v-0c8c7f65]{font-size:1em;font-family:var(--il-font-sans);color:var(--g-surface-950);cursor:pointer;background:0 0;border:none;width:100%;padding:0}.g-file-input[data-v-0c8c7f65]::file-selector-button{font-family:var(--il-font-sans);border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-radius:var(--g-border-radius-m);justify-content:center;align-items:center;padding:12px 20px;font-size:19px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.g-file-input[data-v-0c8c7f65]::file-selector-button:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-file-input[data-v-0c8c7f65]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200);border-radius:var(--g-border-radius-s)}.g-file-input[data-v-0c8c7f65]:disabled{cursor:not-allowed;color:var(--g-surface-800)}.g-file-input[data-v-0c8c7f65]:disabled::file-selector-button{background:var(--g-surface-200);color:var(--g-surface-900);border-color:var(--g-surface-200);cursor:not-allowed}.g-file-input-pills[data-v-0c8c7f65]{flex-wrap:wrap;gap:.4em;margin:0;padding:0;list-style:none;display:flex}.g-file-input-pill[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);color:var(--g-surface-950);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;gap:.3em;max-width:24em;padding:.2em .7em;font-size:.85em;display:inline-flex;overflow:hidden}.g-file-input-pill-icon[data-v-0c8c7f65]{opacity:.7;flex-shrink:0;width:1em;height:1em}"]], ["__scopeId", "data-v-0c8c7f65"]]),
|
|
5766
|
+
}), [["styles", [".g-file-input-wrap[data-v-0c8c7f65]{flex-direction:column;display:flex;position:relative}.g-file-input-label[data-v-0c8c7f65]{margin-bottom:.5em;font-size:1.25em}.g-file-input-required[data-v-0c8c7f65]{color:var(--g-danger-600);margin-left:.2em}.g-file-input-box[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);background:var(--g-surface-50);flex-direction:column;gap:.75em;max-width:360px;padding:.75em;display:flex}.g-file-input-box--disabled[data-v-0c8c7f65]{border-color:var(--g-surface-400);background:var(--g-surface-100)}.g-file-input-has-error .g-file-input-box[data-v-0c8c7f65]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-file-input-box-header[data-v-0c8c7f65]{color:var(--g-surface-700);align-items:center;gap:.5em;display:flex}.g-file-input-upload-icon[data-v-0c8c7f65]{width:2em;height:2em;color:var(--g-primary-500);flex-shrink:0}.g-file-input-box--disabled .g-file-input-upload-icon[data-v-0c8c7f65]{color:var(--g-surface-600)}.g-file-input-instructions[data-v-0c8c7f65]{color:var(--g-surface-900);font-size:.9em}.g-file-input[data-v-0c8c7f65]{font-size:1em;font-family:var(--il-font-sans);color:var(--g-surface-950);cursor:pointer;background:0 0;border:none;width:100%;padding:0}.g-file-input[data-v-0c8c7f65]::file-selector-button{font-family:var(--il-font-sans);border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-radius:var(--g-border-radius-m);justify-content:center;align-items:center;padding:12px 20px;font-size:19px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.g-file-input[data-v-0c8c7f65]::file-selector-button:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-file-input[data-v-0c8c7f65]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200);border-radius:var(--g-border-radius-s)}.g-file-input[data-v-0c8c7f65]:disabled{cursor:not-allowed;color:var(--g-surface-800)}.g-file-input[data-v-0c8c7f65]:disabled::file-selector-button{background:var(--g-surface-200);color:var(--g-surface-900);border-color:var(--g-surface-200);cursor:not-allowed}.g-file-input-pills[data-v-0c8c7f65]{flex-wrap:wrap;gap:.4em;margin:0;padding:0;list-style:none;display:flex}.g-file-input-pill[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);color:var(--g-surface-950);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;gap:.3em;max-width:24em;padding:.2em .7em;font-size:.85em;display:inline-flex;overflow:hidden}.g-file-input-pill-icon[data-v-0c8c7f65]{opacity:.7;flex-shrink:0;width:1em;height:1em}"]], ["__scopeId", "data-v-0c8c7f65"]]), ad = ["action", "method"], od = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5725
5767
|
__name: "GForm",
|
|
5726
5768
|
props: /* @__PURE__ */ H({
|
|
5727
5769
|
action: {
|
|
@@ -5770,22 +5812,22 @@ var Du = {
|
|
|
5770
5812
|
hasErrors: F(o).hasErrors.value,
|
|
5771
5813
|
values: F(o).values.value,
|
|
5772
5814
|
errors: F(o).errors.value
|
|
5773
|
-
}, void 0, !0)], 40,
|
|
5815
|
+
}, void 0, !0)], 40, ad));
|
|
5774
5816
|
}
|
|
5775
5817
|
}), [["styles", [".g-form[data-v-3f5a6392]{flex-direction:column;gap:1rem;display:flex}"]], ["__scopeId", "data-v-3f5a6392"]]);
|
|
5776
5818
|
//#endregion
|
|
5777
5819
|
//#region src/compose/useWebComponentSidebar.ts
|
|
5778
|
-
function
|
|
5820
|
+
function sd(e) {
|
|
5779
5821
|
return e.replace(/[^a-zA-Z0-9_-]/g, "-");
|
|
5780
5822
|
}
|
|
5781
|
-
function
|
|
5823
|
+
function cd() {
|
|
5782
5824
|
let e = globalThis;
|
|
5783
5825
|
return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
|
|
5784
5826
|
}
|
|
5785
|
-
function
|
|
5786
|
-
let n =
|
|
5827
|
+
function ld(e = "default", t = "(max-width: 800px)") {
|
|
5828
|
+
let n = cd(), r = e || "default";
|
|
5787
5829
|
if (!n.has(r)) {
|
|
5788
|
-
let e =
|
|
5830
|
+
let e = sd(r);
|
|
5789
5831
|
n.set(r, {
|
|
5790
5832
|
id: `g-wc-sidebar-${e}`,
|
|
5791
5833
|
open: /* @__PURE__ */ P(!1),
|
|
@@ -5819,12 +5861,12 @@ function sd(e = "default", t = "(max-width: 800px)") {
|
|
|
5819
5861
|
}
|
|
5820
5862
|
//#endregion
|
|
5821
5863
|
//#region src/components/GHamburgerMenu.vue?vue&type=script&setup=true&lang.ts
|
|
5822
|
-
var
|
|
5864
|
+
var ud = [
|
|
5823
5865
|
"id",
|
|
5824
5866
|
"aria-expanded",
|
|
5825
5867
|
"aria-label",
|
|
5826
5868
|
"aria-controls"
|
|
5827
|
-
],
|
|
5869
|
+
], dd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5828
5870
|
__name: "GHamburgerMenu",
|
|
5829
5871
|
props: {
|
|
5830
5872
|
label: {
|
|
@@ -5838,7 +5880,7 @@ var cd = [
|
|
|
5838
5880
|
},
|
|
5839
5881
|
emits: ["toggle"],
|
|
5840
5882
|
setup(e, { emit: t }) {
|
|
5841
|
-
let n = e, r = qn("sidebar") ?? (Il() ?
|
|
5883
|
+
let n = e, r = qn("sidebar") ?? (Il() ? ld(n.sidebarKey) : void 0), i = t;
|
|
5842
5884
|
function a() {
|
|
5843
5885
|
i("toggle"), r?.toggle();
|
|
5844
5886
|
}
|
|
@@ -5860,17 +5902,17 @@ var cd = [
|
|
|
5860
5902
|
}, [...n[0] ||= [J("svg", {
|
|
5861
5903
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5862
5904
|
viewBox: "0 0 51.26 51.26"
|
|
5863
|
-
}, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1)]], 42,
|
|
5905
|
+
}, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1)]], 42, ud));
|
|
5864
5906
|
}
|
|
5865
|
-
}), [["styles", [".g-hamburger-button svg{width:1.6rem}", ".g-hamburger-button[data-v-2ff52853]{border:2px solid var(--g-primary-500);background:var(--g-primary-500);width:34px;height:34px;color:var(--g-primary-text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:0;text-decoration:none;display:none}.g-hamburger-button[data-v-2ff52853]:hover{background:var(--g-primary-text);color:var(--g-primary-500)}.g-hamburger-button[data-v-2ff52853]:active{background:var(--g-accent-500);color:var(--g-primary-text)}.g-hamburger-button[data-v-2ff52853]:focus-visible{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--g-primary-500)}.g-hamburger-button--collapsible[data-v-2ff52853]{display:flex}"]], ["__scopeId", "data-v-2ff52853"]]),
|
|
5907
|
+
}), [["styles", [".g-hamburger-button svg{width:1.6rem}", ".g-hamburger-button[data-v-2ff52853]{border:2px solid var(--g-primary-500);background:var(--g-primary-500);width:34px;height:34px;color:var(--g-primary-text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:0;text-decoration:none;display:none}.g-hamburger-button[data-v-2ff52853]:hover{background:var(--g-primary-text);color:var(--g-primary-500)}.g-hamburger-button[data-v-2ff52853]:active{background:var(--g-accent-500);color:var(--g-primary-text)}.g-hamburger-button[data-v-2ff52853]:focus-visible{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--g-primary-500)}.g-hamburger-button--collapsible[data-v-2ff52853]{display:flex}"]], ["__scopeId", "data-v-2ff52853"]]), fd = { class: "g-history-scroller-wrapper" }, pd = {
|
|
5866
5908
|
key: 0,
|
|
5867
5909
|
class: "g-history-shadow g-history-shadow--top",
|
|
5868
5910
|
"aria-hidden": "true"
|
|
5869
|
-
},
|
|
5911
|
+
}, md = {
|
|
5870
5912
|
key: 1,
|
|
5871
5913
|
class: "g-history-shadow g-history-shadow--bottom",
|
|
5872
5914
|
"aria-hidden": "true"
|
|
5873
|
-
},
|
|
5915
|
+
}, hd = ["role", "aria-label"], gd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5874
5916
|
__name: "GHistoryScroller",
|
|
5875
5917
|
props: {
|
|
5876
5918
|
label: { type: String },
|
|
@@ -5905,9 +5947,9 @@ var cd = [
|
|
|
5905
5947
|
i.value && (await Mn(), o());
|
|
5906
5948
|
});
|
|
5907
5949
|
let c = Q(() => [...t.entries].reverse());
|
|
5908
|
-
return (t, l) => (G(), K("div",
|
|
5909
|
-
a.value ? Z("", !0) : (G(), K("div",
|
|
5910
|
-
i.value ? Z("", !0) : (G(), K("div",
|
|
5950
|
+
return (t, l) => (G(), K("div", fd, [
|
|
5951
|
+
a.value ? Z("", !0) : (G(), K("div", pd)),
|
|
5952
|
+
i.value ? Z("", !0) : (G(), K("div", md)),
|
|
5911
5953
|
J("div", {
|
|
5912
5954
|
ref_key: "scrollerRef",
|
|
5913
5955
|
ref: n,
|
|
@@ -5942,10 +5984,10 @@ var cd = [
|
|
|
5942
5984
|
key: e.id,
|
|
5943
5985
|
class: "g-history-entry",
|
|
5944
5986
|
tabindex: "-1"
|
|
5945
|
-
}, [V(t.$slots, "default", { entry: e }, void 0, !0)]))), 128))], 512)], 40,
|
|
5987
|
+
}, [V(t.$slots, "default", { entry: e }, void 0, !0)]))), 128))], 512)], 40, hd)
|
|
5946
5988
|
]));
|
|
5947
5989
|
}
|
|
5948
|
-
}), [["styles", [".g-history-scroller-wrapper[data-v-dde35ac8]{position:relative}.g-history-list[data-v-dde35ac8]{flex-direction:column;gap:1rem;margin:0;padding:1rem;list-style:none;display:flex;position:relative}.g-history-scroller[data-v-dde35ac8]{width:100%;height:100%;overflow-y:auto}.g-history-entry[data-v-dde35ac8]{margin:0;padding:0}.g-scroll-to-bottom-btn[data-v-dde35ac8]{z-index:100;position:absolute;bottom:2rem;right:2rem;box-shadow:0 2px 8px #00000014}.scroll-to-bottom-btn--hidden[data-v-dde35ac8]{opacity:0;pointer-events:none;transition:opacity .2s}.scroll-to-bottom-btn--hidden[data-v-dde35ac8]:focus{opacity:1;pointer-events:auto}.g-history-shadow[data-v-dde35ac8]{pointer-events:none;height:2rem;position:absolute;left:0;right:0}.g-history-shadow--top[data-v-dde35ac8]{background:linear-gradient(#0000001f,#0000);top:0}.g-history-shadow--bottom[data-v-dde35ac8]{background:linear-gradient(#0000,#0000001f);bottom:0}"]], ["__scopeId", "data-v-dde35ac8"]]),
|
|
5990
|
+
}), [["styles", [".g-history-scroller-wrapper[data-v-dde35ac8]{position:relative}.g-history-list[data-v-dde35ac8]{flex-direction:column;gap:1rem;margin:0;padding:1rem;list-style:none;display:flex;position:relative}.g-history-scroller[data-v-dde35ac8]{width:100%;height:100%;overflow-y:auto}.g-history-entry[data-v-dde35ac8]{margin:0;padding:0}.g-scroll-to-bottom-btn[data-v-dde35ac8]{z-index:100;position:absolute;bottom:2rem;right:2rem;box-shadow:0 2px 8px #00000014}.scroll-to-bottom-btn--hidden[data-v-dde35ac8]{opacity:0;pointer-events:none;transition:opacity .2s}.scroll-to-bottom-btn--hidden[data-v-dde35ac8]:focus{opacity:1;pointer-events:auto}.g-history-shadow[data-v-dde35ac8]{pointer-events:none;height:2rem;position:absolute;left:0;right:0}.g-history-shadow--top[data-v-dde35ac8]{background:linear-gradient(#0000001f,#0000);top:0}.g-history-shadow--bottom[data-v-dde35ac8]{background:linear-gradient(#0000,#0000001f);bottom:0}"]], ["__scopeId", "data-v-dde35ac8"]]), _d = ["id"], vd = { class: "g-modal-inner" }, yd = { class: "g-modal-header" }, bd = ["id"], xd = ["id"], Sd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5949
5991
|
__name: "GModal",
|
|
5950
5992
|
props: {
|
|
5951
5993
|
label: { type: String },
|
|
@@ -5995,12 +6037,12 @@ var cd = [
|
|
|
5995
6037
|
ref_key: "dialog",
|
|
5996
6038
|
ref: i,
|
|
5997
6039
|
style: { zIndex: F(u) }
|
|
5998
|
-
}), [J("div",
|
|
6040
|
+
}), [J("div", vd, [J("div", yd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
|
|
5999
6041
|
key: 0,
|
|
6000
6042
|
id: "modal-label-" + F(o),
|
|
6001
6043
|
class: "g-modal-label",
|
|
6002
6044
|
tabindex: "-1"
|
|
6003
|
-
}, j(e.label), 9,
|
|
6045
|
+
}, j(e.label), 9, bd)), J("button", {
|
|
6004
6046
|
class: "g-modal-close",
|
|
6005
6047
|
onClick: p,
|
|
6006
6048
|
"aria-label": "Close"
|
|
@@ -6015,20 +6057,20 @@ var cd = [
|
|
|
6015
6057
|
})], -1)]])]), J("div", {
|
|
6016
6058
|
id: "modal-description-" + F(o),
|
|
6017
6059
|
class: "g-modal-content"
|
|
6018
|
-
}, [V(t.$slots, "default", {}, void 0, !0)], 8,
|
|
6060
|
+
}, [V(t.$slots, "default", {}, void 0, !0)], 8, xd)])], 16, _d)]),
|
|
6019
6061
|
_: 3
|
|
6020
6062
|
})]));
|
|
6021
6063
|
}
|
|
6022
6064
|
}), [["styles", [".g-modal[data-v-1b1aed31]{background:var(--g-surface-50);border-top:8px solid var(--g-accent-500);box-sizing:border-box;height:auto;max-height:90vh;padding:2rem;position:fixed;top:50vh;left:50vw;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 0 2px #0006,0 10px 20px #0000001a}.g-modal--small[data-v-1b1aed31]{width:400px;max-width:90vw}.g-modal--medium[data-v-1b1aed31]{width:600px;max-width:90vw}.g-modal--large[data-v-1b1aed31]{width:900px;max-width:90vw}.g-modal--full[data-v-1b1aed31]{border-top:none;width:100vw;max-width:none;height:100vh;max-height:none}.g-modal-header[data-v-1b1aed31]{justify-content:space-between;align-items:flex-start;display:flex}.g-modal-label[data-v-1b1aed31]{font-family:var(--il-font-heading);color:var(--g-primary-500);margin-top:0;font-size:2rem}.g-modal-close[data-v-1b1aed31]{cursor:pointer;color:var(--g-surface-600);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;margin:-1.25rem -1rem -1rem 1rem;padding:.5rem;display:flex}.g-modal-close[data-v-1b1aed31]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-modal-close[data-v-1b1aed31]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-1b1aed31"]]);
|
|
6023
6065
|
//#endregion
|
|
6024
6066
|
//#region src/compose/useSelectDropdown.ts
|
|
6025
|
-
function
|
|
6067
|
+
function Cd(e) {
|
|
6026
6068
|
return e.map((e) => typeof e == "string" ? {
|
|
6027
6069
|
label: e,
|
|
6028
6070
|
value: e
|
|
6029
6071
|
} : e);
|
|
6030
6072
|
}
|
|
6031
|
-
function
|
|
6073
|
+
function wd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
|
|
6032
6074
|
let { push: a, pop: o, isTop: s } = Ks(r), c = /* @__PURE__ */ P("below"), l = /* @__PURE__ */ P(null), u = Q(() => {
|
|
6033
6075
|
let e = {};
|
|
6034
6076
|
return l.value !== null && (e.maxHeight = `${l.value}px`), c.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
|
|
@@ -6072,11 +6114,15 @@ function Sd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i })
|
|
|
6072
6114
|
}
|
|
6073
6115
|
//#endregion
|
|
6074
6116
|
//#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
6075
|
-
var
|
|
6117
|
+
var Td = ["id", "for"], Ed = {
|
|
6118
|
+
key: 0,
|
|
6119
|
+
class: "g-multiselect-required",
|
|
6120
|
+
"aria-hidden": "true"
|
|
6121
|
+
}, Dd = ["id"], Od = ["aria-labelledby"], kd = { class: "g-multiselect-chip-label" }, Ad = [
|
|
6076
6122
|
"aria-label",
|
|
6077
6123
|
"disabled",
|
|
6078
6124
|
"onClick"
|
|
6079
|
-
],
|
|
6125
|
+
], jd = [
|
|
6080
6126
|
"id",
|
|
6081
6127
|
"value",
|
|
6082
6128
|
"placeholder",
|
|
@@ -6084,24 +6130,25 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6084
6130
|
"aria-expanded",
|
|
6085
6131
|
"aria-controls",
|
|
6086
6132
|
"aria-activedescendant",
|
|
6087
|
-
"aria-describedby"
|
|
6088
|
-
|
|
6133
|
+
"aria-describedby",
|
|
6134
|
+
"aria-required"
|
|
6135
|
+
], Md = ["id"], Nd = [
|
|
6089
6136
|
"id",
|
|
6090
6137
|
"aria-selected",
|
|
6091
6138
|
"onClick"
|
|
6092
|
-
],
|
|
6139
|
+
], Pd = {
|
|
6093
6140
|
class: "g-multiselect-option-check",
|
|
6094
6141
|
"aria-hidden": "true"
|
|
6095
|
-
},
|
|
6142
|
+
}, Fd = {
|
|
6096
6143
|
key: 0,
|
|
6097
6144
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6098
6145
|
viewBox: "0 0 640 640",
|
|
6099
6146
|
width: "1.25em"
|
|
6100
|
-
},
|
|
6147
|
+
}, Id = {
|
|
6101
6148
|
key: 1,
|
|
6102
6149
|
"aria-live": "polite",
|
|
6103
6150
|
class: "g-multiselect-option g-multiselect-no-results"
|
|
6104
|
-
},
|
|
6151
|
+
}, Ld = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6105
6152
|
__name: "GMultiSelect",
|
|
6106
6153
|
props: /* @__PURE__ */ H({
|
|
6107
6154
|
options: { type: Array },
|
|
@@ -6115,6 +6162,10 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6115
6162
|
type: Boolean,
|
|
6116
6163
|
default: !1
|
|
6117
6164
|
},
|
|
6165
|
+
required: {
|
|
6166
|
+
type: Boolean,
|
|
6167
|
+
default: !1
|
|
6168
|
+
},
|
|
6118
6169
|
name: { type: String },
|
|
6119
6170
|
errors: {
|
|
6120
6171
|
default: () => [],
|
|
@@ -6133,13 +6184,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6133
6184
|
value: i,
|
|
6134
6185
|
errors: /* @__PURE__ */ dn(n, "errors"),
|
|
6135
6186
|
formKey: n.formKey
|
|
6136
|
-
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } =
|
|
6187
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = wd({
|
|
6137
6188
|
open: l,
|
|
6138
6189
|
anchorRef: s,
|
|
6139
6190
|
listboxRef: c,
|
|
6140
6191
|
baseId: a,
|
|
6141
6192
|
activeIndex: u
|
|
6142
|
-
}), y = Q(() =>
|
|
6193
|
+
}), y = Q(() => Cd(n.options)), b = Q(() => {
|
|
6143
6194
|
if (!d.value) return y.value;
|
|
6144
6195
|
let e = d.value.toLowerCase();
|
|
6145
6196
|
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
@@ -6234,12 +6285,12 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6234
6285
|
id: ae.value,
|
|
6235
6286
|
for: ie.value,
|
|
6236
6287
|
class: "g-multiselect-label"
|
|
6237
|
-
}, j(e.label),
|
|
6288
|
+
}, [X(j(e.label), 1), e.required ? (G(), K("span", Ed, " *")) : Z("", !0)], 8, Td)),
|
|
6238
6289
|
e.instructions ? (G(), K("div", {
|
|
6239
6290
|
key: 1,
|
|
6240
6291
|
id: oe.value,
|
|
6241
6292
|
class: "g-multiselect-instructions"
|
|
6242
|
-
}, j(e.instructions), 9,
|
|
6293
|
+
}, j(e.instructions), 9, Dd)) : Z("", !0),
|
|
6243
6294
|
J("div", {
|
|
6244
6295
|
ref_key: "controlRef",
|
|
6245
6296
|
ref: s,
|
|
@@ -6252,7 +6303,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6252
6303
|
}, [(G(!0), K(W, null, B(i.value, (t) => (G(), K("li", {
|
|
6253
6304
|
key: t,
|
|
6254
6305
|
class: "g-multiselect-chip"
|
|
6255
|
-
}, [J("span",
|
|
6306
|
+
}, [J("span", kd, j(S(t)), 1), J("button", {
|
|
6256
6307
|
type: "button",
|
|
6257
6308
|
class: "g-multiselect-chip-remove",
|
|
6258
6309
|
"aria-label": `Remove ${S(t)}`,
|
|
@@ -6267,7 +6318,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6267
6318
|
}, [J("path", {
|
|
6268
6319
|
fill: "currentColor",
|
|
6269
6320
|
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6270
|
-
})], -1)]], 40,
|
|
6321
|
+
})], -1)]], 40, Ad)]))), 128))], 8, Od),
|
|
6271
6322
|
J("input", Ha({
|
|
6272
6323
|
ref_key: "inputRef",
|
|
6273
6324
|
ref: o,
|
|
@@ -6286,11 +6337,12 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6286
6337
|
"aria-activedescendant": l.value && b.value.length > 0 ? F(a) + "-option-" + u.value : void 0
|
|
6287
6338
|
}, e.hiddenLabel ? { "aria-label": e.label } : void 0, {
|
|
6288
6339
|
"aria-describedby": ce.value,
|
|
6340
|
+
"aria-required": e.required ? "true" : void 0,
|
|
6289
6341
|
onInput: D,
|
|
6290
6342
|
onKeydown: k,
|
|
6291
6343
|
onFocus: te,
|
|
6292
6344
|
onBlur: O
|
|
6293
|
-
}), null, 16,
|
|
6345
|
+
}), null, 16, jd),
|
|
6294
6346
|
n[2] ||= J("svg", {
|
|
6295
6347
|
class: "g-multiselect-caret",
|
|
6296
6348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6322,7 +6374,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6322
6374
|
"aria-selected": x(e.value) ? "true" : "false",
|
|
6323
6375
|
onMousedown: ne,
|
|
6324
6376
|
onClick: (e) => T(t)
|
|
6325
|
-
}, [J("span",
|
|
6377
|
+
}, [J("span", Pd, [x(e.value) ? (G(), K("svg", Fd, [...n[1] ||= [J("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : Z("", !0)]), X(" " + j(e.label), 1)], 42, Nd))), 128)) : (G(), K("div", Id, " No results found. "))], 16, Md), [[Ko, l.value]])
|
|
6326
6378
|
], 2),
|
|
6327
6379
|
Y(su, {
|
|
6328
6380
|
errors: F(p),
|
|
@@ -6330,19 +6382,19 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6330
6382
|
}, null, 8, ["errors", "id"])
|
|
6331
6383
|
], 2));
|
|
6332
6384
|
}
|
|
6333
|
-
}), [["styles", [".g-multiselect-root[data-v-
|
|
6385
|
+
}), [["styles", [".g-multiselect-root[data-v-70907e93]{font-size:1rem;position:relative}.g-multiselect-label[data-v-70907e93]{color:var(--g-surface-900);margin-bottom:.5em;font-weight:700}.g-multiselect-required[data-v-70907e93]{color:var(--g-danger-600)}.g-multiselect-instructions[data-v-70907e93]{color:var(--g-surface-800);margin:0 0 .5em}.g-multiselect-control[data-v-70907e93]{background:var(--g-surface-0);min-height:calc(2.375em + 4px);color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-radius:var(--g-border-radius-m);cursor:text;box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:.375em;padding:.3em 2.25em .3em .5em;list-style:none;display:flex;position:relative}.g-multiselect-control[data-v-70907e93]:focus-within{outline:2px solid var(--g-primary-500);outline-offset:1px;box-shadow:0 0 0 2px var(--g-info-200)}.g-multiselect-control--disabled[data-v-70907e93]{cursor:not-allowed;border-color:var(--g-surface-400)}.g-multiselect-control--disabled .g-multiselect-input[data-v-70907e93]{opacity:.6;cursor:not-allowed}.g-multiselect-control--disabled .g-multiselect-caret[data-v-70907e93]{opacity:.6}.g-multiselect-has-error .g-multiselect-control[data-v-70907e93]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-multiselect-chips[data-v-70907e93]{box-sizing:border-box;flex-wrap:wrap;gap:.375em;margin:0;padding:0;list-style:none;display:flex}.g-multiselect-chip[data-v-70907e93]{background:var(--g-primary-500);color:var(--g-primary-text);border-radius:1em;align-items:center;gap:.2em;max-width:100%;padding:.1em .4em .1em .6em;line-height:1.5;display:inline-flex}.g-multiselect-chip-label[data-v-70907e93]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.g-multiselect-chip-remove[data-v-70907e93]{color:inherit;cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;padding:.15em;line-height:1;display:inline-flex}.g-multiselect-chip-remove[data-v-70907e93]:hover{background:#00000026}.g-multiselect-chip-remove[data-v-70907e93]:focus-visible{outline-offset:1px;outline:2px solid}.g-multiselect-chip-remove[data-v-70907e93]:disabled{cursor:not-allowed;opacity:.7}.g-multiselect-input[data-v-70907e93]{min-width:4em;font-family:var(--il-font-sans);color:var(--g-surface-900);cursor:text;background:0 0;border:none;outline:none;flex:1;padding:0;font-size:1em;line-height:1.875em}.g-multiselect-input[data-v-70907e93]:disabled{cursor:not-allowed}.g-multiselect-input[data-v-70907e93]::placeholder{color:var(--g-surface-600)}.g-multiselect-caret[data-v-70907e93]{color:var(--g-accent-700);pointer-events:none;transition:transform .15s;position:absolute;top:calc(50% - .55em);right:.5em;transform:rotate(90deg)}.g-multiselect-open .g-multiselect-caret[data-v-70907e93]{transform:rotate(-90deg)}.g-multiselect-listbox[data-v-70907e93]{z-index:1000;background-color:var(--g-surface-0);border:2px solid var(--g-surface-700);border-radius:0 0 var(--g-border-radius-m) var(--g-border-radius-m);box-sizing:border-box;width:100%;max-height:50vh;display:none;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 4px 4px #0003,0 1px 0 1px #0000002e}.g-multiselect-open .g-multiselect-listbox[data-v-70907e93]{display:block}.g-multiselect-listbox--above[data-v-70907e93]{border-radius:var(--g-border-radius-m) var(--g-border-radius-m) 0 0;top:auto;bottom:100%}.g-multiselect-option[data-v-70907e93]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;align-items:center;gap:.5em;padding:.5em;display:flex}.g-multiselect-option[data-v-70907e93]:hover{color:var(--g-accent-700);border-color:var(--g-accent-700);text-decoration:underline}.g-multiselect-option--active[data-v-70907e93]{background:var(--g-primary-500);color:var(--g-primary-text)}.g-multiselect-option--active[data-v-70907e93]:hover{color:var(--g-primary-text)}.g-multiselect-option-check[data-v-70907e93]{flex-shrink:0;justify-content:center;align-items:center;width:1.25em;display:block}.g-multiselect-option-check[data-v-70907e93] svg{fill:currentColor;display:block}.g-multiselect-no-results[data-v-70907e93]{text-align:center;color:var(--g-surface-900);padding:.25em 1em;font-style:italic}"]], ["__scopeId", "data-v-70907e93"]]), Rd = {
|
|
6334
6386
|
key: 0,
|
|
6335
6387
|
class: "g-scroll-lock-overlay"
|
|
6336
|
-
},
|
|
6388
|
+
}, zd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6337
6389
|
__name: "GOverlay",
|
|
6338
6390
|
setup(e) {
|
|
6339
6391
|
let { hasScrollLock: t } = qs();
|
|
6340
6392
|
return (e, n) => (G(), q(Oo, { name: "g-fade" }, {
|
|
6341
|
-
default: I(() => [F(t) ? (G(), K("div",
|
|
6393
|
+
default: I(() => [F(t) ? (G(), K("div", Rd)) : Z("", !0)]),
|
|
6342
6394
|
_: 1
|
|
6343
6395
|
}));
|
|
6344
6396
|
}
|
|
6345
|
-
}), [["styles", ["@layer override{body.g-scroll-lock{overflow:hidden}.g-scroll-lock-overlay{z-index:199;background:#00000040;position:fixed;inset:0}}"]]]),
|
|
6397
|
+
}), [["styles", ["@layer override{body.g-scroll-lock{overflow:hidden}.g-scroll-lock-overlay{z-index:199;background:#00000040;position:fixed;inset:0}}"]]]), Bd = { class: "g-popover-wrap" }, Vd = ["id"], Hd = ["aria-labelledby", "aria-label"], Ud = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6346
6398
|
__name: "GPopover",
|
|
6347
6399
|
props: {
|
|
6348
6400
|
minimal: {
|
|
@@ -6420,13 +6472,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6420
6472
|
show: y,
|
|
6421
6473
|
hide: b,
|
|
6422
6474
|
toggle: x
|
|
6423
|
-
}), (t, n) => (G(), K("div",
|
|
6475
|
+
}), (t, n) => (G(), K("div", Bd, [s.value ? (G(), K("div", {
|
|
6424
6476
|
key: 0,
|
|
6425
6477
|
ref_key: "triggerRef",
|
|
6426
6478
|
ref: c,
|
|
6427
6479
|
class: "g-popover-trigger",
|
|
6428
6480
|
id: `${F(f)}-trigger`
|
|
6429
|
-
}, [V(t.$slots, "trigger", { toggle: x }, void 0, !0)], 8,
|
|
6481
|
+
}, [V(t.$slots, "trigger", { toggle: x }, void 0, !0)], 8, Vd)) : Z("", !0), (G(), q(fr, {
|
|
6430
6482
|
to: "#modal-root",
|
|
6431
6483
|
disabled: F(d)
|
|
6432
6484
|
}, [Y(Oo, {
|
|
@@ -6475,11 +6527,11 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6475
6527
|
fill: "currentColor",
|
|
6476
6528
|
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6477
6529
|
})], -1)]]))
|
|
6478
|
-
], 14,
|
|
6530
|
+
], 14, Hd)), [[Ko, a.value]]) : Z("", !0)]),
|
|
6479
6531
|
_: 3
|
|
6480
6532
|
})], 8, ["disabled"]))]));
|
|
6481
6533
|
}
|
|
6482
|
-
}), [["styles", [".g-popover h2{margin:0 0 .75rem;font-size:1.25rem}.g-popover p{margin:0 0 .5rem}.g-popover-trigger{display:inline-block}", ".g-popover[data-v-7510826c]{z-index:1000;background:var(--g-surface-0);border:1px solid var(--g-surface-200);color:var(--g-surface-900);box-shadow:var(--il-shadow);text-align:left;border-radius:4px;min-width:200px;max-width:500px;padding:1.5rem 1rem 1rem;font-size:1rem;font-weight:400;position:fixed;top:0;left:0}.g-popover.g-popover-minimal[data-v-7510826c]{min-width:0;padding:0}.g-popover-arrow[data-v-7510826c]{box-sizing:border-box;pointer-events:none;z-index:1;width:20px;height:8px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.g-popover-arrow[data-v-7510826c]:after{box-sizing:border-box;content:\"\";z-index:2;background:0 0;border-bottom:8px solid #fff;border-left:8px solid #0000;border-right:8px solid #0000;width:16px;height:8px;margin:0 auto;display:block;position:relative}.g-popover-arrow[data-v-7510826c]:before{box-sizing:border-box;content:\"\";border-left:8px solid #0000;border-right:8px solid #0000;border-bottom:8px solid var(--g-surface-200,#ccc);z-index:1;width:18px;height:9px;display:block;position:absolute;top:-1px;left:1px}.g-popover-arrow-above[data-v-7510826c]{transform:translate(-50%)rotate(180deg)}.g-popover-close[data-v-7510826c]{cursor:pointer;background:0 0;border:none;border-radius:7px;padding:.25rem;display:block;position:absolute;top:1px;right:1px}.g-popover-close[data-v-7510826c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-popover-close[data-v-7510826c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-popover-close .g-popover-close-icon[data-v-7510826c]{width:1.25rem;height:1.25rem;display:block}.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:opacity .18s cubic-bezier(.4,0,.2,1),transform .18s cubic-bezier(.4,0,.2,1)}.g-popover-expand-enter-from[data-v-7510826c],.g-popover-expand-leave-to[data-v-7510826c]{opacity:0;transform:scale(.95)}.g-popover-expand-enter-to[data-v-7510826c],.g-popover-expand-leave-from[data-v-7510826c]{opacity:1;transform:scale(1)}@media (prefers-reduced-motion:reduce){.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:none!important}}"]], ["__scopeId", "data-v-7510826c"]]),
|
|
6534
|
+
}), [["styles", [".g-popover h2{margin:0 0 .75rem;font-size:1.25rem}.g-popover p{margin:0 0 .5rem}.g-popover-trigger{display:inline-block}", ".g-popover[data-v-7510826c]{z-index:1000;background:var(--g-surface-0);border:1px solid var(--g-surface-200);color:var(--g-surface-900);box-shadow:var(--il-shadow);text-align:left;border-radius:4px;min-width:200px;max-width:500px;padding:1.5rem 1rem 1rem;font-size:1rem;font-weight:400;position:fixed;top:0;left:0}.g-popover.g-popover-minimal[data-v-7510826c]{min-width:0;padding:0}.g-popover-arrow[data-v-7510826c]{box-sizing:border-box;pointer-events:none;z-index:1;width:20px;height:8px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.g-popover-arrow[data-v-7510826c]:after{box-sizing:border-box;content:\"\";z-index:2;background:0 0;border-bottom:8px solid #fff;border-left:8px solid #0000;border-right:8px solid #0000;width:16px;height:8px;margin:0 auto;display:block;position:relative}.g-popover-arrow[data-v-7510826c]:before{box-sizing:border-box;content:\"\";border-left:8px solid #0000;border-right:8px solid #0000;border-bottom:8px solid var(--g-surface-200,#ccc);z-index:1;width:18px;height:9px;display:block;position:absolute;top:-1px;left:1px}.g-popover-arrow-above[data-v-7510826c]{transform:translate(-50%)rotate(180deg)}.g-popover-close[data-v-7510826c]{cursor:pointer;background:0 0;border:none;border-radius:7px;padding:.25rem;display:block;position:absolute;top:1px;right:1px}.g-popover-close[data-v-7510826c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-popover-close[data-v-7510826c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-popover-close .g-popover-close-icon[data-v-7510826c]{width:1.25rem;height:1.25rem;display:block}.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:opacity .18s cubic-bezier(.4,0,.2,1),transform .18s cubic-bezier(.4,0,.2,1)}.g-popover-expand-enter-from[data-v-7510826c],.g-popover-expand-leave-to[data-v-7510826c]{opacity:0;transform:scale(.95)}.g-popover-expand-enter-to[data-v-7510826c],.g-popover-expand-leave-from[data-v-7510826c]{opacity:1;transform:scale(1)}@media (prefers-reduced-motion:reduce){.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:none!important}}"]], ["__scopeId", "data-v-7510826c"]]), Wd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6483
6535
|
__name: "GTooltip",
|
|
6484
6536
|
props: { text: { type: String } },
|
|
6485
6537
|
emits: ["tooltip-hide"],
|
|
@@ -6568,21 +6620,21 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6568
6620
|
class: "g-tooltip-trigger"
|
|
6569
6621
|
}, [V(e.$slots, "trigger", {}, void 0, !0)], 512)) : Z("", !0)], 512));
|
|
6570
6622
|
}
|
|
6571
|
-
}), [["styles", [".g-tooltip-host[data-v-003155b3]{display:contents}.g-tooltip-trigger[data-v-003155b3]{display:inline-block}"]], ["__scopeId", "data-v-003155b3"]]),
|
|
6623
|
+
}), [["styles", [".g-tooltip-host[data-v-003155b3]{display:contents}.g-tooltip-trigger[data-v-003155b3]{display:inline-block}"]], ["__scopeId", "data-v-003155b3"]]), Gd = ["width", "height"], Kd = [
|
|
6572
6624
|
"cx",
|
|
6573
6625
|
"cy",
|
|
6574
6626
|
"r"
|
|
6575
|
-
],
|
|
6627
|
+
], qd = [
|
|
6576
6628
|
"cx",
|
|
6577
6629
|
"cy",
|
|
6578
6630
|
"r",
|
|
6579
6631
|
"stroke-dasharray",
|
|
6580
6632
|
"stroke-dashoffset"
|
|
6581
|
-
],
|
|
6633
|
+
], Jd = [
|
|
6582
6634
|
"cx",
|
|
6583
6635
|
"cy",
|
|
6584
6636
|
"r"
|
|
6585
|
-
],
|
|
6637
|
+
], Yd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6586
6638
|
__name: "GProgress",
|
|
6587
6639
|
props: {
|
|
6588
6640
|
label: {
|
|
@@ -6632,7 +6684,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6632
6684
|
r: r.value,
|
|
6633
6685
|
"stroke-width": 4,
|
|
6634
6686
|
fill: "none"
|
|
6635
|
-
}, null, 8,
|
|
6687
|
+
}, null, 8, Kd), n.value ? (G(), K("circle", {
|
|
6636
6688
|
key: 0,
|
|
6637
6689
|
class: "g-progress__value",
|
|
6638
6690
|
cx: r.value + 4 / 2,
|
|
@@ -6646,7 +6698,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6646
6698
|
transform: "rotate(-90deg)",
|
|
6647
6699
|
"transform-origin": "center"
|
|
6648
6700
|
}
|
|
6649
|
-
}, null, 8,
|
|
6701
|
+
}, null, 8, qd)) : (G(), K("circle", {
|
|
6650
6702
|
key: 1,
|
|
6651
6703
|
class: "g-progress__spinner",
|
|
6652
6704
|
cx: r.value + 4 / 2,
|
|
@@ -6654,29 +6706,29 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6654
6706
|
r: r.value,
|
|
6655
6707
|
"stroke-width": 4,
|
|
6656
6708
|
fill: "none"
|
|
6657
|
-
}, null, 8,
|
|
6709
|
+
}, null, 8, Jd))], 10, Gd))], 16));
|
|
6658
6710
|
}
|
|
6659
|
-
}), [["styles", [".g-progress[data-v-c010c3b0]{vertical-align:middle;display:inline-block}.g-progress__svg[data-v-c010c3b0]{display:block}.g-progress__track[data-v-c010c3b0]{stroke:var(--g-surface-200)}.g-progress__value[data-v-c010c3b0]{stroke:var(--g-primary-500);transition:stroke-dashoffset .2s linear}.g-progress__spinner[data-v-c010c3b0]{transform-box:fill-box;transform-origin:50%;stroke:var(--g-primary-500);stroke-dasharray:40 80;animation:1s linear infinite g-progress-spin-c010c3b0}@media (prefers-reduced-motion:reduce){.g-progress__spinner[data-v-c010c3b0]{animation:1s infinite both g-progress-spin-blink-c010c3b0}}@keyframes g-progress-spin-c010c3b0{to{transform:rotate(360deg)}}@keyframes g-progress-spin-blink-c010c3b0{0%,to{opacity:0}50%{opacity:1}}"]], ["__scopeId", "data-v-c010c3b0"]]),
|
|
6711
|
+
}), [["styles", [".g-progress[data-v-c010c3b0]{vertical-align:middle;display:inline-block}.g-progress__svg[data-v-c010c3b0]{display:block}.g-progress__track[data-v-c010c3b0]{stroke:var(--g-surface-200)}.g-progress__value[data-v-c010c3b0]{stroke:var(--g-primary-500);transition:stroke-dashoffset .2s linear}.g-progress__spinner[data-v-c010c3b0]{transform-box:fill-box;transform-origin:50%;stroke:var(--g-primary-500);stroke-dasharray:40 80;animation:1s linear infinite g-progress-spin-c010c3b0}@media (prefers-reduced-motion:reduce){.g-progress__spinner[data-v-c010c3b0]{animation:1s infinite both g-progress-spin-blink-c010c3b0}}@keyframes g-progress-spin-c010c3b0{to{transform:rotate(360deg)}}@keyframes g-progress-spin-blink-c010c3b0{0%,to{opacity:0}50%{opacity:1}}"]], ["__scopeId", "data-v-c010c3b0"]]), Xd = ["aria-label"], Zd = [
|
|
6660
6712
|
"placeholder",
|
|
6661
6713
|
"value",
|
|
6662
6714
|
"aria-expanded",
|
|
6663
6715
|
"aria-controls",
|
|
6664
6716
|
"aria-activedescendant"
|
|
6665
|
-
],
|
|
6717
|
+
], Qd = {
|
|
6666
6718
|
key: 0,
|
|
6667
6719
|
class: "g-search-dropdown"
|
|
6668
|
-
},
|
|
6720
|
+
}, $d = {
|
|
6669
6721
|
"aria-live": "polite",
|
|
6670
6722
|
class: "g-search-result-count"
|
|
6671
|
-
},
|
|
6723
|
+
}, ef = ["id"], tf = ["aria-label"], nf = { class: "g-search-group-label" }, rf = [
|
|
6672
6724
|
"id",
|
|
6673
6725
|
"onMousedown",
|
|
6674
6726
|
"aria-selected"
|
|
6675
|
-
],
|
|
6727
|
+
], af = [
|
|
6676
6728
|
"id",
|
|
6677
6729
|
"onMousedown",
|
|
6678
6730
|
"aria-selected"
|
|
6679
|
-
],
|
|
6731
|
+
], of = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6680
6732
|
__name: "GSearch",
|
|
6681
6733
|
props: /* @__PURE__ */ H({
|
|
6682
6734
|
results: { type: Array },
|
|
@@ -6763,12 +6815,12 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6763
6815
|
"aria-autocomplete": "list",
|
|
6764
6816
|
"aria-controls": `${F(y)}-list`,
|
|
6765
6817
|
"aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
|
|
6766
|
-
}, null, 40,
|
|
6818
|
+
}, null, 40, Zd), J("button", {
|
|
6767
6819
|
type: "submit",
|
|
6768
6820
|
class: "g-search-submit",
|
|
6769
6821
|
"aria-label": "Submit search",
|
|
6770
6822
|
onKeydown: m
|
|
6771
|
-
}, [g.value ? (G(), q(
|
|
6823
|
+
}, [g.value ? (G(), q(Yd, {
|
|
6772
6824
|
key: 0,
|
|
6773
6825
|
size: "tiny"
|
|
6774
6826
|
})) : Z("", !0), t[1] ||= J("svg", {
|
|
@@ -6779,7 +6831,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6779
6831
|
}, [J("path", {
|
|
6780
6832
|
fill: "currentColor",
|
|
6781
6833
|
d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
|
|
6782
|
-
})], -1)], 32)], 32), _.value ? (G(), K("div",
|
|
6834
|
+
})], -1)], 32)], 32), _.value ? (G(), K("div", Qd, [J("div", $d, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(j(u.value) + " result" + j(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
|
|
6783
6835
|
role: "listbox",
|
|
6784
6836
|
id: `${F(y)}-list`,
|
|
6785
6837
|
ref_key: "listboxRef",
|
|
@@ -6790,43 +6842,49 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6790
6842
|
class: "g-search-group",
|
|
6791
6843
|
role: "group",
|
|
6792
6844
|
"aria-label": t.label
|
|
6793
|
-
}, [V(e.$slots, "group", { group: t }, () => [J("div",
|
|
6845
|
+
}, [V(e.$slots, "group", { group: t }, () => [J("div", nf, j(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
|
|
6794
6846
|
key: t.id,
|
|
6795
6847
|
id: "g-search-option-" + t.id,
|
|
6796
6848
|
class: A(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
|
|
6797
6849
|
role: "option",
|
|
6798
6850
|
onMousedown: js((e) => h(t), ["prevent"]),
|
|
6799
6851
|
"aria-selected": l.value[c.value] && l.value[c.value].id === t.id
|
|
6800
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42,
|
|
6852
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42, rf))), 128))], 8, tf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
|
|
6801
6853
|
key: t.id,
|
|
6802
6854
|
id: "g-search-option-" + t.id,
|
|
6803
6855
|
class: A(["g-search-option", { "g-search-option-active": c.value === n }]),
|
|
6804
6856
|
role: "option",
|
|
6805
6857
|
onMousedown: js((e) => h(t), ["prevent"]),
|
|
6806
6858
|
"aria-selected": c.value === n
|
|
6807
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42,
|
|
6859
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42, af))), 128)) : Z("", !0)], 8, ef)])) : Z("", !0)], 8, Xd));
|
|
6808
6860
|
}
|
|
6809
|
-
}), [["styles", [".g-search{width:100%;min-width:200px;position:relative}.g-search-form{align-items:stretch;display:flex}.g-search-input{background:var(--g-surface-0);width:100%;color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-right-width:1px;padding:.5rem 1rem;font-size:1rem;line-height:1.33rem}.g-search-input:focus{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-search-submit{box-sizing:border-box;background:var(--g-surface-0);color:var(--g-accent-700);border:2px solid var(--g-primary-500);border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);cursor:pointer;border-left-width:1px;justify-content:center;align-items:center;width:44px;padding:.2rem .5rem;font-size:1rem;display:flex}.g-search-submit:focus{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--ilw-color--focus--outline)}.g-search-dropdown{background:var(--g-surface-0);border:2px solid var(--g-surface-200);z-index:10;max-height:80vh;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 2px 8px #0000000d}.g-search-result-count{height:28px;color:var(--g-surface-900);background:var(--g-surface-100);padding:.2rem 1rem;font-size:.95rem}.g-search-group-label{color:var(--g-surface-900);background:var(--g-surface-100);padding:.5rem 1rem .25rem;font-weight:700}.g-search-option{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.3rem .8rem}.g-search-option:hover{text-decoration:underline}.g-search-option.g-search-option-active{background:var(--g-info-200);color:var(--g-primary-500);border:2px solid var(--g-primary-500)}.fa-spin{color:var(--g-primary-300)}@media (width<=960px){.g-search{min-width:150px}}"]]]),
|
|
6861
|
+
}), [["styles", [".g-search{width:100%;min-width:200px;position:relative}.g-search-form{align-items:stretch;display:flex}.g-search-input{background:var(--g-surface-0);width:100%;color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-right-width:1px;padding:.5rem 1rem;font-size:1rem;line-height:1.33rem}.g-search-input:focus{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-search-submit{box-sizing:border-box;background:var(--g-surface-0);color:var(--g-accent-700);border:2px solid var(--g-primary-500);border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);cursor:pointer;border-left-width:1px;justify-content:center;align-items:center;width:44px;padding:.2rem .5rem;font-size:1rem;display:flex}.g-search-submit:focus{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--ilw-color--focus--outline)}.g-search-dropdown{background:var(--g-surface-0);border:2px solid var(--g-surface-200);z-index:10;max-height:80vh;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 2px 8px #0000000d}.g-search-result-count{height:28px;color:var(--g-surface-900);background:var(--g-surface-100);padding:.2rem 1rem;font-size:.95rem}.g-search-group-label{color:var(--g-surface-900);background:var(--g-surface-100);padding:.5rem 1rem .25rem;font-weight:700}.g-search-option{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.3rem .8rem}.g-search-option:hover{text-decoration:underline}.g-search-option.g-search-option-active{background:var(--g-info-200);color:var(--g-primary-500);border:2px solid var(--g-primary-500)}.fa-spin{color:var(--g-primary-300)}@media (width<=960px){.g-search{min-width:150px}}"]]]), sf = ["id"], cf = {
|
|
6862
|
+
key: 0,
|
|
6863
|
+
class: "g-select-required",
|
|
6864
|
+
"aria-hidden": "true"
|
|
6865
|
+
}, lf = { class: "g-select-input-wrap" }, uf = ["id"], df = [
|
|
6810
6866
|
"value",
|
|
6811
6867
|
"placeholder",
|
|
6812
6868
|
"disabled",
|
|
6813
6869
|
"aria-controls",
|
|
6814
6870
|
"aria-expanded",
|
|
6871
|
+
"aria-required",
|
|
6815
6872
|
"aria-activedescendant"
|
|
6816
|
-
],
|
|
6873
|
+
], ff = [
|
|
6817
6874
|
"id",
|
|
6818
6875
|
"aria-controls",
|
|
6819
6876
|
"aria-expanded",
|
|
6877
|
+
"aria-required",
|
|
6820
6878
|
"aria-activedescendant"
|
|
6821
|
-
],
|
|
6879
|
+
], pf = ["id"], mf = [
|
|
6822
6880
|
"id",
|
|
6823
6881
|
"aria-selected",
|
|
6824
6882
|
"onClick"
|
|
6825
|
-
],
|
|
6883
|
+
], hf = {
|
|
6826
6884
|
key: 1,
|
|
6827
6885
|
"aria-live": "polite",
|
|
6828
6886
|
class: "g-select-combo-option g-select-option g-select-no-results"
|
|
6829
|
-
},
|
|
6887
|
+
}, gf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6830
6888
|
__name: "GSelect",
|
|
6831
6889
|
props: /* @__PURE__ */ H({
|
|
6832
6890
|
options: { type: Array },
|
|
@@ -6837,6 +6895,10 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6837
6895
|
type: Boolean,
|
|
6838
6896
|
default: !1
|
|
6839
6897
|
},
|
|
6898
|
+
required: {
|
|
6899
|
+
type: Boolean,
|
|
6900
|
+
default: !1
|
|
6901
|
+
},
|
|
6840
6902
|
name: { type: String },
|
|
6841
6903
|
searchable: {
|
|
6842
6904
|
type: Boolean,
|
|
@@ -6863,13 +6925,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6863
6925
|
value: i,
|
|
6864
6926
|
errors: /* @__PURE__ */ dn(n, "errors"),
|
|
6865
6927
|
formKey: n.formKey
|
|
6866
|
-
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } =
|
|
6928
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = wd({
|
|
6867
6929
|
open: l,
|
|
6868
6930
|
anchorRef: o,
|
|
6869
6931
|
listboxRef: s,
|
|
6870
6932
|
baseId: a,
|
|
6871
6933
|
activeIndex: u
|
|
6872
|
-
}), y = Q(() =>
|
|
6934
|
+
}), y = Q(() => Cd(n.options)), b = /* @__PURE__ */ P(""), x = Q(() => {
|
|
6873
6935
|
if (!n.searchable || !l.value || !b.value) return y.value;
|
|
6874
6936
|
let e = b.value.toLowerCase();
|
|
6875
6937
|
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
@@ -6977,8 +7039,8 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6977
7039
|
key: 0,
|
|
6978
7040
|
id: F(a) + "-label",
|
|
6979
7041
|
class: "g-select-combo-label g-select-label"
|
|
6980
|
-
}, j(n.label),
|
|
6981
|
-
J("div",
|
|
7042
|
+
}, [X(j(n.label), 1), n.required ? (G(), K("span", cf, " *")) : Z("", !0)], 8, sf)),
|
|
7043
|
+
J("div", lf, [n.searchable ? (G(), K("div", {
|
|
6982
7044
|
key: 0,
|
|
6983
7045
|
class: "g-select-combo-input g-select-control",
|
|
6984
7046
|
id: F(a)
|
|
@@ -6999,12 +7061,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
6999
7061
|
"aria-autocomplete": "list",
|
|
7000
7062
|
"aria-controls": F(a) + "-listbox",
|
|
7001
7063
|
"aria-expanded": l.value ? "true" : "false",
|
|
7064
|
+
"aria-required": n.required ? "true" : void 0,
|
|
7002
7065
|
"aria-haspopup": "listbox",
|
|
7003
7066
|
"aria-activedescendant": l.value ? F(a) + "-option-" + u.value : void 0
|
|
7004
7067
|
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, {
|
|
7005
7068
|
role: "combobox",
|
|
7006
7069
|
autocomplete: "off"
|
|
7007
|
-
}), null, 16,
|
|
7070
|
+
}), null, 16, df),
|
|
7008
7071
|
k.value ? (G(), K("button", {
|
|
7009
7072
|
key: 0,
|
|
7010
7073
|
type: "button",
|
|
@@ -7030,7 +7093,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7030
7093
|
fill: "currentColor",
|
|
7031
7094
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
7032
7095
|
})], -1)
|
|
7033
|
-
], 8,
|
|
7096
|
+
], 8, uf)) : (G(), K("div", Ha({
|
|
7034
7097
|
key: 1,
|
|
7035
7098
|
ref_key: "comboRef",
|
|
7036
7099
|
ref: o,
|
|
@@ -7039,6 +7102,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7039
7102
|
role: "combobox",
|
|
7040
7103
|
"aria-controls": F(a) + "-listbox",
|
|
7041
7104
|
"aria-expanded": l.value ? "true" : "false",
|
|
7105
|
+
"aria-required": n.required ? "true" : void 0,
|
|
7042
7106
|
"aria-haspopup": "listbox"
|
|
7043
7107
|
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, {
|
|
7044
7108
|
"aria-activedescendant": l.value ? F(a) + "-option-" + u.value : void 0,
|
|
@@ -7074,7 +7138,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7074
7138
|
fill: "currentColor",
|
|
7075
7139
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
7076
7140
|
})], -1)
|
|
7077
|
-
], 16,
|
|
7141
|
+
], 16, ff)), Wn(J("div", Ha({
|
|
7078
7142
|
ref_key: "listboxRef",
|
|
7079
7143
|
ref: s,
|
|
7080
7144
|
class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": F(h) === "above" }],
|
|
@@ -7096,21 +7160,26 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7096
7160
|
option: e,
|
|
7097
7161
|
selected: e.value === i.value,
|
|
7098
7162
|
index: n
|
|
7099
|
-
}, () => [X(j(e.label), 1)], !0)], 42,
|
|
7163
|
+
}, () => [X(j(e.label), 1)], !0)], 42, mf))), 128)) : (G(), K("div", hf, " No results found. "))], 16, pf), [[Ko, l.value]])]),
|
|
7100
7164
|
Y(su, {
|
|
7101
7165
|
errors: F(p),
|
|
7102
7166
|
id: "error-message-" + F(a)
|
|
7103
7167
|
}, null, 8, ["errors", "id"])
|
|
7104
7168
|
], 2));
|
|
7105
7169
|
}
|
|
7106
|
-
}), [["styles", [".g-select-root[data-v-
|
|
7170
|
+
}), [["styles", [".g-select-root[data-v-ec0d90d9]{font-size:1rem;position:relative}.g-select-label[data-v-ec0d90d9]{color:var(--g-surface-900);margin-bottom:.5em;font-weight:700}.g-select-required[data-v-ec0d90d9]{color:var(--g-danger-600)}.g-select-input-wrap[data-v-ec0d90d9]{position:relative}.g-select-control[data-v-ec0d90d9]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-radius:var(--g-border-radius-m);text-align:left;line-height:1.5;position:relative}.g-select-control:focus-visible[data-v-ec0d90d9]{background:var(--g-info-200);color:var(--g-primary-500);outline-color:var(--g-primary-500)}.g-select-control:focus-visible .g-select-caret[data-v-ec0d90d9]{color:var(--g-primary-500)}.g-select-control[data-v-ec0d90d9]:has(:focus-visible){outline:2px solid var(--g-primary-500);outline-offset:1px;box-shadow:0 0 0 2px var(--g-info-200)}.g-select-control[data-v-ec0d90d9]:disabled{opacity:.6;cursor:not-allowed}.g-select-caret[data-v-ec0d90d9]{color:var(--g-accent-700);pointer-events:none;line-height:1.5em;position:absolute;top:calc(50% - .55em);right:.5em;transform:rotate(90deg)}.g-select-open .g-select-caret[data-v-ec0d90d9]{transform:rotate(-90deg)}.g-select-combo-menu[data-v-ec0d90d9]{background-color:var(--g-surface-0);border:2px solid var(--g-surface-700);border-radius:0 0 var(--g-border-radius-m) var(--g-border-radius-m);box-sizing:border-box;z-index:1000;width:100%;max-height:50vh;display:none;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 4px 4px #0003,0 1px 0 1px #0000002e}.g-select-combo-menu--above[data-v-ec0d90d9]{border-radius:var(--g-border-radius-m) var(--g-border-radius-m) 0 0}.g-select-open .g-select-combo-menu[data-v-ec0d90d9]{display:block}.g-select-combo-option[data-v-ec0d90d9]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.5em}.g-select-combo-option[data-v-ec0d90d9]:hover{color:var(--g-accent-700);border-color:var(--g-accent-700);text-decoration:underline}.g-select-option-current[data-v-ec0d90d9]{background:var(--g-primary-500);color:var(--g-primary-text)}.g-select-option-current[data-v-ec0d90d9]:hover{color:var(--g-primary-text)}.g-select-search-input[data-v-ec0d90d9]{box-sizing:border-box;width:100%;font-family:var(--il-font-sans);text-overflow:ellipsis;border:none;font-size:1em;display:block}.g-select-search-input.g-select-clearable[data-v-ec0d90d9]{padding-right:3.5em}.g-select-search-input[data-v-ec0d90d9],.g-select-combo-button[data-v-ec0d90d9]{box-sizing:border-box;padding:.25em 2em .25em .75em;line-height:1.875em}.g-select-combo-button[data-v-ec0d90d9]{min-width:8rem;min-height:calc(2.375em + 4px)}.g-select-compact[data-v-ec0d90d9]{font-size:.875rem}:is(.g-select-search-input,.g-select-combo-button).g-select-clearable[data-v-ec0d90d9]{padding-right:3em}.g-select-no-results[data-v-ec0d90d9]{text-align:center;color:var(--g-surface-900);padding:.25em 1em;font-style:italic}.g-select-clear-btn[data-v-ec0d90d9]{color:var(--g-accent-700);cursor:pointer;background:0 0;border:none;padding:.6em .3em .4em;font-size:1.25em;line-height:1;position:absolute;top:calc(50% - 1.15em);right:1.25em}.g-select-clear-btn[data-v-ec0d90d9]:hover{color:var(--g-accent-700)}.g-select-clear-btn[data-v-ec0d90d9]:focus{background:var(--g-info-200);color:var(--g-primary-500);outline-color:var(--g-primary-500)}.g-select-has-error .g-select-control[data-v-ec0d90d9]{border-color:var(--g-danger-600);background:var(--g-danger-100)}"]], ["__scopeId", "data-v-ec0d90d9"]]), _f = ["disabled"], vf = { class: "g-select-btn-legend" }, yf = {
|
|
7171
|
+
key: 0,
|
|
7172
|
+
class: "g-select-btn-required",
|
|
7173
|
+
"aria-hidden": "true"
|
|
7174
|
+
}, bf = { class: "g-select-btn-row" }, xf = [
|
|
7107
7175
|
"id",
|
|
7108
7176
|
"name",
|
|
7109
7177
|
"value",
|
|
7110
7178
|
"checked",
|
|
7111
7179
|
"disabled",
|
|
7180
|
+
"required",
|
|
7112
7181
|
"onChange"
|
|
7113
|
-
],
|
|
7182
|
+
], Sf = ["for"], Cf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7114
7183
|
__name: "GSelectButton",
|
|
7115
7184
|
props: /* @__PURE__ */ H({
|
|
7116
7185
|
options: { type: Array },
|
|
@@ -7127,6 +7196,10 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7127
7196
|
type: Boolean,
|
|
7128
7197
|
default: !1
|
|
7129
7198
|
},
|
|
7199
|
+
required: {
|
|
7200
|
+
type: Boolean,
|
|
7201
|
+
default: !1
|
|
7202
|
+
},
|
|
7130
7203
|
errors: {
|
|
7131
7204
|
default: () => [],
|
|
7132
7205
|
type: Array
|
|
@@ -7160,7 +7233,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7160
7233
|
return (e, t) => (G(), K("fieldset", {
|
|
7161
7234
|
class: A(l.value),
|
|
7162
7235
|
disabled: n.disabled
|
|
7163
|
-
}, [J("legend",
|
|
7236
|
+
}, [J("legend", vf, [X(j(n.label), 1), n.required ? (G(), K("span", yf, " *")) : Z("", !0)]), J("div", { class: A(["g-select-btn-wrapper", { "g-select-btn-has-error": F(s) }]) }, [J("div", bf, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
|
|
7164
7237
|
class: "g-select-btn-radio",
|
|
7165
7238
|
type: "radio",
|
|
7166
7239
|
id: `${F(a)}-${e.value}`,
|
|
@@ -7168,16 +7241,17 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7168
7241
|
value: e.value,
|
|
7169
7242
|
checked: e.value === i.value,
|
|
7170
7243
|
disabled: n.disabled,
|
|
7244
|
+
required: n.required && t === 0,
|
|
7171
7245
|
onChange: (t) => d(e.value)
|
|
7172
|
-
}, null, 40,
|
|
7246
|
+
}, null, 40, xf), J("label", {
|
|
7173
7247
|
for: `${F(a)}-${e.value}`,
|
|
7174
7248
|
class: A(u(e.value === i.value))
|
|
7175
|
-
}, j(e.label), 11,
|
|
7249
|
+
}, j(e.label), 11, Sf)], 64))), 128))]), Y(su, {
|
|
7176
7250
|
errors: F(o),
|
|
7177
7251
|
id: "error-message-" + F(a)
|
|
7178
|
-
}, null, 8, ["errors", "id"])], 2)], 10,
|
|
7252
|
+
}, null, 8, ["errors", "id"])], 2)], 10, _f));
|
|
7179
7253
|
}
|
|
7180
|
-
}), [["styles", [".g-select-btn-group[data-v-
|
|
7254
|
+
}), [["styles", [".g-select-btn-group[data-v-01874343]{border:none;border-radius:4px;min-width:0;margin:0;padding:0}.g-select-btn-legend[data-v-01874343]{color:var(--g-surface-900);margin:0 0 .5rem;padding:0;font-weight:700;display:block;position:static}.g-select-btn-required[data-v-01874343]{color:var(--g-danger-600)}.g-select-btn-row[data-v-01874343]{border-radius:var(--g-border-radius-m);align-items:stretch;display:flex}.g-select-btn-row[data-v-01874343]:has(:focus-visible){outline:2px solid var(--g-primary-500);outline-offset:2px;background:var(--ilw-color--focus--background);box-shadow:0 0 0 2px var(--ilw-color--focus--background)}.g-select-btn-group--small[data-v-01874343]{font-size:.875rem}.g-select-btn-group--medium[data-v-01874343]{font-size:1rem}.g-select-btn-group--large[data-v-01874343]{font-size:1.125rem}.g-select-btn-radio[data-v-01874343]{opacity:0;pointer-events:none;width:0;height:0;margin:0;position:absolute}.g-select-btn[data-v-01874343]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-left-width:1px;border-right-width:1px;outline:none;flex:1;justify-content:center;align-items:center;padding:.5em;font-weight:700;display:flex}.g-select-btn[data-v-01874343]:hover{text-decoration:underline}.g-select-btn--selected[data-v-01874343]{background:var(--g-primary-500);color:var(--g-surface-0)}.g-select-btn[data-v-01874343]:first-of-type{border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-left-width:2px}.g-select-btn[data-v-01874343]:last-of-type{border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);border-right-width:2px}.g-select-btn-has-error .g-select-btn-row[data-v-01874343]{border:2px solid var(--g-danger-600);border-radius:var(--g-border-radius-m)}.g-select-btn-has-error .g-select-btn[data-v-01874343]{background:var(--g-danger-100)}"]], ["__scopeId", "data-v-01874343"]]), wf = ["id"], Tf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7181
7255
|
__name: "GSidebar",
|
|
7182
7256
|
props: {
|
|
7183
7257
|
backgroundColor: {
|
|
@@ -7210,7 +7284,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7210
7284
|
}
|
|
7211
7285
|
},
|
|
7212
7286
|
setup(e) {
|
|
7213
|
-
let t = e, n = qn("sidebar", () => void 0, !0) ?? (Il() ?
|
|
7287
|
+
let t = e, n = qn("sidebar", () => void 0, !0) ?? (Il() ? ld(t.sidebarKey) : void 0), r = Q(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), i = Q(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), a = Q(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), o = z();
|
|
7214
7288
|
function s(e) {
|
|
7215
7289
|
e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
|
|
7216
7290
|
}
|
|
@@ -7230,13 +7304,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7230
7304
|
width: "var(--g-sidebar-width)"
|
|
7231
7305
|
}),
|
|
7232
7306
|
onKeydown: s
|
|
7233
|
-
}, [V(t.$slots, "default", {}, void 0, !0)], 46,
|
|
7307
|
+
}, [V(t.$slots, "default", {}, void 0, !0)], 46, wf));
|
|
7234
7308
|
}
|
|
7235
|
-
}), [["styles", [".g-sidebar[data-v-88c7169f]{box-sizing:border-box;left:0;top:var(--g-sidebar-top-offset);width:var(--g-sidebar-width,300px);background-position:top;background-size:cover;position:fixed;bottom:0;overflow-y:auto}.g-sidebar--open[data-v-88c7169f]{opacity:1;transition:opacity .1s ease-out}@media (prefers-reduced-motion:reduce){.g-sidebar--open[data-v-88c7169f]{transition:none}}.g-sidebar--closed[data-v-88c7169f]{display:none}.g-sidebar--collapsible[data-v-88c7169f]{z-index:198;height:100vh;top:0;box-shadow:0 2px 10px #0000001a,0 0 10px #0000001a}@starting-style{.g-sidebar[data-v-88c7169f]{opacity:0}}"]], ["__scopeId", "data-v-88c7169f"]]),
|
|
7309
|
+
}), [["styles", [".g-sidebar[data-v-88c7169f]{box-sizing:border-box;left:0;top:var(--g-sidebar-top-offset);width:var(--g-sidebar-width,300px);background-position:top;background-size:cover;position:fixed;bottom:0;overflow-y:auto}.g-sidebar--open[data-v-88c7169f]{opacity:1;transition:opacity .1s ease-out}@media (prefers-reduced-motion:reduce){.g-sidebar--open[data-v-88c7169f]{transition:none}}.g-sidebar--closed[data-v-88c7169f]{display:none}.g-sidebar--collapsible[data-v-88c7169f]{z-index:198;height:100vh;top:0;box-shadow:0 2px 10px #0000001a,0 0 10px #0000001a}@starting-style{.g-sidebar[data-v-88c7169f]{opacity:0}}"]], ["__scopeId", "data-v-88c7169f"]]), Ef = ["id"], Df = { class: "g-sidebar-menu__list" }, Of = [
|
|
7236
7310
|
"href",
|
|
7237
7311
|
"aria-current",
|
|
7238
7312
|
"onClick"
|
|
7239
|
-
],
|
|
7313
|
+
], kf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7240
7314
|
__name: "GSidebarMenu",
|
|
7241
7315
|
props: /* @__PURE__ */ H({
|
|
7242
7316
|
title: { type: String },
|
|
@@ -7290,13 +7364,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7290
7364
|
key: 0,
|
|
7291
7365
|
id: F(c),
|
|
7292
7366
|
class: "g-sidebar-menu__title"
|
|
7293
|
-
}, j(e.title), 9,
|
|
7367
|
+
}, j(e.title), 9, Ef)) : Z("", !0),
|
|
7294
7368
|
a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
|
|
7295
7369
|
J("div", {
|
|
7296
7370
|
class: "g-sidebar-menu__content",
|
|
7297
7371
|
ref_key: "content",
|
|
7298
7372
|
ref: i
|
|
7299
|
-
}, [J("ul",
|
|
7373
|
+
}, [J("ul", Df, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
|
|
7300
7374
|
key: e.href || e.to,
|
|
7301
7375
|
class: "g-sidebar-menu__item",
|
|
7302
7376
|
ref_for: !0,
|
|
@@ -7314,10 +7388,10 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7314
7388
|
href: e.href || e.to || "#",
|
|
7315
7389
|
"aria-current": r.value === (e.href || "") ? "location" : void 0,
|
|
7316
7390
|
onClick: (t) => s(t, e)
|
|
7317
|
-
}, j(e.label), 11,
|
|
7391
|
+
}, j(e.label), 11, Of))]))), 128))])], 512)
|
|
7318
7392
|
], 16));
|
|
7319
7393
|
}
|
|
7320
|
-
}), [["styles", [".g-sidebar-menu[data-v-330a0664]{box-sizing:border-box;color:var(--g-surface-0);flex-direction:column;padding-top:2rem;display:flex}.g-sidebar-menu__title[data-v-330a0664]{font-size:2rem;font-family:var(--il-font-heading);color:var(--g-surface-0);margin:2rem 2rem .5rem}.g-sidebar-menu__divider[data-v-330a0664]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-sidebar-menu__content[data-v-330a0664]{margin:0}.g-sidebar-menu__list[data-v-330a0664]{margin:1rem 0 0;padding:0;list-style:none}.g-sidebar-menu__item[data-v-330a0664]{margin:0;display:block}.g-sidebar-menu__link[data-v-330a0664]{color:var(--g-surface-0);border-left:8px solid #0000;padding:.5rem calc(2rem - 8px);font-size:1.25rem;font-weight:700;text-decoration:none;display:block}.g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-500);text-decoration:underline}.g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-primary-500);border-left:8px solid var(--g-accent-500)}.g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-sidebar-menu--compact .g-sidebar-menu__link[data-v-330a0664]{padding:.1rem calc(2rem - 8px);font-size:1.125rem;font-weight:700}.g-sidebar-menu__light[data-v-330a0664]{background:var(--g-surface-50)}.g-sidebar-menu__light .g-sidebar-menu__title[data-v-330a0664],.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]{color:var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-700)}.g-sidebar-menu__light .g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-accent-500);color:var(--g-surface-0);border-left:8px solid var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-330a0664"]]),
|
|
7394
|
+
}), [["styles", [".g-sidebar-menu[data-v-330a0664]{box-sizing:border-box;color:var(--g-surface-0);flex-direction:column;padding-top:2rem;display:flex}.g-sidebar-menu__title[data-v-330a0664]{font-size:2rem;font-family:var(--il-font-heading);color:var(--g-surface-0);margin:2rem 2rem .5rem}.g-sidebar-menu__divider[data-v-330a0664]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-sidebar-menu__content[data-v-330a0664]{margin:0}.g-sidebar-menu__list[data-v-330a0664]{margin:1rem 0 0;padding:0;list-style:none}.g-sidebar-menu__item[data-v-330a0664]{margin:0;display:block}.g-sidebar-menu__link[data-v-330a0664]{color:var(--g-surface-0);border-left:8px solid #0000;padding:.5rem calc(2rem - 8px);font-size:1.25rem;font-weight:700;text-decoration:none;display:block}.g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-500);text-decoration:underline}.g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-primary-500);border-left:8px solid var(--g-accent-500)}.g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-sidebar-menu--compact .g-sidebar-menu__link[data-v-330a0664]{padding:.1rem calc(2rem - 8px);font-size:1.125rem;font-weight:700}.g-sidebar-menu__light[data-v-330a0664]{background:var(--g-surface-50)}.g-sidebar-menu__light .g-sidebar-menu__title[data-v-330a0664],.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]{color:var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-700)}.g-sidebar-menu__light .g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-accent-500);color:var(--g-surface-0);border-left:8px solid var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-330a0664"]]), Af = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7321
7395
|
__name: "GSubmitButton",
|
|
7322
7396
|
props: {
|
|
7323
7397
|
disabled: {
|
|
@@ -7349,44 +7423,44 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7349
7423
|
_: 3
|
|
7350
7424
|
}, 8, ["disabled", "variant"]));
|
|
7351
7425
|
}
|
|
7352
|
-
}), [["styles", [".g-submit-button[data-v-053621d8]{align-self:flex-start}"]], ["__scopeId", "data-v-053621d8"]]),
|
|
7426
|
+
}), [["styles", [".g-submit-button[data-v-053621d8]{align-self:flex-start}"]], ["__scopeId", "data-v-053621d8"]]), jf = {
|
|
7353
7427
|
ref: "tableBodyRef",
|
|
7354
7428
|
class: "efficient-table-body"
|
|
7355
|
-
},
|
|
7429
|
+
}, Mf = ["aria-rowindex"], Nf = {
|
|
7356
7430
|
key: 0,
|
|
7357
7431
|
class: "table-group-checkbox"
|
|
7358
|
-
},
|
|
7432
|
+
}, Pf = ["colspan"], Ff = [
|
|
7359
7433
|
"aria-rowindex",
|
|
7360
7434
|
"onMousedown",
|
|
7361
7435
|
"onClick"
|
|
7362
|
-
],
|
|
7436
|
+
], If = [
|
|
7363
7437
|
"checked",
|
|
7364
7438
|
"onClick",
|
|
7365
7439
|
"aria-label",
|
|
7366
7440
|
"name"
|
|
7367
|
-
],
|
|
7441
|
+
], Lf = ["id"], Rf = {
|
|
7368
7442
|
key: 0,
|
|
7369
7443
|
class: "editable-cell"
|
|
7370
|
-
},
|
|
7444
|
+
}, zf = {
|
|
7371
7445
|
key: 0,
|
|
7372
7446
|
class: "cell-prefix"
|
|
7373
|
-
},
|
|
7447
|
+
}, Bf = [
|
|
7374
7448
|
"value",
|
|
7375
7449
|
"onChange",
|
|
7376
7450
|
"aria-labelledby",
|
|
7377
7451
|
"aria-invalid",
|
|
7378
7452
|
"name"
|
|
7379
|
-
],
|
|
7453
|
+
], Vf = ["value"], Hf = [
|
|
7380
7454
|
"value",
|
|
7381
7455
|
"onInput",
|
|
7382
7456
|
"aria-labelledby",
|
|
7383
7457
|
"aria-invalid",
|
|
7384
7458
|
"aria-errormessage",
|
|
7385
7459
|
"name"
|
|
7386
|
-
],
|
|
7460
|
+
], Uf = {
|
|
7387
7461
|
key: 3,
|
|
7388
7462
|
class: "cell-suffix"
|
|
7389
|
-
},
|
|
7463
|
+
}, Wf = ["id"], Gf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7390
7464
|
__name: "GTableBody",
|
|
7391
7465
|
props: {
|
|
7392
7466
|
data: { type: Array },
|
|
@@ -7455,13 +7529,13 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7455
7529
|
function m(e, t) {
|
|
7456
7530
|
if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
|
|
7457
7531
|
}
|
|
7458
|
-
return (t, n) => (G(), K("tbody",
|
|
7532
|
+
return (t, n) => (G(), K("tbody", jf, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
|
|
7459
7533
|
key: 0,
|
|
7460
7534
|
"aria-rowindex": e.startIndex + r + 2
|
|
7461
|
-
}, [e.bulkSelectionEnabled ? (G(), K("td",
|
|
7535
|
+
}, [e.bulkSelectionEnabled ? (G(), K("td", Nf)) : Z("", !0), J("td", {
|
|
7462
7536
|
colspan: e.columns.length,
|
|
7463
7537
|
class: "table-group-row"
|
|
7464
|
-
}, [e.groupRender ? (G(), q(ri(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(j(t[e.groupBy]), 1)], 64))], 8,
|
|
7538
|
+
}, [e.groupRender ? (G(), q(ri(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(j(t[e.groupBy]), 1)], 64))], 8, Pf)], 8, Mf)) : Z("", !0), J("tr", {
|
|
7465
7539
|
class: A([
|
|
7466
7540
|
"efficient-table-row",
|
|
7467
7541
|
{
|
|
@@ -7484,7 +7558,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7484
7558
|
"aria-label": `Select row ${t.key}`,
|
|
7485
7559
|
name: `row-${t.key}-checkbox`,
|
|
7486
7560
|
class: "g-bulk-select-checkbox"
|
|
7487
|
-
}, null, 8,
|
|
7561
|
+
}, null, 8, If)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
|
|
7488
7562
|
key: n.key,
|
|
7489
7563
|
id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
|
|
7490
7564
|
class: A([
|
|
@@ -7493,8 +7567,8 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7493
7567
|
p(t, n) ? "g-cell-error" : "",
|
|
7494
7568
|
typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
|
|
7495
7569
|
])
|
|
7496
|
-
}, [n.editable ? (G(), K("div",
|
|
7497
|
-
n.editable.prefix ? (G(), K("span",
|
|
7570
|
+
}, [n.editable ? (G(), K("div", Rf, [
|
|
7571
|
+
n.editable.prefix ? (G(), K("span", zf, j(n.editable.prefix), 1)) : Z("", !0),
|
|
7498
7572
|
n.editable.type === "select" ? (G(), K("select", {
|
|
7499
7573
|
key: 1,
|
|
7500
7574
|
value: t[n.key],
|
|
@@ -7506,7 +7580,7 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7506
7580
|
}, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
|
|
7507
7581
|
key: e.value,
|
|
7508
7582
|
value: e.value
|
|
7509
|
-
}, j(e.label), 9,
|
|
7583
|
+
}, j(e.label), 9, Vf))), 128))], 40, Bf)) : (G(), K("input", Ha({
|
|
7510
7584
|
key: 2,
|
|
7511
7585
|
value: t[n.key]
|
|
7512
7586
|
}, { ref_for: !0 }, n.editable.inputAttributes, {
|
|
@@ -7520,29 +7594,29 @@ var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-
|
|
|
7520
7594
|
paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
|
|
7521
7595
|
paddingRight: n.editable.suffix ? "2rem" : void 0
|
|
7522
7596
|
}
|
|
7523
|
-
}), null, 16,
|
|
7524
|
-
n.editable.suffix ? (G(), K("span",
|
|
7597
|
+
}), null, 16, Hf)),
|
|
7598
|
+
n.editable.suffix ? (G(), K("span", Uf, j(n.editable.suffix), 1)) : Z("", !0)
|
|
7525
7599
|
])) : n.display ? (G(), q(ri(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(j(t[n.key]), 1)], 64)), p(t, n) ? (G(), K("div", {
|
|
7526
7600
|
key: 3,
|
|
7527
7601
|
role: "alert",
|
|
7528
7602
|
class: "g-cell-error-message",
|
|
7529
7603
|
id: `${e.tableId}-error-${t.key}-${String(n.key)}`
|
|
7530
|
-
}, j(m(t, n)), 9,
|
|
7604
|
+
}, j(m(t, n)), 9, Wf)) : Z("", !0)], 10, Lf))), 128))], 42, Ff)], 64))), 128))], 512));
|
|
7531
7605
|
}
|
|
7532
7606
|
}), [["styles", [".efficient-table-body th,.efficient-table-body td{padding:.4rem .2rem}.efficient-table-body td.editable-td{border-right:1px solid var(--g-surface-300);border-bottom:1px solid var(--g-surface-300);padding:0}.efficient-table-body td.editable-td:first-child,.efficient-table-body td:not(.editable-td)+td.editable-td{border-left:1px solid var(--g-surface-300)}.efficient-table-body tr:first-child td.editable-td{border-top:1px solid var(--g-surface-300)}.efficient-table-body .table-group-row{background:var(--g-surface-0);border-bottom:1px solid var(--g-accent-500);padding:1rem;font-size:1.25rem;font-weight:600}.efficient-table-body .table-group-checkbox{background:var(--g-surface-0);width:50px}.efficient-table-body .td-checkbox{text-align:center;width:50px;padding:.4rem}.efficient-table-body .g-bulk-select-checkbox{cursor:pointer;width:20px;height:20px;accent-color:var(--g-primary-500)}.row-striped{background-color:var(--g-surface-100)}.efficient-table-row.row-clickable{cursor:pointer}.efficient-table-row.row-clickable:hover{background-color:var(--ilw-color--focus--background)}.efficient-table-row.row-clickable:hover td,.efficient-table-row.row-clickable:hover a,.efficient-table-row.row-clickable:hover span,.efficient-table-row.row-clickable:hover strong{text-decoration:underline}@media (prefers-reduced-motion:reduce){.efficient-table-row.row-clickable,.efficient-table-row.row-clickable:hover{transition:none!important}}.editable-cell{width:100%;height:100%;display:block;position:relative}.editable-input{width:100%;font-size:1rem;font-family:var(--il-font-sans);box-sizing:border-box;background:0 0;border:none;border-radius:0;padding:.4rem .5rem .4rem .75rem}.editable-input:focus{outline:2px solid var(--g-primary-500);outline-offset:-2px;background:var(--g-surface-0)}.editable-select{cursor:pointer}.cell-prefix,.cell-suffix{color:var(--g-surface-600);pointer-events:none;font-size:1rem;position:absolute;top:50%;transform:translateY(-50%)}.cell-prefix{left:.5rem}.cell-suffix{right:.5rem}.g-cell-changed{background:#65c7ff4a}.g-cell-error{background:var(--g-danger-100);position:relative}.g-cell-error-message{background:var(--g-danger-500);color:var(--g-surface-0);padding:.25rem .5rem;font-size:.875rem}.g-cell-error .editable-input[aria-invalid=true]:focus{outline-color:var(--g-danger-500)}"]]]);
|
|
7533
7607
|
//#endregion
|
|
7534
7608
|
//#region src/compose/useFiltering.ts
|
|
7535
|
-
function
|
|
7609
|
+
function Kf(e) {
|
|
7536
7610
|
if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
|
|
7537
7611
|
}
|
|
7538
|
-
function
|
|
7612
|
+
function qf(e) {
|
|
7539
7613
|
let t = {};
|
|
7540
7614
|
return Object.keys(e).forEach((n) => {
|
|
7541
7615
|
let r = e[n];
|
|
7542
7616
|
r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
|
|
7543
7617
|
}), t;
|
|
7544
7618
|
}
|
|
7545
|
-
function
|
|
7619
|
+
function Jf(e, t = {}) {
|
|
7546
7620
|
let n = /* @__PURE__ */ Vt(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
|
|
7547
7621
|
if (r) {
|
|
7548
7622
|
if (r.value) {
|
|
@@ -7555,13 +7629,13 @@ function Uf(e, t = {}) {
|
|
|
7555
7629
|
});
|
|
7556
7630
|
}
|
|
7557
7631
|
L(n, (e) => {
|
|
7558
|
-
r.value =
|
|
7632
|
+
r.value = qf(e);
|
|
7559
7633
|
}, { deep: !0 });
|
|
7560
7634
|
}
|
|
7561
7635
|
return {
|
|
7562
7636
|
filters: n,
|
|
7563
7637
|
isFiltered: Q(() => {
|
|
7564
|
-
for (let t of Object.keys(e)) if (
|
|
7638
|
+
for (let t of Object.keys(e)) if (Kf(n[t])) return !0;
|
|
7565
7639
|
return !1;
|
|
7566
7640
|
}),
|
|
7567
7641
|
clearFilters: () => {
|
|
@@ -7571,48 +7645,48 @@ function Uf(e, t = {}) {
|
|
|
7571
7645
|
},
|
|
7572
7646
|
filteredColumns: Q(() => {
|
|
7573
7647
|
let t = {};
|
|
7574
|
-
for (let r of Object.keys(e)) t[r] = !!
|
|
7648
|
+
for (let r of Object.keys(e)) t[r] = !!Kf(n[r]);
|
|
7575
7649
|
return t;
|
|
7576
7650
|
})
|
|
7577
7651
|
};
|
|
7578
7652
|
}
|
|
7579
7653
|
//#endregion
|
|
7580
7654
|
//#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
7581
|
-
var
|
|
7655
|
+
var Yf = { class: "g-table-outer-wrap" }, Xf = {
|
|
7582
7656
|
key: 0,
|
|
7583
7657
|
class: "g-table-controls"
|
|
7584
|
-
},
|
|
7658
|
+
}, Zf = { class: "g-clear-filters-wrap" }, Qf = {
|
|
7585
7659
|
key: 0,
|
|
7586
7660
|
class: "pagination"
|
|
7587
|
-
},
|
|
7661
|
+
}, $f = { class: "g-result-count" }, ep = ["aria-label", "aria-rowcount"], tp = { class: "g-table-head" }, np = { "aria-rowindex": "1" }, rp = {
|
|
7588
7662
|
key: 0,
|
|
7589
7663
|
scope: "col",
|
|
7590
7664
|
class: "g-th g-th-checkbox"
|
|
7591
|
-
},
|
|
7665
|
+
}, ip = [
|
|
7592
7666
|
"checked",
|
|
7593
7667
|
"indeterminate",
|
|
7594
7668
|
"aria-label"
|
|
7595
|
-
],
|
|
7669
|
+
], ap = ["id", "aria-sort"], op = { class: "th-inner" }, sp = ["onClick"], cp = {
|
|
7596
7670
|
key: 0,
|
|
7597
7671
|
class: "sort-indicator"
|
|
7598
|
-
},
|
|
7672
|
+
}, lp = ["aria-label"], up = {
|
|
7599
7673
|
key: 1,
|
|
7600
7674
|
class: "g-column-head"
|
|
7601
|
-
},
|
|
7675
|
+
}, dp = ["onClick", "aria-label"], fp = { key: 1 }, pp = { class: "g-filter-toggle" }, mp = [
|
|
7602
7676
|
"onUpdate:modelValue",
|
|
7603
7677
|
"id",
|
|
7604
7678
|
"aria-describedby"
|
|
7605
|
-
],
|
|
7679
|
+
], hp = ["for"], gp = ["id"], _p = {
|
|
7606
7680
|
key: 2,
|
|
7607
7681
|
class: "g-multi-select"
|
|
7608
|
-
},
|
|
7682
|
+
}, vp = [
|
|
7609
7683
|
"onUpdate:modelValue",
|
|
7610
7684
|
"id",
|
|
7611
7685
|
"value"
|
|
7612
|
-
],
|
|
7686
|
+
], yp = ["for"], bp = {
|
|
7613
7687
|
key: 1,
|
|
7614
7688
|
class: "g-bulk-actions-toolbar"
|
|
7615
|
-
},
|
|
7689
|
+
}, xp = { class: "g-selected-count" }, Sp = { class: "g-bulk-actions" }, Cp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7616
7690
|
__name: "GTable",
|
|
7617
7691
|
props: /* @__PURE__ */ H({
|
|
7618
7692
|
label: { type: String },
|
|
@@ -7664,7 +7738,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7664
7738
|
e.sortable && (n.value === e.key ? r.value === 1 ? r.value = -1 : r.value === -1 && (n.value = void 0, r.value = 1) : (n.value = e.key, r.value = 1));
|
|
7665
7739
|
}
|
|
7666
7740
|
let l = o.filtering;
|
|
7667
|
-
l ||=
|
|
7741
|
+
l ||= Jf({});
|
|
7668
7742
|
let { filters: u, filteredColumns: d, isFiltered: f, clearFilters: p } = l, m = Q(() => o.data.map((e) => e.key)), h = Q(() => a.value.filter((e) => m.value.includes(e))), g = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length === m.value.length), _ = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length > 0 && h.value.length < m.value.length), v = /* @__PURE__ */ P(null);
|
|
7669
7743
|
function y() {
|
|
7670
7744
|
if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
|
|
@@ -7710,9 +7784,9 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7710
7784
|
let e = i.value[t.key];
|
|
7711
7785
|
i.value[t.key] = e ? [e] : [];
|
|
7712
7786
|
}
|
|
7713
|
-
}, { immediate: !0 }), (t, s) => (G(), K("div",
|
|
7714
|
-
ee.value ? (G(), K("div",
|
|
7715
|
-
J("div",
|
|
7787
|
+
}, { immediate: !0 }), (t, s) => (G(), K("div", Yf, [
|
|
7788
|
+
ee.value ? (G(), K("div", Xf, [
|
|
7789
|
+
J("div", Zf, [F(f) ? (G(), q(Hl, {
|
|
7716
7790
|
key: 0,
|
|
7717
7791
|
outlined: "",
|
|
7718
7792
|
size: "small",
|
|
@@ -7730,22 +7804,22 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7730
7804
|
})], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
|
|
7731
7805
|
_: 1
|
|
7732
7806
|
}, 8, ["onClick"])) : Z("", !0)]),
|
|
7733
|
-
E.value ? (G(), K("div",
|
|
7734
|
-
J("span",
|
|
7807
|
+
E.value ? (G(), K("div", Qf, [V(t.$slots, "pagination", {}, void 0, !0)])) : Z("", !0),
|
|
7808
|
+
J("span", $f, j(o.resultCount || e.data.length) + " results", 1)
|
|
7735
7809
|
])) : Z("", !0),
|
|
7736
7810
|
J("table", {
|
|
7737
7811
|
class: "g-table",
|
|
7738
7812
|
ref: "tableRef",
|
|
7739
7813
|
"aria-label": e.label,
|
|
7740
7814
|
"aria-rowcount": o.resultCount || e.data.length
|
|
7741
|
-
}, [J("thead",
|
|
7815
|
+
}, [J("thead", tp, [J("tr", np, [e.bulkSelectionEnabled ? (G(), K("th", rp, [J("input", {
|
|
7742
7816
|
type: "checkbox",
|
|
7743
7817
|
checked: g.value,
|
|
7744
7818
|
indeterminate: _.value,
|
|
7745
7819
|
onChange: y,
|
|
7746
7820
|
"aria-label": g.value ? "Deselect all rows" : "Select all rows",
|
|
7747
7821
|
class: "g-bulk-select-checkbox"
|
|
7748
|
-
}, null, 40,
|
|
7822
|
+
}, null, 40, ip)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
|
|
7749
7823
|
key: e.key,
|
|
7750
7824
|
id: `${F(w)}-th-${String(e.key)}`,
|
|
7751
7825
|
"aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
|
|
@@ -7755,12 +7829,12 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7755
7829
|
{ filtered: F(d)[e.key] }
|
|
7756
7830
|
]),
|
|
7757
7831
|
scope: "col"
|
|
7758
|
-
}, [J("div",
|
|
7832
|
+
}, [J("div", op, [e.sortable ? (G(), K("button", {
|
|
7759
7833
|
key: 0,
|
|
7760
7834
|
type: "button",
|
|
7761
7835
|
class: "g-column-head",
|
|
7762
7836
|
onClick: (t) => c(e)
|
|
7763
|
-
}, [X(j(e.label) + " ", 1), n.value === e.key ? (G(), K("span",
|
|
7837
|
+
}, [X(j(e.label) + " ", 1), n.value === e.key ? (G(), K("span", cp, [(G(), K("svg", {
|
|
7764
7838
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7765
7839
|
viewBox: "0 0 640 640",
|
|
7766
7840
|
height: "1.5em",
|
|
@@ -7770,7 +7844,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7770
7844
|
}, [...s[1] ||= [J("path", {
|
|
7771
7845
|
fill: "currentColor",
|
|
7772
7846
|
d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
|
|
7773
|
-
}, null, -1)]], 12,
|
|
7847
|
+
}, null, -1)]], 12, lp))])) : Z("", !0)], 8, sp)) : (G(), K("span", up, j(e.label), 1)), e.filter ? (G(), q(Ud, { key: 2 }, {
|
|
7774
7848
|
trigger: I(({ toggle: t }) => [J("button", {
|
|
7775
7849
|
onClick: js(t, ["stop"]),
|
|
7776
7850
|
"aria-label": F(d)[e.key] ? "Column Filtered" : "Filter Column",
|
|
@@ -7784,8 +7858,8 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7784
7858
|
}, [J("path", {
|
|
7785
7859
|
fill: "currentColor",
|
|
7786
7860
|
d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
|
|
7787
|
-
})], -1)]], 10,
|
|
7788
|
-
default: I(() => [e.filter.type === "select" ? (G(), q(
|
|
7861
|
+
})], -1)]], 10, dp)]),
|
|
7862
|
+
default: I(() => [e.filter.type === "select" ? (G(), q(gf, {
|
|
7789
7863
|
key: 0,
|
|
7790
7864
|
modelValue: i.value[e.key],
|
|
7791
7865
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
@@ -7798,20 +7872,20 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7798
7872
|
"modelValue",
|
|
7799
7873
|
"onUpdate:modelValue",
|
|
7800
7874
|
"options"
|
|
7801
|
-
])) : e.filter.type === "toggle" ? (G(), K("div",
|
|
7875
|
+
])) : e.filter.type === "toggle" ? (G(), K("div", fp, [J("div", pp, [
|
|
7802
7876
|
Wn(J("input", {
|
|
7803
7877
|
type: "checkbox",
|
|
7804
7878
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
7805
7879
|
id: `${F(w)}-filter-${String(e.key)}`,
|
|
7806
7880
|
"aria-describedby": e.filter.description ? `${F(w)}-filter-description-${String(e.key)}` : void 0
|
|
7807
|
-
}, null, 8,
|
|
7808
|
-
J("label", { for: `${F(w)}-filter-${String(e.key)}` }, j(e.filter.label), 9,
|
|
7881
|
+
}, null, 8, mp), [[Ts, i.value[e.key]]]),
|
|
7882
|
+
J("label", { for: `${F(w)}-filter-${String(e.key)}` }, j(e.filter.label), 9, hp),
|
|
7809
7883
|
e.filter.description ? (G(), K("span", {
|
|
7810
7884
|
key: 0,
|
|
7811
7885
|
class: "g-filter-description",
|
|
7812
7886
|
id: `${F(w)}-filter-description-${String(e.key)}`
|
|
7813
|
-
}, j(e.filter.description), 9,
|
|
7814
|
-
])])) : e.filter.type === "multi-select" ? (G(), K("fieldset",
|
|
7887
|
+
}, j(e.filter.description), 9, gp)) : Z("", !0)
|
|
7888
|
+
])])) : e.filter.type === "multi-select" ? (G(), K("fieldset", _p, [
|
|
7815
7889
|
s[4] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
|
|
7816
7890
|
(G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
|
|
7817
7891
|
type: "checkbox",
|
|
@@ -7819,7 +7893,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7819
7893
|
id: `filter-${String(e.key)}-${t.value}`,
|
|
7820
7894
|
value: t.value,
|
|
7821
7895
|
name: "filter-multiselect"
|
|
7822
|
-
}, null, 8,
|
|
7896
|
+
}, null, 8, vp), [[Ts, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, j(t.label), 9, yp)]))), 128)),
|
|
7823
7897
|
i.value[e.key] && i.value[e.key].length ? (G(), q(Hl, {
|
|
7824
7898
|
key: 0,
|
|
7825
7899
|
class: "clear-multiselect-btn",
|
|
@@ -7832,7 +7906,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7832
7906
|
}, 8, ["onClick"])) : Z("", !0)
|
|
7833
7907
|
])) : Z("", !0)]),
|
|
7834
7908
|
_: 2
|
|
7835
|
-
}, 1024)) : Z("", !0)])], 10,
|
|
7909
|
+
}, 1024)) : Z("", !0)])], 10, ap))), 128))])]), Y(Gf, {
|
|
7836
7910
|
data: e.data,
|
|
7837
7911
|
columns: e.columns,
|
|
7838
7912
|
"group-by": e.groupBy,
|
|
@@ -7859,8 +7933,8 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7859
7933
|
"selected-rows",
|
|
7860
7934
|
"table-id",
|
|
7861
7935
|
"change-tracker"
|
|
7862
|
-
])], 8,
|
|
7863
|
-
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div",
|
|
7936
|
+
])], 8, ep),
|
|
7937
|
+
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", bp, [J("span", xp, j(a.value.length) + " row" + j(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Sp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(Hl, {
|
|
7864
7938
|
theme: e.theme || "accent",
|
|
7865
7939
|
onClick: (t) => S(e.id),
|
|
7866
7940
|
size: "small"
|
|
@@ -7870,10 +7944,10 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7870
7944
|
}, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
|
|
7871
7945
|
]));
|
|
7872
7946
|
}
|
|
7873
|
-
}), [["styles", [".g-table-controls[data-v-32760cb5]{height:40px;padding:2px 6px;display:flex;position:sticky;top:0;left:0}.g-table-head[data-v-32760cb5]{background:var(--g-surface-0);z-index:1;position:sticky;top:40px}.g-th[data-v-32760cb5]{text-align:left;border:0;border-bottom:2px solid var(--g-surface-900);background:var(--g-surface-0);padding:.5rem .2rem}.g-th.sorted[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th.filtered .g-filter-btn[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th .th-inner[data-v-32760cb5]{align-items:center;display:flex}.g-column-head[data-v-32760cb5]{color:currentColor;font-weight:700;font-family:var(--il-font-sans);white-space:nowrap;background:var(--g-surface-0);border:none;padding-left:4px;font-size:1rem;line-height:1.3;position:relative}.g-column-head .sort-indicator[data-v-32760cb5]{position:absolute;bottom:-1.1em;left:calc(50% - .7em)}th:first-of-type .g-column-head[data-v-32760cb5]{padding-left:0}button.g-column-head[data-v-32760cb5]{cursor:pointer;height:2rem}button.g-column-head[data-v-32760cb5]:hover{color:var(--ilw-color--link-hover);text-decoration:underline}.g-table[data-v-32760cb5]{border-spacing:0;min-width:100%}.g-filter-btn[data-v-32760cb5]{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;display:inline-flex}.g-filter-btn[data-v-32760cb5]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-filter-btn[data-v-32760cb5]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-filter-btn.g-active[data-v-32760cb5]{border:2px solid var(--ilw-color--link-hover)}.g-clear-filters-text[data-v-32760cb5]{white-space:nowrap}@media screen and (width<=600px){.g-clear-filters-text[data-v-32760cb5]{opacity:0;width:1px;height:1px;overflow:hidden}}.g-filter-select[data-v-32760cb5]{min-width:200px}.g-table-controls[data-v-32760cb5]{background:var(--g-surface-150);justify-content:space-between;align-items:center;gap:1.5rem;padding:.2rem 1rem;display:flex}.g-table-controls .g-result-count[data-v-32760cb5]{font-size:1rem;line-height:1.2}.g-multi-select[data-v-32760cb5]{border:none;flex-direction:column;gap:.5rem;margin:0;padding:0;display:flex}.g-multi-select .clear-multiselect-btn[data-v-32760cb5]{margin-top:.5rem}.g-multi-select legend[data-v-32760cb5]{margin-bottom:.5rem;font-size:1.125rem;font-weight:700}.g-multi-select div[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}.g-multi-select div[data-v-32760cb5]:has(:focus-visible){outline:2px solid var(--g-primary-500)}.g-multi-select input[data-v-32760cb5]{width:24px;height:24px;accent-color:var(--g-primary-500);display:block}.g-multi-select label[data-v-32760cb5]{flex:1;font-size:1.125rem}.g-multi-select-legend[data-v-32760cb5]{margin:0;padding:0;font-size:1rem;line-height:1.2}.g-filter-toggle[data-v-32760cb5]{grid-template-columns:auto 1fr;grid-template-areas:\"label input\"\"description description\";align-items:center;gap:.5rem;display:grid}.g-filter-toggle input[data-v-32760cb5]{width:24px;height:24px}.g-filter-toggle label[data-v-32760cb5]{font-size:1.125rem;font-weight:700}.g-filter-toggle .g-filter-description[data-v-32760cb5]{grid-area:description}.g-th-checkbox[data-v-32760cb5]{text-align:center;width:50px}.g-bulk-select-checkbox[data-v-32760cb5]{cursor:pointer;width:20px;height:20px;accent-color:var(--g-primary-500)}.g-bulk-actions-toolbar[data-v-32760cb5]{background:var(--g-primary-500);color:var(--g-primary-text);z-index:1;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex;position:sticky;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #00000026}.g-bulk-actions-toolbar ul[data-v-32760cb5]{gap:1rem;margin:0;padding:0;list-style:none;display:flex}.g-bulk-actions-toolbar li[data-v-32760cb5]{margin:0}.g-selected-count[data-v-32760cb5]{font-size:1rem;font-weight:600}.g-bulk-actions[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}"]], ["__scopeId", "data-v-32760cb5"]]),
|
|
7947
|
+
}), [["styles", [".g-table-controls[data-v-32760cb5]{height:40px;padding:2px 6px;display:flex;position:sticky;top:0;left:0}.g-table-head[data-v-32760cb5]{background:var(--g-surface-0);z-index:1;position:sticky;top:40px}.g-th[data-v-32760cb5]{text-align:left;border:0;border-bottom:2px solid var(--g-surface-900);background:var(--g-surface-0);padding:.5rem .2rem}.g-th.sorted[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th.filtered .g-filter-btn[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th .th-inner[data-v-32760cb5]{align-items:center;display:flex}.g-column-head[data-v-32760cb5]{color:currentColor;font-weight:700;font-family:var(--il-font-sans);white-space:nowrap;background:var(--g-surface-0);border:none;padding-left:4px;font-size:1rem;line-height:1.3;position:relative}.g-column-head .sort-indicator[data-v-32760cb5]{position:absolute;bottom:-1.1em;left:calc(50% - .7em)}th:first-of-type .g-column-head[data-v-32760cb5]{padding-left:0}button.g-column-head[data-v-32760cb5]{cursor:pointer;height:2rem}button.g-column-head[data-v-32760cb5]:hover{color:var(--ilw-color--link-hover);text-decoration:underline}.g-table[data-v-32760cb5]{border-spacing:0;min-width:100%}.g-filter-btn[data-v-32760cb5]{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;display:inline-flex}.g-filter-btn[data-v-32760cb5]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-filter-btn[data-v-32760cb5]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-filter-btn.g-active[data-v-32760cb5]{border:2px solid var(--ilw-color--link-hover)}.g-clear-filters-text[data-v-32760cb5]{white-space:nowrap}@media screen and (width<=600px){.g-clear-filters-text[data-v-32760cb5]{opacity:0;width:1px;height:1px;overflow:hidden}}.g-filter-select[data-v-32760cb5]{min-width:200px}.g-table-controls[data-v-32760cb5]{background:var(--g-surface-150);justify-content:space-between;align-items:center;gap:1.5rem;padding:.2rem 1rem;display:flex}.g-table-controls .g-result-count[data-v-32760cb5]{font-size:1rem;line-height:1.2}.g-multi-select[data-v-32760cb5]{border:none;flex-direction:column;gap:.5rem;margin:0;padding:0;display:flex}.g-multi-select .clear-multiselect-btn[data-v-32760cb5]{margin-top:.5rem}.g-multi-select legend[data-v-32760cb5]{margin-bottom:.5rem;font-size:1.125rem;font-weight:700}.g-multi-select div[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}.g-multi-select div[data-v-32760cb5]:has(:focus-visible){outline:2px solid var(--g-primary-500)}.g-multi-select input[data-v-32760cb5]{width:24px;height:24px;accent-color:var(--g-primary-500);display:block}.g-multi-select label[data-v-32760cb5]{flex:1;font-size:1.125rem}.g-multi-select-legend[data-v-32760cb5]{margin:0;padding:0;font-size:1rem;line-height:1.2}.g-filter-toggle[data-v-32760cb5]{grid-template-columns:auto 1fr;grid-template-areas:\"label input\"\"description description\";align-items:center;gap:.5rem;display:grid}.g-filter-toggle input[data-v-32760cb5]{width:24px;height:24px}.g-filter-toggle label[data-v-32760cb5]{font-size:1.125rem;font-weight:700}.g-filter-toggle .g-filter-description[data-v-32760cb5]{grid-area:description}.g-th-checkbox[data-v-32760cb5]{text-align:center;width:50px}.g-bulk-select-checkbox[data-v-32760cb5]{cursor:pointer;width:20px;height:20px;accent-color:var(--g-primary-500)}.g-bulk-actions-toolbar[data-v-32760cb5]{background:var(--g-primary-500);color:var(--g-primary-text);z-index:1;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex;position:sticky;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #00000026}.g-bulk-actions-toolbar ul[data-v-32760cb5]{gap:1rem;margin:0;padding:0;list-style:none;display:flex}.g-bulk-actions-toolbar li[data-v-32760cb5]{margin:0}.g-selected-count[data-v-32760cb5]{font-size:1rem;font-weight:600}.g-bulk-actions[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}"]], ["__scopeId", "data-v-32760cb5"]]), wp = {
|
|
7874
7948
|
class: "g-pagination",
|
|
7875
7949
|
"aria-label": "Pagination"
|
|
7876
|
-
},
|
|
7950
|
+
}, Tp = ["disabled"], Ep = ["disabled"], Dp = { class: "page-range" }, Op = ["disabled"], kp = ["disabled"], Ap = ["value"], jp = ["value"], Mp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7877
7951
|
__name: "GTablePagination",
|
|
7878
7952
|
props: /* @__PURE__ */ H({
|
|
7879
7953
|
start: { type: Number },
|
|
@@ -7895,7 +7969,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7895
7969
|
function d(e) {
|
|
7896
7970
|
i.value = parseInt(e.target.value, 10);
|
|
7897
7971
|
}
|
|
7898
|
-
return (e, r) => (G(), K("nav",
|
|
7972
|
+
return (e, r) => (G(), K("nav", wp, [
|
|
7899
7973
|
J("button", {
|
|
7900
7974
|
class: "first-page g-pagination-button",
|
|
7901
7975
|
disabled: l.value === 1,
|
|
@@ -7920,7 +7994,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7920
7994
|
}),
|
|
7921
7995
|
J("path", { d: "M11 7l-5 5l5 5" }),
|
|
7922
7996
|
J("path", { d: "M17 7l-5 5l5 5" })
|
|
7923
|
-
], -1)]], 8,
|
|
7997
|
+
], -1)]], 8, Tp),
|
|
7924
7998
|
J("button", {
|
|
7925
7999
|
class: "prev-page g-pagination-button",
|
|
7926
8000
|
disabled: l.value === 1,
|
|
@@ -7941,8 +8015,8 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7941
8015
|
stroke: "none",
|
|
7942
8016
|
d: "M0 0h24v24H0z",
|
|
7943
8017
|
fill: "none"
|
|
7944
|
-
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8,
|
|
7945
|
-
J("span",
|
|
8018
|
+
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Ep),
|
|
8019
|
+
J("span", Dp, j(s.value) + " to " + j(c.value), 1),
|
|
7946
8020
|
J("button", {
|
|
7947
8021
|
class: "next-page g-pagination-button",
|
|
7948
8022
|
disabled: l.value === n.value,
|
|
@@ -7963,7 +8037,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7963
8037
|
stroke: "none",
|
|
7964
8038
|
d: "M0 0h24v24H0z",
|
|
7965
8039
|
fill: "none"
|
|
7966
|
-
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8,
|
|
8040
|
+
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Op),
|
|
7967
8041
|
J("button", {
|
|
7968
8042
|
class: "last-page g-pagination-button",
|
|
7969
8043
|
disabled: l.value === n.value,
|
|
@@ -7988,7 +8062,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
7988
8062
|
}),
|
|
7989
8063
|
J("path", { d: "M7 7l5 5l-5 5" }),
|
|
7990
8064
|
J("path", { d: "M13 7l5 5l-5 5" })
|
|
7991
|
-
], -1)]], 8,
|
|
8065
|
+
], -1)]], 8, kp),
|
|
7992
8066
|
J("select", {
|
|
7993
8067
|
id: "page-size-select",
|
|
7994
8068
|
class: "page-size-select",
|
|
@@ -8002,14 +8076,14 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8002
8076
|
], (e) => (G(), K("option", {
|
|
8003
8077
|
key: e,
|
|
8004
8078
|
value: e
|
|
8005
|
-
}, j(e), 9,
|
|
8079
|
+
}, j(e), 9, jp))), 128))], 40, Ap),
|
|
8006
8080
|
r[8] ||= J("label", {
|
|
8007
8081
|
class: "page-size-label",
|
|
8008
8082
|
for: "page-size-select"
|
|
8009
8083
|
}, "per page", -1)
|
|
8010
8084
|
]));
|
|
8011
8085
|
}
|
|
8012
|
-
}), [["styles", [".g-pagination[data-v-ae2bd887]{align-items:center;gap:.1rem;font-size:1rem;display:flex}.g-pagination .g-pagination-button[data-v-ae2bd887]{color:var(--g-surface-900);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .4rem}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-pagination button[data-v-ae2bd887]:disabled{cursor:auto;color:var(--g-surface-600)}.g-pagination .page-range[data-v-ae2bd887]{text-align:center;min-width:3rem}.g-pagination .page-size-select[data-v-ae2bd887]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-surface-900);cursor:pointer;font-size:1rem;font-family:var(--il-font-sans);border-radius:.2em;margin-left:1rem;margin-right:.5rem;padding:.2em .5em}.g-pagination .page-size-select[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.page-size-label[data-v-ae2bd887]{line-height:1.2}@media (prefers-reduced-motion:reduce){.g-pagination .page-size-select[data-v-ae2bd887]{transition:none}}"]], ["__scopeId", "data-v-ae2bd887"]]),
|
|
8086
|
+
}), [["styles", [".g-pagination[data-v-ae2bd887]{align-items:center;gap:.1rem;font-size:1rem;display:flex}.g-pagination .g-pagination-button[data-v-ae2bd887]{color:var(--g-surface-900);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .4rem}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-pagination button[data-v-ae2bd887]:disabled{cursor:auto;color:var(--g-surface-600)}.g-pagination .page-range[data-v-ae2bd887]{text-align:center;min-width:3rem}.g-pagination .page-size-select[data-v-ae2bd887]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-surface-900);cursor:pointer;font-size:1rem;font-family:var(--il-font-sans);border-radius:.2em;margin-left:1rem;margin-right:.5rem;padding:.2em .5em}.g-pagination .page-size-select[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.page-size-label[data-v-ae2bd887]{line-height:1.2}@media (prefers-reduced-motion:reduce){.g-pagination .page-size-select[data-v-ae2bd887]{transition:none}}"]], ["__scopeId", "data-v-ae2bd887"]]), Np = { class: "popover-content" }, Pp = { class: "year-dropdown" }, Fp = { class: "month-selector" }, Ip = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8013
8087
|
__name: "GTermSelectorControl",
|
|
8014
8088
|
props: /* @__PURE__ */ H({
|
|
8015
8089
|
termYears: {
|
|
@@ -8042,7 +8116,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8042
8116
|
emits: ["update:modelValue"],
|
|
8043
8117
|
setup(e) {
|
|
8044
8118
|
let t = U(e, "modelValue");
|
|
8045
|
-
return (n, r) => (G(), K("div",
|
|
8119
|
+
return (n, r) => (G(), K("div", Np, [J("div", Pp, [Y(gf, {
|
|
8046
8120
|
modelValue: t.value.year,
|
|
8047
8121
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
8048
8122
|
options: e.termYears,
|
|
@@ -8051,7 +8125,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8051
8125
|
"modelValue",
|
|
8052
8126
|
"options",
|
|
8053
8127
|
"label"
|
|
8054
|
-
])]), J("div",
|
|
8128
|
+
])]), J("div", Fp, [Y(Cf, {
|
|
8055
8129
|
modelValue: t.value.name,
|
|
8056
8130
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
8057
8131
|
options: e.termNames,
|
|
@@ -8063,10 +8137,10 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8063
8137
|
"label"
|
|
8064
8138
|
])])]));
|
|
8065
8139
|
}
|
|
8066
|
-
}), [["styles", [".year-dropdown[data-v-43c70980]{justify-content:left;margin:1rem 0;display:flex}"]], ["__scopeId", "data-v-43c70980"]]),
|
|
8140
|
+
}), [["styles", [".year-dropdown[data-v-43c70980]{justify-content:left;margin:1rem 0;display:flex}"]], ["__scopeId", "data-v-43c70980"]]), Lp = { class: "g-term-selector" }, Rp = { class: "g-term-label" }, zp = {
|
|
8067
8141
|
class: "popover-title",
|
|
8068
8142
|
tabindex: "-1"
|
|
8069
|
-
},
|
|
8143
|
+
}, Bp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8070
8144
|
__name: "GTermSelector",
|
|
8071
8145
|
props: /* @__PURE__ */ H({
|
|
8072
8146
|
title: {
|
|
@@ -8097,7 +8171,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8097
8171
|
emits: ["update:modelValue"],
|
|
8098
8172
|
setup(e) {
|
|
8099
8173
|
let t = U(e, "modelValue");
|
|
8100
|
-
return (n, r) => (G(), K("div",
|
|
8174
|
+
return (n, r) => (G(), K("div", Lp, [Y(Ud, null, {
|
|
8101
8175
|
trigger: I(({ toggle: e }) => [Y(Hl, {
|
|
8102
8176
|
class: "g-term-selector-button",
|
|
8103
8177
|
theme: "none",
|
|
@@ -8110,7 +8184,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8110
8184
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8111
8185
|
viewBox: "0 0 640 640"
|
|
8112
8186
|
}, [J("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
|
|
8113
|
-
J("span",
|
|
8187
|
+
J("span", Rp, j(t.value?.name) + " " + j(t.value?.year), 1),
|
|
8114
8188
|
r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
|
|
8115
8189
|
role: "none presentation",
|
|
8116
8190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8119,27 +8193,28 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8119
8193
|
]),
|
|
8120
8194
|
_: 1
|
|
8121
8195
|
}, 8, ["onClick"])]),
|
|
8122
|
-
default: I(() => [J("h2",
|
|
8196
|
+
default: I(() => [J("h2", zp, j(e.title), 1), Y(Ip, he(La(n.$props)), null, 16)]),
|
|
8123
8197
|
_: 1
|
|
8124
8198
|
})]));
|
|
8125
8199
|
}
|
|
8126
|
-
}), [["styles", [".popover-title[data-v-47e0fca1]{background:var(--g-surface-50);color:var(--g-accent-700);text-align:center;margin:-1.5rem -1rem 0;padding:.5rem 1rem;font-size:1rem;font-weight:600;display:block}.g-term-selector .g-term-selector-button[data-v-47e0fca1]{background:var(--g-surface-0);color:var(--g-primary-500);border-color:var(--g-primary-500);height:2.35rem;padding:0 8px 0 0;font-size:1rem;text-decoration:none}.g-term-selector .g-term-selector-button .g-calendar-icon[data-v-47e0fca1]{background:var(--g-primary-500);color:var(--g-surface-0);align-items:center;height:100%;padding:0 10px;display:flex}.g-term-selector .g-term-selector-button .g-calendar-icon svg[data-v-47e0fca1]{fill:currentColor;stroke:currentColor;width:1.5rem}.g-term-selector .g-term-selector-button:hover .g-term-label[data-v-47e0fca1]{text-decoration:underline}.g-term-selector .g-term-selector-button[data-v-47e0fca1]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-term-selector .g-term-selector-button .g-caret[data-v-47e0fca1]{pointer-events:none;color:var(--ilw-color--link-hover);width:20px}.g-term-label[data-v-47e0fca1]{width:120px;padding-top:2px}@media screen and (width<=1000px){.g-term-label[data-v-47e0fca1]{width:70px}}"]], ["__scopeId", "data-v-47e0fca1"]]),
|
|
8200
|
+
}), [["styles", [".popover-title[data-v-47e0fca1]{background:var(--g-surface-50);color:var(--g-accent-700);text-align:center;margin:-1.5rem -1rem 0;padding:.5rem 1rem;font-size:1rem;font-weight:600;display:block}.g-term-selector .g-term-selector-button[data-v-47e0fca1]{background:var(--g-surface-0);color:var(--g-primary-500);border-color:var(--g-primary-500);height:2.35rem;padding:0 8px 0 0;font-size:1rem;text-decoration:none}.g-term-selector .g-term-selector-button .g-calendar-icon[data-v-47e0fca1]{background:var(--g-primary-500);color:var(--g-surface-0);align-items:center;height:100%;padding:0 10px;display:flex}.g-term-selector .g-term-selector-button .g-calendar-icon svg[data-v-47e0fca1]{fill:currentColor;stroke:currentColor;width:1.5rem}.g-term-selector .g-term-selector-button:hover .g-term-label[data-v-47e0fca1]{text-decoration:underline}.g-term-selector .g-term-selector-button[data-v-47e0fca1]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-term-selector .g-term-selector-button .g-caret[data-v-47e0fca1]{pointer-events:none;color:var(--ilw-color--link-hover);width:20px}.g-term-label[data-v-47e0fca1]{width:120px;padding-top:2px}@media screen and (width<=1000px){.g-term-label[data-v-47e0fca1]{width:70px}}"]], ["__scopeId", "data-v-47e0fca1"]]), Vp = ["for"], Hp = {
|
|
8127
8201
|
key: 0,
|
|
8128
8202
|
class: "g-textarea-required",
|
|
8129
8203
|
"aria-hidden": "true"
|
|
8130
|
-
},
|
|
8204
|
+
}, Up = ["id"], Wp = [
|
|
8131
8205
|
"value",
|
|
8132
8206
|
"placeholder",
|
|
8133
8207
|
"disabled",
|
|
8134
8208
|
"readonly",
|
|
8209
|
+
"required",
|
|
8135
8210
|
"rows",
|
|
8136
8211
|
"maxlength",
|
|
8137
8212
|
"aria-invalid"
|
|
8138
|
-
],
|
|
8213
|
+
], Gp = {
|
|
8139
8214
|
key: 2,
|
|
8140
8215
|
class: "g-textarea-char-count",
|
|
8141
8216
|
"aria-live": "polite"
|
|
8142
|
-
},
|
|
8217
|
+
}, Kp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8143
8218
|
inheritAttrs: !1,
|
|
8144
8219
|
__name: "GTextarea",
|
|
8145
8220
|
props: /* @__PURE__ */ H({
|
|
@@ -8236,25 +8311,25 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8236
8311
|
key: 0,
|
|
8237
8312
|
for: c.value,
|
|
8238
8313
|
class: "g-textarea-label"
|
|
8239
|
-
}, [X(j(n.label), 1), n.required ? (G(), K("span",
|
|
8314
|
+
}, [X(j(n.label), 1), n.required ? (G(), K("span", Hp, " *")) : Z("", !0)], 8, Vp)) : Z("", !0),
|
|
8240
8315
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
8241
8316
|
key: 1,
|
|
8242
8317
|
id: "instructions-" + F(i),
|
|
8243
8318
|
class: "g-textarea-instructions"
|
|
8244
|
-
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8,
|
|
8319
|
+
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8, Up)) : Z("", !0),
|
|
8245
8320
|
J("textarea", Ha({
|
|
8246
8321
|
ref: "textareaEl",
|
|
8247
8322
|
value: r.value ?? "",
|
|
8248
8323
|
placeholder: n.placeholder,
|
|
8249
8324
|
disabled: n.disabled,
|
|
8250
8325
|
readonly: n.readonly,
|
|
8326
|
+
required: n.required,
|
|
8251
8327
|
rows: n.rows,
|
|
8252
8328
|
maxlength: n.maxlength ?? void 0,
|
|
8253
8329
|
class: "g-textarea"
|
|
8254
8330
|
}, {
|
|
8255
8331
|
...F(s),
|
|
8256
8332
|
id: c.value,
|
|
8257
|
-
"aria-required": n.required ? "true" : void 0,
|
|
8258
8333
|
"aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + F(i) : void 0,
|
|
8259
8334
|
"aria-errormessage": F(u) ? "error-message-" + F(i) : void 0
|
|
8260
8335
|
}, {
|
|
@@ -8262,36 +8337,36 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8262
8337
|
onInput: h,
|
|
8263
8338
|
onBlur: g,
|
|
8264
8339
|
onPaste: _
|
|
8265
|
-
}), null, 16,
|
|
8266
|
-
n.maxlength === void 0 ? Z("", !0) : (G(), K("div",
|
|
8340
|
+
}), null, 16, Wp),
|
|
8341
|
+
n.maxlength === void 0 ? Z("", !0) : (G(), K("div", Gp, j((r.value ?? "").length) + " / " + j(n.maxlength), 1)),
|
|
8267
8342
|
Y(su, {
|
|
8268
8343
|
errors: F(l),
|
|
8269
8344
|
id: "error-message-" + F(i)
|
|
8270
8345
|
}, null, 8, ["errors", "id"])
|
|
8271
8346
|
], 2));
|
|
8272
8347
|
}
|
|
8273
|
-
}), [["styles", [".g-textarea-wrap[data-v-
|
|
8348
|
+
}), [["styles", [".g-textarea-wrap[data-v-8b09bb96]{flex-direction:column;display:flex;position:relative}.g-textarea-label[data-v-8b09bb96]{margin-bottom:.5em;font-size:1.25em}.g-textarea-required[data-v-8b09bb96]{color:var(--g-danger-600)}.g-textarea-instructions[data-v-8b09bb96]{color:var(--g-surface-800);margin:0 0 .75em .5em}.g-textarea[data-v-8b09bb96]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);width:100%;color:var(--g-surface-950);font-size:1em;font-family:var(--il-font-sans);resize:vertical;box-sizing:border-box;border-radius:4px;padding:.5em}.g-textarea[data-v-8b09bb96]:focus{outline:2px solid var(--g-primary-500);box-shadow:0 0 0 2px var(--g-info-200);outline-offset:2px}.g-textarea-has-error .g-textarea[data-v-8b09bb96]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-textarea[data-v-8b09bb96]:disabled{background:var(--g-surface-100);color:var(--g-surface-700);cursor:not-allowed}.g-textarea[readonly][data-v-8b09bb96]{background:var(--g-surface-50);color:var(--g-surface-800)}.g-textarea-char-count[data-v-8b09bb96]{color:var(--g-surface-700);text-align:right;margin-top:.25em;font-size:.875em}"]], ["__scopeId", "data-v-8b09bb96"]]), qp = { class: "g-three-way-toggle-wrapper" }, Jp = { class: "g-three-way-toggle-control" }, Yp = ["id"], Xp = [
|
|
8274
8349
|
"aria-labelledby",
|
|
8275
8350
|
"aria-describedby",
|
|
8276
8351
|
"disabled",
|
|
8277
8352
|
"aria-invalid",
|
|
8278
8353
|
"aria-errormessage"
|
|
8279
|
-
],
|
|
8354
|
+
], Zp = { key: 0 }, Qp = { key: 1 }, $p = { key: 2 }, em = ["for"], tm = [
|
|
8280
8355
|
"id",
|
|
8281
8356
|
"name",
|
|
8282
8357
|
"checked",
|
|
8283
8358
|
"disabled"
|
|
8284
|
-
],
|
|
8359
|
+
], nm = ["for"], rm = [
|
|
8285
8360
|
"id",
|
|
8286
8361
|
"name",
|
|
8287
8362
|
"checked",
|
|
8288
8363
|
"disabled"
|
|
8289
|
-
],
|
|
8364
|
+
], im = ["for"], am = [
|
|
8290
8365
|
"id",
|
|
8291
8366
|
"name",
|
|
8292
8367
|
"checked",
|
|
8293
8368
|
"disabled"
|
|
8294
|
-
],
|
|
8369
|
+
], om = ["id"], sm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8295
8370
|
__name: "GThreeWayToggle",
|
|
8296
8371
|
props: /* @__PURE__ */ H({
|
|
8297
8372
|
label: { type: String },
|
|
@@ -8325,10 +8400,10 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8325
8400
|
function m(e) {
|
|
8326
8401
|
n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
|
|
8327
8402
|
}
|
|
8328
|
-
return (t, n) => (G(), K("div",
|
|
8403
|
+
return (t, n) => (G(), K("div", qp, [J("div", Jp, [J("span", {
|
|
8329
8404
|
class: "g-label",
|
|
8330
8405
|
id: F(c)
|
|
8331
|
-
}, [V(t.$slots, "label", {}, () => [X(j(e.label), 1)], !0)], 8,
|
|
8406
|
+
}, [V(t.$slots, "label", {}, () => [X(j(e.label), 1)], !0)], 8, Yp), J("fieldset", {
|
|
8332
8407
|
class: A(["g-three-way-toggle", { "g-has-error": e.error }]),
|
|
8333
8408
|
role: "radiogroup",
|
|
8334
8409
|
"aria-labelledby": F(c),
|
|
@@ -8340,7 +8415,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8340
8415
|
J("span", {
|
|
8341
8416
|
class: A(["g-toggle-thumb", p.value]),
|
|
8342
8417
|
"aria-hidden": "true"
|
|
8343
|
-
}, [r.value === !1 ? (G(), K("span",
|
|
8418
|
+
}, [r.value === !1 ? (G(), K("span", Zp, "NO")) : r.value === !0 ? (G(), K("span", Qp, "YES")) : (G(), K("span", $p))], 2),
|
|
8344
8419
|
J("label", {
|
|
8345
8420
|
for: F(u),
|
|
8346
8421
|
class: "g-toggle-option g-left",
|
|
@@ -8354,7 +8429,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8354
8429
|
value: "false",
|
|
8355
8430
|
disabled: e.disabled,
|
|
8356
8431
|
onChange: n[0] ||= (e) => o(!1)
|
|
8357
|
-
}, null, 40,
|
|
8432
|
+
}, null, 40, tm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, em),
|
|
8358
8433
|
J("label", {
|
|
8359
8434
|
for: F(d),
|
|
8360
8435
|
class: "g-toggle-option g-center",
|
|
@@ -8366,7 +8441,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8366
8441
|
checked: r.value === null,
|
|
8367
8442
|
disabled: e.disabled,
|
|
8368
8443
|
onChange: n[2] ||= (e) => o(null)
|
|
8369
|
-
}, null, 40,
|
|
8444
|
+
}, null, 40, rm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, nm),
|
|
8370
8445
|
J("label", {
|
|
8371
8446
|
for: F(f),
|
|
8372
8447
|
class: "g-toggle-option g-right",
|
|
@@ -8380,29 +8455,29 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8380
8455
|
checked: r.value === !0,
|
|
8381
8456
|
disabled: e.disabled,
|
|
8382
8457
|
onChange: n[3] ||= (e) => o(!0)
|
|
8383
|
-
}, null, 40,
|
|
8384
|
-
], 2)], 10,
|
|
8458
|
+
}, null, 40, am), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, im)
|
|
8459
|
+
], 2)], 10, Xp)]), e.error ? (G(), K("div", {
|
|
8385
8460
|
key: 0,
|
|
8386
8461
|
id: `${F(c)}-error`,
|
|
8387
8462
|
class: "g-form-error",
|
|
8388
8463
|
role: "alert",
|
|
8389
8464
|
"aria-atomic": "true"
|
|
8390
|
-
}, j(e.error), 9,
|
|
8465
|
+
}, j(e.error), 9, om)) : Z("", !0)]));
|
|
8391
8466
|
}
|
|
8392
|
-
}), [["styles", [".g-three-way-toggle-control[data-v-b5b2babc]{column-gap:8px;margin-bottom:4px;display:flex}.g-three-way-toggle-control .g-label[data-v-b5b2babc]{flex:1;align-self:center;font-size:.875rem;font-weight:600;line-height:1;display:block}.g-three-way-toggle[data-v-b5b2babc]{background:0 0;border:none;border-radius:12px;width:50px;margin:0;padding:0}.g-three-way-toggle[data-v-b5b2babc]:focus-within{outline:2px solid var(--il-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-toggle-track[data-v-b5b2babc]{background:var(--g-surface-700);box-sizing:border-box;width:100%;min-width:50px;height:24px;font-family:var(--il-font-sans);border-radius:14px;display:flex;position:relative}.g-toggle-track.g-left[data-v-b5b2babc]{background:var(--il-industrial)}.g-toggle-track.g-right[data-v-b5b2babc]{background:var(--il-prairie)}.g-toggle-track.g-disabled[data-v-b5b2babc]{pointer-events:none;background:var(--g-surface-400)}.g-toggle-thumb[data-v-b5b2babc]{background:var(--g-surface-100);z-index:1;width:20px;height:20px;color:var(--g-surface-0);letter-spacing:-.5px;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:left .1s ease-in-out,background-color .1s ease-in-out;display:flex;position:absolute;top:2px;left:2px}.g-toggle-thumb.g-left[data-v-b5b2babc]{color:var(--il-industrial)}.g-toggle-thumb.g-right[data-v-b5b2babc]{color:var(--il-prairie);letter-spacing:-1.5px}.g-toggle-track.g-left .g-toggle-thumb[data-v-b5b2babc]{left:2px}.g-toggle-track.g-center .g-toggle-thumb[data-v-b5b2babc]{left:calc(50% - 10px)}.g-toggle-track.g-right .g-toggle-thumb[data-v-b5b2babc]{left:calc(100% - 22px)}@media (prefers-reduced-motion:reduce){.g-toggle-thumb[data-v-b5b2babc]{transition:none}}.g-toggle-option[data-v-b5b2babc]{flex:1 1 0;justify-content:center;align-items:center;height:100%;display:flex;position:relative}.g-toggle-option.g-center[data-v-b5b2babc]{flex:0 0 1%}.g-toggle-option input[type=radio][data-v-b5b2babc]{opacity:0;cursor:pointer;z-index:2;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.g-has-error .g-toggle-track[data-v-b5b2babc]{background:var(--g-danger-500)}.g-form-error[data-v-b5b2babc]{color:var(--g-danger-600);font-size:.875rem;font-weight:700}"]], ["__scopeId", "data-v-b5b2babc"]]),
|
|
8467
|
+
}), [["styles", [".g-three-way-toggle-control[data-v-b5b2babc]{column-gap:8px;margin-bottom:4px;display:flex}.g-three-way-toggle-control .g-label[data-v-b5b2babc]{flex:1;align-self:center;font-size:.875rem;font-weight:600;line-height:1;display:block}.g-three-way-toggle[data-v-b5b2babc]{background:0 0;border:none;border-radius:12px;width:50px;margin:0;padding:0}.g-three-way-toggle[data-v-b5b2babc]:focus-within{outline:2px solid var(--il-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-toggle-track[data-v-b5b2babc]{background:var(--g-surface-700);box-sizing:border-box;width:100%;min-width:50px;height:24px;font-family:var(--il-font-sans);border-radius:14px;display:flex;position:relative}.g-toggle-track.g-left[data-v-b5b2babc]{background:var(--il-industrial)}.g-toggle-track.g-right[data-v-b5b2babc]{background:var(--il-prairie)}.g-toggle-track.g-disabled[data-v-b5b2babc]{pointer-events:none;background:var(--g-surface-400)}.g-toggle-thumb[data-v-b5b2babc]{background:var(--g-surface-100);z-index:1;width:20px;height:20px;color:var(--g-surface-0);letter-spacing:-.5px;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:left .1s ease-in-out,background-color .1s ease-in-out;display:flex;position:absolute;top:2px;left:2px}.g-toggle-thumb.g-left[data-v-b5b2babc]{color:var(--il-industrial)}.g-toggle-thumb.g-right[data-v-b5b2babc]{color:var(--il-prairie);letter-spacing:-1.5px}.g-toggle-track.g-left .g-toggle-thumb[data-v-b5b2babc]{left:2px}.g-toggle-track.g-center .g-toggle-thumb[data-v-b5b2babc]{left:calc(50% - 10px)}.g-toggle-track.g-right .g-toggle-thumb[data-v-b5b2babc]{left:calc(100% - 22px)}@media (prefers-reduced-motion:reduce){.g-toggle-thumb[data-v-b5b2babc]{transition:none}}.g-toggle-option[data-v-b5b2babc]{flex:1 1 0;justify-content:center;align-items:center;height:100%;display:flex;position:relative}.g-toggle-option.g-center[data-v-b5b2babc]{flex:0 0 1%}.g-toggle-option input[type=radio][data-v-b5b2babc]{opacity:0;cursor:pointer;z-index:2;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.g-has-error .g-toggle-track[data-v-b5b2babc]{background:var(--g-danger-500)}.g-form-error[data-v-b5b2babc]{color:var(--g-danger-600);font-size:.875rem;font-weight:700}"]], ["__scopeId", "data-v-b5b2babc"]]), cm = ["data-tree-item-key", "data-tree-expandable"], lm = ["aria-expanded", "onClick"], um = {
|
|
8393
8468
|
key: 1,
|
|
8394
8469
|
class: "g-tree-menu__row"
|
|
8395
|
-
},
|
|
8470
|
+
}, dm = [
|
|
8396
8471
|
"aria-expanded",
|
|
8397
8472
|
"aria-label",
|
|
8398
8473
|
"onClick"
|
|
8399
|
-
],
|
|
8474
|
+
], fm = ["aria-expanded", "href"], pm = {
|
|
8400
8475
|
key: 2,
|
|
8401
8476
|
class: "g-tree-menu__row g-tree-menu__row--leaf"
|
|
8402
|
-
},
|
|
8477
|
+
}, mm = ["href"], hm = {
|
|
8403
8478
|
key: 2,
|
|
8404
8479
|
class: "g-tree-menu__label"
|
|
8405
|
-
},
|
|
8480
|
+
}, gm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8406
8481
|
name: "GTreeMenuList",
|
|
8407
8482
|
props: {
|
|
8408
8483
|
items: { type: Array },
|
|
@@ -8445,7 +8520,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8445
8520
|
"stroke-width": "2.5",
|
|
8446
8521
|
"stroke-linecap": "round",
|
|
8447
8522
|
"stroke-linejoin": "round"
|
|
8448
|
-
}, [...n[1] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2)), J("span", null, j(t.label), 1)], 8,
|
|
8523
|
+
}, [...n[1] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2)), J("span", null, j(t.label), 1)], 8, lm)) : t.children ? (G(), K("div", um, [J("button", {
|
|
8449
8524
|
class: "g-tree-menu__toggle-btn",
|
|
8450
8525
|
"aria-expanded": s(l) ? "true" : "false",
|
|
8451
8526
|
"aria-label": `${t.label} sub-menu`,
|
|
@@ -8460,7 +8535,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8460
8535
|
"stroke-width": "2.5",
|
|
8461
8536
|
"stroke-linecap": "round",
|
|
8462
8537
|
"stroke-linejoin": "round"
|
|
8463
|
-
}, [...n[2] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8,
|
|
8538
|
+
}, [...n[2] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8, dm), t.to && a.value ? (G(), q(ri(a.value), {
|
|
8464
8539
|
key: 0,
|
|
8465
8540
|
class: "g-tree-menu__link",
|
|
8466
8541
|
"aria-expanded": s(l) ? "true" : "false",
|
|
@@ -8475,7 +8550,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8475
8550
|
"aria-expanded": s(l) ? "true" : "false",
|
|
8476
8551
|
href: t.href,
|
|
8477
8552
|
"data-tree-primary": ""
|
|
8478
|
-
}, j(t.label), 9,
|
|
8553
|
+
}, j(t.label), 9, fm))])) : (G(), K("div", pm, [t.to && a.value ? (G(), q(ri(a.value), {
|
|
8479
8554
|
key: 0,
|
|
8480
8555
|
class: "g-tree-menu__link",
|
|
8481
8556
|
to: t.to,
|
|
@@ -8488,7 +8563,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8488
8563
|
class: "g-tree-menu__link",
|
|
8489
8564
|
href: t.href,
|
|
8490
8565
|
"data-tree-primary": ""
|
|
8491
|
-
}, [n[4] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(j(t.label), 1)], 8,
|
|
8566
|
+
}, [n[4] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(j(t.label), 1)], 8, mm)) : (G(), K("span", hm, j(t.label), 1))])), t.children && s(l) ? (G(), q(i, {
|
|
8492
8567
|
key: 3,
|
|
8493
8568
|
items: t.children,
|
|
8494
8569
|
"list-type": e.listType,
|
|
@@ -8500,12 +8575,12 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8500
8575
|
"list-type",
|
|
8501
8576
|
"expanded-items",
|
|
8502
8577
|
"key-prefix"
|
|
8503
|
-
])) : Z("", !0)], 8,
|
|
8578
|
+
])) : Z("", !0)], 8, cm))), 128))]),
|
|
8504
8579
|
_: 1
|
|
8505
8580
|
});
|
|
8506
8581
|
};
|
|
8507
8582
|
}
|
|
8508
|
-
}), [["styles", [".g-tree-menu__list[data-v-657b989c]{margin:0;padding:0;font-weight:700;list-style:none}.g-tree-menu__list ul[data-v-657b989c],.g-tree-menu__list ol[data-v-657b989c]{font-weight:600!important}.g-tree-menu__list .g-tree-menu__list[data-v-657b989c]{padding-left:1.25em}.g-tree-menu__item[data-v-657b989c]{margin:0;display:block}.g-tree-menu__row[data-v-657b989c]{align-items:center;display:flex}.g-tree-menu__row--toggle[data-v-657b989c]{cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;width:100%;padding:0;font-family:inherit;display:flex}.g-tree-menu__row--toggle>.g-tree-menu__chevron[data-v-657b989c]{margin-right:2px}.g-tree-menu__toggle-btn[data-v-657b989c]{cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:2px;flex-shrink:0;justify-content:center;align-items:center;margin-right:2px;padding:0;display:flex}.g-tree-menu__toggle-btn[data-v-657b989c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-tree-menu__spacer[data-v-657b989c]{width:2em;height:2em;margin-right:2px;display:inline-block}.g-tree-menu__link[data-v-657b989c]{flex:1;align-items:center;padding:0;text-decoration:none;display:flex}.g-tree-menu__link[data-v-657b989c]:hover{text-decoration:underline}.g-tree-menu__label[data-v-657b989c]{padding:.5em;display:block}.g-tree-menu__chevron[data-v-657b989c]{box-sizing:border-box;flex-shrink:0;width:2em;height:2em;padding:.35em;transition:transform .1s;transform:rotate(0)}@media (prefers-reduced-motion:reduce){.g-tree-menu__chevron[data-v-657b989c]{transition:none}}.g-tree-menu__chevron--expanded[data-v-657b989c]{transform:rotate(90deg)}.g-tree-menu__row--toggle[data-v-657b989c]:focus-visible,.g-tree-menu__toggle-btn[data-v-657b989c]:focus-visible,.g-tree-menu__link[data-v-657b989c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-657b989c"]]),
|
|
8583
|
+
}), [["styles", [".g-tree-menu__list[data-v-657b989c]{margin:0;padding:0;font-weight:700;list-style:none}.g-tree-menu__list ul[data-v-657b989c],.g-tree-menu__list ol[data-v-657b989c]{font-weight:600!important}.g-tree-menu__list .g-tree-menu__list[data-v-657b989c]{padding-left:1.25em}.g-tree-menu__item[data-v-657b989c]{margin:0;display:block}.g-tree-menu__row[data-v-657b989c]{align-items:center;display:flex}.g-tree-menu__row--toggle[data-v-657b989c]{cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;width:100%;padding:0;font-family:inherit;display:flex}.g-tree-menu__row--toggle>.g-tree-menu__chevron[data-v-657b989c]{margin-right:2px}.g-tree-menu__toggle-btn[data-v-657b989c]{cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:2px;flex-shrink:0;justify-content:center;align-items:center;margin-right:2px;padding:0;display:flex}.g-tree-menu__toggle-btn[data-v-657b989c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-tree-menu__spacer[data-v-657b989c]{width:2em;height:2em;margin-right:2px;display:inline-block}.g-tree-menu__link[data-v-657b989c]{flex:1;align-items:center;padding:0;text-decoration:none;display:flex}.g-tree-menu__link[data-v-657b989c]:hover{text-decoration:underline}.g-tree-menu__label[data-v-657b989c]{padding:.5em;display:block}.g-tree-menu__chevron[data-v-657b989c]{box-sizing:border-box;flex-shrink:0;width:2em;height:2em;padding:.35em;transition:transform .1s;transform:rotate(0)}@media (prefers-reduced-motion:reduce){.g-tree-menu__chevron[data-v-657b989c]{transition:none}}.g-tree-menu__chevron--expanded[data-v-657b989c]{transform:rotate(90deg)}.g-tree-menu__row--toggle[data-v-657b989c]:focus-visible,.g-tree-menu__toggle-btn[data-v-657b989c]:focus-visible,.g-tree-menu__link[data-v-657b989c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-657b989c"]]), _m = ["id"], vm = { class: "g-tree-menu__content" }, ym = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8509
8584
|
__name: "GTreeMenu",
|
|
8510
8585
|
props: {
|
|
8511
8586
|
title: { type: String },
|
|
@@ -8589,9 +8664,9 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8589
8664
|
key: 0,
|
|
8590
8665
|
id: F(n),
|
|
8591
8666
|
class: "g-tree-menu__title"
|
|
8592
|
-
}, j(e.title), 9,
|
|
8667
|
+
}, j(e.title), 9, _m)) : Z("", !0),
|
|
8593
8668
|
o[0] ||= J("div", { class: "g-tree-menu__divider" }, null, -1),
|
|
8594
|
-
J("div",
|
|
8669
|
+
J("div", vm, [Y(gm, {
|
|
8595
8670
|
items: e.items,
|
|
8596
8671
|
"list-type": e.listType || "ul",
|
|
8597
8672
|
"expanded-items": r.value,
|
|
@@ -8604,11 +8679,11 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8604
8679
|
])])
|
|
8605
8680
|
], 16));
|
|
8606
8681
|
}
|
|
8607
|
-
}), [["styles", ["@layer base{.g-tree-menu{font-size:1.125rem}}.g-tree-menu--dark{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__title{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link{color:var(--g-surface-0)}:is(.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link):hover{color:var(--g-accent-500)}.g-tree-menu--light{background:var(--g-surface-50)}.g-tree-menu--light .g-tree-menu__title{color:var(--g-primary-500)}.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link{color:var(--g-primary-500)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):hover{color:var(--g-accent-700)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):focus{color:var(--ilw-color--focus--text)}.g-tree-menu--light .g-tree-menu__toggle-btn:hover{color:var(--g-surface-0);background:var(--g-primary-500)}", ".g-tree-menu[data-v-277cf6db]{box-sizing:border-box;flex-direction:column;padding-top:2rem;display:flex}.g-tree-menu [data-v-277cf6db] button{font-size:inherit;font-weight:inherit}.g-tree-menu__title[data-v-277cf6db]{font-size:2rem;font-family:var(--il-font-heading);margin:2rem 2rem .5rem}.g-tree-menu__divider[data-v-277cf6db]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-tree-menu__content[data-v-277cf6db]{margin-top:1rem}"]], ["__scopeId", "data-v-277cf6db"]]),
|
|
8682
|
+
}), [["styles", ["@layer base{.g-tree-menu{font-size:1.125rem}}.g-tree-menu--dark{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__title{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link{color:var(--g-surface-0)}:is(.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link):hover{color:var(--g-accent-500)}.g-tree-menu--light{background:var(--g-surface-50)}.g-tree-menu--light .g-tree-menu__title{color:var(--g-primary-500)}.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link{color:var(--g-primary-500)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):hover{color:var(--g-accent-700)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):focus{color:var(--ilw-color--focus--text)}.g-tree-menu--light .g-tree-menu__toggle-btn:hover{color:var(--g-surface-0);background:var(--g-primary-500)}", ".g-tree-menu[data-v-277cf6db]{box-sizing:border-box;flex-direction:column;padding-top:2rem;display:flex}.g-tree-menu [data-v-277cf6db] button{font-size:inherit;font-weight:inherit}.g-tree-menu__title[data-v-277cf6db]{font-size:2rem;font-family:var(--il-font-heading);margin:2rem 2rem .5rem}.g-tree-menu__divider[data-v-277cf6db]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-tree-menu__content[data-v-277cf6db]{margin-top:1rem}"]], ["__scopeId", "data-v-277cf6db"]]), bm = { class: "g-user-menu" }, xm = [
|
|
8608
8683
|
"aria-label",
|
|
8609
8684
|
"aria-expanded",
|
|
8610
8685
|
"onClick"
|
|
8611
|
-
],
|
|
8686
|
+
], Sm = { class: "g-user-menu__popover" }, Cm = { class: "g-user-menu__list" }, wm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8612
8687
|
__name: "GUserMenu",
|
|
8613
8688
|
props: {
|
|
8614
8689
|
initials: { type: String },
|
|
@@ -8626,7 +8701,7 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8626
8701
|
let t = `${z()}-email`, n = /* @__PURE__ */ P(!1), r = jr("emailHeading");
|
|
8627
8702
|
Ja()?.appContext?.components?.RouterLink;
|
|
8628
8703
|
let i = di();
|
|
8629
|
-
return (a, o) => (G(), K("div",
|
|
8704
|
+
return (a, o) => (G(), K("div", bm, [Y(Ud, {
|
|
8630
8705
|
modelValue: n.value,
|
|
8631
8706
|
"onUpdate:modelValue": o[0] ||= (e) => n.value = e,
|
|
8632
8707
|
minimal: ""
|
|
@@ -8638,8 +8713,8 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8638
8713
|
"aria-expanded": n.value,
|
|
8639
8714
|
"aria-haspopup": "menu",
|
|
8640
8715
|
onClick: t
|
|
8641
|
-
}, j(e.initials), 13,
|
|
8642
|
-
default: I(() => [J("div",
|
|
8716
|
+
}, j(e.initials), 13, xm)]),
|
|
8717
|
+
default: I(() => [J("div", Sm, [J("h2", {
|
|
8643
8718
|
id: t,
|
|
8644
8719
|
ref_key: "emailHeading",
|
|
8645
8720
|
ref: r,
|
|
@@ -8648,70 +8723,70 @@ var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
|
8648
8723
|
}, j(e.email), 513), J("nav", {
|
|
8649
8724
|
class: "g-user-menu__nav",
|
|
8650
8725
|
"aria-labelledby": t
|
|
8651
|
-
}, [J("ul",
|
|
8726
|
+
}, [J("ul", Cm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ri(e)))]))), 128))])])])]),
|
|
8652
8727
|
_: 1
|
|
8653
8728
|
}, 8, ["modelValue"])]));
|
|
8654
8729
|
}
|
|
8655
|
-
}), [["styles", [".g-user-menu[data-v-cedd2d44]{display:inline-block}.g-user-menu__avatar[data-v-cedd2d44]{width:40px;height:40px;color:var(--g-surface-0);cursor:pointer;outline-color:var(--g-primary-500);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:1rem;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.g-user-menu__avatar[data-v-cedd2d44]:hover{text-decoration:underline}.g-user-menu__avatar[data-v-cedd2d44]:focus-visible{outline-color:var(--g-primary-500);background-color:var(--ilw-color--focus--background)!important;color:var(--ilw-color--focus--text)!important}.g-user-menu__popover[data-v-cedd2d44]{min-width:200px}.g-user-menu__email[data-v-cedd2d44]{color:var(--g-primary-500);word-break:break-word;margin:.75rem 1rem .25rem;font-size:1rem;font-weight:400}.g-user-menu__nav[data-v-cedd2d44]{margin:0}.g-user-menu__list[data-v-cedd2d44]{flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;list-style:none;display:flex}.g-user-menu__list[data-v-cedd2d44] a,.g-user-menu__list[data-v-cedd2d44] button{box-sizing:border-box;color:var(--g-primary-500);font-size:1rem;font-weight:600;font-family:var(--il-font-sans);text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:.75rem 1rem;text-decoration:none;display:block}.g-user-menu__list[data-v-cedd2d44] a:hover,.g-user-menu__list[data-v-cedd2d44] button:hover{color:var(--g-accent-700);text-decoration:underline}.g-user-menu__list[data-v-cedd2d44] a:focus,.g-user-menu__list[data-v-cedd2d44] button:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-user-menu__list[data-v-cedd2d44] a:active,.g-user-menu__list[data-v-cedd2d44] button:active{background-color:var(--g-accent-700);color:var(--g-surface-0)}"]], ["__scopeId", "data-v-cedd2d44"]]),
|
|
8656
|
-
|
|
8657
|
-
var
|
|
8730
|
+
}), [["styles", [".g-user-menu[data-v-cedd2d44]{display:inline-block}.g-user-menu__avatar[data-v-cedd2d44]{width:40px;height:40px;color:var(--g-surface-0);cursor:pointer;outline-color:var(--g-primary-500);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:1rem;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.g-user-menu__avatar[data-v-cedd2d44]:hover{text-decoration:underline}.g-user-menu__avatar[data-v-cedd2d44]:focus-visible{outline-color:var(--g-primary-500);background-color:var(--ilw-color--focus--background)!important;color:var(--ilw-color--focus--text)!important}.g-user-menu__popover[data-v-cedd2d44]{min-width:200px}.g-user-menu__email[data-v-cedd2d44]{color:var(--g-primary-500);word-break:break-word;margin:.75rem 1rem .25rem;font-size:1rem;font-weight:400}.g-user-menu__nav[data-v-cedd2d44]{margin:0}.g-user-menu__list[data-v-cedd2d44]{flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;list-style:none;display:flex}.g-user-menu__list[data-v-cedd2d44] a,.g-user-menu__list[data-v-cedd2d44] button{box-sizing:border-box;color:var(--g-primary-500);font-size:1rem;font-weight:600;font-family:var(--il-font-sans);text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:.75rem 1rem;text-decoration:none;display:block}.g-user-menu__list[data-v-cedd2d44] a:hover,.g-user-menu__list[data-v-cedd2d44] button:hover{color:var(--g-accent-700);text-decoration:underline}.g-user-menu__list[data-v-cedd2d44] a:focus,.g-user-menu__list[data-v-cedd2d44] button:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-user-menu__list[data-v-cedd2d44] a:active,.g-user-menu__list[data-v-cedd2d44] button:active{background-color:var(--g-accent-700);color:var(--g-surface-0)}"]], ["__scopeId", "data-v-cedd2d44"]]), Tm = globalThis;
|
|
8731
|
+
Tm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
|
|
8732
|
+
var Em = {
|
|
8658
8733
|
shadowRoot: !1,
|
|
8659
8734
|
configureApp(e) {
|
|
8660
|
-
let t = (
|
|
8661
|
-
|
|
8735
|
+
let t = (Tm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
|
|
8736
|
+
Tm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
|
|
8662
8737
|
}
|
|
8663
|
-
},
|
|
8738
|
+
}, Dm = [
|
|
8664
8739
|
["g-alert-dialog", Jl],
|
|
8665
8740
|
["g-app-header", tu],
|
|
8666
8741
|
["g-button", Hl],
|
|
8667
8742
|
["g-checkbox-group", vu],
|
|
8668
8743
|
["g-clipboard", ku],
|
|
8669
|
-
["g-currency-input",
|
|
8670
|
-
["g-date-input",
|
|
8671
|
-
["g-date-range-input",
|
|
8672
|
-
["g-detail-list",
|
|
8673
|
-
["g-detail-list-item",
|
|
8674
|
-
["g-email-input",
|
|
8675
|
-
["g-file-input",
|
|
8676
|
-
["g-form",
|
|
8677
|
-
["g-hamburger-menu",
|
|
8678
|
-
["g-history-scroller",
|
|
8679
|
-
["g-modal",
|
|
8680
|
-
["g-multi-select",
|
|
8681
|
-
["g-overlay",
|
|
8682
|
-
["g-popover",
|
|
8683
|
-
["g-tooltip",
|
|
8684
|
-
["g-progress",
|
|
8685
|
-
["g-search",
|
|
8686
|
-
["g-select",
|
|
8687
|
-
["g-select-button",
|
|
8688
|
-
["g-sidebar",
|
|
8689
|
-
["g-sidebar-menu",
|
|
8690
|
-
["g-submit-button",
|
|
8691
|
-
["g-table",
|
|
8692
|
-
["g-table-body",
|
|
8693
|
-
["g-table-pagination",
|
|
8694
|
-
["g-term-selector",
|
|
8695
|
-
["g-term-selector-control",
|
|
8696
|
-
["g-text-input",
|
|
8697
|
-
["g-textarea",
|
|
8698
|
-
["g-three-way-toggle",
|
|
8699
|
-
["g-tree-menu",
|
|
8700
|
-
["g-user-menu",
|
|
8701
|
-
],
|
|
8702
|
-
function
|
|
8744
|
+
["g-currency-input", Lu],
|
|
8745
|
+
["g-date-input", Ru],
|
|
8746
|
+
["g-date-range-input", Gu],
|
|
8747
|
+
["g-detail-list", Ku],
|
|
8748
|
+
["g-detail-list-item", Xu],
|
|
8749
|
+
["g-email-input", Zu],
|
|
8750
|
+
["g-file-input", id],
|
|
8751
|
+
["g-form", od],
|
|
8752
|
+
["g-hamburger-menu", dd],
|
|
8753
|
+
["g-history-scroller", gd],
|
|
8754
|
+
["g-modal", Sd],
|
|
8755
|
+
["g-multi-select", Ld],
|
|
8756
|
+
["g-overlay", zd],
|
|
8757
|
+
["g-popover", Ud],
|
|
8758
|
+
["g-tooltip", Wd],
|
|
8759
|
+
["g-progress", Yd],
|
|
8760
|
+
["g-search", of],
|
|
8761
|
+
["g-select", gf],
|
|
8762
|
+
["g-select-button", Cf],
|
|
8763
|
+
["g-sidebar", Tf],
|
|
8764
|
+
["g-sidebar-menu", kf],
|
|
8765
|
+
["g-submit-button", Af],
|
|
8766
|
+
["g-table", Cp],
|
|
8767
|
+
["g-table-body", Gf],
|
|
8768
|
+
["g-table-pagination", Mp],
|
|
8769
|
+
["g-term-selector", Bp],
|
|
8770
|
+
["g-term-selector-control", Ip],
|
|
8771
|
+
["g-text-input", Iu],
|
|
8772
|
+
["g-textarea", Kp],
|
|
8773
|
+
["g-three-way-toggle", sm],
|
|
8774
|
+
["g-tree-menu", ym],
|
|
8775
|
+
["g-user-menu", wm]
|
|
8776
|
+
], Om = [su, gm], km = [], Am = /* @__PURE__ */ new Set();
|
|
8777
|
+
function jm(e) {
|
|
8703
8778
|
let t = e.__vccOpts || e;
|
|
8704
|
-
if (t.styles) for (let e of t.styles)
|
|
8779
|
+
if (t.styles) for (let e of t.styles) Am.has(e) || (Am.add(e), km.push(e));
|
|
8705
8780
|
}
|
|
8706
|
-
for (let [e, t] of
|
|
8707
|
-
|
|
8708
|
-
let n = /* @__PURE__ */ bs(t,
|
|
8781
|
+
for (let [e, t] of Dm) {
|
|
8782
|
+
jm(t);
|
|
8783
|
+
let n = /* @__PURE__ */ bs(t, Em);
|
|
8709
8784
|
customElements.define(e, n);
|
|
8710
8785
|
}
|
|
8711
|
-
for (let e of
|
|
8712
|
-
if (
|
|
8786
|
+
for (let e of Om) jm(e);
|
|
8787
|
+
if (km.length > 0 && typeof document < "u") {
|
|
8713
8788
|
let e = document.createElement("style");
|
|
8714
|
-
e.setAttribute("data-grad-vue-elements", ""), e.textContent =
|
|
8789
|
+
e.setAttribute("data-grad-vue-elements", ""), e.textContent = km.join("\n"), document.head.appendChild(e);
|
|
8715
8790
|
}
|
|
8716
8791
|
//#endregion
|
|
8717
8792
|
|