@streamoid/ui 0.6.30 → 0.6.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/AGENTS.md +3 -3
- package/dist/docs/ScAppSwitchPanel.md +39 -9
- package/dist/docs/ScWorkspaceAccountMenu.md +75 -7
- package/dist/docs/components.json +37 -2
- package/dist/index.d.mts +165 -10
- package/dist/index.d.ts +165 -10
- package/dist/index.js +1168 -903
- package/dist/index.mjs +934 -666
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -48,10 +48,16 @@ var APPCARD_WORDMARKS = {
|
|
|
48
48
|
photogenix: `<svg width="88" height="14" viewBox="0 0 88 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M80.6638 11.0353H78.2768L81.6027 6.99999V6.8847L78.2768 2.83293H80.6956L83.1145 5.79764H83.2259L85.613 2.83293H88L84.674 6.83529V6.96705L88 11.0353H85.5811L83.1623 8.05411H83.0508L80.6638 11.0353Z" fill="currentColor"/> <path d="M77.548 11.0353H75.5587V2.83294H77.548V11.0353ZM77.548 1.91059H75.5587V0H77.548V1.91059Z" fill="currentColor"/> <path d="M74.1568 11.0353H72.1676V6.63764C72.1676 5.91294 71.9979 5.3749 71.6584 5.02352C71.3295 4.67215 70.7725 4.49646 69.9875 4.49646C69.1706 4.49646 68.5765 4.6996 68.2051 5.10588C67.8444 5.51215 67.6641 6.12156 67.6641 6.93411L67.3617 6.95058L67.2344 5.35294H67.6322C67.7065 4.89176 67.871 4.45803 68.1256 4.05176C68.3802 3.64548 68.7356 3.31607 69.1918 3.06352C69.6586 2.79999 70.2315 2.66823 70.9105 2.66823C71.6425 2.66823 72.2472 2.81646 72.7246 3.11293C73.202 3.4094 73.5574 3.81568 73.7908 4.33176C74.0348 4.83686 74.1568 5.40235 74.1568 6.02823V11.0353ZM67.6641 11.0353H65.6749V2.83293H67.505V5.38588L67.6641 5.46823V11.0353Z" fill="currentColor"/> <path d="M60.3315 11.2C59.451 11.2 58.6818 11.0408 58.024 10.7224C57.3663 10.4039 56.857 9.92627 56.4963 9.28941C56.1356 8.65254 55.9552 7.86745 55.9552 6.93411C55.9552 6.06666 56.1356 5.3145 56.4963 4.67764C56.857 4.04078 57.361 3.54666 58.0081 3.19529C58.6659 2.84391 59.4244 2.66823 60.2838 2.66823C61.1219 2.66823 61.8539 2.82195 62.4798 3.1294C63.1164 3.42588 63.6097 3.87058 63.9598 4.46352C64.3205 5.04548 64.5009 5.75921 64.5009 6.6047C64.5009 6.74745 64.4956 6.87921 64.485 7C64.4744 7.12078 64.4584 7.24156 64.4372 7.36235H57.2283V6.25882H63.0846L62.5912 6.93411C62.6019 6.83529 62.6072 6.73647 62.6072 6.63764C62.6072 6.52784 62.6072 6.41803 62.6072 6.30823C62.6072 5.61647 62.4109 5.10588 62.0184 4.77646C61.6364 4.43607 61.0476 4.26588 60.2519 4.26588C59.3608 4.26588 58.7295 4.46901 58.3582 4.87529C57.9869 5.27058 57.8012 5.86352 57.8012 6.65411V7.1647C57.8012 7.95529 57.9869 8.55372 58.3582 8.96C58.7295 9.35529 59.3608 9.55294 60.2519 9.55294C61.037 9.55294 61.594 9.43764 61.9229 9.20706C62.2624 8.96549 62.4321 8.63058 62.4321 8.20235V8.05411H64.4054V8.20235C64.4054 8.79529 64.2304 9.31686 63.8802 9.76706C63.5408 10.2173 63.0633 10.5686 62.448 10.8212C61.8433 11.0737 61.1378 11.2 60.3315 11.2Z" fill="currentColor"/> <path d="M50.4051 14C49.5988 14 48.888 13.8737 48.2727 13.6212C47.668 13.3686 47.1959 13.0063 46.8564 12.5341C46.5169 12.062 46.3471 11.491 46.3471 10.8212H48.3363C48.3363 11.1835 48.4053 11.469 48.5432 11.6776C48.6811 11.8973 48.9092 12.051 49.2275 12.1388C49.5458 12.2376 49.9808 12.2871 50.5324 12.2871C51.1053 12.2871 51.5562 12.2267 51.8851 12.1059C52.214 11.9851 52.4474 11.7655 52.5853 11.4471C52.7232 11.1286 52.7922 10.6839 52.7922 10.1129V5.25411L52.9513 5.17176V2.83293H54.7814V9.98117C54.7814 10.9145 54.601 11.6722 54.2403 12.2541C53.8902 12.8471 53.3863 13.2863 52.7285 13.5718C52.0814 13.8573 51.3069 14 50.4051 14ZM49.6094 10.2447C48.8138 10.2447 48.1348 10.091 47.5725 9.78353C47.0208 9.46509 46.5964 9.02039 46.2994 8.44941C46.0023 7.87843 45.8538 7.21411 45.8538 6.45647C45.8538 5.68784 46.0076 5.02352 46.3153 4.46352C46.623 3.89254 47.0632 3.45333 47.6361 3.14587C48.2196 2.82744 48.9092 2.66823 49.7049 2.66823C50.5324 2.66823 51.2273 2.8549 51.7896 3.22823C52.3519 3.59058 52.6967 4.12862 52.824 4.84235H53.2377L53.0945 6.3247H52.7922C52.7922 5.89647 52.6967 5.54509 52.5057 5.27058C52.3148 4.98509 52.0336 4.77646 51.6623 4.6447C51.291 4.51294 50.8401 4.44705 50.3096 4.44705C49.7792 4.44705 49.3283 4.51294 48.957 4.6447C48.5963 4.76548 48.3204 4.97411 48.1295 5.27058C47.9491 5.55607 47.8589 5.95137 47.8589 6.45647C47.8589 6.95058 47.9491 7.34588 48.1295 7.64235C48.3098 7.93882 48.5803 8.15294 48.9411 8.2847C49.3018 8.41647 49.742 8.48235 50.2619 8.48235C51.0894 8.48235 51.7153 8.32313 52.1397 8.0047C52.5747 7.68627 52.7922 7.19215 52.7922 6.52235H53.0945V8.15294H52.6808C52.5429 8.76784 52.2193 9.27294 51.71 9.66823C51.2008 10.0525 50.5006 10.2447 49.6094 10.2447Z" fill="currentColor"/> <path d="M40.5334 11.2C39.6529 11.2 38.8731 11.0243 38.1941 10.6729C37.5258 10.3106 37.0059 9.81098 36.6346 9.17411C36.2633 8.52627 36.0776 7.7796 36.0776 6.93411C36.0776 6.06666 36.2633 5.3145 36.6346 4.67764C37.0059 4.04078 37.5258 3.54666 38.1941 3.19529C38.8731 2.84391 39.6529 2.66823 40.5334 2.66823C41.4352 2.66823 42.215 2.84391 42.8727 3.19529C43.5411 3.54666 44.061 4.04078 44.4323 4.67764C44.8142 5.3145 45.0052 6.06666 45.0052 6.93411C45.0052 7.7796 44.8142 8.52627 44.4323 9.17411C44.061 9.81098 43.5411 10.3106 42.8727 10.6729C42.215 11.0243 41.4352 11.2 40.5334 11.2ZM40.5334 9.37176C41.4352 9.37176 42.0771 9.16862 42.459 8.76235C42.8409 8.35607 43.0319 7.74666 43.0319 6.93411C43.0319 6.12156 42.8409 5.51215 42.459 5.10588C42.0771 4.68862 41.4352 4.47999 40.5334 4.47999C39.6423 4.47999 39.0004 4.68862 38.6079 5.10588C38.226 5.51215 38.035 6.12156 38.035 6.93411C38.035 7.74666 38.226 8.35607 38.6079 8.76235C39.0004 9.16862 39.6423 9.37176 40.5334 9.37176Z" fill="currentColor"/> <path d="M35.403 11.0353H33.5252C32.6447 11.0353 31.9498 10.8157 31.4405 10.3765C30.9313 9.92628 30.6767 9.19608 30.6767 8.18588V1.10353H32.65V8.02118C32.65 8.48236 32.7507 8.7953 32.9523 8.96C33.1645 9.11373 33.504 9.19059 33.9708 9.19059H35.403V11.0353ZM35.403 4.52941H29.3718V2.83294H35.403V4.52941Z" fill="currentColor"/> <path d="M24.4333 11.2C23.5527 11.2 22.773 11.0243 22.094 10.6729C21.4256 10.3106 20.9058 9.81098 20.5345 9.17411C20.1631 8.52627 19.9775 7.7796 19.9775 6.93411C19.9775 6.06666 20.1631 5.3145 20.5345 4.67764C20.9058 4.04078 21.4256 3.54666 22.094 3.19529C22.773 2.84391 23.5527 2.66823 24.4333 2.66823C25.3351 2.66823 26.1148 2.84391 26.7726 3.19529C27.441 3.54666 27.9608 4.04078 28.3321 4.67764C28.7141 5.3145 28.905 6.06666 28.905 6.93411C28.905 7.7796 28.7141 8.52627 28.3321 9.17411C27.9608 9.81098 27.441 10.3106 26.7726 10.6729C26.1148 11.0243 25.3351 11.2 24.4333 11.2ZM24.4333 9.37176C25.3351 9.37176 25.9769 9.16862 26.3588 8.76235C26.7408 8.35607 26.9317 7.74666 26.9317 6.93411C26.9317 6.12156 26.7408 5.51215 26.3588 5.10588C25.9769 4.68862 25.3351 4.47999 24.4333 4.47999C23.5421 4.47999 22.9003 4.68862 22.5077 5.10588C22.1258 5.51215 21.9349 6.12156 21.9349 6.93411C21.9349 7.74666 22.1258 8.35607 22.5077 8.76235C22.9003 9.16862 23.5421 9.37176 24.4333 9.37176Z" fill="currentColor"/> <path d="M18.912 11.0353H16.9228V6.63765C16.9228 5.86902 16.7477 5.32 16.3976 4.99059C16.0582 4.66118 15.4906 4.49647 14.6949 4.49647C14.1008 4.49647 13.6287 4.5953 13.2786 4.79294C12.9391 4.99059 12.6951 5.27608 12.5465 5.64941C12.398 6.02275 12.3238 6.47295 12.3238 7L11.9737 7.01648L12.0373 5.32H12.4351C12.52 4.85883 12.6845 4.43059 12.9285 4.0353C13.1831 3.62902 13.5332 3.29961 13.9788 3.04706C14.435 2.79451 15.0026 2.66824 15.6815 2.66824C16.403 2.66824 17.0024 2.81647 17.4798 3.11294C17.9572 3.40941 18.3126 3.81569 18.546 4.33177C18.79 4.84785 18.912 5.42981 18.912 6.07765V11.0353ZM12.3238 11.0353H10.3345V0H12.3238V11.0353Z" fill="currentColor"/> <path d="M5.3629 7.82353H0.732028V5.97883H5.15602C5.90927 5.97883 6.47155 5.8251 6.84287 5.51765C7.21419 5.2102 7.39985 4.67216 7.39985 3.90353C7.39985 3.14588 7.21419 2.61333 6.84287 2.30588C6.47155 1.99843 5.90927 1.84471 5.15602 1.84471H0.732028V0H5.3629C6.16919 0 6.86939 0.153726 7.4635 0.461177C8.06822 0.768628 8.53502 1.21333 8.8639 1.79529C9.2034 2.37726 9.37314 3.08 9.37314 3.90353C9.37314 4.72706 9.2034 5.4353 8.8639 6.02824C8.53502 6.6102 8.06822 7.05491 7.4635 7.36236C6.86939 7.66981 6.16919 7.82353 5.3629 7.82353ZM1.98921 11.0353H0V0H1.98921V11.0353Z" fill="currentColor"/> </svg>`,
|
|
49
49
|
catalogix: `<svg width="72" height="14" viewBox="0 0 72 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M64.6953 11.0698H62.3185L65.6302 7.0814V6.96744L62.3185 2.96279H64.727L67.1355 5.89302H67.2464L69.6232 2.96279H72L68.6883 6.9186V7.04884L72 11.0698H69.5915L67.183 8.12326H67.0721L64.6953 11.0698Z" fill="currentColor"/> <path d="M61.5928 11.0698H59.6122V2.9628H61.5928V11.0698ZM61.5928 2.05117H59.6122V0.162801H61.5928V2.05117Z" fill="currentColor"/> <path d="M53.8007 14C52.9979 14 52.2901 13.8752 51.6774 13.6256C51.0753 13.376 50.6052 13.0178 50.2672 12.5512C49.9292 12.0845 49.7601 11.5202 49.7601 10.8581H51.7408C51.7408 11.2163 51.8095 11.4985 51.9468 11.7047C52.0841 11.9217 52.3112 12.0736 52.6281 12.1605C52.9451 12.2581 53.3782 12.307 53.9275 12.307C54.4979 12.307 54.9468 12.2473 55.2743 12.1279C55.6018 12.0085 55.8342 11.7915 55.9715 11.4767C56.1088 11.162 56.1775 10.7225 56.1775 10.1581V5.35582L56.3359 5.27442V2.96279H58.1581V10.0279C58.1581 10.9504 57.9786 11.6992 57.6194 12.2744C57.2708 12.8605 56.7691 13.2946 56.1141 13.5767C55.4697 13.8589 54.6986 14 53.8007 14ZM53.0084 10.2884C52.2162 10.2884 51.5401 10.1364 50.9802 9.83256C50.4309 9.51783 50.0084 9.0783 49.7126 8.51395C49.4168 7.94961 49.2689 7.29302 49.2689 6.54419C49.2689 5.7845 49.4221 5.12791 49.7285 4.57442C50.0348 4.01008 50.4732 3.57597 51.0436 3.27209C51.6246 2.95737 52.3112 2.8 53.1035 2.8C53.9275 2.8 54.6194 2.9845 55.1792 3.35349C55.7391 3.71163 56.0824 4.24341 56.2092 4.94884H56.6211L56.4785 6.41395H56.1775C56.1775 5.9907 56.0824 5.64341 55.8923 5.37209C55.7021 5.08992 55.4222 4.88372 55.0525 4.75349C54.6828 4.62326 54.2338 4.55814 53.7056 4.55814C53.1775 4.55814 52.7285 4.62326 52.3588 4.75349C51.9996 4.87287 51.725 5.07907 51.5348 5.37209C51.3552 5.65426 51.2654 6.04496 51.2654 6.54419C51.2654 7.03256 51.3552 7.42326 51.5348 7.71628C51.7144 8.0093 51.9838 8.22093 52.3429 8.35116C52.7021 8.4814 53.1405 8.54651 53.6581 8.54651C54.482 8.54651 55.1053 8.38915 55.5278 8.07442C55.9609 7.75969 56.1775 7.27132 56.1775 6.6093H56.4785V8.22093H56.0666C55.9292 8.82868 55.6071 9.32791 55.1 9.71861C54.593 10.0985 53.8958 10.2884 53.0084 10.2884Z" fill="currentColor"/> <path d="M43.9714 11.2326C43.0946 11.2326 42.3182 11.0589 41.6422 10.7116C40.9767 10.3535 40.459 9.85969 40.0893 9.23023C39.7196 8.58992 39.5347 7.85194 39.5347 7.01628C39.5347 6.15892 39.7196 5.4155 40.0893 4.78605C40.459 4.15659 40.9767 3.66822 41.6422 3.32093C42.3182 2.97364 43.0946 2.8 43.9714 2.8C44.8693 2.8 45.6457 2.97364 46.3007 3.32093C46.9662 3.66822 47.4838 4.15659 47.8535 4.78605C48.2338 5.4155 48.424 6.15892 48.424 7.01628C48.424 7.85194 48.2338 8.58992 47.8535 9.23023C47.4838 9.85969 46.9662 10.3535 46.3007 10.7116C45.6457 11.0589 44.8693 11.2326 43.9714 11.2326ZM43.9714 9.42558C44.8693 9.42558 45.5084 9.22481 45.8887 8.82326C46.269 8.42171 46.4591 7.81938 46.4591 7.01628C46.4591 6.21318 46.269 5.61085 45.8887 5.2093C45.5084 4.7969 44.8693 4.5907 43.9714 4.5907C43.0841 4.5907 42.445 4.7969 42.0541 5.2093C41.6739 5.61085 41.4837 6.21318 41.4837 7.01628C41.4837 7.81938 41.6739 8.42171 42.0541 8.82326C42.445 9.22481 43.0841 9.42558 43.9714 9.42558Z" fill="currentColor"/> <path d="M38.4129 11.0698H36.4323V0.162801H38.4129V11.0698Z" fill="currentColor"/> <path d="M35.0337 11.0698H33.2115V9.05116L33.1006 9.00233V6.20233C33.1006 5.58372 32.9527 5.16047 32.6569 4.93256C32.3611 4.6938 31.8646 4.57442 31.1674 4.57442C30.4808 4.57442 29.9738 4.68837 29.6463 4.91628C29.3294 5.14419 29.1709 5.53488 29.1709 6.08837V6.15349H27.2061V6.08837C27.2061 5.44806 27.3699 4.88372 27.6973 4.39535C28.0248 3.89612 28.4949 3.50543 29.1075 3.22326C29.7308 2.94109 30.4597 2.8 31.2942 2.8C32.1498 2.8 32.8523 2.94651 33.4016 3.23954C33.9615 3.52171 34.3735 3.91783 34.6376 4.42791C34.9016 4.93798 35.0337 5.52946 35.0337 6.20233V11.0698ZM29.7255 11.2326C28.9016 11.2326 28.2466 11.0426 27.7607 10.6628C27.2748 10.2829 27.0318 9.75659 27.0318 9.08372C27.0318 8.67132 27.1322 8.31861 27.3329 8.02558C27.5336 7.73256 27.8241 7.50465 28.2044 7.34186C28.5847 7.16822 29.0442 7.04884 29.5829 6.98372L33.259 6.59302V7.7814L30.1375 8.13953C29.7572 8.18295 29.472 8.26434 29.2818 8.38372C29.1023 8.5031 29.0125 8.69302 29.0125 8.95349C29.0125 9.23566 29.1128 9.44186 29.3135 9.57209C29.5248 9.70233 29.847 9.76744 30.2801 9.76744C30.8611 9.76744 31.3576 9.70233 31.7696 9.57209C32.1921 9.43101 32.5196 9.21395 32.752 8.92093C32.9844 8.61705 33.1006 8.22636 33.1006 7.74884H33.3224V9.11628H33.1006C32.8999 9.7783 32.509 10.2992 31.928 10.6791C31.3576 11.0481 30.6234 11.2326 29.7255 11.2326Z" fill="currentColor"/> <path d="M26.3601 11.0698H24.4904C23.6136 11.0698 22.9217 10.8527 22.4146 10.4186C21.9076 9.97365 21.6541 9.25194 21.6541 8.2535V1.2535H23.6189V8.0907C23.6189 8.54652 23.7192 8.85582 23.92 9.01861C24.1312 9.17055 24.4693 9.24652 24.9341 9.24652H26.3601V11.0698ZM26.3601 4.63954H20.3548V2.9628H26.3601V4.63954Z" fill="currentColor"/> <path d="M19.6217 11.0698H17.7995V9.05116L17.6885 9.00233V6.20233C17.6885 5.58372 17.5407 5.16047 17.2449 4.93256C16.9491 4.6938 16.4526 4.57442 15.7554 4.57442C15.0688 4.57442 14.5617 4.68837 14.2343 4.91628C13.9174 5.14419 13.7589 5.53488 13.7589 6.08837V6.15349H11.7941V6.08837C11.7941 5.44806 11.9578 4.88372 12.2853 4.39535C12.6128 3.89612 13.0828 3.50543 13.6955 3.22326C14.3188 2.94109 15.0477 2.8 15.8822 2.8C16.7378 2.8 17.4403 2.94651 17.9896 3.23954C18.5495 3.52171 18.9614 3.91783 19.2255 4.42791C19.4896 4.93798 19.6217 5.52946 19.6217 6.20233V11.0698ZM14.3135 11.2326C13.4895 11.2326 12.8346 11.0426 12.3487 10.6628C11.8628 10.2829 11.6198 9.75659 11.6198 9.08372C11.6198 8.67132 11.7202 8.31861 11.9209 8.02558C12.1216 7.73256 12.4121 7.50465 12.7923 7.34186C13.1726 7.16822 13.6321 7.04884 14.1709 6.98372L17.847 6.59302V7.7814L14.7255 8.13953C14.3452 8.18295 14.06 8.26434 13.8698 8.38372C13.6902 8.5031 13.6005 8.69302 13.6005 8.95349C13.6005 9.23566 13.7008 9.44186 13.9015 9.57209C14.1128 9.70233 14.435 9.76744 14.8681 9.76744C15.4491 9.76744 15.9456 9.70233 16.3575 9.57209C16.7801 9.43101 17.1075 9.21395 17.3399 8.92093C17.5723 8.61705 17.6885 8.22636 17.6885 7.74884H17.9104V9.11628H17.6885C17.4878 9.7783 17.097 10.2992 16.516 10.6791C15.9456 11.0481 15.2114 11.2326 14.3135 11.2326Z" fill="currentColor"/> <path d="M5.5617 11.2326C4.4314 11.2326 3.44899 11.0047 2.61447 10.5488C1.77995 10.0822 1.13558 9.43101 0.681347 8.59535C0.227116 7.74884 0 6.75581 0 5.61628C0 4.47674 0.227116 3.48915 0.681347 2.65349C1.13558 1.80698 1.77995 1.15581 2.61447 0.7C3.44899 0.233333 4.4314 0 5.5617 0C6.60749 0 7.52123 0.173644 8.30293 0.52093C9.08463 0.868217 9.69204 1.36744 10.1251 2.0186C10.5582 2.65891 10.7748 3.42946 10.7748 4.33023V4.55814H8.58815V4.33023C8.58815 3.53798 8.34519 2.94651 7.85926 2.55581C7.37334 2.15426 6.61805 1.95349 5.59339 1.95349C4.78 1.95349 4.11449 2.07829 3.59688 2.32791C3.08983 2.57752 2.70954 2.97364 2.45602 3.51628C2.21306 4.04806 2.09158 4.74806 2.09158 5.61628C2.09158 6.47364 2.21306 7.17364 2.45602 7.71628C2.70954 8.25891 3.08983 8.65504 3.59688 8.90465C4.11449 9.15426 4.78 9.27907 5.59339 9.27907C6.61805 9.27907 7.37334 9.08372 7.85926 8.69302C8.34519 8.29147 8.58815 7.69457 8.58815 6.90232V6.67442H10.7748V6.90232C10.7748 7.79225 10.5582 8.56279 10.1251 9.21395C9.69204 9.86512 9.08463 10.3643 8.30293 10.7116C7.52123 11.0589 6.60749 11.2326 5.5617 11.2326Z" fill="currentColor"/> </svg>`,
|
|
50
50
|
// CXO: the hub product. Traced from the official "Streamoid CXO" lockup
|
|
51
|
-
// (cxo-dashboard/src/assets/streamoid-cxo-wordmark-*.svg)
|
|
52
|
-
// currentColor
|
|
53
|
-
//
|
|
54
|
-
|
|
51
|
+
// (cxo-dashboard/src/assets/streamoid-cxo-wordmark-*.svg) and recolored to
|
|
52
|
+
// currentColor.
|
|
53
|
+
//
|
|
54
|
+
// SIZED BY INK, NOT BY CAP HEIGHT. Matching cap heights (11.15px) is the
|
|
55
|
+
// arithmetic answer and the wrong one: CXO is all caps, so its cap height IS
|
|
56
|
+
// its whole ink block, while "Photogenix" and "Catalogix" fill their 14px box
|
|
57
|
+
// from ascender to descender. Set level, the three-letter mark reads a size
|
|
58
|
+
// smaller than its neighbours — reported from both the app switcher and the
|
|
59
|
+
// rail's app name. 12.6px of ink puts it back in the same optical class.
|
|
60
|
+
cxo: `<svg width="39.25" height="14" viewBox="0 0 39.25 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-116.3040 -11.9000) scale(0.484600)"><path d="M253.167 52C250.528 52 248.22 51.4725 246.241 50.4174C244.262 49.3372 242.727 47.83 241.636 45.8957C240.545 43.9362 240 41.6377 240 39C240 36.3623 240.545 34.0763 241.636 32.142C242.727 30.1826 244.262 28.6754 246.241 27.6203C248.22 26.5401 250.528 26 253.167 26C255.577 26 257.695 26.4019 259.522 27.2058C261.374 27.9845 262.807 29.115 263.822 30.5971C264.862 32.0541 265.382 33.8 265.382 35.8348V36.3246H260.854V35.8348C260.854 33.9005 260.22 32.4309 258.951 31.4261C257.708 30.4213 255.793 29.9188 253.205 29.9188C251.201 29.9188 249.539 30.2454 248.22 30.8986C246.926 31.5266 245.949 32.5063 245.29 33.8377C244.655 35.1691 244.338 36.8899 244.338 39C244.338 41.085 244.655 42.8058 245.29 44.1623C245.949 45.4937 246.926 46.486 248.22 47.1391C249.539 47.7672 251.201 48.0812 253.205 48.0812C255.793 48.0812 257.708 47.5787 258.951 46.5739C260.22 45.5691 260.854 44.0995 260.854 42.1652V41.6754H265.382V42.1652C265.382 44.1749 264.862 45.9208 263.822 47.4029C262.807 48.885 261.374 50.028 259.522 50.8319C257.695 51.6106 255.577 52 253.167 52Z"/><path d="M307.73 52C305.076 52 302.75 51.4725 300.754 50.4174C298.782 49.3372 297.24 47.83 296.128 45.8957C295.041 43.9362 294.498 41.6377 294.498 39C294.498 36.3623 295.041 34.0763 296.128 32.142C297.24 30.1826 298.782 28.6754 300.754 27.6203C302.75 26.5401 305.076 26 307.73 26C310.434 26 312.773 26.5401 314.744 27.6203C316.716 28.6754 318.245 30.1826 319.332 32.142C320.444 34.0763 321 36.3623 321 39C321 41.6377 320.444 43.9362 319.332 45.8957C318.245 47.83 316.716 49.3372 314.744 50.4174C312.773 51.4725 310.434 52 307.73 52ZM307.73 48.0812C309.727 48.0812 311.382 47.7672 312.697 47.1391C314.036 46.486 315.035 45.4937 315.692 44.1623C316.349 42.8058 316.678 41.085 316.678 39C316.678 36.8899 316.349 35.1691 315.692 33.8377C315.035 32.5063 314.036 31.5266 312.697 30.8986C311.382 30.2454 309.727 29.9188 307.73 29.9188C305.733 29.9188 304.065 30.2454 302.725 30.8986C301.411 31.5266 300.425 32.5063 299.768 33.8377C299.136 35.1691 298.82 36.8899 298.82 39C298.82 41.085 299.136 42.8058 299.768 44.1623C300.425 45.4937 301.411 46.486 302.725 47.1391C304.065 47.7672 305.733 48.0812 307.73 48.0812Z"/><path d="M266.534 26.0034C268.039 25.9858 269.462 26.0275 270.813 26.3453C271.441 26.4927 271.994 26.8223 272.544 27.2796C273.112 27.752 273.601 28.2903 274.184 28.8716L274.186 28.8735L276.496 31.1596L285.139 39.807L285.142 39.8105C285.455 40.1198 285.775 40.4219 286.088 40.7167C286.404 41.0137 286.712 41.3029 287.011 41.5964L287.012 41.5976C290.025 44.5426 293.008 47.5148 295.96 50.5141C296.391 50.9545 296.97 51.4609 297.405 51.8758C297.432 51.9013 297.458 51.9272 297.484 51.9524L293.655 51.9647C292.408 51.9587 291.368 51.9243 290.37 51.5385C289.862 51.3356 289.381 51.0735 288.941 50.7582L288.755 50.6196C288.12 50.1238 287.518 49.4355 286.837 48.7562C285.455 47.378 284.103 45.9961 282.674 44.6264C282.098 44.0317 281.513 43.4451 280.918 42.8669C280.645 42.6012 280.216 42.5537 279.887 42.7437L279.823 42.7849C279.405 43.0799 279.058 43.4228 278.755 43.7451C278.432 44.089 278.192 44.3697 277.896 44.6618C277.894 44.6632 277.893 44.6646 277.891 44.666L272.432 50.136C272.145 50.4214 271.64 50.8197 271.087 51.1628C270.511 51.5204 270.008 51.7397 269.712 51.7826C268.424 51.9694 267.022 52.0054 265.575 51.9994C264.78 51.9961 263.956 51.9798 263.143 51.9713C263.295 51.8274 263.452 51.6837 263.615 51.537C263.962 51.2241 264.34 50.8891 264.697 50.531L271.618 43.6246C272.531 42.7128 273.714 41.4684 274.661 40.6786C274.685 40.673 274.718 40.6668 274.761 40.6597C274.917 40.6338 275.127 40.6128 275.368 40.5966C275.605 40.5807 275.853 40.5704 276.079 40.562C276.296 40.5539 276.512 40.5471 276.656 40.5381C276.969 40.5184 277.243 40.3344 277.367 40.0619C277.49 39.7892 277.442 39.4738 277.241 39.246C276.227 38.0976 275.308 37.3317 274.354 36.3667C271.227 33.2046 268.064 30.2349 265.024 27.0664C264.688 26.7152 264.302 26.3657 263.949 26.0423C264.828 26.0408 265.701 26.0131 266.534 26.0034ZM295.619 26.0457C295.976 26.0481 296.333 26.0497 296.692 26.0507C296.018 26.6871 295.39 27.3235 294.695 28.0173L291.922 30.7619L291.921 30.7631L289.016 33.6513L288.444 34.208C287.876 34.7578 287.314 35.3009 286.74 35.9232C286.62 36.0511 286.514 36.1566 286.407 36.2523C285.97 35.834 285.555 35.3762 285.06 34.8864C284.269 34.1027 283.505 33.3988 282.784 32.6484C283.38 32.0274 284.002 31.4109 284.632 30.7881C285.433 29.9969 286.25 29.194 287.02 28.3796C287.914 27.4345 288.636 26.9039 289.416 26.5805C290.202 26.2544 291.119 26.108 292.468 26.0484C293.511 26.0301 294.558 26.0386 295.619 26.0457Z"/></g></svg>`
|
|
55
61
|
};
|
|
56
62
|
|
|
57
63
|
// src/SC-AppcardLogos/ScAppcardLogos.tsx
|
|
@@ -141,6 +147,15 @@ function openExternal(url) {
|
|
|
141
147
|
window.open(url, "_blank", "noopener,noreferrer");
|
|
142
148
|
}
|
|
143
149
|
}
|
|
150
|
+
function formatStreamoidAppVersion(raw) {
|
|
151
|
+
const trimmed = (raw ?? "").trim();
|
|
152
|
+
if (!trimmed) return void 0;
|
|
153
|
+
if (/^[0-9a-f]{7,40}$/i.test(trimmed)) return void 0;
|
|
154
|
+
const core = trimmed.replace(/^v/i, "");
|
|
155
|
+
const release = /^(\d+(?:\.\d+)*)/.exec(core);
|
|
156
|
+
if (!release) return void 0;
|
|
157
|
+
return `v${release[1]}`;
|
|
158
|
+
}
|
|
144
159
|
function createStreamoidAppSwitchUtilities(utilities) {
|
|
145
160
|
const before = (action) => () => {
|
|
146
161
|
utilities.onClose?.();
|
|
@@ -150,15 +165,17 @@ function createStreamoidAppSwitchUtilities(utilities) {
|
|
|
150
165
|
const status = utilities.statusPageUrl ?? STREAMOID_STATUS_PAGE_URL;
|
|
151
166
|
return [
|
|
152
167
|
{
|
|
168
|
+
/* Key kept: hosts and tests address this row as `changelog`. Only the
|
|
169
|
+
wording is for the reader. */
|
|
153
170
|
key: "changelog",
|
|
154
|
-
label: "
|
|
155
|
-
trailingText: utilities.appVersion,
|
|
171
|
+
label: "What's new",
|
|
172
|
+
trailingText: formatStreamoidAppVersion(utilities.appVersion),
|
|
156
173
|
external: true,
|
|
157
174
|
onSelect: before(() => openExternal(changelog))
|
|
158
175
|
},
|
|
159
176
|
{
|
|
160
177
|
key: "status",
|
|
161
|
-
label: "Status
|
|
178
|
+
label: "Status",
|
|
162
179
|
external: true,
|
|
163
180
|
onSelect: before(() => openExternal(status))
|
|
164
181
|
},
|
|
@@ -178,22 +195,27 @@ var T = {
|
|
|
178
195
|
var PRODUCT_BRANDS = [
|
|
179
196
|
// Matched on `streamoid` too: the service catalog has named this group both
|
|
180
197
|
// things, and older hosts still send the company name.
|
|
181
|
-
{
|
|
182
|
-
|
|
198
|
+
{
|
|
199
|
+
match: ["cxo", "streamoid"],
|
|
200
|
+
product: "cxo",
|
|
201
|
+
tagline: "Retail Command Center",
|
|
202
|
+
hub: true
|
|
203
|
+
},
|
|
204
|
+
{ match: ["tactix"], product: "tactix", tagline: "Buyers and planners" },
|
|
183
205
|
{
|
|
184
206
|
match: ["artifax", "design studio"],
|
|
185
207
|
product: "artifax",
|
|
186
|
-
tagline: "
|
|
208
|
+
tagline: "Design and development"
|
|
187
209
|
},
|
|
188
210
|
{
|
|
189
211
|
match: ["photogenix", "photo studio"],
|
|
190
212
|
product: "photogenix",
|
|
191
|
-
tagline: "
|
|
213
|
+
tagline: "Studio and content"
|
|
192
214
|
},
|
|
193
215
|
{
|
|
194
216
|
match: ["catalogix", "catalog studio"],
|
|
195
217
|
product: "catalogix",
|
|
196
|
-
tagline: "
|
|
218
|
+
tagline: "Catalog and ecommerce"
|
|
197
219
|
}
|
|
198
220
|
];
|
|
199
221
|
var MATCH_PRECEDENCE = [
|
|
@@ -221,21 +243,27 @@ function orderIndex(item) {
|
|
|
221
243
|
const index = productBrandIndex(item.key, item.name);
|
|
222
244
|
return index === -1 ? PRODUCT_BRANDS.length : index;
|
|
223
245
|
}
|
|
246
|
+
function scAppSwitchOrder(apps) {
|
|
247
|
+
return [...apps].sort((a, b) => orderIndex(a) - orderIndex(b));
|
|
248
|
+
}
|
|
224
249
|
var ScAppSwitchRow = ({
|
|
225
250
|
item
|
|
226
251
|
}) => {
|
|
227
252
|
const [hover, setHover] = useState(false);
|
|
228
253
|
const [focused, setFocused] = useState(false);
|
|
229
|
-
const
|
|
254
|
+
const current = item.current === true;
|
|
255
|
+
const interactive = !current && (hover || focused);
|
|
230
256
|
const brand = matchProductBrand(item.key, item.name);
|
|
231
257
|
const description = rowDescription(item, brand);
|
|
232
|
-
const labelColor = interactive ? T.primary : T.secondary;
|
|
258
|
+
const labelColor = interactive || current ? T.primary : T.secondary;
|
|
233
259
|
return /* @__PURE__ */ jsxs3(
|
|
234
260
|
"button",
|
|
235
261
|
{
|
|
236
262
|
type: "button",
|
|
237
|
-
"aria-label": `Switch to ${item.name}`,
|
|
238
|
-
|
|
263
|
+
"aria-label": current ? `${item.name}, current app` : `Switch to ${item.name}`,
|
|
264
|
+
"aria-current": current ? "true" : void 0,
|
|
265
|
+
"aria-disabled": current ? true : void 0,
|
|
266
|
+
onClick: current ? void 0 : item.onSelect,
|
|
239
267
|
onMouseEnter: () => setHover(true),
|
|
240
268
|
onMouseLeave: () => setHover(false),
|
|
241
269
|
onFocus: () => setFocused(true),
|
|
@@ -247,12 +275,21 @@ var ScAppSwitchRow = ({
|
|
|
247
275
|
width: "100%",
|
|
248
276
|
height: 60,
|
|
249
277
|
padding: "var(--spacing-md, 8px) var(--spacing-xl, 12px) var(--spacing-md, 8px) var(--spacing-3xl, 16px)",
|
|
250
|
-
|
|
278
|
+
/* THE SELECTED FILL IS MIXED FROM THE INK, NOT TAKEN FROM A TOKEN.
|
|
279
|
+
`--alias-fill-neutral-neutralselected` is the right token and it does
|
|
280
|
+
not survive the trip: this panel is portaled to `document.body`, so
|
|
281
|
+
a host that redefines its light-theme fills on the SIDEBAR element
|
|
282
|
+
(Artifax does) leaves the panel reading the app-wide dark value —
|
|
283
|
+
and the row came out with no fill at all. Mixing a percentage of the
|
|
284
|
+
text colour is theme-proof: it is a step off the panel's own
|
|
285
|
+
background in whichever theme is live, with the token still preferred
|
|
286
|
+
where it does reach. */
|
|
287
|
+
background: current ? "color-mix(in srgb, var(--alias-text---icons-primary, #101010) 10%, transparent)" : interactive ? "color-mix(in srgb, var(--alias-text---icons-primary, #101010) 5%, transparent)" : "transparent",
|
|
251
288
|
border: "1px solid transparent",
|
|
252
289
|
borderRadius: "var(--radius-xl, 12px)",
|
|
253
290
|
boxShadow: focused ? "inset 0 0 0 1px var(--alias-border-default, #cfcfcf)" : "none",
|
|
254
291
|
outline: "none",
|
|
255
|
-
cursor: "pointer",
|
|
292
|
+
cursor: current ? "default" : "pointer",
|
|
256
293
|
fontFamily: T.font,
|
|
257
294
|
transition: "background-color 120ms ease, box-shadow 120ms ease"
|
|
258
295
|
},
|
|
@@ -349,17 +386,42 @@ var ScAppSwitchRow = ({
|
|
|
349
386
|
display: "flex",
|
|
350
387
|
alignItems: "center",
|
|
351
388
|
justifyContent: "center",
|
|
352
|
-
flexShrink: 0
|
|
353
|
-
opacity: interactive ? 1 : 0.45,
|
|
354
|
-
transition: "opacity 120ms ease"
|
|
389
|
+
flexShrink: 0
|
|
355
390
|
},
|
|
356
|
-
children: /* @__PURE__ */ jsx4(
|
|
391
|
+
children: current ? /* @__PURE__ */ jsx4(
|
|
392
|
+
"svg",
|
|
393
|
+
{
|
|
394
|
+
width: 20,
|
|
395
|
+
height: 20,
|
|
396
|
+
viewBox: "0 0 20 20",
|
|
397
|
+
fill: "none",
|
|
398
|
+
stroke: T.primary,
|
|
399
|
+
strokeWidth: 2.4,
|
|
400
|
+
strokeLinecap: "round",
|
|
401
|
+
strokeLinejoin: "round",
|
|
402
|
+
children: /* @__PURE__ */ jsx4("path", { d: "M4.5 10.5 8 14l7.5-8" })
|
|
403
|
+
}
|
|
404
|
+
) : null
|
|
357
405
|
}
|
|
358
406
|
)
|
|
359
407
|
]
|
|
360
408
|
}
|
|
361
409
|
);
|
|
362
410
|
};
|
|
411
|
+
var ScAppSwitchGroupLabel = ({ children }) => /* @__PURE__ */ jsx4(
|
|
412
|
+
"span",
|
|
413
|
+
{
|
|
414
|
+
style: {
|
|
415
|
+
padding: "var(--spacing-md, 8px) var(--spacing-md, 8px) var(--spacing-sm, 4px)",
|
|
416
|
+
color: T.tertiary,
|
|
417
|
+
fontFamily: T.font,
|
|
418
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
419
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)",
|
|
420
|
+
fontWeight: 500
|
|
421
|
+
},
|
|
422
|
+
children
|
|
423
|
+
}
|
|
424
|
+
);
|
|
363
425
|
var ScAppSwitchSystemRow = ({ item }) => {
|
|
364
426
|
const [hover, setHover] = useState(false);
|
|
365
427
|
const [focused, setFocused] = useState(false);
|
|
@@ -415,12 +477,19 @@ var ScAppSwitchPanel = ({
|
|
|
415
477
|
apps,
|
|
416
478
|
systemItems,
|
|
417
479
|
utilities,
|
|
418
|
-
|
|
419
|
-
|
|
480
|
+
/* NO TITLE, TWO GROUP LABELS.
|
|
481
|
+
*
|
|
482
|
+
* "Switch Apps" sat above a list of apps, in a panel opened by a button whose
|
|
483
|
+
* own label is "Switch apps" — a heading that repeated its trigger and said
|
|
484
|
+
* nothing about the two different KINDS of row underneath. The labels the
|
|
485
|
+
* panel needs are the ones that separate the products from the utilities. */
|
|
486
|
+
title = null,
|
|
487
|
+
appsLabel = "Apps",
|
|
488
|
+
systemLabel = "Help",
|
|
420
489
|
className,
|
|
421
490
|
style
|
|
422
491
|
}) => {
|
|
423
|
-
const ordered =
|
|
492
|
+
const ordered = scAppSwitchOrder(apps);
|
|
424
493
|
const resolvedSystemItems = systemItems ?? (utilities ? createStreamoidAppSwitchUtilities(utilities) : []);
|
|
425
494
|
return /* @__PURE__ */ jsxs3(
|
|
426
495
|
"div",
|
|
@@ -463,6 +532,7 @@ var ScAppSwitchPanel = ({
|
|
|
463
532
|
}
|
|
464
533
|
)
|
|
465
534
|
] }) : null,
|
|
535
|
+
appsLabel ? /* @__PURE__ */ jsx4(ScAppSwitchGroupLabel, { children: appsLabel }) : null,
|
|
466
536
|
ordered.map((app) => /* @__PURE__ */ jsx4(ScAppSwitchRow, { item: app }, app.key)),
|
|
467
537
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ jsxs3(
|
|
468
538
|
"div",
|
|
@@ -475,20 +545,7 @@ var ScAppSwitchPanel = ({
|
|
|
475
545
|
borderTop: "1px solid var(--alias-border-divider, #dedede)"
|
|
476
546
|
},
|
|
477
547
|
children: [
|
|
478
|
-
systemLabel ? /* @__PURE__ */ jsx4(
|
|
479
|
-
"span",
|
|
480
|
-
{
|
|
481
|
-
style: {
|
|
482
|
-
padding: "0 var(--spacing-md, 8px) var(--spacing-sm, 4px)",
|
|
483
|
-
color: T.tertiary,
|
|
484
|
-
fontFamily: T.font,
|
|
485
|
-
fontSize: "var(--font-size-font-size-xs, 12px)",
|
|
486
|
-
lineHeight: "var(--line-height-line-height-xs, 16px)",
|
|
487
|
-
fontWeight: 500
|
|
488
|
-
},
|
|
489
|
-
children: systemLabel
|
|
490
|
-
}
|
|
491
|
-
) : null,
|
|
548
|
+
systemLabel ? /* @__PURE__ */ jsx4(ScAppSwitchGroupLabel, { children: systemLabel }) : null,
|
|
492
549
|
resolvedSystemItems.map((item) => /* @__PURE__ */ jsx4(ScAppSwitchSystemRow, { item }, item.key))
|
|
493
550
|
]
|
|
494
551
|
}
|
|
@@ -5660,11 +5717,215 @@ function useStreamoidSidebarPreference(options = {}) {
|
|
|
5660
5717
|
return { expanded, setExpanded, toggle };
|
|
5661
5718
|
}
|
|
5662
5719
|
|
|
5663
|
-
// src/SC-SidebarShell/
|
|
5720
|
+
// src/SC-SidebarShell/useStreamoidAnchoredPopoverPosition.ts
|
|
5664
5721
|
import {
|
|
5665
5722
|
useLayoutEffect,
|
|
5666
5723
|
useState as useState13
|
|
5667
5724
|
} from "react";
|
|
5725
|
+
var ARROW_EDGE_INSET = 18;
|
|
5726
|
+
function resolveAnchoredPopoverArrow({
|
|
5727
|
+
anchor,
|
|
5728
|
+
panelLeft,
|
|
5729
|
+
panelTop,
|
|
5730
|
+
panelHeight
|
|
5731
|
+
}) {
|
|
5732
|
+
const side = panelLeft >= anchor.right ? "left" : "right";
|
|
5733
|
+
const anchorCentre = (anchor.top + anchor.bottom) / 2;
|
|
5734
|
+
const raw = anchorCentre - panelTop;
|
|
5735
|
+
const limit = Math.max(ARROW_EDGE_INSET, panelHeight - ARROW_EDGE_INSET);
|
|
5736
|
+
const top = Math.min(Math.max(raw, ARROW_EDGE_INSET), limit);
|
|
5737
|
+
return { side, top };
|
|
5738
|
+
}
|
|
5739
|
+
var DEFAULT_GAP = 8;
|
|
5740
|
+
var DEFAULT_INSET = 16;
|
|
5741
|
+
function resolveAnchoredPopoverPosition({
|
|
5742
|
+
anchor,
|
|
5743
|
+
viewportWidth,
|
|
5744
|
+
viewportHeight,
|
|
5745
|
+
width,
|
|
5746
|
+
height,
|
|
5747
|
+
gap,
|
|
5748
|
+
inset
|
|
5749
|
+
}) {
|
|
5750
|
+
const available = Math.max(0, viewportWidth - inset * 2);
|
|
5751
|
+
const panelWidth = Math.min(width, available);
|
|
5752
|
+
const rightOfAnchor = anchor.right + gap;
|
|
5753
|
+
const leftOfAnchor = anchor.left - gap - panelWidth;
|
|
5754
|
+
const fitsRight = rightOfAnchor + panelWidth <= viewportWidth - inset;
|
|
5755
|
+
const preferredLeft = fitsRight ? rightOfAnchor : leftOfAnchor >= inset ? leftOfAnchor : rightOfAnchor;
|
|
5756
|
+
const left = Math.max(
|
|
5757
|
+
inset,
|
|
5758
|
+
Math.min(preferredLeft, Math.max(inset, viewportWidth - panelWidth - inset))
|
|
5759
|
+
);
|
|
5760
|
+
const panelHeight = height ?? 0;
|
|
5761
|
+
const downwardTop = anchor.top;
|
|
5762
|
+
const fitsDown = downwardTop + panelHeight <= viewportHeight - inset;
|
|
5763
|
+
const upwardTop = anchor.bottom - panelHeight;
|
|
5764
|
+
const preferredTop = fitsDown ? downwardTop : upwardTop;
|
|
5765
|
+
const top = Math.max(
|
|
5766
|
+
inset,
|
|
5767
|
+
Math.min(preferredTop, Math.max(inset, viewportHeight - panelHeight - inset))
|
|
5768
|
+
);
|
|
5769
|
+
return { left, top, width: panelWidth };
|
|
5770
|
+
}
|
|
5771
|
+
function useStreamoidAnchoredPopover(anchorRef, panelRef, { width, gap = DEFAULT_GAP, inset = DEFAULT_INSET }) {
|
|
5772
|
+
const [state, setState] = useState13({
|
|
5773
|
+
style: {
|
|
5774
|
+
position: "fixed",
|
|
5775
|
+
left: 0,
|
|
5776
|
+
top: 0,
|
|
5777
|
+
width,
|
|
5778
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5779
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5780
|
+
visibility: "hidden"
|
|
5781
|
+
},
|
|
5782
|
+
arrow: null
|
|
5783
|
+
});
|
|
5784
|
+
useLayoutEffect(() => {
|
|
5785
|
+
const anchor = anchorRef.current;
|
|
5786
|
+
if (!anchor || typeof window === "undefined") return;
|
|
5787
|
+
const measure = () => {
|
|
5788
|
+
const bounds = anchor.getBoundingClientRect();
|
|
5789
|
+
const panelHeight = panelRef.current?.offsetHeight;
|
|
5790
|
+
const { left, top, width: panelWidth } = resolveAnchoredPopoverPosition({
|
|
5791
|
+
anchor: bounds,
|
|
5792
|
+
viewportWidth: window.innerWidth,
|
|
5793
|
+
viewportHeight: window.innerHeight,
|
|
5794
|
+
width,
|
|
5795
|
+
height: panelHeight,
|
|
5796
|
+
gap,
|
|
5797
|
+
inset
|
|
5798
|
+
});
|
|
5799
|
+
const style = {
|
|
5800
|
+
position: "fixed",
|
|
5801
|
+
left,
|
|
5802
|
+
top,
|
|
5803
|
+
width: panelWidth,
|
|
5804
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5805
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5806
|
+
visibility: "visible"
|
|
5807
|
+
};
|
|
5808
|
+
const arrow = panelHeight ? resolveAnchoredPopoverArrow({
|
|
5809
|
+
anchor: bounds,
|
|
5810
|
+
panelLeft: left,
|
|
5811
|
+
panelTop: top,
|
|
5812
|
+
panelHeight
|
|
5813
|
+
}) : null;
|
|
5814
|
+
setState(
|
|
5815
|
+
(prev) => prev.style.left === style.left && prev.style.top === style.top && prev.style.width === style.width && prev.style.visibility === style.visibility && prev.arrow?.side === arrow?.side && prev.arrow?.top === arrow?.top ? prev : { style, arrow }
|
|
5816
|
+
);
|
|
5817
|
+
};
|
|
5818
|
+
measure();
|
|
5819
|
+
window.addEventListener("resize", measure);
|
|
5820
|
+
window.addEventListener("scroll", measure, true);
|
|
5821
|
+
const resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5822
|
+
resizeObserver?.observe(anchor);
|
|
5823
|
+
if (panelRef.current) resizeObserver?.observe(panelRef.current);
|
|
5824
|
+
return () => {
|
|
5825
|
+
window.removeEventListener("resize", measure);
|
|
5826
|
+
window.removeEventListener("scroll", measure, true);
|
|
5827
|
+
resizeObserver?.disconnect();
|
|
5828
|
+
};
|
|
5829
|
+
}, [anchorRef, panelRef, width, gap, inset]);
|
|
5830
|
+
return state;
|
|
5831
|
+
}
|
|
5832
|
+
function useStreamoidAnchoredPopoverPosition(anchorRef, panelRef, { width, gap = DEFAULT_GAP, inset = DEFAULT_INSET }) {
|
|
5833
|
+
const [position, setPosition] = useState13({
|
|
5834
|
+
position: "fixed",
|
|
5835
|
+
left: 0,
|
|
5836
|
+
top: 0,
|
|
5837
|
+
width,
|
|
5838
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5839
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5840
|
+
visibility: "hidden"
|
|
5841
|
+
});
|
|
5842
|
+
useLayoutEffect(() => {
|
|
5843
|
+
const anchor = anchorRef.current;
|
|
5844
|
+
if (!anchor || typeof window === "undefined") return;
|
|
5845
|
+
const measure = () => {
|
|
5846
|
+
const bounds = anchor.getBoundingClientRect();
|
|
5847
|
+
const panelHeight = panelRef.current?.offsetHeight;
|
|
5848
|
+
const { left, top, width: panelWidth } = resolveAnchoredPopoverPosition({
|
|
5849
|
+
anchor: bounds,
|
|
5850
|
+
viewportWidth: window.innerWidth,
|
|
5851
|
+
viewportHeight: window.innerHeight,
|
|
5852
|
+
width,
|
|
5853
|
+
height: panelHeight,
|
|
5854
|
+
gap,
|
|
5855
|
+
inset
|
|
5856
|
+
});
|
|
5857
|
+
const next = {
|
|
5858
|
+
position: "fixed",
|
|
5859
|
+
left,
|
|
5860
|
+
top,
|
|
5861
|
+
width: panelWidth,
|
|
5862
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5863
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5864
|
+
visibility: "visible"
|
|
5865
|
+
};
|
|
5866
|
+
setPosition(
|
|
5867
|
+
(prev) => prev.left === next.left && prev.top === next.top && prev.width === next.width && prev.visibility === next.visibility ? prev : next
|
|
5868
|
+
);
|
|
5869
|
+
};
|
|
5870
|
+
measure();
|
|
5871
|
+
window.addEventListener("resize", measure);
|
|
5872
|
+
window.addEventListener("scroll", measure, true);
|
|
5873
|
+
const resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5874
|
+
resizeObserver?.observe(anchor);
|
|
5875
|
+
if (panelRef.current) resizeObserver?.observe(panelRef.current);
|
|
5876
|
+
return () => {
|
|
5877
|
+
window.removeEventListener("resize", measure);
|
|
5878
|
+
window.removeEventListener("scroll", measure, true);
|
|
5879
|
+
resizeObserver?.disconnect();
|
|
5880
|
+
};
|
|
5881
|
+
}, [anchorRef, panelRef, width, gap, inset]);
|
|
5882
|
+
return position;
|
|
5883
|
+
}
|
|
5884
|
+
|
|
5885
|
+
// src/SC-SidebarShell/ScPopoverArrow.tsx
|
|
5886
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5887
|
+
function ScPopoverArrow({
|
|
5888
|
+
arrow,
|
|
5889
|
+
background = "var(--alias-surface-base, #101010)",
|
|
5890
|
+
borderColor = "var(--alias-border-default, #3e3e3e)",
|
|
5891
|
+
size = 12,
|
|
5892
|
+
style
|
|
5893
|
+
}) {
|
|
5894
|
+
if (!arrow) return null;
|
|
5895
|
+
const half = size / 2;
|
|
5896
|
+
const onLeftEdge = arrow.side === "left";
|
|
5897
|
+
return /* @__PURE__ */ jsx52(
|
|
5898
|
+
"span",
|
|
5899
|
+
{
|
|
5900
|
+
"aria-hidden": true,
|
|
5901
|
+
"data-streamoid-popover-arrow": arrow.side,
|
|
5902
|
+
style: {
|
|
5903
|
+
position: "absolute",
|
|
5904
|
+
top: arrow.top - half,
|
|
5905
|
+
[onLeftEdge ? "left" : "right"]: -half,
|
|
5906
|
+
width: size,
|
|
5907
|
+
height: size,
|
|
5908
|
+
background,
|
|
5909
|
+
/* Only the two edges that face away from the card. The other two sit
|
|
5910
|
+
under it, where a border would draw a line across the card's own
|
|
5911
|
+
edge. */
|
|
5912
|
+
borderTop: onLeftEdge ? "none" : `1px solid ${borderColor}`,
|
|
5913
|
+
borderRight: onLeftEdge ? "none" : `1px solid ${borderColor}`,
|
|
5914
|
+
borderBottom: onLeftEdge ? `1px solid ${borderColor}` : "none",
|
|
5915
|
+
borderLeft: onLeftEdge ? `1px solid ${borderColor}` : "none",
|
|
5916
|
+
transform: "rotate(45deg)",
|
|
5917
|
+
pointerEvents: "none",
|
|
5918
|
+
...style
|
|
5919
|
+
}
|
|
5920
|
+
}
|
|
5921
|
+
);
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5924
|
+
// src/SC-SidebarShell/useStreamoidSidebarPopoverPosition.ts
|
|
5925
|
+
import {
|
|
5926
|
+
useLayoutEffect as useLayoutEffect2,
|
|
5927
|
+
useState as useState14
|
|
5928
|
+
} from "react";
|
|
5668
5929
|
var VIEWPORT_INSET = 16;
|
|
5669
5930
|
function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
5670
5931
|
placement,
|
|
@@ -5672,7 +5933,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5672
5933
|
gap = 8,
|
|
5673
5934
|
inset = 0
|
|
5674
5935
|
}) {
|
|
5675
|
-
const [position, setPosition] =
|
|
5936
|
+
const [position, setPosition] = useState14({
|
|
5676
5937
|
position: "fixed",
|
|
5677
5938
|
left: 0,
|
|
5678
5939
|
top: 0,
|
|
@@ -5681,7 +5942,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5681
5942
|
maxHeight: `calc(100dvh - ${VIEWPORT_INSET * 2}px)`,
|
|
5682
5943
|
visibility: "hidden"
|
|
5683
5944
|
});
|
|
5684
|
-
|
|
5945
|
+
useLayoutEffect2(() => {
|
|
5685
5946
|
const sidebar = sidebarRef.current;
|
|
5686
5947
|
if (!sidebar || typeof window === "undefined") return;
|
|
5687
5948
|
const findCard = () => (sidebar.matches("[data-streamoid-sidebar-card]") ? sidebar : sidebar.querySelector(
|
|
@@ -5744,7 +6005,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5744
6005
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
5745
6006
|
import {
|
|
5746
6007
|
useCallback as useCallback3,
|
|
5747
|
-
useState as
|
|
6008
|
+
useState as useState15
|
|
5748
6009
|
} from "react";
|
|
5749
6010
|
|
|
5750
6011
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.module.css
|
|
@@ -5782,21 +6043,21 @@ var ScArtifaxSidebar_default = {
|
|
|
5782
6043
|
|
|
5783
6044
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
5784
6045
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
5785
|
-
import { Fragment as Fragment17, jsx as
|
|
6046
|
+
import { Fragment as Fragment17, jsx as jsx53, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
5786
6047
|
function ArtifaxPlaceholderIcon() {
|
|
5787
|
-
return /* @__PURE__ */
|
|
6048
|
+
return /* @__PURE__ */ jsx53("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
5788
6049
|
}
|
|
5789
6050
|
function resolveIcon2(iconMap, item, active, expanded) {
|
|
5790
6051
|
const renderer = iconMap?.[item.iconKey];
|
|
5791
|
-
if (renderer == null) return /* @__PURE__ */
|
|
6052
|
+
if (renderer == null) return /* @__PURE__ */ jsx53(ArtifaxPlaceholderIcon, {});
|
|
5792
6053
|
if (typeof renderer === "function") {
|
|
5793
|
-
return /* @__PURE__ */
|
|
6054
|
+
return /* @__PURE__ */ jsx53(Fragment17, { children: renderer({ item, active, expanded }) });
|
|
5794
6055
|
}
|
|
5795
|
-
return /* @__PURE__ */
|
|
6056
|
+
return /* @__PURE__ */ jsx53(Fragment17, { children: renderer });
|
|
5796
6057
|
}
|
|
5797
6058
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
5798
6059
|
if (toggleIcon == null)
|
|
5799
|
-
return /* @__PURE__ */
|
|
6060
|
+
return /* @__PURE__ */ jsx53(SiconCollapse3, {});
|
|
5800
6061
|
if (typeof toggleIcon === "function") {
|
|
5801
6062
|
return toggleIcon(expanded);
|
|
5802
6063
|
}
|
|
@@ -5816,8 +6077,8 @@ function SectionHeader2({
|
|
|
5816
6077
|
onClick: onToggle,
|
|
5817
6078
|
disabled: !onToggle,
|
|
5818
6079
|
children: [
|
|
5819
|
-
/* @__PURE__ */
|
|
5820
|
-
/* @__PURE__ */
|
|
6080
|
+
/* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.sectionLabel, children: label }),
|
|
6081
|
+
/* @__PURE__ */ jsx53(Chevron2, { className: ScArtifaxSidebar_default.sectionChevron })
|
|
5821
6082
|
]
|
|
5822
6083
|
}
|
|
5823
6084
|
);
|
|
@@ -5852,7 +6113,7 @@ var ScArtifaxSidebar = ({
|
|
|
5852
6113
|
}
|
|
5853
6114
|
};
|
|
5854
6115
|
const isControlled = !!openSections;
|
|
5855
|
-
const [internalOpen, setInternalOpen] =
|
|
6116
|
+
const [internalOpen, setInternalOpen] = useState15(
|
|
5856
6117
|
() => {
|
|
5857
6118
|
const init = {};
|
|
5858
6119
|
sections.forEach((s) => {
|
|
@@ -5878,7 +6139,7 @@ var ScArtifaxSidebar = ({
|
|
|
5878
6139
|
const renderMenuItem2 = (item, sectionId) => {
|
|
5879
6140
|
const active = item.id === activeItemId;
|
|
5880
6141
|
const state = active ? "active" : "default";
|
|
5881
|
-
return /* @__PURE__ */
|
|
6142
|
+
return /* @__PURE__ */ jsx53(
|
|
5882
6143
|
ScSidebarMenu,
|
|
5883
6144
|
{
|
|
5884
6145
|
icon: resolveIcon2(iconMap, item, active, expanded),
|
|
@@ -5897,7 +6158,7 @@ var ScArtifaxSidebar = ({
|
|
|
5897
6158
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + " " + ScArtifaxSidebar_default.variantExpanded + (className ? " " + className : ""),
|
|
5898
6159
|
style,
|
|
5899
6160
|
children: [
|
|
5900
|
-
resizable ? /* @__PURE__ */
|
|
6161
|
+
resizable ? /* @__PURE__ */ jsx53(
|
|
5901
6162
|
ScSidebarResizeHandle,
|
|
5902
6163
|
{
|
|
5903
6164
|
expanded: true,
|
|
@@ -5910,17 +6171,17 @@ var ScArtifaxSidebar = ({
|
|
|
5910
6171
|
"data-streamoid-sidebar-card": true,
|
|
5911
6172
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.expanded,
|
|
5912
6173
|
children: [
|
|
5913
|
-
/* @__PURE__ */
|
|
6174
|
+
/* @__PURE__ */ jsx53("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayExpanded }),
|
|
5914
6175
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.body, children: [
|
|
5915
|
-
expandedLogo ? /* @__PURE__ */
|
|
6176
|
+
expandedLogo ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.logoUnitExpanded, children: expandedLogo }) : null,
|
|
5916
6177
|
sections.map((section, idx) => {
|
|
5917
6178
|
const open = section.label ? section.collapsible !== false ? isSectionOpen(section.id) : true : true;
|
|
5918
6179
|
const showHeader = !!section.label;
|
|
5919
6180
|
const canToggle = showHeader && section.collapsible !== false;
|
|
5920
6181
|
return /* @__PURE__ */ jsxs42("div", { children: [
|
|
5921
|
-
idx > 0 ? /* @__PURE__ */
|
|
6182
|
+
idx > 0 ? /* @__PURE__ */ jsx53(ScHDivider, {}) : null,
|
|
5922
6183
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.sectionContainer, children: [
|
|
5923
|
-
showHeader ? /* @__PURE__ */
|
|
6184
|
+
showHeader ? /* @__PURE__ */ jsx53(
|
|
5924
6185
|
SectionHeader2,
|
|
5925
6186
|
{
|
|
5926
6187
|
label: section.label,
|
|
@@ -5935,7 +6196,7 @@ var ScArtifaxSidebar = ({
|
|
|
5935
6196
|
] }, section.id);
|
|
5936
6197
|
})
|
|
5937
6198
|
] }),
|
|
5938
|
-
creditWarning ? /* @__PURE__ */
|
|
6199
|
+
creditWarning ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx53(
|
|
5939
6200
|
CreditWarningBanner,
|
|
5940
6201
|
{
|
|
5941
6202
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -5945,10 +6206,10 @@ var ScArtifaxSidebar = ({
|
|
|
5945
6206
|
expanded: true
|
|
5946
6207
|
}
|
|
5947
6208
|
) }) : null,
|
|
5948
|
-
assistantCta ? /* @__PURE__ */
|
|
5949
|
-
/* @__PURE__ */
|
|
6209
|
+
assistantCta ? /* @__PURE__ */ jsx53(ScAskAgentSlot, { cta: assistantCta }) : null,
|
|
6210
|
+
/* @__PURE__ */ jsx53(ScHDivider, {}),
|
|
5950
6211
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.profileRow, children: [
|
|
5951
|
-
appIdentity ? /* @__PURE__ */
|
|
6212
|
+
appIdentity ? /* @__PURE__ */ jsx53(
|
|
5952
6213
|
"button",
|
|
5953
6214
|
{
|
|
5954
6215
|
type: "button",
|
|
@@ -5964,15 +6225,15 @@ var ScArtifaxSidebar = ({
|
|
|
5964
6225
|
className: ScArtifaxSidebar_default.profileMain,
|
|
5965
6226
|
onClick: profile.onClick,
|
|
5966
6227
|
children: [
|
|
5967
|
-
/* @__PURE__ */
|
|
6228
|
+
/* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar }),
|
|
5968
6229
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.profileInfo, children: [
|
|
5969
|
-
/* @__PURE__ */
|
|
5970
|
-
profile.subtitle ? /* @__PURE__ */
|
|
6230
|
+
/* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileName, children: profile.name }),
|
|
6231
|
+
profile.subtitle ? /* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileSubtitle, children: profile.subtitle }) : null
|
|
5971
6232
|
] })
|
|
5972
6233
|
]
|
|
5973
6234
|
}
|
|
5974
|
-
) : /* @__PURE__ */
|
|
5975
|
-
!hideToggle ? /* @__PURE__ */
|
|
6235
|
+
) : /* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileMain, "aria-hidden": "true" }),
|
|
6236
|
+
!hideToggle ? /* @__PURE__ */ jsx53(
|
|
5976
6237
|
"button",
|
|
5977
6238
|
{
|
|
5978
6239
|
type: "button",
|
|
@@ -5996,7 +6257,7 @@ var ScArtifaxSidebar = ({
|
|
|
5996
6257
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
5997
6258
|
style,
|
|
5998
6259
|
children: [
|
|
5999
|
-
resizable ? /* @__PURE__ */
|
|
6260
|
+
resizable ? /* @__PURE__ */ jsx53(
|
|
6000
6261
|
ScSidebarResizeHandle,
|
|
6001
6262
|
{
|
|
6002
6263
|
expanded: false,
|
|
@@ -6009,15 +6270,15 @@ var ScArtifaxSidebar = ({
|
|
|
6009
6270
|
"data-streamoid-sidebar-card": true,
|
|
6010
6271
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.collapsed,
|
|
6011
6272
|
children: [
|
|
6012
|
-
/* @__PURE__ */
|
|
6273
|
+
/* @__PURE__ */ jsx53("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayCollapsed }),
|
|
6013
6274
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.body + " " + ScArtifaxSidebar_default.bodyCollapsed, children: [
|
|
6014
|
-
collapsedLogo ? /* @__PURE__ */
|
|
6275
|
+
collapsedLogo ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.logoUnitCollapsed, children: collapsedLogo }) : null,
|
|
6015
6276
|
sections.map((section, idx) => /* @__PURE__ */ jsxs42("div", { children: [
|
|
6016
|
-
idx > 0 ? /* @__PURE__ */
|
|
6017
|
-
/* @__PURE__ */
|
|
6277
|
+
idx > 0 ? /* @__PURE__ */ jsx53(ScHDivider, {}) : null,
|
|
6278
|
+
/* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.sectionContainerCollapsed, children: section.items.map((item) => renderMenuItem2(item, section.id)) })
|
|
6018
6279
|
] }, section.id))
|
|
6019
6280
|
] }),
|
|
6020
|
-
creditWarning ? /* @__PURE__ */
|
|
6281
|
+
creditWarning ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx53(
|
|
6021
6282
|
CreditWarningBanner,
|
|
6022
6283
|
{
|
|
6023
6284
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6027,10 +6288,10 @@ var ScArtifaxSidebar = ({
|
|
|
6027
6288
|
expanded: false
|
|
6028
6289
|
}
|
|
6029
6290
|
) }) : null,
|
|
6030
|
-
assistantCta ? /* @__PURE__ */
|
|
6031
|
-
/* @__PURE__ */
|
|
6291
|
+
assistantCta ? /* @__PURE__ */ jsx53(ScAskAgentSlot, { cta: assistantCta, collapsed: true }) : null,
|
|
6292
|
+
/* @__PURE__ */ jsx53(ScHDivider, {}),
|
|
6032
6293
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
|
|
6033
|
-
appIdentity ? /* @__PURE__ */
|
|
6294
|
+
appIdentity ? /* @__PURE__ */ jsx53(
|
|
6034
6295
|
"button",
|
|
6035
6296
|
{
|
|
6036
6297
|
type: "button",
|
|
@@ -6039,17 +6300,17 @@ var ScArtifaxSidebar = ({
|
|
|
6039
6300
|
"aria-label": appIdentity.ariaLabel ?? "Switch apps",
|
|
6040
6301
|
children: appIdentity.content
|
|
6041
6302
|
}
|
|
6042
|
-
) : profile ? /* @__PURE__ */
|
|
6303
|
+
) : profile ? /* @__PURE__ */ jsx53(
|
|
6043
6304
|
"button",
|
|
6044
6305
|
{
|
|
6045
6306
|
type: "button",
|
|
6046
6307
|
className: ScArtifaxSidebar_default.profileRowCollapsed,
|
|
6047
6308
|
onClick: profile.onClick,
|
|
6048
6309
|
"aria-label": profile.name,
|
|
6049
|
-
children: /* @__PURE__ */
|
|
6310
|
+
children: /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar })
|
|
6050
6311
|
}
|
|
6051
6312
|
) : null,
|
|
6052
|
-
!hideToggle ? /* @__PURE__ */
|
|
6313
|
+
!hideToggle ? /* @__PURE__ */ jsx53(
|
|
6053
6314
|
"button",
|
|
6054
6315
|
{
|
|
6055
6316
|
type: "button",
|
|
@@ -6069,7 +6330,7 @@ var ScArtifaxSidebar = ({
|
|
|
6069
6330
|
};
|
|
6070
6331
|
|
|
6071
6332
|
// src/SC-Catalogix-Sidebar/ScCatalogixSidebar.tsx
|
|
6072
|
-
import { useState as
|
|
6333
|
+
import { useState as useState16 } from "react";
|
|
6073
6334
|
|
|
6074
6335
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.module.css
|
|
6075
6336
|
var ScSidebarSwitchMenu_default = {
|
|
@@ -6087,7 +6348,7 @@ var ScSidebarSwitchMenu_default = {
|
|
|
6087
6348
|
};
|
|
6088
6349
|
|
|
6089
6350
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.tsx
|
|
6090
|
-
import { Fragment as Fragment18, jsx as
|
|
6351
|
+
import { Fragment as Fragment18, jsx as jsx54, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6091
6352
|
var ScSidebarSwitchMenu = ({
|
|
6092
6353
|
icon,
|
|
6093
6354
|
state = "default",
|
|
@@ -6106,13 +6367,13 @@ var ScSidebarSwitchMenu = ({
|
|
|
6106
6367
|
className: ScSidebarSwitchMenu_default.scSidebarSwitchMenu + (className ? " " + className : "") + " " + variantsClassName,
|
|
6107
6368
|
...props,
|
|
6108
6369
|
children: [
|
|
6109
|
-
icon ? /* @__PURE__ */
|
|
6370
|
+
icon ? /* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.iconWrapper, children: icon }) : null,
|
|
6110
6371
|
variant === "expanded" && /* @__PURE__ */ jsxs43(Fragment18, { children: [
|
|
6111
6372
|
/* @__PURE__ */ jsxs43("div", { className: ScSidebarSwitchMenu_default.content, children: [
|
|
6112
|
-
/* @__PURE__ */
|
|
6113
|
-
/* @__PURE__ */
|
|
6373
|
+
/* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.text, children: text }),
|
|
6374
|
+
/* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.description, children: description })
|
|
6114
6375
|
] }),
|
|
6115
|
-
moreIcon && /* @__PURE__ */
|
|
6376
|
+
moreIcon && /* @__PURE__ */ jsx54(
|
|
6116
6377
|
"div",
|
|
6117
6378
|
{
|
|
6118
6379
|
className: ScSidebarSwitchMenu_default.moreIconWrapper,
|
|
@@ -6147,7 +6408,7 @@ var ScSideBarLogoUnit_default = {
|
|
|
6147
6408
|
import { SiconDoubleArrow as SiconDoubleArrow2 } from "@streamoid/icons";
|
|
6148
6409
|
|
|
6149
6410
|
// src/SC-SideBarLogoUnit/wordmarks.tsx
|
|
6150
|
-
import { jsx as
|
|
6411
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6151
6412
|
var WORDMARKS = {
|
|
6152
6413
|
"CXO": {
|
|
6153
6414
|
"viewBox": "0 0 56 32",
|
|
@@ -6514,7 +6775,7 @@ function ProductWordmark({
|
|
|
6514
6775
|
}) {
|
|
6515
6776
|
const mark = WORDMARKS[product];
|
|
6516
6777
|
if (!mark) return null;
|
|
6517
|
-
return /* @__PURE__ */
|
|
6778
|
+
return /* @__PURE__ */ jsx55(
|
|
6518
6779
|
"svg",
|
|
6519
6780
|
{
|
|
6520
6781
|
viewBox: mark.viewBox,
|
|
@@ -6525,7 +6786,7 @@ function ProductWordmark({
|
|
|
6525
6786
|
role: "img",
|
|
6526
6787
|
"aria-label": product,
|
|
6527
6788
|
style: { ...MARK_STYLE, ...style },
|
|
6528
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
6789
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx55(
|
|
6529
6790
|
"path",
|
|
6530
6791
|
{
|
|
6531
6792
|
d: p.d,
|
|
@@ -6544,7 +6805,7 @@ function ProductCollapsedMark({
|
|
|
6544
6805
|
}) {
|
|
6545
6806
|
const mark = COLLAPSED_MARKS[product];
|
|
6546
6807
|
if (!mark) return null;
|
|
6547
|
-
return /* @__PURE__ */
|
|
6808
|
+
return /* @__PURE__ */ jsx55(
|
|
6548
6809
|
"svg",
|
|
6549
6810
|
{
|
|
6550
6811
|
viewBox: mark.viewBox,
|
|
@@ -6555,7 +6816,7 @@ function ProductCollapsedMark({
|
|
|
6555
6816
|
role: "img",
|
|
6556
6817
|
"aria-label": product,
|
|
6557
6818
|
style: { ...MARK_STYLE, ...style },
|
|
6558
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
6819
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx55(
|
|
6559
6820
|
"path",
|
|
6560
6821
|
{
|
|
6561
6822
|
d: p.d,
|
|
@@ -6573,7 +6834,7 @@ function hasCollapsedMark(product) {
|
|
|
6573
6834
|
}
|
|
6574
6835
|
|
|
6575
6836
|
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.tsx
|
|
6576
|
-
import { jsx as
|
|
6837
|
+
import { jsx as jsx56, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6577
6838
|
var ScSideBarLogoUnit = ({
|
|
6578
6839
|
state = "expanded",
|
|
6579
6840
|
wordmark,
|
|
@@ -6588,8 +6849,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6588
6849
|
style
|
|
6589
6850
|
}) => {
|
|
6590
6851
|
const interactive = !disabled && (!!onClick || !!onSwitchClick);
|
|
6591
|
-
const expandedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
6592
|
-
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
6852
|
+
const expandedMark = wordmark ?? (product ? /* @__PURE__ */ jsx56(ProductWordmark, { product }) : null);
|
|
6853
|
+
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */ jsx56(ProductCollapsedMark, { product }) : null);
|
|
6593
6854
|
const handleClick = () => {
|
|
6594
6855
|
if (!interactive) return;
|
|
6595
6856
|
onClick?.();
|
|
@@ -6601,7 +6862,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6601
6862
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6602
6863
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6603
6864
|
].filter(Boolean).join(" ");
|
|
6604
|
-
return /* @__PURE__ */
|
|
6865
|
+
return /* @__PURE__ */ jsx56(
|
|
6605
6866
|
"div",
|
|
6606
6867
|
{
|
|
6607
6868
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + " " + ScSideBarLogoUnit_default.collapsed + (className ? " " + className : ""),
|
|
@@ -6617,8 +6878,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6617
6878
|
"aria-disabled": !interactive || disabled,
|
|
6618
6879
|
style: hover === false ? { backgroundColor: "transparent" } : void 0,
|
|
6619
6880
|
children: [
|
|
6620
|
-
/* @__PURE__ */
|
|
6621
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
6881
|
+
/* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.collapsedWordmarkSlot, children: collapsedMark }),
|
|
6882
|
+
hideSwitch ? null : /* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.switch, children: /* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ jsx56(SiconDoubleArrow2, { size: 16, strokeWidth: 1.5 }) }) })
|
|
6622
6883
|
]
|
|
6623
6884
|
}
|
|
6624
6885
|
)
|
|
@@ -6630,7 +6891,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6630
6891
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6631
6892
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6632
6893
|
].filter(Boolean).join(" ");
|
|
6633
|
-
return /* @__PURE__ */
|
|
6894
|
+
return /* @__PURE__ */ jsx56(
|
|
6634
6895
|
"div",
|
|
6635
6896
|
{
|
|
6636
6897
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + (className ? " " + className : ""),
|
|
@@ -6652,8 +6913,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6652
6913
|
backgroundColor: "transparent"
|
|
6653
6914
|
} : void 0,
|
|
6654
6915
|
children: [
|
|
6655
|
-
/* @__PURE__ */
|
|
6656
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
6916
|
+
/* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.wordmarkSlot, children: expandedMark }),
|
|
6917
|
+
hideSwitch ? null : /* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.switch, children: /* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ jsx56(SiconDoubleArrow2, { size: 16, strokeWidth: 1.5 }) }) })
|
|
6657
6918
|
]
|
|
6658
6919
|
}
|
|
6659
6920
|
)
|
|
@@ -6669,7 +6930,7 @@ import {
|
|
|
6669
6930
|
SiconExpand,
|
|
6670
6931
|
SiconInsights
|
|
6671
6932
|
} from "@streamoid/icons";
|
|
6672
|
-
import { jsx as
|
|
6933
|
+
import { jsx as jsx57, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6673
6934
|
var PRIMARY_COLOR = "var(--alias-text---icons-primary)";
|
|
6674
6935
|
var TERTIARY_COLOR = "var(--alias-text---icons-tertiary)";
|
|
6675
6936
|
var DEFAULT_ITEMS = [
|
|
@@ -6678,9 +6939,9 @@ var DEFAULT_ITEMS = [
|
|
|
6678
6939
|
{ id: "insights", label: "Insights", iconKey: "insights" }
|
|
6679
6940
|
];
|
|
6680
6941
|
var DEFAULT_ICON_MAP = {
|
|
6681
|
-
stores: ({ active }) => /* @__PURE__ */
|
|
6682
|
-
aiTraining: ({ active }) => /* @__PURE__ */
|
|
6683
|
-
insights: ({ active }) => /* @__PURE__ */
|
|
6942
|
+
stores: ({ active }) => /* @__PURE__ */ jsx57(SiconBag, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
6943
|
+
aiTraining: ({ active }) => /* @__PURE__ */ jsx57(SiconBrain, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
6944
|
+
insights: ({ active }) => /* @__PURE__ */ jsx57(SiconInsights, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR })
|
|
6684
6945
|
};
|
|
6685
6946
|
function resolveIcon3(iconMap, item, active, expanded) {
|
|
6686
6947
|
const renderer = iconMap[item.iconKey];
|
|
@@ -6693,7 +6954,7 @@ function resolveIcon3(iconMap, item, active, expanded) {
|
|
|
6693
6954
|
function resolveToggleIcon3(toggleIcon, expanded) {
|
|
6694
6955
|
if (toggleIcon == null) {
|
|
6695
6956
|
const Icon = expanded ? SiconCollapse4 : SiconExpand;
|
|
6696
|
-
return /* @__PURE__ */
|
|
6957
|
+
return /* @__PURE__ */ jsx57(Icon, { className: "size-6", color: "var(--alias-text---icons-muted)" });
|
|
6697
6958
|
}
|
|
6698
6959
|
if (typeof toggleIcon === "function") {
|
|
6699
6960
|
return toggleIcon(expanded);
|
|
@@ -6717,12 +6978,12 @@ var ScCatalogixSidebar = ({
|
|
|
6717
6978
|
className,
|
|
6718
6979
|
style
|
|
6719
6980
|
}) => {
|
|
6720
|
-
const [appListOpen, setAppListOpen] =
|
|
6981
|
+
const [appListOpen, setAppListOpen] = useState16(false);
|
|
6721
6982
|
const handleSwitch = () => {
|
|
6722
6983
|
setAppListOpen((prev) => !prev);
|
|
6723
6984
|
onLogoClick?.();
|
|
6724
6985
|
};
|
|
6725
|
-
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
6986
|
+
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx57(
|
|
6726
6987
|
"div",
|
|
6727
6988
|
{
|
|
6728
6989
|
className: "flex w-full flex-col items-stretch",
|
|
@@ -6731,7 +6992,7 @@ var ScCatalogixSidebar = ({
|
|
|
6731
6992
|
paddingTop: "var(--spacing-sm)",
|
|
6732
6993
|
paddingBottom: "var(--spacing-md)"
|
|
6733
6994
|
},
|
|
6734
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
6995
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx57(
|
|
6735
6996
|
ScSidebarSwitchMenu,
|
|
6736
6997
|
{
|
|
6737
6998
|
icon: app.icon,
|
|
@@ -6745,7 +7006,7 @@ var ScCatalogixSidebar = ({
|
|
|
6745
7006
|
))
|
|
6746
7007
|
}
|
|
6747
7008
|
) : void 0;
|
|
6748
|
-
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
7009
|
+
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx57(
|
|
6749
7010
|
"div",
|
|
6750
7011
|
{
|
|
6751
7012
|
className: "flex shrink-0 flex-col items-center",
|
|
@@ -6753,7 +7014,7 @@ var ScCatalogixSidebar = ({
|
|
|
6753
7014
|
gap: "var(--spacing-xxs)",
|
|
6754
7015
|
paddingBottom: "var(--spacing-xxs)"
|
|
6755
7016
|
},
|
|
6756
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
7017
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx57(
|
|
6757
7018
|
ScSidebarSwitchMenu,
|
|
6758
7019
|
{
|
|
6759
7020
|
icon: app.icon,
|
|
@@ -6765,7 +7026,7 @@ var ScCatalogixSidebar = ({
|
|
|
6765
7026
|
))
|
|
6766
7027
|
}
|
|
6767
7028
|
) : null;
|
|
6768
|
-
const navItems = /* @__PURE__ */
|
|
7029
|
+
const navItems = /* @__PURE__ */ jsx57(
|
|
6769
7030
|
"div",
|
|
6770
7031
|
{
|
|
6771
7032
|
className: expanded ? "flex w-full shrink-0 flex-col items-stretch" : "flex shrink-0 flex-col items-center",
|
|
@@ -6776,7 +7037,7 @@ var ScCatalogixSidebar = ({
|
|
|
6776
7037
|
},
|
|
6777
7038
|
children: items.map((item) => {
|
|
6778
7039
|
const active = item.id === activeItemId;
|
|
6779
|
-
return /* @__PURE__ */
|
|
7040
|
+
return /* @__PURE__ */ jsx57(
|
|
6780
7041
|
ScSidebarMenu,
|
|
6781
7042
|
{
|
|
6782
7043
|
icon: resolveIcon3(iconMap, item, active, expanded),
|
|
@@ -6796,12 +7057,12 @@ var ScCatalogixSidebar = ({
|
|
|
6796
7057
|
className: expanded ? "flex h-full min-h-0 flex-col" : "flex w-full flex-col items-center",
|
|
6797
7058
|
children: [
|
|
6798
7059
|
collapsedSwitchList,
|
|
6799
|
-
/* @__PURE__ */
|
|
7060
|
+
/* @__PURE__ */ jsx57(ScHDivider, {}),
|
|
6800
7061
|
navItems
|
|
6801
7062
|
]
|
|
6802
7063
|
}
|
|
6803
7064
|
);
|
|
6804
|
-
const defaultExpandedLogo = /* @__PURE__ */
|
|
7065
|
+
const defaultExpandedLogo = /* @__PURE__ */ jsx57(
|
|
6805
7066
|
ScSideBarLogoUnit,
|
|
6806
7067
|
{
|
|
6807
7068
|
product: "Catalogix",
|
|
@@ -6810,7 +7071,7 @@ var ScCatalogixSidebar = ({
|
|
|
6810
7071
|
style: { paddingBottom: 0 }
|
|
6811
7072
|
}
|
|
6812
7073
|
);
|
|
6813
|
-
const defaultCollapsedLogo = /* @__PURE__ */
|
|
7074
|
+
const defaultCollapsedLogo = /* @__PURE__ */ jsx57(
|
|
6814
7075
|
ScSideBarLogoUnit,
|
|
6815
7076
|
{
|
|
6816
7077
|
state: "collapsed",
|
|
@@ -6819,7 +7080,7 @@ var ScCatalogixSidebar = ({
|
|
|
6819
7080
|
hover: appListOpen ? true : void 0
|
|
6820
7081
|
}
|
|
6821
7082
|
);
|
|
6822
|
-
return /* @__PURE__ */
|
|
7083
|
+
return /* @__PURE__ */ jsx57(
|
|
6823
7084
|
StreamoidSidebar,
|
|
6824
7085
|
{
|
|
6825
7086
|
expanded,
|
|
@@ -6837,7 +7098,7 @@ var ScCatalogixSidebar = ({
|
|
|
6837
7098
|
toggleInProfile: true,
|
|
6838
7099
|
versionText: "",
|
|
6839
7100
|
toggleIcon: (exp) => resolveToggleIcon3(toggleIcon, exp),
|
|
6840
|
-
preFooterContent: creditWarning ? /* @__PURE__ */
|
|
7101
|
+
preFooterContent: creditWarning ? /* @__PURE__ */ jsx57(
|
|
6841
7102
|
CreditWarningBanner,
|
|
6842
7103
|
{
|
|
6843
7104
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6871,7 +7132,7 @@ var ScGuide_default = {
|
|
|
6871
7132
|
|
|
6872
7133
|
// src/SC-Guide/ScGuide.tsx
|
|
6873
7134
|
import { SiconRight as SiconRight4 } from "@streamoid/icons";
|
|
6874
|
-
import { jsx as
|
|
7135
|
+
import { jsx as jsx58, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6875
7136
|
var ScGuide = ({
|
|
6876
7137
|
title = "Title",
|
|
6877
7138
|
description = "Description",
|
|
@@ -6894,12 +7155,12 @@ var ScGuide = ({
|
|
|
6894
7155
|
style,
|
|
6895
7156
|
children: [
|
|
6896
7157
|
/* @__PURE__ */ jsxs46("div", { className: ScGuide_default.header, children: [
|
|
6897
|
-
/* @__PURE__ */
|
|
6898
|
-
/* @__PURE__ */
|
|
7158
|
+
/* @__PURE__ */ jsx58("p", { className: ScGuide_default.title, children: title }),
|
|
7159
|
+
/* @__PURE__ */ jsx58("p", { className: ScGuide_default.description, children: description })
|
|
6899
7160
|
] }),
|
|
6900
|
-
/* @__PURE__ */
|
|
7161
|
+
/* @__PURE__ */ jsx58(ScHDivider, {}),
|
|
6901
7162
|
/* @__PURE__ */ jsxs46("div", { className: ScGuide_default.actions, children: [
|
|
6902
|
-
hideSkip ? /* @__PURE__ */
|
|
7163
|
+
hideSkip ? /* @__PURE__ */ jsx58("span", { className: ScGuide_default.skipSpacer, "aria-hidden": "true", children: skipLabel }) : /* @__PURE__ */ jsx58(
|
|
6903
7164
|
"button",
|
|
6904
7165
|
{
|
|
6905
7166
|
type: "button",
|
|
@@ -6909,7 +7170,7 @@ var ScGuide = ({
|
|
|
6909
7170
|
children: skipLabel
|
|
6910
7171
|
}
|
|
6911
7172
|
),
|
|
6912
|
-
stepLabel != null && /* @__PURE__ */
|
|
7173
|
+
stepLabel != null && /* @__PURE__ */ jsx58("span", { className: ScGuide_default.stepIndicator, children: stepLabel }),
|
|
6913
7174
|
!hideNext && /* @__PURE__ */ jsxs46(
|
|
6914
7175
|
"button",
|
|
6915
7176
|
{
|
|
@@ -6918,8 +7179,8 @@ var ScGuide = ({
|
|
|
6918
7179
|
onClick: onNext,
|
|
6919
7180
|
disabled,
|
|
6920
7181
|
children: [
|
|
6921
|
-
/* @__PURE__ */
|
|
6922
|
-
/* @__PURE__ */
|
|
7182
|
+
/* @__PURE__ */ jsx58("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
7183
|
+
/* @__PURE__ */ jsx58("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ jsx58(SiconRight4, { size: 16, strokeWidth: 1.5 }) })
|
|
6923
7184
|
]
|
|
6924
7185
|
}
|
|
6925
7186
|
)
|
|
@@ -6939,23 +7200,23 @@ var ScSlider_default = {
|
|
|
6939
7200
|
};
|
|
6940
7201
|
|
|
6941
7202
|
// src/SC-Slider/ScSlider.tsx
|
|
6942
|
-
import { jsx as
|
|
7203
|
+
import { jsx as jsx59, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6943
7204
|
var ScSlider = ({
|
|
6944
7205
|
className,
|
|
6945
7206
|
onValueChange,
|
|
6946
7207
|
...props
|
|
6947
7208
|
}) => {
|
|
6948
7209
|
return /* @__PURE__ */ jsxs47("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
6949
|
-
/* @__PURE__ */
|
|
6950
|
-
/* @__PURE__ */
|
|
6951
|
-
/* @__PURE__ */
|
|
6952
|
-
/* @__PURE__ */
|
|
6953
|
-
/* @__PURE__ */
|
|
6954
|
-
/* @__PURE__ */
|
|
6955
|
-
/* @__PURE__ */
|
|
6956
|
-
/* @__PURE__ */
|
|
6957
|
-
/* @__PURE__ */
|
|
6958
|
-
/* @__PURE__ */
|
|
7210
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar }),
|
|
7211
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot }),
|
|
7212
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7213
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7214
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7215
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7216
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7217
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7218
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7219
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 })
|
|
6959
7220
|
] });
|
|
6960
7221
|
};
|
|
6961
7222
|
|
|
@@ -6967,7 +7228,7 @@ import {
|
|
|
6967
7228
|
SiconCrown,
|
|
6968
7229
|
SiconSwitch
|
|
6969
7230
|
} from "@streamoid/icons";
|
|
6970
|
-
import { jsx as
|
|
7231
|
+
import { jsx as jsx60, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6971
7232
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
6972
7233
|
function deriveInitials(name) {
|
|
6973
7234
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -6995,7 +7256,7 @@ function WorkspaceRow({
|
|
|
6995
7256
|
backdropFilter: "blur(4px)"
|
|
6996
7257
|
},
|
|
6997
7258
|
children: [
|
|
6998
|
-
/* @__PURE__ */
|
|
7259
|
+
/* @__PURE__ */ jsx60(
|
|
6999
7260
|
"div",
|
|
7000
7261
|
{
|
|
7001
7262
|
"aria-hidden": "true",
|
|
@@ -7006,7 +7267,7 @@ function WorkspaceRow({
|
|
|
7006
7267
|
}
|
|
7007
7268
|
}
|
|
7008
7269
|
),
|
|
7009
|
-
/* @__PURE__ */
|
|
7270
|
+
/* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs48(
|
|
7010
7271
|
"div",
|
|
7011
7272
|
{
|
|
7012
7273
|
className: "flex items-center w-full",
|
|
@@ -7021,14 +7282,14 @@ function WorkspaceRow({
|
|
|
7021
7282
|
className: "flex flex-1 items-center min-w-0",
|
|
7022
7283
|
style: { gap: "var(--spacing-xl)" },
|
|
7023
7284
|
children: [
|
|
7024
|
-
/* @__PURE__ */
|
|
7285
|
+
/* @__PURE__ */ jsx60(
|
|
7025
7286
|
ScIntialProfileCover,
|
|
7026
7287
|
{
|
|
7027
7288
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
7028
7289
|
className: "shrink-0"
|
|
7029
7290
|
}
|
|
7030
7291
|
),
|
|
7031
|
-
/* @__PURE__ */
|
|
7292
|
+
/* @__PURE__ */ jsx60(
|
|
7032
7293
|
"p",
|
|
7033
7294
|
{
|
|
7034
7295
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -7057,7 +7318,7 @@ function WorkspaceRow({
|
|
|
7057
7318
|
padding: "0 var(--spacing-3xl)"
|
|
7058
7319
|
},
|
|
7059
7320
|
children: [
|
|
7060
|
-
/* @__PURE__ */
|
|
7321
|
+
/* @__PURE__ */ jsx60(
|
|
7061
7322
|
ScRole,
|
|
7062
7323
|
{
|
|
7063
7324
|
type: normalizeRole(workspace.role),
|
|
@@ -7065,22 +7326,22 @@ function WorkspaceRow({
|
|
|
7065
7326
|
style: { width: 80 }
|
|
7066
7327
|
}
|
|
7067
7328
|
),
|
|
7068
|
-
/* @__PURE__ */
|
|
7329
|
+
/* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs48(
|
|
7069
7330
|
"div",
|
|
7070
7331
|
{
|
|
7071
7332
|
className: "flex items-center shrink-0",
|
|
7072
7333
|
style: { gap: "var(--spacing-3xl)" },
|
|
7073
7334
|
children: [
|
|
7074
|
-
/* @__PURE__ */
|
|
7335
|
+
/* @__PURE__ */ jsx60("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx60(
|
|
7075
7336
|
ScPairtext,
|
|
7076
7337
|
{
|
|
7077
|
-
icon: /* @__PURE__ */
|
|
7338
|
+
icon: /* @__PURE__ */ jsx60(SiconTeam5, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
7078
7339
|
content: workspace.userCount || "\u2013",
|
|
7079
7340
|
iconPosition: "left",
|
|
7080
7341
|
type: "icon"
|
|
7081
7342
|
}
|
|
7082
7343
|
) }),
|
|
7083
|
-
/* @__PURE__ */
|
|
7344
|
+
/* @__PURE__ */ jsx60(ScVDivider, {}),
|
|
7084
7345
|
/* @__PURE__ */ jsxs48(
|
|
7085
7346
|
"div",
|
|
7086
7347
|
{
|
|
@@ -7091,14 +7352,14 @@ function WorkspaceRow({
|
|
|
7091
7352
|
gap: "var(--spacing-md)"
|
|
7092
7353
|
},
|
|
7093
7354
|
children: [
|
|
7094
|
-
/* @__PURE__ */
|
|
7355
|
+
/* @__PURE__ */ jsx60(
|
|
7095
7356
|
SiconCrown,
|
|
7096
7357
|
{
|
|
7097
7358
|
className: "w-6 h-6 shrink-0",
|
|
7098
7359
|
color: PRIMARY_ICON
|
|
7099
7360
|
}
|
|
7100
7361
|
),
|
|
7101
|
-
/* @__PURE__ */
|
|
7362
|
+
/* @__PURE__ */ jsx60(
|
|
7102
7363
|
"span",
|
|
7103
7364
|
{
|
|
7104
7365
|
className: "truncate",
|
|
@@ -7120,7 +7381,7 @@ function WorkspaceRow({
|
|
|
7120
7381
|
]
|
|
7121
7382
|
}
|
|
7122
7383
|
),
|
|
7123
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
7384
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx60(
|
|
7124
7385
|
ScButton,
|
|
7125
7386
|
{
|
|
7126
7387
|
text: currentWorkspaceText,
|
|
@@ -7129,14 +7390,14 @@ function WorkspaceRow({
|
|
|
7129
7390
|
size: "lg",
|
|
7130
7391
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
7131
7392
|
}
|
|
7132
|
-
) : /* @__PURE__ */
|
|
7393
|
+
) : /* @__PURE__ */ jsx60(
|
|
7133
7394
|
ScButton,
|
|
7134
7395
|
{
|
|
7135
7396
|
text: switchWorkspaceText,
|
|
7136
7397
|
variant: "secondary",
|
|
7137
7398
|
size: "lg",
|
|
7138
7399
|
styleVariant: "icon-left",
|
|
7139
|
-
icon: /* @__PURE__ */
|
|
7400
|
+
icon: /* @__PURE__ */ jsx60(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
7140
7401
|
style: { width: 200, flexShrink: 0 },
|
|
7141
7402
|
onClick: onSwitch
|
|
7142
7403
|
}
|
|
@@ -7170,7 +7431,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7170
7431
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
7171
7432
|
}, [open, onClose]);
|
|
7172
7433
|
if (!open) return null;
|
|
7173
|
-
return /* @__PURE__ */
|
|
7434
|
+
return /* @__PURE__ */ jsx60(
|
|
7174
7435
|
"div",
|
|
7175
7436
|
{
|
|
7176
7437
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -7191,14 +7452,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7191
7452
|
height: "60vh"
|
|
7192
7453
|
},
|
|
7193
7454
|
children: [
|
|
7194
|
-
/* @__PURE__ */
|
|
7455
|
+
/* @__PURE__ */ jsx60(
|
|
7195
7456
|
"div",
|
|
7196
7457
|
{
|
|
7197
7458
|
className: "shrink-0 w-full relative",
|
|
7198
7459
|
style: {
|
|
7199
7460
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
7200
7461
|
},
|
|
7201
|
-
children: /* @__PURE__ */
|
|
7462
|
+
children: /* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs48(
|
|
7202
7463
|
"div",
|
|
7203
7464
|
{
|
|
7204
7465
|
className: "flex items-center w-full",
|
|
@@ -7207,7 +7468,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7207
7468
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
7208
7469
|
},
|
|
7209
7470
|
children: [
|
|
7210
|
-
/* @__PURE__ */
|
|
7471
|
+
/* @__PURE__ */ jsx60(
|
|
7211
7472
|
"p",
|
|
7212
7473
|
{
|
|
7213
7474
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -7221,13 +7482,13 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7221
7482
|
children: title
|
|
7222
7483
|
}
|
|
7223
7484
|
),
|
|
7224
|
-
/* @__PURE__ */
|
|
7485
|
+
/* @__PURE__ */ jsx60("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx60(SiconClose3, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
7225
7486
|
]
|
|
7226
7487
|
}
|
|
7227
7488
|
) })
|
|
7228
7489
|
}
|
|
7229
7490
|
),
|
|
7230
|
-
/* @__PURE__ */
|
|
7491
|
+
/* @__PURE__ */ jsx60(
|
|
7231
7492
|
"div",
|
|
7232
7493
|
{
|
|
7233
7494
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
@@ -7243,7 +7504,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7243
7504
|
gap: "var(--spacing-3xl)"
|
|
7244
7505
|
},
|
|
7245
7506
|
children: [
|
|
7246
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
7507
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx60(
|
|
7247
7508
|
"p",
|
|
7248
7509
|
{
|
|
7249
7510
|
style: {
|
|
@@ -7254,7 +7515,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7254
7515
|
children: loadingText
|
|
7255
7516
|
}
|
|
7256
7517
|
) : null,
|
|
7257
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
7518
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx60(
|
|
7258
7519
|
WorkspaceRow,
|
|
7259
7520
|
{
|
|
7260
7521
|
workspace: ws,
|
|
@@ -7293,9 +7554,9 @@ var ScAppListingCard_default = {
|
|
|
7293
7554
|
|
|
7294
7555
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
7295
7556
|
import { SiconCart } from "@streamoid/icons";
|
|
7296
|
-
import { jsx as
|
|
7557
|
+
import { jsx as jsx61, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7297
7558
|
var ScAppListingCard = ({
|
|
7298
|
-
icon = /* @__PURE__ */
|
|
7559
|
+
icon = /* @__PURE__ */ jsx61(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
7299
7560
|
title = "Stores",
|
|
7300
7561
|
descrp = "Centralized product and asset management for every storefront",
|
|
7301
7562
|
className,
|
|
@@ -7303,7 +7564,7 @@ var ScAppListingCard = ({
|
|
|
7303
7564
|
}) => {
|
|
7304
7565
|
return /* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
7305
7566
|
/* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.header, children: [
|
|
7306
|
-
/* @__PURE__ */
|
|
7567
|
+
/* @__PURE__ */ jsx61("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
7307
7568
|
/* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.title, children: [
|
|
7308
7569
|
title,
|
|
7309
7570
|
" "
|
|
@@ -7327,16 +7588,16 @@ var ScAppCard_default = {
|
|
|
7327
7588
|
|
|
7328
7589
|
// src/SC-appCard/ScAppCard.tsx
|
|
7329
7590
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
7330
|
-
import { jsx as
|
|
7591
|
+
import { jsx as jsx62, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7331
7592
|
var ScAppCard = ({
|
|
7332
|
-
appIcon = /* @__PURE__ */
|
|
7593
|
+
appIcon = /* @__PURE__ */ jsx62(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
7333
7594
|
appName = "Artifax",
|
|
7334
7595
|
appDescription = "Info about artifax",
|
|
7335
7596
|
className,
|
|
7336
7597
|
...props
|
|
7337
7598
|
}) => {
|
|
7338
7599
|
return /* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
7339
|
-
/* @__PURE__ */
|
|
7600
|
+
/* @__PURE__ */ jsx62("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
7340
7601
|
/* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.textContainer, children: [
|
|
7341
7602
|
/* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.title, children: [
|
|
7342
7603
|
appName,
|
|
@@ -7369,9 +7630,9 @@ var ScAppCardV3_default = {
|
|
|
7369
7630
|
|
|
7370
7631
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
7371
7632
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
7372
|
-
import { jsx as
|
|
7633
|
+
import { jsx as jsx63, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7373
7634
|
var ScAppCardV3 = ({
|
|
7374
|
-
appIcon = /* @__PURE__ */
|
|
7635
|
+
appIcon = /* @__PURE__ */ jsx63(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
7375
7636
|
appName = "Stores",
|
|
7376
7637
|
description = "Centralized product and asset management for every storefront",
|
|
7377
7638
|
active = false,
|
|
@@ -7383,25 +7644,25 @@ var ScAppCardV3 = ({
|
|
|
7383
7644
|
ScAppCardV3_default.scAppCardV3,
|
|
7384
7645
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
7385
7646
|
].filter(Boolean).join(" ");
|
|
7386
|
-
return /* @__PURE__ */
|
|
7647
|
+
return /* @__PURE__ */ jsx63(
|
|
7387
7648
|
"div",
|
|
7388
7649
|
{
|
|
7389
7650
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7390
7651
|
style,
|
|
7391
7652
|
...props,
|
|
7392
7653
|
children: /* @__PURE__ */ jsxs51("div", { className: cardClass, children: [
|
|
7393
|
-
/* @__PURE__ */
|
|
7394
|
-
/* @__PURE__ */
|
|
7654
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.glow }),
|
|
7655
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.glowHover }),
|
|
7395
7656
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.header, children: [
|
|
7396
7657
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
7397
|
-
/* @__PURE__ */
|
|
7658
|
+
/* @__PURE__ */ jsx63("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
7398
7659
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
7399
|
-
/* @__PURE__ */
|
|
7400
|
-
/* @__PURE__ */
|
|
7401
|
-
/* @__PURE__ */
|
|
7660
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
7661
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
7662
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
7402
7663
|
] })
|
|
7403
7664
|
] }),
|
|
7404
|
-
/* @__PURE__ */
|
|
7665
|
+
/* @__PURE__ */ jsx63("p", { className: ScAppCardV3_default.description, children: description })
|
|
7405
7666
|
] })
|
|
7406
7667
|
] })
|
|
7407
7668
|
}
|
|
@@ -7420,7 +7681,7 @@ var ScBriefCard_default = {
|
|
|
7420
7681
|
};
|
|
7421
7682
|
|
|
7422
7683
|
// src/SC-BriefCard/ScBriefCard.tsx
|
|
7423
|
-
import { jsx as
|
|
7684
|
+
import { jsx as jsx64, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7424
7685
|
var ScBriefCard = ({
|
|
7425
7686
|
description = "Centralized product and asset management for every storefront",
|
|
7426
7687
|
active = false,
|
|
@@ -7432,16 +7693,16 @@ var ScBriefCard = ({
|
|
|
7432
7693
|
ScBriefCard_default.scBriefCard,
|
|
7433
7694
|
active ? ScBriefCard_default.scBriefCardActive : ""
|
|
7434
7695
|
].filter(Boolean).join(" ");
|
|
7435
|
-
return /* @__PURE__ */
|
|
7696
|
+
return /* @__PURE__ */ jsx64(
|
|
7436
7697
|
"div",
|
|
7437
7698
|
{
|
|
7438
7699
|
className: [ScBriefCard_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7439
7700
|
style,
|
|
7440
7701
|
...props,
|
|
7441
7702
|
children: /* @__PURE__ */ jsxs52("div", { className: cardClass, children: [
|
|
7442
|
-
/* @__PURE__ */
|
|
7443
|
-
/* @__PURE__ */
|
|
7444
|
-
/* @__PURE__ */
|
|
7703
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.glow }),
|
|
7704
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.glowHover }),
|
|
7705
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.body, children: /* @__PURE__ */ jsx64("p", { className: ScBriefCard_default.description, children: description }) })
|
|
7445
7706
|
] })
|
|
7446
7707
|
}
|
|
7447
7708
|
);
|
|
@@ -7478,7 +7739,7 @@ var ScToggleSwitch_default = {
|
|
|
7478
7739
|
};
|
|
7479
7740
|
|
|
7480
7741
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
7481
|
-
import { jsx as
|
|
7742
|
+
import { jsx as jsx65, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7482
7743
|
var ScToggleSwitch = ({
|
|
7483
7744
|
active = "false",
|
|
7484
7745
|
checked,
|
|
@@ -7489,7 +7750,7 @@ var ScToggleSwitch = ({
|
|
|
7489
7750
|
}) => {
|
|
7490
7751
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
7491
7752
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
7492
|
-
return /* @__PURE__ */
|
|
7753
|
+
return /* @__PURE__ */ jsx65(
|
|
7493
7754
|
"div",
|
|
7494
7755
|
{
|
|
7495
7756
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -7505,19 +7766,19 @@ var ScToggleSwitch = ({
|
|
|
7505
7766
|
...props.style
|
|
7506
7767
|
},
|
|
7507
7768
|
children: isActive ? /* @__PURE__ */ jsxs53("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7508
|
-
/* @__PURE__ */
|
|
7509
|
-
/* @__PURE__ */
|
|
7769
|
+
/* @__PURE__ */ jsx65("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
7770
|
+
/* @__PURE__ */ jsx65("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
7510
7771
|
] }) : /* @__PURE__ */ jsxs53("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7511
|
-
/* @__PURE__ */
|
|
7512
|
-
/* @__PURE__ */
|
|
7513
|
-
/* @__PURE__ */
|
|
7772
|
+
/* @__PURE__ */ jsx65("path", { d: "M0.25 12.25C0.25 5.62258 5.62258 0.25 12.25 0.25H28.25C34.8774 0.25 40.25 5.62258 40.25 12.25C40.25 18.8774 34.8774 24.25 28.25 24.25H12.25C5.62258 24.25 0.25 18.8774 0.25 12.25Z", fill: "var(--alias-fill-neutral-neutral, #1a1a1a)" }),
|
|
7773
|
+
/* @__PURE__ */ jsx65("path", { d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z", fill: "var(--alias-border-divider, #242424)" }),
|
|
7774
|
+
/* @__PURE__ */ jsx65("path", { d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z", fill: "var(--alias-fill-neutral-neutralactive, #313131)" })
|
|
7514
7775
|
] })
|
|
7515
7776
|
}
|
|
7516
7777
|
);
|
|
7517
7778
|
};
|
|
7518
7779
|
|
|
7519
7780
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
7520
|
-
import { jsx as
|
|
7781
|
+
import { jsx as jsx66, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7521
7782
|
var ScArtifaxInvite = ({
|
|
7522
7783
|
active = "true",
|
|
7523
7784
|
appName = "Artifax",
|
|
@@ -7536,16 +7797,16 @@ var ScArtifaxInvite = ({
|
|
|
7536
7797
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
7537
7798
|
...props,
|
|
7538
7799
|
children: [
|
|
7539
|
-
/* @__PURE__ */
|
|
7800
|
+
/* @__PURE__ */ jsx66(
|
|
7540
7801
|
ScAppCard,
|
|
7541
7802
|
{
|
|
7542
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
7803
|
+
appIcon: appIcon || /* @__PURE__ */ jsx66(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
7543
7804
|
appName,
|
|
7544
7805
|
appDescription,
|
|
7545
7806
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
7546
7807
|
}
|
|
7547
7808
|
),
|
|
7548
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ jsx66(
|
|
7549
7810
|
ScToggleSwitch,
|
|
7550
7811
|
{
|
|
7551
7812
|
checked: isEnabled,
|
|
@@ -7571,12 +7832,12 @@ var ScPhtogenixInvite_default = {
|
|
|
7571
7832
|
|
|
7572
7833
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
7573
7834
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
7574
|
-
import { jsx as
|
|
7835
|
+
import { jsx as jsx67, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7575
7836
|
var ScPhtogenixInvite = ({
|
|
7576
7837
|
active = "true",
|
|
7577
7838
|
scAppCardappDescription = "Info about photogenix",
|
|
7578
7839
|
scAppCardappName = "Photogenix",
|
|
7579
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
7840
|
+
scAppCardappIcon = /* @__PURE__ */ jsx67(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
7580
7841
|
className,
|
|
7581
7842
|
enabled,
|
|
7582
7843
|
onToggle,
|
|
@@ -7589,7 +7850,7 @@ var ScPhtogenixInvite = ({
|
|
|
7589
7850
|
{
|
|
7590
7851
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
7591
7852
|
children: [
|
|
7592
|
-
/* @__PURE__ */
|
|
7853
|
+
/* @__PURE__ */ jsx67(
|
|
7593
7854
|
ScAppCard,
|
|
7594
7855
|
{
|
|
7595
7856
|
appIcon: scAppCardappIcon,
|
|
@@ -7598,7 +7859,7 @@ var ScPhtogenixInvite = ({
|
|
|
7598
7859
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
7599
7860
|
}
|
|
7600
7861
|
),
|
|
7601
|
-
/* @__PURE__ */
|
|
7862
|
+
/* @__PURE__ */ jsx67(
|
|
7602
7863
|
ScToggleSwitch,
|
|
7603
7864
|
{
|
|
7604
7865
|
checked: isEnabled,
|
|
@@ -7648,10 +7909,10 @@ var ScOnlyField_default = {
|
|
|
7648
7909
|
|
|
7649
7910
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
7650
7911
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
7651
|
-
import { jsx as
|
|
7912
|
+
import { jsx as jsx68, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7652
7913
|
var ScOnlyField = ({
|
|
7653
|
-
tfRightIcon = /* @__PURE__ */
|
|
7654
|
-
tfLeftIcon = /* @__PURE__ */
|
|
7914
|
+
tfRightIcon = /* @__PURE__ */ jsx68(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
7915
|
+
tfLeftIcon = /* @__PURE__ */ jsx68(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
7655
7916
|
state = "default",
|
|
7656
7917
|
tfGroup = "icon-right",
|
|
7657
7918
|
labelGroup = "none",
|
|
@@ -7664,14 +7925,14 @@ var ScOnlyField = ({
|
|
|
7664
7925
|
...props
|
|
7665
7926
|
}) => {
|
|
7666
7927
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
7667
|
-
return /* @__PURE__ */
|
|
7928
|
+
return /* @__PURE__ */ jsx68(
|
|
7668
7929
|
"div",
|
|
7669
7930
|
{
|
|
7670
7931
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
7671
7932
|
...props,
|
|
7672
7933
|
children: /* @__PURE__ */ jsxs56("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
7673
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
7674
|
-
/* @__PURE__ */
|
|
7934
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx68("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
7935
|
+
/* @__PURE__ */ jsx68(
|
|
7675
7936
|
"input",
|
|
7676
7937
|
{
|
|
7677
7938
|
className: ScOnlyField_default.inputText,
|
|
@@ -7691,7 +7952,7 @@ var ScOnlyField = ({
|
|
|
7691
7952
|
...inputProps
|
|
7692
7953
|
}
|
|
7693
7954
|
),
|
|
7694
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
7955
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx68("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
7695
7956
|
] })
|
|
7696
7957
|
}
|
|
7697
7958
|
);
|
|
@@ -7699,7 +7960,7 @@ var ScOnlyField = ({
|
|
|
7699
7960
|
|
|
7700
7961
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
7701
7962
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
7702
|
-
import { Fragment as Fragment19, jsx as
|
|
7963
|
+
import { Fragment as Fragment19, jsx as jsx69, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7703
7964
|
var ScCatalogixInvite = ({
|
|
7704
7965
|
active = "false",
|
|
7705
7966
|
appName = "Catalogix",
|
|
@@ -7728,16 +7989,16 @@ var ScCatalogixInvite = ({
|
|
|
7728
7989
|
...props,
|
|
7729
7990
|
children: [
|
|
7730
7991
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
7731
|
-
/* @__PURE__ */
|
|
7992
|
+
/* @__PURE__ */ jsx69(
|
|
7732
7993
|
ScAppCard,
|
|
7733
7994
|
{
|
|
7734
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
7995
|
+
appIcon: appIcon || /* @__PURE__ */ jsx69(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
7735
7996
|
appDescription,
|
|
7736
7997
|
appName,
|
|
7737
7998
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
7738
7999
|
}
|
|
7739
8000
|
),
|
|
7740
|
-
/* @__PURE__ */
|
|
8001
|
+
/* @__PURE__ */ jsx69(
|
|
7741
8002
|
ScToggleSwitch,
|
|
7742
8003
|
{
|
|
7743
8004
|
checked: isEnabled,
|
|
@@ -7746,7 +8007,7 @@ var ScCatalogixInvite = ({
|
|
|
7746
8007
|
}
|
|
7747
8008
|
)
|
|
7748
8009
|
] }),
|
|
7749
|
-
isEnabled && /* @__PURE__ */
|
|
8010
|
+
isEnabled && /* @__PURE__ */ jsx69(Fragment19, { children: /* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
7750
8011
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
7751
8012
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
7752
8013
|
storeAccessTitle,
|
|
@@ -7757,18 +8018,18 @@ var ScCatalogixInvite = ({
|
|
|
7757
8018
|
" "
|
|
7758
8019
|
] })
|
|
7759
8020
|
] }),
|
|
7760
|
-
/* @__PURE__ */
|
|
8021
|
+
/* @__PURE__ */ jsx69(
|
|
7761
8022
|
ScOnlyField,
|
|
7762
8023
|
{
|
|
7763
|
-
tfLeftIcon: /* @__PURE__ */
|
|
7764
|
-
tfRightIcon: /* @__PURE__ */
|
|
8024
|
+
tfLeftIcon: /* @__PURE__ */ jsx69(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
8025
|
+
tfRightIcon: /* @__PURE__ */ jsx69(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
7765
8026
|
placeholderFilled: searchPlaceholder,
|
|
7766
8027
|
value: searchValue,
|
|
7767
8028
|
onInputChange: onSearchChange,
|
|
7768
8029
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
7769
8030
|
}
|
|
7770
8031
|
),
|
|
7771
|
-
/* @__PURE__ */
|
|
8032
|
+
/* @__PURE__ */ jsx69("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx69(
|
|
7772
8033
|
ScPairtext,
|
|
7773
8034
|
{
|
|
7774
8035
|
content: store.name,
|
|
@@ -7779,53 +8040,53 @@ var ScCatalogixInvite = ({
|
|
|
7779
8040
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7780
8041
|
},
|
|
7781
8042
|
store.id
|
|
7782
|
-
)) : /* @__PURE__ */
|
|
8043
|
+
)) : /* @__PURE__ */ jsx69("div", { style: {
|
|
7783
8044
|
padding: "var(--spacing-3xl, 16px)",
|
|
7784
8045
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
7785
8046
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
7786
8047
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
7787
8048
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
7788
8049
|
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(Fragment19, { children: [
|
|
7789
|
-
/* @__PURE__ */
|
|
8050
|
+
/* @__PURE__ */ jsx69(
|
|
7790
8051
|
ScPairtext,
|
|
7791
8052
|
{
|
|
7792
|
-
icon: /* @__PURE__ */
|
|
8053
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7793
8054
|
iconPosition: "right",
|
|
7794
8055
|
type: "checkbox",
|
|
7795
8056
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7796
8057
|
}
|
|
7797
8058
|
),
|
|
7798
|
-
/* @__PURE__ */
|
|
8059
|
+
/* @__PURE__ */ jsx69(
|
|
7799
8060
|
ScPairtext,
|
|
7800
8061
|
{
|
|
7801
|
-
icon: /* @__PURE__ */
|
|
8062
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7802
8063
|
iconPosition: "right",
|
|
7803
8064
|
type: "checkbox",
|
|
7804
8065
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7805
8066
|
}
|
|
7806
8067
|
),
|
|
7807
|
-
/* @__PURE__ */
|
|
8068
|
+
/* @__PURE__ */ jsx69(
|
|
7808
8069
|
ScPairtext,
|
|
7809
8070
|
{
|
|
7810
|
-
icon: /* @__PURE__ */
|
|
8071
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7811
8072
|
iconPosition: "right",
|
|
7812
8073
|
type: "checkbox",
|
|
7813
8074
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7814
8075
|
}
|
|
7815
8076
|
),
|
|
7816
|
-
/* @__PURE__ */
|
|
8077
|
+
/* @__PURE__ */ jsx69(
|
|
7817
8078
|
ScPairtext,
|
|
7818
8079
|
{
|
|
7819
|
-
icon: /* @__PURE__ */
|
|
8080
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7820
8081
|
iconPosition: "right",
|
|
7821
8082
|
type: "checkbox",
|
|
7822
8083
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7823
8084
|
}
|
|
7824
8085
|
),
|
|
7825
|
-
/* @__PURE__ */
|
|
8086
|
+
/* @__PURE__ */ jsx69(
|
|
7826
8087
|
ScPairtext,
|
|
7827
8088
|
{
|
|
7828
|
-
icon: /* @__PURE__ */
|
|
8089
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7829
8090
|
iconPosition: "right",
|
|
7830
8091
|
type: "checkbox",
|
|
7831
8092
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -7839,7 +8100,7 @@ var ScCatalogixInvite = ({
|
|
|
7839
8100
|
};
|
|
7840
8101
|
|
|
7841
8102
|
// src/SC-appField/ScAppField.tsx
|
|
7842
|
-
import { jsx as
|
|
8103
|
+
import { jsx as jsx70, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7843
8104
|
var ScAppField = ({
|
|
7844
8105
|
appFieldTitle = "App permission",
|
|
7845
8106
|
className,
|
|
@@ -7857,12 +8118,12 @@ var ScAppField = ({
|
|
|
7857
8118
|
...props
|
|
7858
8119
|
}) => {
|
|
7859
8120
|
return /* @__PURE__ */ jsxs58("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
7860
|
-
/* @__PURE__ */
|
|
8121
|
+
/* @__PURE__ */ jsx70("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs58("div", { className: ScAppField_default.title, children: [
|
|
7861
8122
|
appFieldTitle,
|
|
7862
8123
|
" "
|
|
7863
8124
|
] }) }),
|
|
7864
8125
|
/* @__PURE__ */ jsxs58("div", { className: ScAppField_default.inputContainer, children: [
|
|
7865
|
-
/* @__PURE__ */
|
|
8126
|
+
/* @__PURE__ */ jsx70(
|
|
7866
8127
|
ScArtifaxInvite,
|
|
7867
8128
|
{
|
|
7868
8129
|
enabled: artifaxEnabled,
|
|
@@ -7870,18 +8131,18 @@ var ScAppField = ({
|
|
|
7870
8131
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
7871
8132
|
}
|
|
7872
8133
|
),
|
|
7873
|
-
/* @__PURE__ */
|
|
8134
|
+
/* @__PURE__ */ jsx70(
|
|
7874
8135
|
ScPhtogenixInvite,
|
|
7875
8136
|
{
|
|
7876
8137
|
enabled: photogenixEnabled,
|
|
7877
8138
|
onToggle: onPhotogenixToggle,
|
|
7878
8139
|
scAppCardappDescription: "Info about photogenix",
|
|
7879
8140
|
scAppCardappName: "Photogenix",
|
|
7880
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
8141
|
+
scAppCardappIcon: /* @__PURE__ */ jsx70(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
7881
8142
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
7882
8143
|
}
|
|
7883
8144
|
),
|
|
7884
|
-
/* @__PURE__ */
|
|
8145
|
+
/* @__PURE__ */ jsx70(
|
|
7885
8146
|
ScCatalogixInvite,
|
|
7886
8147
|
{
|
|
7887
8148
|
enabled: catalogixEnabled,
|
|
@@ -7908,13 +8169,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
7908
8169
|
};
|
|
7909
8170
|
|
|
7910
8171
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
7911
|
-
import { jsx as
|
|
8172
|
+
import { jsx as jsx71, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
7912
8173
|
var ScBillingHistoryHeader = ({
|
|
7913
8174
|
className,
|
|
7914
8175
|
...props
|
|
7915
8176
|
}) => {
|
|
7916
8177
|
return /* @__PURE__ */ jsxs59("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
7917
|
-
/* @__PURE__ */
|
|
8178
|
+
/* @__PURE__ */ jsx71(
|
|
7918
8179
|
ScHeader,
|
|
7919
8180
|
{
|
|
7920
8181
|
text: "Invoice",
|
|
@@ -7922,7 +8183,7 @@ var ScBillingHistoryHeader = ({
|
|
|
7922
8183
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
7923
8184
|
}
|
|
7924
8185
|
),
|
|
7925
|
-
/* @__PURE__ */
|
|
8186
|
+
/* @__PURE__ */ jsx71(
|
|
7926
8187
|
ScHeader,
|
|
7927
8188
|
{
|
|
7928
8189
|
text: "Amount",
|
|
@@ -7930,7 +8191,7 @@ var ScBillingHistoryHeader = ({
|
|
|
7930
8191
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
7931
8192
|
}
|
|
7932
8193
|
),
|
|
7933
|
-
/* @__PURE__ */
|
|
8194
|
+
/* @__PURE__ */ jsx71(
|
|
7934
8195
|
ScHeader,
|
|
7935
8196
|
{
|
|
7936
8197
|
text: "Date",
|
|
@@ -7938,7 +8199,7 @@ var ScBillingHistoryHeader = ({
|
|
|
7938
8199
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
7939
8200
|
}
|
|
7940
8201
|
),
|
|
7941
|
-
/* @__PURE__ */
|
|
8202
|
+
/* @__PURE__ */ jsx71(
|
|
7942
8203
|
ScHeader,
|
|
7943
8204
|
{
|
|
7944
8205
|
text: "Action",
|
|
@@ -7960,7 +8221,7 @@ var ScCheckField_default = {
|
|
|
7960
8221
|
|
|
7961
8222
|
// src/SC-checkField/ScCheckField.tsx
|
|
7962
8223
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
7963
|
-
import { Fragment as Fragment20, jsx as
|
|
8224
|
+
import { Fragment as Fragment20, jsx as jsx72, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7964
8225
|
var ScCheckField = ({
|
|
7965
8226
|
label = "Label",
|
|
7966
8227
|
className,
|
|
@@ -7968,11 +8229,11 @@ var ScCheckField = ({
|
|
|
7968
8229
|
...props
|
|
7969
8230
|
}) => {
|
|
7970
8231
|
return /* @__PURE__ */ jsxs60("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
7971
|
-
/* @__PURE__ */
|
|
8232
|
+
/* @__PURE__ */ jsx72("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs60("div", { className: ScCheckField_default.label, children: [
|
|
7972
8233
|
label,
|
|
7973
8234
|
" "
|
|
7974
8235
|
] }) }),
|
|
7975
|
-
/* @__PURE__ */
|
|
8236
|
+
/* @__PURE__ */ jsx72("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx72(
|
|
7976
8237
|
ScPairtext,
|
|
7977
8238
|
{
|
|
7978
8239
|
content: item.label,
|
|
@@ -7983,18 +8244,18 @@ var ScCheckField = ({
|
|
|
7983
8244
|
},
|
|
7984
8245
|
i
|
|
7985
8246
|
)) : /* @__PURE__ */ jsxs60(Fragment20, { children: [
|
|
7986
|
-
/* @__PURE__ */
|
|
8247
|
+
/* @__PURE__ */ jsx72(
|
|
7987
8248
|
ScPairtext,
|
|
7988
8249
|
{
|
|
7989
|
-
icon: /* @__PURE__ */
|
|
8250
|
+
icon: /* @__PURE__ */ jsx72(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
7990
8251
|
type: "checkbox",
|
|
7991
8252
|
className: ScCheckField_default.scPairtextInstance
|
|
7992
8253
|
}
|
|
7993
8254
|
),
|
|
7994
|
-
/* @__PURE__ */
|
|
8255
|
+
/* @__PURE__ */ jsx72(
|
|
7995
8256
|
ScPairtext,
|
|
7996
8257
|
{
|
|
7997
|
-
icon: /* @__PURE__ */
|
|
8258
|
+
icon: /* @__PURE__ */ jsx72(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
7998
8259
|
type: "checkbox",
|
|
7999
8260
|
className: ScCheckField_default.scPairtextInstance
|
|
8000
8261
|
}
|
|
@@ -8015,9 +8276,9 @@ var ScFieldButton_default = {
|
|
|
8015
8276
|
|
|
8016
8277
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
8017
8278
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
8018
|
-
import { Fragment as Fragment21, jsx as
|
|
8279
|
+
import { Fragment as Fragment21, jsx as jsx73, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8019
8280
|
var ScFieldButton = ({
|
|
8020
|
-
icon = /* @__PURE__ */
|
|
8281
|
+
icon = /* @__PURE__ */ jsx73(SiconHome11, { className: ScFieldButton_default.siconHomeInstance }),
|
|
8021
8282
|
type = "default",
|
|
8022
8283
|
state = "default",
|
|
8023
8284
|
className,
|
|
@@ -8025,18 +8286,18 @@ var ScFieldButton = ({
|
|
|
8025
8286
|
...props
|
|
8026
8287
|
}) => {
|
|
8027
8288
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
8028
|
-
return /* @__PURE__ */
|
|
8289
|
+
return /* @__PURE__ */ jsx73(
|
|
8029
8290
|
"div",
|
|
8030
8291
|
{
|
|
8031
8292
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
8032
8293
|
...props,
|
|
8033
8294
|
children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.container, children: [
|
|
8034
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
8035
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */
|
|
8295
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx73(Fragment21, { children: icon }),
|
|
8296
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx73(Fragment21, { children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.label, children: [
|
|
8036
8297
|
text,
|
|
8037
8298
|
" "
|
|
8038
8299
|
] }) }),
|
|
8039
|
-
type === "icon-left" && /* @__PURE__ */
|
|
8300
|
+
type === "icon-left" && /* @__PURE__ */ jsx73(Fragment21, { children: icon })
|
|
8040
8301
|
] })
|
|
8041
8302
|
}
|
|
8042
8303
|
);
|
|
@@ -8051,16 +8312,16 @@ var ScPendingAction_default = {
|
|
|
8051
8312
|
|
|
8052
8313
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
8053
8314
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
8054
|
-
import { jsx as
|
|
8315
|
+
import { jsx as jsx74, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8055
8316
|
var ScPendingAction = ({
|
|
8056
8317
|
className,
|
|
8057
8318
|
...props
|
|
8058
8319
|
}) => {
|
|
8059
8320
|
return /* @__PURE__ */ jsxs62("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
8060
|
-
/* @__PURE__ */
|
|
8321
|
+
/* @__PURE__ */ jsx74(
|
|
8061
8322
|
ScButton,
|
|
8062
8323
|
{
|
|
8063
|
-
icon: /* @__PURE__ */
|
|
8324
|
+
icon: /* @__PURE__ */ jsx74(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8064
8325
|
text: "Cancel",
|
|
8065
8326
|
variant: "error",
|
|
8066
8327
|
type: "tertiary",
|
|
@@ -8068,11 +8329,11 @@ var ScPendingAction = ({
|
|
|
8068
8329
|
className: ScPendingAction_default.scButtonInstance
|
|
8069
8330
|
}
|
|
8070
8331
|
),
|
|
8071
|
-
/* @__PURE__ */
|
|
8072
|
-
/* @__PURE__ */
|
|
8332
|
+
/* @__PURE__ */ jsx74(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
8333
|
+
/* @__PURE__ */ jsx74(
|
|
8073
8334
|
ScButton,
|
|
8074
8335
|
{
|
|
8075
|
-
icon: /* @__PURE__ */
|
|
8336
|
+
icon: /* @__PURE__ */ jsx74(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8076
8337
|
text: "Resend",
|
|
8077
8338
|
variant: "tertiary",
|
|
8078
8339
|
size: "sm",
|
|
@@ -8096,7 +8357,7 @@ var ScQuickPrompt_default = {
|
|
|
8096
8357
|
|
|
8097
8358
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
8098
8359
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
8099
|
-
import { jsx as
|
|
8360
|
+
import { jsx as jsx75, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8100
8361
|
var ScQuickPrompt = ({
|
|
8101
8362
|
appName = "Photogenix",
|
|
8102
8363
|
heading = "Swap Model and Background",
|
|
@@ -8106,8 +8367,8 @@ var ScQuickPrompt = ({
|
|
|
8106
8367
|
}) => {
|
|
8107
8368
|
return /* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
8108
8369
|
/* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.header, children: [
|
|
8109
|
-
/* @__PURE__ */
|
|
8110
|
-
/* @__PURE__ */
|
|
8370
|
+
/* @__PURE__ */ jsx75("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx75(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
8371
|
+
/* @__PURE__ */ jsx75("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.title, children: [
|
|
8111
8372
|
appName,
|
|
8112
8373
|
" "
|
|
8113
8374
|
] }) })
|
|
@@ -8134,13 +8395,13 @@ var ScReferralTableHeader_default = {
|
|
|
8134
8395
|
};
|
|
8135
8396
|
|
|
8136
8397
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
8137
|
-
import { jsx as
|
|
8398
|
+
import { jsx as jsx76, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8138
8399
|
var ScReferralTableHeader = ({
|
|
8139
8400
|
className,
|
|
8140
8401
|
...props
|
|
8141
8402
|
}) => {
|
|
8142
8403
|
return /* @__PURE__ */ jsxs64("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
8143
|
-
/* @__PURE__ */
|
|
8404
|
+
/* @__PURE__ */ jsx76(
|
|
8144
8405
|
ScHeader,
|
|
8145
8406
|
{
|
|
8146
8407
|
text: "User",
|
|
@@ -8148,7 +8409,7 @@ var ScReferralTableHeader = ({
|
|
|
8148
8409
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
8149
8410
|
}
|
|
8150
8411
|
),
|
|
8151
|
-
/* @__PURE__ */
|
|
8412
|
+
/* @__PURE__ */ jsx76(
|
|
8152
8413
|
ScHeader,
|
|
8153
8414
|
{
|
|
8154
8415
|
text: "Date",
|
|
@@ -8156,7 +8417,7 @@ var ScReferralTableHeader = ({
|
|
|
8156
8417
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
8157
8418
|
}
|
|
8158
8419
|
),
|
|
8159
|
-
/* @__PURE__ */
|
|
8420
|
+
/* @__PURE__ */ jsx76(
|
|
8160
8421
|
ScHeader,
|
|
8161
8422
|
{
|
|
8162
8423
|
text: "Status",
|
|
@@ -8164,7 +8425,7 @@ var ScReferralTableHeader = ({
|
|
|
8164
8425
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
8165
8426
|
}
|
|
8166
8427
|
),
|
|
8167
|
-
/* @__PURE__ */
|
|
8428
|
+
/* @__PURE__ */ jsx76(
|
|
8168
8429
|
ScHeader,
|
|
8169
8430
|
{
|
|
8170
8431
|
text: "Reward",
|
|
@@ -8185,7 +8446,7 @@ var ScReferralTableList_default = {
|
|
|
8185
8446
|
};
|
|
8186
8447
|
|
|
8187
8448
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
8188
|
-
import { jsx as
|
|
8449
|
+
import { jsx as jsx77, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8189
8450
|
var ScReferralTableList = ({
|
|
8190
8451
|
userEmail = "chris@kepler.com",
|
|
8191
8452
|
userName,
|
|
@@ -8196,7 +8457,7 @@ var ScReferralTableList = ({
|
|
|
8196
8457
|
...props
|
|
8197
8458
|
}) => {
|
|
8198
8459
|
return /* @__PURE__ */ jsxs65("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
8199
|
-
/* @__PURE__ */
|
|
8460
|
+
/* @__PURE__ */ jsx77(
|
|
8200
8461
|
ScProfile,
|
|
8201
8462
|
{
|
|
8202
8463
|
subText: userEmail,
|
|
@@ -8208,7 +8469,7 @@ var ScReferralTableList = ({
|
|
|
8208
8469
|
date,
|
|
8209
8470
|
" "
|
|
8210
8471
|
] }),
|
|
8211
|
-
/* @__PURE__ */
|
|
8472
|
+
/* @__PURE__ */ jsx77(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
8212
8473
|
/* @__PURE__ */ jsxs65("div", { className: ScReferralTableList_default.points, children: [
|
|
8213
8474
|
points,
|
|
8214
8475
|
" "
|
|
@@ -8225,33 +8486,33 @@ var ScSettingsNav_default = {
|
|
|
8225
8486
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
8226
8487
|
import { SiconTeam as SiconTeam6 } from "@streamoid/icons";
|
|
8227
8488
|
import { SiconWorkspace as SiconWorkspace2, SiconReferral } from "@streamoid/icons";
|
|
8228
|
-
import { jsx as
|
|
8489
|
+
import { jsx as jsx78, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8229
8490
|
var ScSettingsNav = ({
|
|
8230
8491
|
className,
|
|
8231
8492
|
...props
|
|
8232
8493
|
}) => {
|
|
8233
|
-
return /* @__PURE__ */
|
|
8234
|
-
/* @__PURE__ */
|
|
8494
|
+
return /* @__PURE__ */ jsx78("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs66("div", { className: ScSettingsNav_default.container, children: [
|
|
8495
|
+
/* @__PURE__ */ jsx78(
|
|
8235
8496
|
ScSidebarMenu,
|
|
8236
8497
|
{
|
|
8237
|
-
icon: /* @__PURE__ */
|
|
8498
|
+
icon: /* @__PURE__ */ jsx78(SiconTeam6, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
8238
8499
|
text: "Profile",
|
|
8239
8500
|
state: "active",
|
|
8240
8501
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8241
8502
|
}
|
|
8242
8503
|
),
|
|
8243
|
-
/* @__PURE__ */
|
|
8504
|
+
/* @__PURE__ */ jsx78(
|
|
8244
8505
|
ScSidebarMenu,
|
|
8245
8506
|
{
|
|
8246
|
-
icon: /* @__PURE__ */
|
|
8507
|
+
icon: /* @__PURE__ */ jsx78(SiconWorkspace2, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
8247
8508
|
text: "Workspace",
|
|
8248
8509
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8249
8510
|
}
|
|
8250
8511
|
),
|
|
8251
|
-
/* @__PURE__ */
|
|
8512
|
+
/* @__PURE__ */ jsx78(
|
|
8252
8513
|
ScSidebarMenu,
|
|
8253
8514
|
{
|
|
8254
|
-
icon: /* @__PURE__ */
|
|
8515
|
+
icon: /* @__PURE__ */ jsx78(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
8255
8516
|
text: "Referral",
|
|
8256
8517
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8257
8518
|
}
|
|
@@ -8267,7 +8528,7 @@ var ScTabField_default = {
|
|
|
8267
8528
|
};
|
|
8268
8529
|
|
|
8269
8530
|
// src/SC-tabField/ScTabField.tsx
|
|
8270
|
-
import { jsx as
|
|
8531
|
+
import { jsx as jsx79, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8271
8532
|
var ScTabField = ({
|
|
8272
8533
|
label = "Label",
|
|
8273
8534
|
className,
|
|
@@ -8277,16 +8538,16 @@ var ScTabField = ({
|
|
|
8277
8538
|
...props
|
|
8278
8539
|
}) => {
|
|
8279
8540
|
return /* @__PURE__ */ jsxs67("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
8280
|
-
/* @__PURE__ */
|
|
8541
|
+
/* @__PURE__ */ jsx79("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs67("div", { className: ScTabField_default.label, children: [
|
|
8281
8542
|
label,
|
|
8282
8543
|
" "
|
|
8283
8544
|
] }) }),
|
|
8284
|
-
tabs ? /* @__PURE__ */
|
|
8545
|
+
tabs ? /* @__PURE__ */ jsx79(
|
|
8285
8546
|
ScTabSwitcher,
|
|
8286
8547
|
{
|
|
8287
8548
|
tabCount: String(tabs.length),
|
|
8288
8549
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
8289
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
8550
|
+
component: tabs[0] ? /* @__PURE__ */ jsx79(
|
|
8290
8551
|
ScTabComp,
|
|
8291
8552
|
{
|
|
8292
8553
|
text: tabs[0].label,
|
|
@@ -8296,7 +8557,7 @@ var ScTabField = ({
|
|
|
8296
8557
|
style: { flex: 1 }
|
|
8297
8558
|
}
|
|
8298
8559
|
) : void 0,
|
|
8299
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
8560
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx79(
|
|
8300
8561
|
ScTabComp,
|
|
8301
8562
|
{
|
|
8302
8563
|
text: tabs[1].label,
|
|
@@ -8307,7 +8568,7 @@ var ScTabField = ({
|
|
|
8307
8568
|
}
|
|
8308
8569
|
) : void 0
|
|
8309
8570
|
}
|
|
8310
|
-
) : /* @__PURE__ */
|
|
8571
|
+
) : /* @__PURE__ */ jsx79(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
8311
8572
|
] });
|
|
8312
8573
|
};
|
|
8313
8574
|
|
|
@@ -8324,7 +8585,7 @@ var ScTableHeader_default = {
|
|
|
8324
8585
|
};
|
|
8325
8586
|
|
|
8326
8587
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
8327
|
-
import { Fragment as Fragment22, jsx as
|
|
8588
|
+
import { Fragment as Fragment22, jsx as jsx80, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8328
8589
|
var ScTableHeader = ({
|
|
8329
8590
|
type = "default",
|
|
8330
8591
|
className,
|
|
@@ -8336,7 +8597,7 @@ var ScTableHeader = ({
|
|
|
8336
8597
|
{
|
|
8337
8598
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
8338
8599
|
children: [
|
|
8339
|
-
/* @__PURE__ */
|
|
8600
|
+
/* @__PURE__ */ jsx80(
|
|
8340
8601
|
ScHeader,
|
|
8341
8602
|
{
|
|
8342
8603
|
text: "User",
|
|
@@ -8344,7 +8605,7 @@ var ScTableHeader = ({
|
|
|
8344
8605
|
className: ScTableHeader_default.scHeaderInstance
|
|
8345
8606
|
}
|
|
8346
8607
|
),
|
|
8347
|
-
/* @__PURE__ */
|
|
8608
|
+
/* @__PURE__ */ jsx80(
|
|
8348
8609
|
ScHeader,
|
|
8349
8610
|
{
|
|
8350
8611
|
text: "Role",
|
|
@@ -8352,7 +8613,7 @@ var ScTableHeader = ({
|
|
|
8352
8613
|
className: ScTableHeader_default.scHeaderInstance2
|
|
8353
8614
|
}
|
|
8354
8615
|
),
|
|
8355
|
-
/* @__PURE__ */
|
|
8616
|
+
/* @__PURE__ */ jsx80(
|
|
8356
8617
|
ScHeader,
|
|
8357
8618
|
{
|
|
8358
8619
|
text: "Access",
|
|
@@ -8360,7 +8621,7 @@ var ScTableHeader = ({
|
|
|
8360
8621
|
className: ScTableHeader_default.scHeaderInstance3
|
|
8361
8622
|
}
|
|
8362
8623
|
),
|
|
8363
|
-
/* @__PURE__ */
|
|
8624
|
+
/* @__PURE__ */ jsx80(
|
|
8364
8625
|
ScHeader,
|
|
8365
8626
|
{
|
|
8366
8627
|
text: "Invited by",
|
|
@@ -8368,7 +8629,7 @@ var ScTableHeader = ({
|
|
|
8368
8629
|
className: ScTableHeader_default.scHeaderInstance4
|
|
8369
8630
|
}
|
|
8370
8631
|
),
|
|
8371
|
-
type === "pending" && /* @__PURE__ */
|
|
8632
|
+
type === "pending" && /* @__PURE__ */ jsx80(Fragment22, { children: /* @__PURE__ */ jsx80(
|
|
8372
8633
|
ScHeader,
|
|
8373
8634
|
{
|
|
8374
8635
|
text: "Invite action",
|
|
@@ -8376,7 +8637,7 @@ var ScTableHeader = ({
|
|
|
8376
8637
|
className: ScTableHeader_default.scHeaderInstance5
|
|
8377
8638
|
}
|
|
8378
8639
|
) }),
|
|
8379
|
-
type === "default" && /* @__PURE__ */
|
|
8640
|
+
type === "default" && /* @__PURE__ */ jsx80(Fragment22, { children: /* @__PURE__ */ jsx80(
|
|
8380
8641
|
ScHeader,
|
|
8381
8642
|
{
|
|
8382
8643
|
text: "Signed On",
|
|
@@ -8410,7 +8671,7 @@ var ScTableList_default = {
|
|
|
8410
8671
|
// src/SC-tableList/ScTableList.tsx
|
|
8411
8672
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
8412
8673
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
8413
|
-
import { Fragment as Fragment23, jsx as
|
|
8674
|
+
import { Fragment as Fragment23, jsx as jsx81, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8414
8675
|
var ScTableList = ({
|
|
8415
8676
|
invitedBy = "Rohan",
|
|
8416
8677
|
signedOn = "Nov 9th, 2025",
|
|
@@ -8429,28 +8690,28 @@ var ScTableList = ({
|
|
|
8429
8690
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
8430
8691
|
...props,
|
|
8431
8692
|
children: [
|
|
8432
|
-
/* @__PURE__ */
|
|
8693
|
+
/* @__PURE__ */ jsx81(
|
|
8433
8694
|
ScProfile,
|
|
8434
8695
|
{
|
|
8435
8696
|
subText: userEmail,
|
|
8436
8697
|
className: ScTableList_default.scProfileInstance
|
|
8437
8698
|
}
|
|
8438
8699
|
),
|
|
8439
|
-
/* @__PURE__ */
|
|
8700
|
+
/* @__PURE__ */ jsx81(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
8440
8701
|
/* @__PURE__ */ jsxs69("div", { className: ScTableList_default.accessInfo, children: [
|
|
8441
|
-
/* @__PURE__ */
|
|
8702
|
+
/* @__PURE__ */ jsx81(
|
|
8442
8703
|
ScAccess,
|
|
8443
8704
|
{
|
|
8444
|
-
component: /* @__PURE__ */
|
|
8445
|
-
component2: /* @__PURE__ */
|
|
8705
|
+
component: /* @__PURE__ */ jsx81(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
8706
|
+
component2: /* @__PURE__ */ jsx81(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
8446
8707
|
className: ScTableList_default.scAccessInstance
|
|
8447
8708
|
}
|
|
8448
8709
|
),
|
|
8449
|
-
/* @__PURE__ */
|
|
8710
|
+
/* @__PURE__ */ jsx81(
|
|
8450
8711
|
ScAccess,
|
|
8451
8712
|
{
|
|
8452
|
-
component: /* @__PURE__ */
|
|
8453
|
-
component2: /* @__PURE__ */
|
|
8713
|
+
component: /* @__PURE__ */ jsx81(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
8714
|
+
component2: /* @__PURE__ */ jsx81(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
8454
8715
|
visibleSiconCatalogix: false,
|
|
8455
8716
|
className: ScTableList_default.scAccessInstance
|
|
8456
8717
|
}
|
|
@@ -8460,13 +8721,13 @@ var ScTableList = ({
|
|
|
8460
8721
|
invitedBy,
|
|
8461
8722
|
" "
|
|
8462
8723
|
] }),
|
|
8463
|
-
variant === "pending" && /* @__PURE__ */
|
|
8724
|
+
variant === "pending" && /* @__PURE__ */ jsx81(Fragment23, { children: /* @__PURE__ */ jsx81(
|
|
8464
8725
|
ScPendingAction,
|
|
8465
8726
|
{
|
|
8466
8727
|
className: ScTableList_default.scPendingActionInstance
|
|
8467
8728
|
}
|
|
8468
8729
|
) }),
|
|
8469
|
-
variant === "active" && /* @__PURE__ */
|
|
8730
|
+
variant === "active" && /* @__PURE__ */ jsx81(Fragment23, { children: /* @__PURE__ */ jsxs69("div", { className: ScTableList_default.date, children: [
|
|
8470
8731
|
signedOn,
|
|
8471
8732
|
" "
|
|
8472
8733
|
] }) })
|
|
@@ -8501,7 +8762,7 @@ import {
|
|
|
8501
8762
|
SiconSwitch as SiconSwitch2,
|
|
8502
8763
|
SiconLogout as SiconLogout2
|
|
8503
8764
|
} from "@streamoid/icons";
|
|
8504
|
-
import { jsx as
|
|
8765
|
+
import { jsx as jsx82, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
8505
8766
|
var ScWorkspaceCard = ({
|
|
8506
8767
|
workspaceName = "Stores",
|
|
8507
8768
|
role = "Admin",
|
|
@@ -8513,7 +8774,7 @@ var ScWorkspaceCard = ({
|
|
|
8513
8774
|
}) => {
|
|
8514
8775
|
return /* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
8515
8776
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
8516
|
-
/* @__PURE__ */
|
|
8777
|
+
/* @__PURE__ */ jsx82(
|
|
8517
8778
|
ScIntialProfileCover,
|
|
8518
8779
|
{
|
|
8519
8780
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
@@ -8525,7 +8786,7 @@ var ScWorkspaceCard = ({
|
|
|
8525
8786
|
] })
|
|
8526
8787
|
] }),
|
|
8527
8788
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
8528
|
-
/* @__PURE__ */
|
|
8789
|
+
/* @__PURE__ */ jsx82(
|
|
8529
8790
|
ScBadges,
|
|
8530
8791
|
{
|
|
8531
8792
|
text: role,
|
|
@@ -8534,40 +8795,40 @@ var ScWorkspaceCard = ({
|
|
|
8534
8795
|
}
|
|
8535
8796
|
),
|
|
8536
8797
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
8537
|
-
/* @__PURE__ */
|
|
8798
|
+
/* @__PURE__ */ jsx82(
|
|
8538
8799
|
ScPairtext,
|
|
8539
8800
|
{
|
|
8540
|
-
icon: /* @__PURE__ */
|
|
8801
|
+
icon: /* @__PURE__ */ jsx82(SiconTeam7, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
8541
8802
|
content: userCount,
|
|
8542
8803
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8543
8804
|
}
|
|
8544
8805
|
),
|
|
8545
|
-
/* @__PURE__ */
|
|
8546
|
-
/* @__PURE__ */
|
|
8806
|
+
/* @__PURE__ */ jsx82(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
8807
|
+
/* @__PURE__ */ jsx82(
|
|
8547
8808
|
ScPairtext,
|
|
8548
8809
|
{
|
|
8549
|
-
icon: /* @__PURE__ */
|
|
8810
|
+
icon: /* @__PURE__ */ jsx82(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
8550
8811
|
content: ownerEmail,
|
|
8551
8812
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8552
8813
|
}
|
|
8553
8814
|
)
|
|
8554
8815
|
] })
|
|
8555
8816
|
] }),
|
|
8556
|
-
/* @__PURE__ */
|
|
8817
|
+
/* @__PURE__ */ jsx82(
|
|
8557
8818
|
ScButton,
|
|
8558
8819
|
{
|
|
8559
|
-
icon: /* @__PURE__ */
|
|
8820
|
+
icon: /* @__PURE__ */ jsx82(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
8560
8821
|
text: buttonText,
|
|
8561
8822
|
state: "disabled",
|
|
8562
8823
|
variant: "outline",
|
|
8563
8824
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
8564
8825
|
}
|
|
8565
8826
|
),
|
|
8566
|
-
/* @__PURE__ */
|
|
8827
|
+
/* @__PURE__ */ jsx82(
|
|
8567
8828
|
ScButton,
|
|
8568
8829
|
{
|
|
8569
8830
|
text: "Leave workspace",
|
|
8570
|
-
icon: /* @__PURE__ */
|
|
8831
|
+
icon: /* @__PURE__ */ jsx82(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
8571
8832
|
styleVariant: "icon-only",
|
|
8572
8833
|
variant: "error",
|
|
8573
8834
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -8577,7 +8838,7 @@ var ScWorkspaceCard = ({
|
|
|
8577
8838
|
};
|
|
8578
8839
|
|
|
8579
8840
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
8580
|
-
import { useState as
|
|
8841
|
+
import { useState as useState17 } from "react";
|
|
8581
8842
|
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
|
|
8582
8843
|
|
|
8583
8844
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
@@ -8603,7 +8864,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
8603
8864
|
};
|
|
8604
8865
|
|
|
8605
8866
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
8606
|
-
import { jsx as
|
|
8867
|
+
import { jsx as jsx83, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8607
8868
|
function ScWorkspaceSwitchCard({
|
|
8608
8869
|
wsName = "Workspace name is kepler",
|
|
8609
8870
|
role = "Admin",
|
|
@@ -8618,7 +8879,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8618
8879
|
onSettings,
|
|
8619
8880
|
onLeave
|
|
8620
8881
|
}) {
|
|
8621
|
-
const [internalHover, setInternalHover] =
|
|
8882
|
+
const [internalHover, setInternalHover] = useState17(false);
|
|
8622
8883
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
8623
8884
|
const isCurrent = type === "currentWS";
|
|
8624
8885
|
const isOther = type === "otherWS";
|
|
@@ -8633,7 +8894,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8633
8894
|
].filter(Boolean).join(" ");
|
|
8634
8895
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
8635
8896
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
8636
|
-
return /* @__PURE__ */
|
|
8897
|
+
return /* @__PURE__ */ jsx83(
|
|
8637
8898
|
"div",
|
|
8638
8899
|
{
|
|
8639
8900
|
className: cardClass,
|
|
@@ -8656,7 +8917,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8656
8917
|
}
|
|
8657
8918
|
} : void 0,
|
|
8658
8919
|
children: /* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
8659
|
-
/* @__PURE__ */
|
|
8920
|
+
/* @__PURE__ */ jsx83(
|
|
8660
8921
|
ScDp,
|
|
8661
8922
|
{
|
|
8662
8923
|
type: imageUrl ? "image" : "initial",
|
|
@@ -8671,25 +8932,25 @@ function ScWorkspaceSwitchCard({
|
|
|
8671
8932
|
}
|
|
8672
8933
|
),
|
|
8673
8934
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
8674
|
-
/* @__PURE__ */
|
|
8935
|
+
/* @__PURE__ */ jsx83("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
8675
8936
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
8676
8937
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
8677
|
-
/* @__PURE__ */
|
|
8678
|
-
/* @__PURE__ */
|
|
8938
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
8939
|
+
/* @__PURE__ */ jsx83("span", { className: roleColorClass, children: displayRole })
|
|
8679
8940
|
] }),
|
|
8680
|
-
/* @__PURE__ */
|
|
8941
|
+
/* @__PURE__ */ jsx83(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
8681
8942
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
8682
|
-
/* @__PURE__ */
|
|
8683
|
-
/* @__PURE__ */
|
|
8943
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
8944
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
8684
8945
|
] }),
|
|
8685
|
-
/* @__PURE__ */
|
|
8946
|
+
/* @__PURE__ */ jsx83(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
8686
8947
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
8687
|
-
/* @__PURE__ */
|
|
8688
|
-
/* @__PURE__ */
|
|
8948
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
8949
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
8689
8950
|
] })
|
|
8690
8951
|
] })
|
|
8691
8952
|
] }),
|
|
8692
|
-
isHover && isOther && /* @__PURE__ */
|
|
8953
|
+
isHover && isOther && /* @__PURE__ */ jsx83(
|
|
8693
8954
|
"div",
|
|
8694
8955
|
{
|
|
8695
8956
|
onClick: (e) => {
|
|
@@ -8697,19 +8958,19 @@ function ScWorkspaceSwitchCard({
|
|
|
8697
8958
|
onSwitch?.();
|
|
8698
8959
|
},
|
|
8699
8960
|
style: { cursor: "pointer" },
|
|
8700
|
-
children: /* @__PURE__ */
|
|
8961
|
+
children: /* @__PURE__ */ jsx83(
|
|
8701
8962
|
ScButton,
|
|
8702
8963
|
{
|
|
8703
8964
|
text: "Switch Workspace",
|
|
8704
8965
|
variant: "secondary",
|
|
8705
8966
|
size: "sm",
|
|
8706
8967
|
styleVariant: "icon-left",
|
|
8707
|
-
icon: /* @__PURE__ */
|
|
8968
|
+
icon: /* @__PURE__ */ jsx83(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
8708
8969
|
}
|
|
8709
8970
|
)
|
|
8710
8971
|
}
|
|
8711
8972
|
),
|
|
8712
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
8973
|
+
isHover && isAdmin && /* @__PURE__ */ jsx83(
|
|
8713
8974
|
"div",
|
|
8714
8975
|
{
|
|
8715
8976
|
onClick: (e) => {
|
|
@@ -8717,18 +8978,18 @@ function ScWorkspaceSwitchCard({
|
|
|
8717
8978
|
onSettings?.();
|
|
8718
8979
|
},
|
|
8719
8980
|
style: { cursor: "pointer" },
|
|
8720
|
-
children: /* @__PURE__ */
|
|
8981
|
+
children: /* @__PURE__ */ jsx83(
|
|
8721
8982
|
ScButton,
|
|
8722
8983
|
{
|
|
8723
8984
|
styleVariant: "icon-only",
|
|
8724
8985
|
variant: "outline",
|
|
8725
8986
|
size: "sm",
|
|
8726
|
-
icon: /* @__PURE__ */
|
|
8987
|
+
icon: /* @__PURE__ */ jsx83(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
8727
8988
|
}
|
|
8728
8989
|
)
|
|
8729
8990
|
}
|
|
8730
8991
|
),
|
|
8731
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
8992
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx83(
|
|
8732
8993
|
"div",
|
|
8733
8994
|
{
|
|
8734
8995
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -8736,7 +8997,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8736
8997
|
e.stopPropagation();
|
|
8737
8998
|
onLeave?.();
|
|
8738
8999
|
},
|
|
8739
|
-
children: /* @__PURE__ */
|
|
9000
|
+
children: /* @__PURE__ */ jsx83(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
8740
9001
|
}
|
|
8741
9002
|
)
|
|
8742
9003
|
] })
|
|
@@ -8756,7 +9017,7 @@ var ScModal_default = {
|
|
|
8756
9017
|
};
|
|
8757
9018
|
|
|
8758
9019
|
// src/SC-Modal/ScModal.tsx
|
|
8759
|
-
import { jsx as
|
|
9020
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
8760
9021
|
var ScModal = ({
|
|
8761
9022
|
children,
|
|
8762
9023
|
onClose,
|
|
@@ -8778,7 +9039,7 @@ var ScModal = ({
|
|
|
8778
9039
|
}, [open, closeOnEsc, onClose]);
|
|
8779
9040
|
if (!open || typeof document === "undefined") return null;
|
|
8780
9041
|
return createPortal(
|
|
8781
|
-
/* @__PURE__ */
|
|
9042
|
+
/* @__PURE__ */ jsx84(
|
|
8782
9043
|
"div",
|
|
8783
9044
|
{
|
|
8784
9045
|
className: [ScModal_default.backdrop, className].filter(Boolean).join(" "),
|
|
@@ -8786,7 +9047,7 @@ var ScModal = ({
|
|
|
8786
9047
|
onMouseDown: (e) => {
|
|
8787
9048
|
if (closeOnBackdrop && e.target === e.currentTarget) onClose?.();
|
|
8788
9049
|
},
|
|
8789
|
-
children: /* @__PURE__ */
|
|
9050
|
+
children: /* @__PURE__ */ jsx84(
|
|
8790
9051
|
"div",
|
|
8791
9052
|
{
|
|
8792
9053
|
className: [ScModal_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -8814,7 +9075,7 @@ var ScDrawer_default = {
|
|
|
8814
9075
|
};
|
|
8815
9076
|
|
|
8816
9077
|
// src/SC-Drawer/ScDrawer.tsx
|
|
8817
|
-
import { Fragment as Fragment24, jsx as
|
|
9078
|
+
import { Fragment as Fragment24, jsx as jsx85, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8818
9079
|
var ScDrawer = ({
|
|
8819
9080
|
children,
|
|
8820
9081
|
onClose,
|
|
@@ -8850,7 +9111,7 @@ var ScDrawer = ({
|
|
|
8850
9111
|
if (!open || typeof document === "undefined") return null;
|
|
8851
9112
|
return createPortal2(
|
|
8852
9113
|
/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
8853
|
-
backdrop && /* @__PURE__ */
|
|
9114
|
+
backdrop && /* @__PURE__ */ jsx85(
|
|
8854
9115
|
"div",
|
|
8855
9116
|
{
|
|
8856
9117
|
className: ScDrawer_default.backdrop,
|
|
@@ -8858,13 +9119,13 @@ var ScDrawer = ({
|
|
|
8858
9119
|
"aria-hidden": true
|
|
8859
9120
|
}
|
|
8860
9121
|
),
|
|
8861
|
-
/* @__PURE__ */
|
|
9122
|
+
/* @__PURE__ */ jsx85(
|
|
8862
9123
|
"div",
|
|
8863
9124
|
{
|
|
8864
9125
|
ref: panelRef,
|
|
8865
9126
|
className: [ScDrawer_default.drawer, ScDrawer_default["side-" + side], className].filter(Boolean).join(" "),
|
|
8866
9127
|
style: zIndex != null ? { ...style, zIndex } : style,
|
|
8867
|
-
children: /* @__PURE__ */
|
|
9128
|
+
children: /* @__PURE__ */ jsx85(
|
|
8868
9129
|
"div",
|
|
8869
9130
|
{
|
|
8870
9131
|
className: [ScDrawer_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -8890,7 +9151,7 @@ var ScTabs_default = {
|
|
|
8890
9151
|
};
|
|
8891
9152
|
|
|
8892
9153
|
// src/SC-Tabs/ScTabs.tsx
|
|
8893
|
-
import { jsx as
|
|
9154
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
8894
9155
|
var ScTabs = ({
|
|
8895
9156
|
tabs,
|
|
8896
9157
|
activeTab,
|
|
@@ -8900,7 +9161,7 @@ var ScTabs = ({
|
|
|
8900
9161
|
isCompact,
|
|
8901
9162
|
className
|
|
8902
9163
|
}) => {
|
|
8903
|
-
return /* @__PURE__ */
|
|
9164
|
+
return /* @__PURE__ */ jsx86(
|
|
8904
9165
|
"div",
|
|
8905
9166
|
{
|
|
8906
9167
|
className: [
|
|
@@ -8913,7 +9174,7 @@ var ScTabs = ({
|
|
|
8913
9174
|
children: tabs.map((tab, idx) => {
|
|
8914
9175
|
const label = typeof tab === "string" ? tab : tab.label ?? tab.value ?? "";
|
|
8915
9176
|
const value = typeof tab === "string" ? tab : tab.value ?? tab.label ?? "";
|
|
8916
|
-
return /* @__PURE__ */
|
|
9177
|
+
return /* @__PURE__ */ jsx86(
|
|
8917
9178
|
"div",
|
|
8918
9179
|
{
|
|
8919
9180
|
className: [ScTabs_default.tab, activeTab === value && ScTabs_default.active].filter(Boolean).join(" "),
|
|
@@ -8928,7 +9189,7 @@ var ScTabs = ({
|
|
|
8928
9189
|
};
|
|
8929
9190
|
|
|
8930
9191
|
// src/SC-Counter/ScCounter.tsx
|
|
8931
|
-
import { useState as
|
|
9192
|
+
import { useState as useState18 } from "react";
|
|
8932
9193
|
import { SiconMinus, SiconPlus as SiconPlus2 } from "@streamoid/icons";
|
|
8933
9194
|
|
|
8934
9195
|
// src/SC-Counter/ScCounter.module.css
|
|
@@ -8940,7 +9201,7 @@ var ScCounter_default = {
|
|
|
8940
9201
|
};
|
|
8941
9202
|
|
|
8942
9203
|
// src/SC-Counter/ScCounter.tsx
|
|
8943
|
-
import { jsx as
|
|
9204
|
+
import { jsx as jsx87, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
8944
9205
|
var ScCounter = ({
|
|
8945
9206
|
count,
|
|
8946
9207
|
onChange,
|
|
@@ -8950,7 +9211,7 @@ var ScCounter = ({
|
|
|
8950
9211
|
className,
|
|
8951
9212
|
style
|
|
8952
9213
|
}) => {
|
|
8953
|
-
const [showInput, setShowInput] =
|
|
9214
|
+
const [showInput, setShowInput] = useState18(false);
|
|
8954
9215
|
const set = (n) => {
|
|
8955
9216
|
let v = n;
|
|
8956
9217
|
if (min !== void 0) v = Math.max(min, v);
|
|
@@ -8963,9 +9224,9 @@ var ScCounter = ({
|
|
|
8963
9224
|
className: [ScCounter_default.counter, className].filter(Boolean).join(" "),
|
|
8964
9225
|
style,
|
|
8965
9226
|
children: [
|
|
8966
|
-
/* @__PURE__ */
|
|
9227
|
+
/* @__PURE__ */ jsx87("div", { className: ScCounter_default.step, onClick: () => set(count - 1), children: /* @__PURE__ */ jsx87(SiconMinus, { size: 24, color: "var(--alias-text-and-icons-primary)" }) }),
|
|
8967
9228
|
showInput ? /* @__PURE__ */ jsxs73("div", { className: ScCounter_default.inputContainer, children: [
|
|
8968
|
-
/* @__PURE__ */
|
|
9229
|
+
/* @__PURE__ */ jsx87(
|
|
8969
9230
|
"input",
|
|
8970
9231
|
{
|
|
8971
9232
|
value: count,
|
|
@@ -8976,13 +9237,13 @@ var ScCounter = ({
|
|
|
8976
9237
|
onBlur: () => setShowInput(false)
|
|
8977
9238
|
}
|
|
8978
9239
|
),
|
|
8979
|
-
/* @__PURE__ */
|
|
9240
|
+
/* @__PURE__ */ jsx87("div", { children: label })
|
|
8980
9241
|
] }) : /* @__PURE__ */ jsxs73("div", { className: ScCounter_default.value, onClick: () => setShowInput(true), children: [
|
|
8981
9242
|
count,
|
|
8982
9243
|
" ",
|
|
8983
9244
|
label
|
|
8984
9245
|
] }),
|
|
8985
|
-
/* @__PURE__ */
|
|
9246
|
+
/* @__PURE__ */ jsx87("div", { className: ScCounter_default.step, onClick: () => set(count + 1), children: /* @__PURE__ */ jsx87(SiconPlus2, { size: 24, color: "var(--alias-text-and-icons-primary)" }) })
|
|
8986
9247
|
]
|
|
8987
9248
|
}
|
|
8988
9249
|
);
|
|
@@ -9001,7 +9262,7 @@ var ScPagination_default = {
|
|
|
9001
9262
|
};
|
|
9002
9263
|
|
|
9003
9264
|
// src/SC-Pagination/ScPagination.tsx
|
|
9004
|
-
import { jsx as
|
|
9265
|
+
import { jsx as jsx88, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
9005
9266
|
var ScPagination = ({
|
|
9006
9267
|
itemsCount,
|
|
9007
9268
|
itemsPerPage,
|
|
@@ -9040,8 +9301,8 @@ var ScPagination = ({
|
|
|
9040
9301
|
onPageChangeAction();
|
|
9041
9302
|
}
|
|
9042
9303
|
};
|
|
9043
|
-
return /* @__PURE__ */
|
|
9044
|
-
/* @__PURE__ */
|
|
9304
|
+
return /* @__PURE__ */ jsx88("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */ jsxs74("div", { className: ScPagination_default.section, children: [
|
|
9305
|
+
/* @__PURE__ */ jsx88(
|
|
9045
9306
|
SiconRight5,
|
|
9046
9307
|
{
|
|
9047
9308
|
size: 24,
|
|
@@ -9050,7 +9311,7 @@ var ScPagination = ({
|
|
|
9050
9311
|
onClick: () => step("dec")
|
|
9051
9312
|
}
|
|
9052
9313
|
),
|
|
9053
|
-
/* @__PURE__ */
|
|
9314
|
+
/* @__PURE__ */ jsx88("span", { className: ScPagination_default.page, children: /* @__PURE__ */ jsx88(
|
|
9054
9315
|
"input",
|
|
9055
9316
|
{
|
|
9056
9317
|
type: "number",
|
|
@@ -9060,7 +9321,7 @@ var ScPagination = ({
|
|
|
9060
9321
|
onBlur: commit
|
|
9061
9322
|
}
|
|
9062
9323
|
) }),
|
|
9063
|
-
/* @__PURE__ */
|
|
9324
|
+
/* @__PURE__ */ jsx88(
|
|
9064
9325
|
SiconRight5,
|
|
9065
9326
|
{
|
|
9066
9327
|
size: 24,
|
|
@@ -9085,13 +9346,13 @@ var ScBeacon_default = {
|
|
|
9085
9346
|
};
|
|
9086
9347
|
|
|
9087
9348
|
// src/SC-Beacon/ScBeacon.tsx
|
|
9088
|
-
import { jsx as
|
|
9349
|
+
import { jsx as jsx89, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
9089
9350
|
var ScBeacon = ({
|
|
9090
9351
|
tone = "neutral",
|
|
9091
9352
|
className,
|
|
9092
9353
|
...props
|
|
9093
9354
|
}) => {
|
|
9094
|
-
return /* @__PURE__ */
|
|
9355
|
+
return /* @__PURE__ */ jsx89(
|
|
9095
9356
|
"span",
|
|
9096
9357
|
{
|
|
9097
9358
|
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
@@ -9106,8 +9367,8 @@ var ScBeacon = ({
|
|
|
9106
9367
|
fill: "none",
|
|
9107
9368
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9108
9369
|
children: [
|
|
9109
|
-
/* @__PURE__ */
|
|
9110
|
-
/* @__PURE__ */
|
|
9370
|
+
/* @__PURE__ */ jsx89("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor", fillOpacity: "0.24" }),
|
|
9371
|
+
/* @__PURE__ */ jsx89("circle", { cx: "10", cy: "10", r: "4", fill: "currentColor" })
|
|
9111
9372
|
]
|
|
9112
9373
|
}
|
|
9113
9374
|
)
|
|
@@ -9127,7 +9388,7 @@ var ScStoreCard_default = {
|
|
|
9127
9388
|
};
|
|
9128
9389
|
|
|
9129
9390
|
// src/SC-StoreCard/ScStoreCard.tsx
|
|
9130
|
-
import { jsx as
|
|
9391
|
+
import { jsx as jsx90, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
9131
9392
|
var ScStoreCard = ({
|
|
9132
9393
|
storeName = "Store Name",
|
|
9133
9394
|
noOfProducts = "1490 Products",
|
|
@@ -9142,12 +9403,12 @@ var ScStoreCard = ({
|
|
|
9142
9403
|
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
9143
9404
|
...props,
|
|
9144
9405
|
children: [
|
|
9145
|
-
/* @__PURE__ */
|
|
9146
|
-
/* @__PURE__ */
|
|
9406
|
+
/* @__PURE__ */ jsx90("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ jsx90("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
9407
|
+
/* @__PURE__ */ jsx90(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
9147
9408
|
/* @__PURE__ */ jsxs76("div", { className: ScStoreCard_default.footer, children: [
|
|
9148
|
-
/* @__PURE__ */
|
|
9149
|
-
/* @__PURE__ */
|
|
9150
|
-
/* @__PURE__ */
|
|
9409
|
+
/* @__PURE__ */ jsx90(ScBeacon, { tone }),
|
|
9410
|
+
/* @__PURE__ */ jsx90("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
9411
|
+
/* @__PURE__ */ jsx90("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
9151
9412
|
] })
|
|
9152
9413
|
]
|
|
9153
9414
|
}
|
|
@@ -9166,7 +9427,7 @@ var ScCatalogixStoreHeader_default = {
|
|
|
9166
9427
|
};
|
|
9167
9428
|
|
|
9168
9429
|
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
9169
|
-
import { jsx as
|
|
9430
|
+
import { jsx as jsx91, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
9170
9431
|
var ScCatalogixStoreHeader = ({
|
|
9171
9432
|
storeNameLabel = "Store name",
|
|
9172
9433
|
statusLabel = "Status",
|
|
@@ -9185,12 +9446,12 @@ var ScCatalogixStoreHeader = ({
|
|
|
9185
9446
|
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
9186
9447
|
...props,
|
|
9187
9448
|
children: [
|
|
9188
|
-
/* @__PURE__ */
|
|
9189
|
-
/* @__PURE__ */
|
|
9190
|
-
/* @__PURE__ */
|
|
9191
|
-
showAssets && /* @__PURE__ */
|
|
9192
|
-
/* @__PURE__ */
|
|
9193
|
-
showCreatedBy && /* @__PURE__ */
|
|
9449
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colName, children: storeNameLabel }),
|
|
9450
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colStatus, children: statusLabel }),
|
|
9451
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: productsLabel }),
|
|
9452
|
+
showAssets && /* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: assetsLabel }),
|
|
9453
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colDate, children: createdOnLabel }),
|
|
9454
|
+
showCreatedBy && /* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colBy, children: createdByLabel })
|
|
9194
9455
|
]
|
|
9195
9456
|
}
|
|
9196
9457
|
);
|
|
@@ -9212,7 +9473,7 @@ var ScCatalogixStoreTableList_default = {
|
|
|
9212
9473
|
};
|
|
9213
9474
|
|
|
9214
9475
|
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
9215
|
-
import { jsx as
|
|
9476
|
+
import { jsx as jsx92, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
9216
9477
|
var STATUS_TONE_CLASS = {
|
|
9217
9478
|
success: "statusSuccess",
|
|
9218
9479
|
warning: "statusWarning",
|
|
@@ -9239,12 +9500,12 @@ var ScCatalogixStoreTableList = ({
|
|
|
9239
9500
|
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
9240
9501
|
...props,
|
|
9241
9502
|
children: [
|
|
9242
|
-
/* @__PURE__ */
|
|
9243
|
-
/* @__PURE__ */
|
|
9244
|
-
/* @__PURE__ */
|
|
9245
|
-
showAssets && /* @__PURE__ */
|
|
9246
|
-
/* @__PURE__ */
|
|
9247
|
-
showCreatedBy && /* @__PURE__ */
|
|
9503
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.name, title: storeName, children: storeName }),
|
|
9504
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.status + " " + toneClass, children: status }),
|
|
9505
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: products }),
|
|
9506
|
+
showAssets && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: assets }),
|
|
9507
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colDate, children: createdOn }),
|
|
9508
|
+
showCreatedBy && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colBy, children: createdBy })
|
|
9248
9509
|
]
|
|
9249
9510
|
}
|
|
9250
9511
|
);
|
|
@@ -9260,7 +9521,7 @@ var ScDefaultCard_default = {
|
|
|
9260
9521
|
};
|
|
9261
9522
|
|
|
9262
9523
|
// src/SC-DefaultCard/ScDefaultCard.tsx
|
|
9263
|
-
import { jsx as
|
|
9524
|
+
import { jsx as jsx93, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
9264
9525
|
var ScDefaultCard = ({
|
|
9265
9526
|
title = "Title",
|
|
9266
9527
|
description = "Description",
|
|
@@ -9271,14 +9532,14 @@ var ScDefaultCard = ({
|
|
|
9271
9532
|
}) => {
|
|
9272
9533
|
const variantsClassName = ScDefaultCard_default["state-" + state];
|
|
9273
9534
|
const hasDescription = showDescription && Boolean(description);
|
|
9274
|
-
return /* @__PURE__ */
|
|
9535
|
+
return /* @__PURE__ */ jsx93(
|
|
9275
9536
|
"div",
|
|
9276
9537
|
{
|
|
9277
9538
|
className: [ScDefaultCard_default.scDefaultCard, variantsClassName, className].filter(Boolean).join(" "),
|
|
9278
9539
|
...props,
|
|
9279
9540
|
children: /* @__PURE__ */ jsxs79("div", { className: ScDefaultCard_default.content, children: [
|
|
9280
|
-
/* @__PURE__ */
|
|
9281
|
-
hasDescription && /* @__PURE__ */
|
|
9541
|
+
/* @__PURE__ */ jsx93("p", { className: ScDefaultCard_default.title, children: title }),
|
|
9542
|
+
hasDescription && /* @__PURE__ */ jsx93("p", { className: ScDefaultCard_default.description, children: description })
|
|
9282
9543
|
] })
|
|
9283
9544
|
}
|
|
9284
9545
|
);
|
|
@@ -9297,7 +9558,7 @@ var ScValueMappingL1_default = {
|
|
|
9297
9558
|
};
|
|
9298
9559
|
|
|
9299
9560
|
// src/SC-ValueMappingL1/ScValueMappingL1.tsx
|
|
9300
|
-
import { jsx as
|
|
9561
|
+
import { jsx as jsx94, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
9301
9562
|
var ScValueMappingL1 = ({
|
|
9302
9563
|
label = "Title",
|
|
9303
9564
|
state = "default",
|
|
@@ -9317,8 +9578,8 @@ var ScValueMappingL1 = ({
|
|
|
9317
9578
|
].filter(Boolean).join(" "),
|
|
9318
9579
|
...props,
|
|
9319
9580
|
children: [
|
|
9320
|
-
/* @__PURE__ */
|
|
9321
|
-
updated && /* @__PURE__ */
|
|
9581
|
+
/* @__PURE__ */ jsx94("div", { className: ScValueMappingL1_default.labelWrap, children: /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.label, title: label, children: label }) }),
|
|
9582
|
+
updated && /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.dot, "aria-hidden": true, children: /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.dotInner }) })
|
|
9322
9583
|
]
|
|
9323
9584
|
}
|
|
9324
9585
|
);
|
|
@@ -9338,7 +9599,7 @@ var ScTaxonomyPill_default = {
|
|
|
9338
9599
|
|
|
9339
9600
|
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
9340
9601
|
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
9341
|
-
import { Fragment as Fragment25, jsx as
|
|
9602
|
+
import { Fragment as Fragment25, jsx as jsx95, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
9342
9603
|
var ScTaxonomyPill = ({
|
|
9343
9604
|
type = "pill",
|
|
9344
9605
|
state = "default",
|
|
@@ -9353,13 +9614,13 @@ var ScTaxonomyPill = ({
|
|
|
9353
9614
|
ScTaxonomyPill_default["state-" + state],
|
|
9354
9615
|
className
|
|
9355
9616
|
].filter(Boolean).join(" ");
|
|
9356
|
-
return /* @__PURE__ */
|
|
9357
|
-
type === "pill" && /* @__PURE__ */
|
|
9617
|
+
return /* @__PURE__ */ jsx95("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs81("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
9618
|
+
type === "pill" && /* @__PURE__ */ jsx95("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
9358
9619
|
type === "expand" && /* @__PURE__ */ jsxs81(Fragment25, { children: [
|
|
9359
|
-
/* @__PURE__ */
|
|
9360
|
-
/* @__PURE__ */
|
|
9620
|
+
/* @__PURE__ */ jsx95("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
9621
|
+
/* @__PURE__ */ jsx95(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9361
9622
|
] }),
|
|
9362
|
-
type === "collapse" && /* @__PURE__ */
|
|
9623
|
+
type === "collapse" && /* @__PURE__ */ jsx95(SiconUp2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9363
9624
|
] }) });
|
|
9364
9625
|
};
|
|
9365
9626
|
|
|
@@ -9372,7 +9633,7 @@ var ScSelectionPill_default = {
|
|
|
9372
9633
|
};
|
|
9373
9634
|
|
|
9374
9635
|
// src/SC-SelectionPill/ScSelectionPill.tsx
|
|
9375
|
-
import { jsx as
|
|
9636
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
9376
9637
|
var ScSelectionPill = ({
|
|
9377
9638
|
label = "All Products",
|
|
9378
9639
|
selected = false,
|
|
@@ -9387,7 +9648,7 @@ var ScSelectionPill = ({
|
|
|
9387
9648
|
onClick?.(event);
|
|
9388
9649
|
onSelect?.(value);
|
|
9389
9650
|
};
|
|
9390
|
-
return /* @__PURE__ */
|
|
9651
|
+
return /* @__PURE__ */ jsx96(
|
|
9391
9652
|
"button",
|
|
9392
9653
|
{
|
|
9393
9654
|
type: "button",
|
|
@@ -9395,7 +9656,7 @@ var ScSelectionPill = ({
|
|
|
9395
9656
|
"aria-pressed": selected,
|
|
9396
9657
|
onClick: handleClick,
|
|
9397
9658
|
...props,
|
|
9398
|
-
children: /* @__PURE__ */
|
|
9659
|
+
children: /* @__PURE__ */ jsx96("span", { className: ScSelectionPill_default.label, children: label })
|
|
9399
9660
|
}
|
|
9400
9661
|
);
|
|
9401
9662
|
};
|
|
@@ -9406,7 +9667,7 @@ var ScSelectionPillGroup_default = {
|
|
|
9406
9667
|
};
|
|
9407
9668
|
|
|
9408
9669
|
// src/SC-SelectionPillGroup/ScSelectionPillGroup.tsx
|
|
9409
|
-
import { jsx as
|
|
9670
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9410
9671
|
var ScSelectionPillGroup = ({
|
|
9411
9672
|
options = [],
|
|
9412
9673
|
value,
|
|
@@ -9414,13 +9675,13 @@ var ScSelectionPillGroup = ({
|
|
|
9414
9675
|
className,
|
|
9415
9676
|
...props
|
|
9416
9677
|
}) => {
|
|
9417
|
-
return /* @__PURE__ */
|
|
9678
|
+
return /* @__PURE__ */ jsx97(
|
|
9418
9679
|
"div",
|
|
9419
9680
|
{
|
|
9420
9681
|
className: [ScSelectionPillGroup_default.scSelectionPillGroup, className].filter(Boolean).join(" "),
|
|
9421
9682
|
role: "tablist",
|
|
9422
9683
|
...props,
|
|
9423
|
-
children: options.map((opt) => /* @__PURE__ */
|
|
9684
|
+
children: options.map((opt) => /* @__PURE__ */ jsx97(
|
|
9424
9685
|
ScSelectionPill,
|
|
9425
9686
|
{
|
|
9426
9687
|
label: opt.label,
|
|
@@ -9483,7 +9744,7 @@ var ScMappingCard_default = {
|
|
|
9483
9744
|
};
|
|
9484
9745
|
|
|
9485
9746
|
// src/SC-MappingCard/ScMappingCard.tsx
|
|
9486
|
-
import { Fragment as Fragment26, jsx as
|
|
9747
|
+
import { Fragment as Fragment26, jsx as jsx98, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
9487
9748
|
var ScMappingCard = ({
|
|
9488
9749
|
badge,
|
|
9489
9750
|
columnName,
|
|
@@ -9510,19 +9771,19 @@ var ScMappingCard = ({
|
|
|
9510
9771
|
className: [ScMappingCard_default.scMappingCard, ScMappingCard_default["status-" + status], className].filter(Boolean).join(" "),
|
|
9511
9772
|
...props,
|
|
9512
9773
|
children: [
|
|
9513
|
-
badge != null && /* @__PURE__ */
|
|
9774
|
+
badge != null && /* @__PURE__ */ jsx98("div", { className: ScMappingCard_default.badge, "aria-hidden": true, children: /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.badgeLetter, children: badge }) }),
|
|
9514
9775
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.content, children: [
|
|
9515
9776
|
isDefault ? /* @__PURE__ */ jsxs82("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCard].join(" "), children: [
|
|
9516
9777
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.sourceHeader, children: [
|
|
9517
|
-
/* @__PURE__ */
|
|
9518
|
-
/* @__PURE__ */
|
|
9778
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }),
|
|
9779
|
+
/* @__PURE__ */ jsx98(
|
|
9519
9780
|
"button",
|
|
9520
9781
|
{
|
|
9521
9782
|
type: "button",
|
|
9522
9783
|
className: ScMappingCard_default.addBtn,
|
|
9523
9784
|
onClick: onAddColumn,
|
|
9524
9785
|
"aria-label": "Add column",
|
|
9525
|
-
children: /* @__PURE__ */
|
|
9786
|
+
children: /* @__PURE__ */ jsx98(
|
|
9526
9787
|
SiconPlus3,
|
|
9527
9788
|
{
|
|
9528
9789
|
size: 24,
|
|
@@ -9532,12 +9793,12 @@ var ScMappingCard = ({
|
|
|
9532
9793
|
}
|
|
9533
9794
|
)
|
|
9534
9795
|
] }),
|
|
9535
|
-
sampleRows.length > 0 && /* @__PURE__ */
|
|
9536
|
-
] }) : /* @__PURE__ */
|
|
9796
|
+
sampleRows.length > 0 && /* @__PURE__ */ jsx98("div", { className: ScMappingCard_default.sampleRows, children: sampleRows.map((row, i) => /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.sampleRow, title: row, children: row }, i)) })
|
|
9797
|
+
] }) : /* @__PURE__ */ jsx98("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCollapsed].join(" "), children: /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }) }),
|
|
9537
9798
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRegion, children: [
|
|
9538
9799
|
isDefault && targets,
|
|
9539
9800
|
isConfirmed && confirmedTargets.map((t, i) => /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRow, children: [
|
|
9540
|
-
/* @__PURE__ */
|
|
9801
|
+
/* @__PURE__ */ jsx98(
|
|
9541
9802
|
SiconRight6,
|
|
9542
9803
|
{
|
|
9543
9804
|
size: 20,
|
|
@@ -9545,10 +9806,10 @@ var ScMappingCard = ({
|
|
|
9545
9806
|
className: ScMappingCard_default.connector
|
|
9546
9807
|
}
|
|
9547
9808
|
),
|
|
9548
|
-
/* @__PURE__ */
|
|
9809
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.targetBox, title: t, children: t })
|
|
9549
9810
|
] }, i)),
|
|
9550
9811
|
isIgnored && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRow, children: [
|
|
9551
|
-
/* @__PURE__ */
|
|
9812
|
+
/* @__PURE__ */ jsx98(
|
|
9552
9813
|
SiconRight6,
|
|
9553
9814
|
{
|
|
9554
9815
|
size: 24,
|
|
@@ -9556,23 +9817,23 @@ var ScMappingCard = ({
|
|
|
9556
9817
|
className: ScMappingCard_default.connector
|
|
9557
9818
|
}
|
|
9558
9819
|
),
|
|
9559
|
-
/* @__PURE__ */
|
|
9820
|
+
/* @__PURE__ */ jsx98("span", { className: [ScMappingCard_default.targetBox, ScMappingCard_default.targetBoxDash].join(" "), children: "-" })
|
|
9560
9821
|
] }),
|
|
9561
9822
|
isDefault && warning != null && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.warning, children: [
|
|
9562
|
-
/* @__PURE__ */
|
|
9823
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.warningIcon, "aria-hidden": true, children: /* @__PURE__ */ jsx98(
|
|
9563
9824
|
SiconWarning,
|
|
9564
9825
|
{
|
|
9565
9826
|
size: 20,
|
|
9566
9827
|
color: "var(--alias-text-and-icons-error, #d11a1a)"
|
|
9567
9828
|
}
|
|
9568
9829
|
) }),
|
|
9569
|
-
/* @__PURE__ */
|
|
9830
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.warningText, children: warning })
|
|
9570
9831
|
] })
|
|
9571
9832
|
] }),
|
|
9572
9833
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actions, children: [
|
|
9573
9834
|
isDefault && /* @__PURE__ */ jsxs82(Fragment26, { children: [
|
|
9574
9835
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9575
|
-
/* @__PURE__ */
|
|
9836
|
+
/* @__PURE__ */ jsx98(
|
|
9576
9837
|
"button",
|
|
9577
9838
|
{
|
|
9578
9839
|
type: "button",
|
|
@@ -9581,7 +9842,7 @@ var ScMappingCard = ({
|
|
|
9581
9842
|
children: "Ignore Column"
|
|
9582
9843
|
}
|
|
9583
9844
|
),
|
|
9584
|
-
canConfirm && /* @__PURE__ */
|
|
9845
|
+
canConfirm && /* @__PURE__ */ jsx98(
|
|
9585
9846
|
"button",
|
|
9586
9847
|
{
|
|
9587
9848
|
type: "button",
|
|
@@ -9593,7 +9854,7 @@ var ScMappingCard = ({
|
|
|
9593
9854
|
}
|
|
9594
9855
|
)
|
|
9595
9856
|
] }),
|
|
9596
|
-
validityText && /* @__PURE__ */
|
|
9857
|
+
validityText && /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.validityText, children: validityText })
|
|
9597
9858
|
] }),
|
|
9598
9859
|
isConfirmed && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9599
9860
|
/* @__PURE__ */ jsxs82(
|
|
@@ -9601,7 +9862,7 @@ var ScMappingCard = ({
|
|
|
9601
9862
|
{
|
|
9602
9863
|
className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusSuccess].join(" "),
|
|
9603
9864
|
children: [
|
|
9604
|
-
/* @__PURE__ */
|
|
9865
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx98(
|
|
9605
9866
|
SiconCheck,
|
|
9606
9867
|
{
|
|
9607
9868
|
size: 24,
|
|
@@ -9612,7 +9873,7 @@ var ScMappingCard = ({
|
|
|
9612
9873
|
]
|
|
9613
9874
|
}
|
|
9614
9875
|
),
|
|
9615
|
-
/* @__PURE__ */
|
|
9876
|
+
/* @__PURE__ */ jsx98(
|
|
9616
9877
|
"button",
|
|
9617
9878
|
{
|
|
9618
9879
|
type: "button",
|
|
@@ -9624,7 +9885,7 @@ var ScMappingCard = ({
|
|
|
9624
9885
|
] }),
|
|
9625
9886
|
isIgnored && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9626
9887
|
/* @__PURE__ */ jsxs82("span", { className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusError].join(" "), children: [
|
|
9627
|
-
/* @__PURE__ */
|
|
9888
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx98(
|
|
9628
9889
|
SiconClose4,
|
|
9629
9890
|
{
|
|
9630
9891
|
size: 24,
|
|
@@ -9633,7 +9894,7 @@ var ScMappingCard = ({
|
|
|
9633
9894
|
) }),
|
|
9634
9895
|
"Column Ignored"
|
|
9635
9896
|
] }),
|
|
9636
|
-
/* @__PURE__ */
|
|
9897
|
+
/* @__PURE__ */ jsx98(
|
|
9637
9898
|
"button",
|
|
9638
9899
|
{
|
|
9639
9900
|
type: "button",
|
|
@@ -9664,7 +9925,7 @@ var ScThinkingStepIcon_default = {
|
|
|
9664
9925
|
};
|
|
9665
9926
|
|
|
9666
9927
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
9667
|
-
import { jsx as
|
|
9928
|
+
import { jsx as jsx99, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
9668
9929
|
var ScThinkingStepIcon = ({
|
|
9669
9930
|
state = "default",
|
|
9670
9931
|
size = 12,
|
|
@@ -9673,7 +9934,7 @@ var ScThinkingStepIcon = ({
|
|
|
9673
9934
|
...props
|
|
9674
9935
|
}) => {
|
|
9675
9936
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
9676
|
-
return /* @__PURE__ */
|
|
9937
|
+
return /* @__PURE__ */ jsx99(
|
|
9677
9938
|
"span",
|
|
9678
9939
|
{
|
|
9679
9940
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
@@ -9690,7 +9951,7 @@ var ScThinkingStepIcon = ({
|
|
|
9690
9951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9691
9952
|
"aria-hidden": "true",
|
|
9692
9953
|
children: [
|
|
9693
|
-
state === "default" && /* @__PURE__ */
|
|
9954
|
+
state === "default" && /* @__PURE__ */ jsx99(
|
|
9694
9955
|
"circle",
|
|
9695
9956
|
{
|
|
9696
9957
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9701,7 +9962,7 @@ var ScThinkingStepIcon = ({
|
|
|
9701
9962
|
strokeLinecap: "round"
|
|
9702
9963
|
}
|
|
9703
9964
|
),
|
|
9704
|
-
state === "working" && /* @__PURE__ */
|
|
9965
|
+
state === "working" && /* @__PURE__ */ jsx99(
|
|
9705
9966
|
"path",
|
|
9706
9967
|
{
|
|
9707
9968
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -9711,7 +9972,7 @@ var ScThinkingStepIcon = ({
|
|
|
9711
9972
|
strokeLinejoin: "round"
|
|
9712
9973
|
}
|
|
9713
9974
|
),
|
|
9714
|
-
state === "completed" && /* @__PURE__ */
|
|
9975
|
+
state === "completed" && /* @__PURE__ */ jsx99(
|
|
9715
9976
|
"path",
|
|
9716
9977
|
{
|
|
9717
9978
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9721,7 +9982,7 @@ var ScThinkingStepIcon = ({
|
|
|
9721
9982
|
strokeLinejoin: "round"
|
|
9722
9983
|
}
|
|
9723
9984
|
),
|
|
9724
|
-
state === "error" && /* @__PURE__ */
|
|
9985
|
+
state === "error" && /* @__PURE__ */ jsx99(
|
|
9725
9986
|
"path",
|
|
9726
9987
|
{
|
|
9727
9988
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9761,7 +10022,7 @@ var ScInChatList_default = {
|
|
|
9761
10022
|
|
|
9762
10023
|
// src/SC-InChatList/ScInChatList.tsx
|
|
9763
10024
|
import { SiconUp as SiconUp3, SiconDown as SiconDown3, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
9764
|
-
import { jsx as
|
|
10025
|
+
import { jsx as jsx100, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
9765
10026
|
var ScInChatList = ({
|
|
9766
10027
|
title = "Infrastructure that helps modern brands scale",
|
|
9767
10028
|
description = "Description",
|
|
@@ -9784,27 +10045,27 @@ var ScInChatList = ({
|
|
|
9784
10045
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
9785
10046
|
style,
|
|
9786
10047
|
children: [
|
|
9787
|
-
leadingIndicator && /* @__PURE__ */
|
|
10048
|
+
leadingIndicator && /* @__PURE__ */ jsx100("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ jsx100(ScThinkingStepIcon, { state: iconState }) }),
|
|
9788
10049
|
/* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.content, children: [
|
|
9789
10050
|
/* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.headerArea, children: [
|
|
9790
|
-
showSteps && /* @__PURE__ */
|
|
10051
|
+
showSteps && /* @__PURE__ */ jsx100("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
9791
10052
|
/* @__PURE__ */ jsxs84(
|
|
9792
10053
|
"div",
|
|
9793
10054
|
{
|
|
9794
10055
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
9795
10056
|
onClick: isExpandable ? onToggle : void 0,
|
|
9796
10057
|
children: [
|
|
9797
|
-
/* @__PURE__ */
|
|
9798
|
-
isExpandable && /* @__PURE__ */
|
|
10058
|
+
/* @__PURE__ */ jsx100("p", { className: ScInChatList_default.title, children: title }),
|
|
10059
|
+
isExpandable && /* @__PURE__ */ jsx100("div", { className: ScInChatList_default.chevronWrapper, children: isExpanded ? /* @__PURE__ */ jsx100(SiconUp3, { size: 12, className: ScInChatList_default.chevronIcon }) : /* @__PURE__ */ jsx100(SiconDown3, { size: 12, className: ScInChatList_default.chevronIcon }) })
|
|
9799
10060
|
]
|
|
9800
10061
|
}
|
|
9801
10062
|
),
|
|
9802
10063
|
isExpanded && /* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
9803
|
-
/* @__PURE__ */
|
|
9804
|
-
/* @__PURE__ */
|
|
10064
|
+
/* @__PURE__ */ jsx100("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ jsx100(SiconDot2, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
10065
|
+
/* @__PURE__ */ jsx100("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
9805
10066
|
] })
|
|
9806
10067
|
] }),
|
|
9807
|
-
showTool && /* @__PURE__ */
|
|
10068
|
+
showTool && /* @__PURE__ */ jsx100("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx100("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
9808
10069
|
] })
|
|
9809
10070
|
]
|
|
9810
10071
|
}
|
|
@@ -9818,7 +10079,7 @@ var ScSubAgent_default = {
|
|
|
9818
10079
|
};
|
|
9819
10080
|
|
|
9820
10081
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
9821
|
-
import { jsx as
|
|
10082
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
9822
10083
|
function formatSubAgentLabel(agentName) {
|
|
9823
10084
|
const normalized = (agentName ?? "").trim();
|
|
9824
10085
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -9831,12 +10092,12 @@ var ScSubAgent = ({
|
|
|
9831
10092
|
...props
|
|
9832
10093
|
}) => {
|
|
9833
10094
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
9834
|
-
return /* @__PURE__ */
|
|
10095
|
+
return /* @__PURE__ */ jsx101(
|
|
9835
10096
|
"div",
|
|
9836
10097
|
{
|
|
9837
10098
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
9838
10099
|
...props,
|
|
9839
|
-
children: /* @__PURE__ */
|
|
10100
|
+
children: /* @__PURE__ */ jsx101("p", { className: ScSubAgent_default.label, children: label })
|
|
9840
10101
|
}
|
|
9841
10102
|
);
|
|
9842
10103
|
};
|
|
@@ -9850,7 +10111,7 @@ var ScInChatMessage_default = {
|
|
|
9850
10111
|
};
|
|
9851
10112
|
|
|
9852
10113
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
9853
|
-
import { jsx as
|
|
10114
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
9854
10115
|
var ScInChatMessage = ({
|
|
9855
10116
|
type = "input",
|
|
9856
10117
|
text,
|
|
@@ -9860,13 +10121,13 @@ var ScInChatMessage = ({
|
|
|
9860
10121
|
...props
|
|
9861
10122
|
}) => {
|
|
9862
10123
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
9863
|
-
return /* @__PURE__ */
|
|
10124
|
+
return /* @__PURE__ */ jsx102(
|
|
9864
10125
|
"div",
|
|
9865
10126
|
{
|
|
9866
10127
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
9867
10128
|
id,
|
|
9868
10129
|
...props,
|
|
9869
|
-
children: /* @__PURE__ */
|
|
10130
|
+
children: /* @__PURE__ */ jsx102("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
9870
10131
|
}
|
|
9871
10132
|
);
|
|
9872
10133
|
};
|
|
@@ -9883,7 +10144,7 @@ var ScSelection_default = {
|
|
|
9883
10144
|
};
|
|
9884
10145
|
|
|
9885
10146
|
// src/SC-Selection/ScSelection.tsx
|
|
9886
|
-
import { jsx as
|
|
10147
|
+
import { jsx as jsx103, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
9887
10148
|
var ScSelection = ({
|
|
9888
10149
|
title = "Title",
|
|
9889
10150
|
description = "Description",
|
|
@@ -9906,7 +10167,7 @@ var ScSelection = ({
|
|
|
9906
10167
|
onClick: handleClick,
|
|
9907
10168
|
...props,
|
|
9908
10169
|
children: [
|
|
9909
|
-
/* @__PURE__ */
|
|
10170
|
+
/* @__PURE__ */ jsx103(
|
|
9910
10171
|
ScRadio,
|
|
9911
10172
|
{
|
|
9912
10173
|
state: active ? "selected" : "default",
|
|
@@ -9914,8 +10175,8 @@ var ScSelection = ({
|
|
|
9914
10175
|
}
|
|
9915
10176
|
),
|
|
9916
10177
|
/* @__PURE__ */ jsxs85("div", { className: ScSelection_default.wrapper, children: [
|
|
9917
|
-
/* @__PURE__ */
|
|
9918
|
-
description && /* @__PURE__ */
|
|
10178
|
+
/* @__PURE__ */ jsx103("p", { className: ScSelection_default.title, children: title }),
|
|
10179
|
+
description && /* @__PURE__ */ jsx103("p", { className: ScSelection_default.description, children: description })
|
|
9919
10180
|
] })
|
|
9920
10181
|
]
|
|
9921
10182
|
}
|
|
@@ -9942,7 +10203,7 @@ var ScSelectionList_default = {
|
|
|
9942
10203
|
};
|
|
9943
10204
|
|
|
9944
10205
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
9945
|
-
import { jsx as
|
|
10206
|
+
import { jsx as jsx104, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
9946
10207
|
var ScSelectionList = ({
|
|
9947
10208
|
state = "default",
|
|
9948
10209
|
label = "Suggested Colours: ",
|
|
@@ -9972,7 +10233,7 @@ var ScSelectionList = ({
|
|
|
9972
10233
|
...props,
|
|
9973
10234
|
children: [
|
|
9974
10235
|
/* @__PURE__ */ jsxs86("div", { className: ScSelectionList_default.toggles, children: [
|
|
9975
|
-
/* @__PURE__ */
|
|
10236
|
+
/* @__PURE__ */ jsx104(
|
|
9976
10237
|
"button",
|
|
9977
10238
|
{
|
|
9978
10239
|
type: "button",
|
|
@@ -9981,7 +10242,7 @@ var ScSelectionList = ({
|
|
|
9981
10242
|
disabled,
|
|
9982
10243
|
"aria-pressed": state === "approved",
|
|
9983
10244
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
9984
|
-
children: /* @__PURE__ */
|
|
10245
|
+
children: /* @__PURE__ */ jsx104(
|
|
9985
10246
|
"svg",
|
|
9986
10247
|
{
|
|
9987
10248
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -9990,7 +10251,7 @@ var ScSelectionList = ({
|
|
|
9990
10251
|
viewBox: "0 0 8 6",
|
|
9991
10252
|
fill: "none",
|
|
9992
10253
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9993
|
-
children: /* @__PURE__ */
|
|
10254
|
+
children: /* @__PURE__ */ jsx104(
|
|
9994
10255
|
"path",
|
|
9995
10256
|
{
|
|
9996
10257
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -10003,7 +10264,7 @@ var ScSelectionList = ({
|
|
|
10003
10264
|
)
|
|
10004
10265
|
}
|
|
10005
10266
|
),
|
|
10006
|
-
/* @__PURE__ */
|
|
10267
|
+
/* @__PURE__ */ jsx104(
|
|
10007
10268
|
"button",
|
|
10008
10269
|
{
|
|
10009
10270
|
type: "button",
|
|
@@ -10012,7 +10273,7 @@ var ScSelectionList = ({
|
|
|
10012
10273
|
disabled,
|
|
10013
10274
|
"aria-pressed": state === "rejected",
|
|
10014
10275
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
10015
|
-
children: /* @__PURE__ */
|
|
10276
|
+
children: /* @__PURE__ */ jsx104(
|
|
10016
10277
|
"svg",
|
|
10017
10278
|
{
|
|
10018
10279
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -10021,7 +10282,7 @@ var ScSelectionList = ({
|
|
|
10021
10282
|
viewBox: "0 0 6.24261 6.24262",
|
|
10022
10283
|
fill: "none",
|
|
10023
10284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10024
|
-
children: /* @__PURE__ */
|
|
10285
|
+
children: /* @__PURE__ */ jsx104(
|
|
10025
10286
|
"path",
|
|
10026
10287
|
{
|
|
10027
10288
|
d: "M0.5 5.74262L3.12132 3.12132M3.12132 3.12132L5.74261 0.5M3.12132 3.12132L0.5 0.5M3.12132 3.12132L5.74261 5.74262",
|
|
@@ -10035,9 +10296,9 @@ var ScSelectionList = ({
|
|
|
10035
10296
|
}
|
|
10036
10297
|
)
|
|
10037
10298
|
] }),
|
|
10038
|
-
/* @__PURE__ */
|
|
10039
|
-
/* @__PURE__ */
|
|
10040
|
-
/* @__PURE__ */
|
|
10299
|
+
/* @__PURE__ */ jsx104("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ jsxs86("div", { className: ScSelectionList_default.row, children: [
|
|
10300
|
+
/* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.label, children: label }),
|
|
10301
|
+
/* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
10041
10302
|
] }) })
|
|
10042
10303
|
]
|
|
10043
10304
|
}
|
|
@@ -10045,7 +10306,7 @@ var ScSelectionList = ({
|
|
|
10045
10306
|
};
|
|
10046
10307
|
|
|
10047
10308
|
// src/SC-textArea/ScTextArea.tsx
|
|
10048
|
-
import { useState as
|
|
10309
|
+
import { useState as useState19 } from "react";
|
|
10049
10310
|
|
|
10050
10311
|
// src/SC-textArea/ScTextArea.module.css
|
|
10051
10312
|
var ScTextArea_default = {
|
|
@@ -10064,7 +10325,7 @@ var ScTextArea_default = {
|
|
|
10064
10325
|
};
|
|
10065
10326
|
|
|
10066
10327
|
// src/SC-textArea/ScTextArea.tsx
|
|
10067
|
-
import { jsx as
|
|
10328
|
+
import { jsx as jsx105, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
10068
10329
|
var ScTextArea = ({
|
|
10069
10330
|
state,
|
|
10070
10331
|
labelGroup = "",
|
|
@@ -10075,7 +10336,7 @@ var ScTextArea = ({
|
|
|
10075
10336
|
style,
|
|
10076
10337
|
...props
|
|
10077
10338
|
}) => {
|
|
10078
|
-
const [focused, setFocused] =
|
|
10339
|
+
const [focused, setFocused] = useState19(false);
|
|
10079
10340
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
10080
10341
|
const stateClass = ScTextArea_default["state-" + derivedState];
|
|
10081
10342
|
const labelGroupClass = ScTextArea_default["label-group-" + (labelGroup || "none")];
|
|
@@ -10095,7 +10356,7 @@ var ScTextArea = ({
|
|
|
10095
10356
|
" "
|
|
10096
10357
|
] })
|
|
10097
10358
|
] }),
|
|
10098
|
-
/* @__PURE__ */
|
|
10359
|
+
/* @__PURE__ */ jsx105("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx105(
|
|
10099
10360
|
"textarea",
|
|
10100
10361
|
{
|
|
10101
10362
|
className: ScTextArea_default.inputText,
|
|
@@ -10117,7 +10378,7 @@ var ScTextArea = ({
|
|
|
10117
10378
|
};
|
|
10118
10379
|
|
|
10119
10380
|
// src/SC-select/ScSelect.tsx
|
|
10120
|
-
import { useState as
|
|
10381
|
+
import { useState as useState20, useRef as useRef8, useEffect as useEffect8 } from "react";
|
|
10121
10382
|
|
|
10122
10383
|
// src/SC-select/ScSelect.module.css
|
|
10123
10384
|
var ScSelect_default = {
|
|
@@ -10142,7 +10403,7 @@ var ScSelect_default = {
|
|
|
10142
10403
|
};
|
|
10143
10404
|
|
|
10144
10405
|
// src/SC-select/ScSelect.tsx
|
|
10145
|
-
import { jsx as
|
|
10406
|
+
import { jsx as jsx106, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
10146
10407
|
var ScSelect = (props) => {
|
|
10147
10408
|
const {
|
|
10148
10409
|
value,
|
|
@@ -10154,7 +10415,7 @@ var ScSelect = (props) => {
|
|
|
10154
10415
|
disabled = false,
|
|
10155
10416
|
className
|
|
10156
10417
|
} = props;
|
|
10157
|
-
const [open, setOpen] =
|
|
10418
|
+
const [open, setOpen] = useState20(false);
|
|
10158
10419
|
const rootRef = useRef8(null);
|
|
10159
10420
|
useEffect8(() => {
|
|
10160
10421
|
if (!open) return;
|
|
@@ -10183,7 +10444,7 @@ var ScSelect = (props) => {
|
|
|
10183
10444
|
className
|
|
10184
10445
|
].filter(Boolean).join(" ");
|
|
10185
10446
|
return /* @__PURE__ */ jsxs88("div", { className: rootClass, ref: rootRef, children: [
|
|
10186
|
-
labelGroup === "label" && label ? /* @__PURE__ */
|
|
10447
|
+
labelGroup === "label" && label ? /* @__PURE__ */ jsx106("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ jsx106("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
10187
10448
|
/* @__PURE__ */ jsxs88("div", { className: ScSelect_default.selectArea, children: [
|
|
10188
10449
|
/* @__PURE__ */ jsxs88(
|
|
10189
10450
|
"button",
|
|
@@ -10195,18 +10456,18 @@ var ScSelect = (props) => {
|
|
|
10195
10456
|
"aria-haspopup": "listbox",
|
|
10196
10457
|
"aria-expanded": open,
|
|
10197
10458
|
children: [
|
|
10198
|
-
/* @__PURE__ */
|
|
10459
|
+
/* @__PURE__ */ jsx106(
|
|
10199
10460
|
"span",
|
|
10200
10461
|
{
|
|
10201
10462
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
10202
10463
|
children: selected ? selected.label : placeholder
|
|
10203
10464
|
}
|
|
10204
10465
|
),
|
|
10205
|
-
/* @__PURE__ */
|
|
10466
|
+
/* @__PURE__ */ jsx106(
|
|
10206
10467
|
"span",
|
|
10207
10468
|
{
|
|
10208
10469
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
10209
|
-
children: /* @__PURE__ */
|
|
10470
|
+
children: /* @__PURE__ */ jsx106("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx106(
|
|
10210
10471
|
"path",
|
|
10211
10472
|
{
|
|
10212
10473
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -10221,7 +10482,7 @@ var ScSelect = (props) => {
|
|
|
10221
10482
|
]
|
|
10222
10483
|
}
|
|
10223
10484
|
),
|
|
10224
|
-
open ? /* @__PURE__ */
|
|
10485
|
+
open ? /* @__PURE__ */ jsx106("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
10225
10486
|
const isSelected = option.id === value;
|
|
10226
10487
|
const optionClass = [
|
|
10227
10488
|
ScSelect_default.option,
|
|
@@ -10235,8 +10496,8 @@ var ScSelect = (props) => {
|
|
|
10235
10496
|
"aria-selected": isSelected,
|
|
10236
10497
|
onClick: () => handleSelect(option.id),
|
|
10237
10498
|
children: [
|
|
10238
|
-
/* @__PURE__ */
|
|
10239
|
-
option.description ? /* @__PURE__ */
|
|
10499
|
+
/* @__PURE__ */ jsx106("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
10500
|
+
option.description ? /* @__PURE__ */ jsx106("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
10240
10501
|
]
|
|
10241
10502
|
},
|
|
10242
10503
|
option.id
|
|
@@ -10271,7 +10532,7 @@ var ScFileField_default = {
|
|
|
10271
10532
|
};
|
|
10272
10533
|
|
|
10273
10534
|
// src/SC-fileField/ScFileField.tsx
|
|
10274
|
-
import { jsx as
|
|
10535
|
+
import { jsx as jsx107, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
10275
10536
|
var ScFileField = (props) => {
|
|
10276
10537
|
const {
|
|
10277
10538
|
onFileSelect,
|
|
@@ -10308,9 +10569,9 @@ var ScFileField = (props) => {
|
|
|
10308
10569
|
strokeLinejoin: "round",
|
|
10309
10570
|
"aria-hidden": "true",
|
|
10310
10571
|
children: [
|
|
10311
|
-
/* @__PURE__ */
|
|
10312
|
-
/* @__PURE__ */
|
|
10313
|
-
/* @__PURE__ */
|
|
10572
|
+
/* @__PURE__ */ jsx107("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
10573
|
+
/* @__PURE__ */ jsx107("path", { d: "M12 16V4" }),
|
|
10574
|
+
/* @__PURE__ */ jsx107("path", { d: "M7 9l5-5 5 5" })
|
|
10314
10575
|
]
|
|
10315
10576
|
}
|
|
10316
10577
|
);
|
|
@@ -10328,8 +10589,8 @@ var ScFileField = (props) => {
|
|
|
10328
10589
|
strokeLinejoin: "round",
|
|
10329
10590
|
"aria-hidden": "true",
|
|
10330
10591
|
children: [
|
|
10331
|
-
/* @__PURE__ */
|
|
10332
|
-
/* @__PURE__ */
|
|
10592
|
+
/* @__PURE__ */ jsx107("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
10593
|
+
/* @__PURE__ */ jsx107("path", { d: "M14 2v6h6" })
|
|
10333
10594
|
]
|
|
10334
10595
|
}
|
|
10335
10596
|
);
|
|
@@ -10346,20 +10607,20 @@ var ScFileField = (props) => {
|
|
|
10346
10607
|
strokeLinejoin: "round",
|
|
10347
10608
|
"aria-hidden": "true",
|
|
10348
10609
|
children: [
|
|
10349
|
-
/* @__PURE__ */
|
|
10350
|
-
/* @__PURE__ */
|
|
10610
|
+
/* @__PURE__ */ jsx107("path", { d: "M18 6L6 18" }),
|
|
10611
|
+
/* @__PURE__ */ jsx107("path", { d: "M6 6l12 12" })
|
|
10351
10612
|
]
|
|
10352
10613
|
}
|
|
10353
10614
|
);
|
|
10354
10615
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
10355
10616
|
const showRow = hasFile || isUploading;
|
|
10356
10617
|
return /* @__PURE__ */ jsxs89("div", { className: rootClass, children: [
|
|
10357
|
-
label ? /* @__PURE__ */
|
|
10618
|
+
label ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ jsx107("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
10358
10619
|
showRow ? /* @__PURE__ */ jsxs89("div", { className: ScFileField_default.inputContainer, children: [
|
|
10359
10620
|
fileIcon,
|
|
10360
10621
|
/* @__PURE__ */ jsxs89("div", { className: ScFileField_default.fileInfo, children: [
|
|
10361
|
-
/* @__PURE__ */
|
|
10362
|
-
isUploading ? /* @__PURE__ */
|
|
10622
|
+
/* @__PURE__ */ jsx107("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
10623
|
+
isUploading ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ jsx107(
|
|
10363
10624
|
"div",
|
|
10364
10625
|
{
|
|
10365
10626
|
className: ScFileField_default.progressFill,
|
|
@@ -10367,7 +10628,7 @@ var ScFileField = (props) => {
|
|
|
10367
10628
|
}
|
|
10368
10629
|
) }) : null
|
|
10369
10630
|
] }),
|
|
10370
|
-
!isUploading ? /* @__PURE__ */
|
|
10631
|
+
!isUploading ? /* @__PURE__ */ jsx107(
|
|
10371
10632
|
"button",
|
|
10372
10633
|
{
|
|
10373
10634
|
type: "button",
|
|
@@ -10378,7 +10639,7 @@ var ScFileField = (props) => {
|
|
|
10378
10639
|
}
|
|
10379
10640
|
) : null
|
|
10380
10641
|
] }) : /* @__PURE__ */ jsxs89("label", { className: ScFileField_default.dropzone, children: [
|
|
10381
|
-
/* @__PURE__ */
|
|
10642
|
+
/* @__PURE__ */ jsx107(
|
|
10382
10643
|
"input",
|
|
10383
10644
|
{
|
|
10384
10645
|
ref: inputRef,
|
|
@@ -10391,7 +10652,7 @@ var ScFileField = (props) => {
|
|
|
10391
10652
|
),
|
|
10392
10653
|
uploadIcon,
|
|
10393
10654
|
/* @__PURE__ */ jsxs89("div", { className: ScFileField_default.dropzoneText, children: [
|
|
10394
|
-
/* @__PURE__ */
|
|
10655
|
+
/* @__PURE__ */ jsx107("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
10395
10656
|
" or drag and drop"
|
|
10396
10657
|
] }),
|
|
10397
10658
|
accept ? /* @__PURE__ */ jsxs89("div", { className: ScFileField_default.acceptedText, children: [
|
|
@@ -10399,12 +10660,12 @@ var ScFileField = (props) => {
|
|
|
10399
10660
|
accept
|
|
10400
10661
|
] }) : null
|
|
10401
10662
|
] }),
|
|
10402
|
-
error ? /* @__PURE__ */
|
|
10663
|
+
error ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
10403
10664
|
] });
|
|
10404
10665
|
};
|
|
10405
10666
|
|
|
10406
10667
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10407
|
-
import { useState as
|
|
10668
|
+
import { useState as useState21, useEffect as useEffect9 } from "react";
|
|
10408
10669
|
|
|
10409
10670
|
// src/SC-mediaApproval/ScMediaApproval.module.css
|
|
10410
10671
|
var ScMediaApproval_default = {
|
|
@@ -10429,7 +10690,7 @@ var ScMediaApproval_default = {
|
|
|
10429
10690
|
};
|
|
10430
10691
|
|
|
10431
10692
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10432
|
-
import { Fragment as Fragment27, jsx as
|
|
10693
|
+
import { Fragment as Fragment27, jsx as jsx108, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
10433
10694
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
10434
10695
|
var isVideoUrl = (url, mediaType) => {
|
|
10435
10696
|
if (mediaType === "video") return true;
|
|
@@ -10451,8 +10712,8 @@ var ScMediaApproval = (props) => {
|
|
|
10451
10712
|
className
|
|
10452
10713
|
} = props;
|
|
10453
10714
|
const total = mediaUrls.length;
|
|
10454
|
-
const [index, setIndex] =
|
|
10455
|
-
const [mediaLoading, setMediaLoading] =
|
|
10715
|
+
const [index, setIndex] = useState21(activeIndex ?? 0);
|
|
10716
|
+
const [mediaLoading, setMediaLoading] = useState21(false);
|
|
10456
10717
|
useEffect9(() => {
|
|
10457
10718
|
if (typeof activeIndex === "number") {
|
|
10458
10719
|
setIndex(activeIndex);
|
|
@@ -10473,7 +10734,7 @@ var ScMediaApproval = (props) => {
|
|
|
10473
10734
|
};
|
|
10474
10735
|
return /* @__PURE__ */ jsxs90("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
10475
10736
|
/* @__PURE__ */ jsxs90("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
10476
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */
|
|
10737
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ jsx108(
|
|
10477
10738
|
"video",
|
|
10478
10739
|
{
|
|
10479
10740
|
className: ScMediaApproval_default.media,
|
|
@@ -10482,7 +10743,7 @@ var ScMediaApproval = (props) => {
|
|
|
10482
10743
|
onClick: handlePreview,
|
|
10483
10744
|
onLoadedData: () => setMediaLoading(false)
|
|
10484
10745
|
}
|
|
10485
|
-
) : /* @__PURE__ */
|
|
10746
|
+
) : /* @__PURE__ */ jsx108(
|
|
10486
10747
|
"img",
|
|
10487
10748
|
{
|
|
10488
10749
|
className: ScMediaApproval_default.media,
|
|
@@ -10491,8 +10752,8 @@ var ScMediaApproval = (props) => {
|
|
|
10491
10752
|
onClick: handlePreview,
|
|
10492
10753
|
onLoad: () => setMediaLoading(false)
|
|
10493
10754
|
}
|
|
10494
|
-
) : /* @__PURE__ */
|
|
10495
|
-
(loading || mediaLoading) && /* @__PURE__ */
|
|
10755
|
+
) : /* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
10756
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx108(
|
|
10496
10757
|
"svg",
|
|
10497
10758
|
{
|
|
10498
10759
|
className: ScMediaApproval_default.spinner,
|
|
@@ -10500,7 +10761,7 @@ var ScMediaApproval = (props) => {
|
|
|
10500
10761
|
height: "32",
|
|
10501
10762
|
viewBox: "0 0 24 24",
|
|
10502
10763
|
fill: "none",
|
|
10503
|
-
children: /* @__PURE__ */
|
|
10764
|
+
children: /* @__PURE__ */ jsx108(
|
|
10504
10765
|
"path",
|
|
10505
10766
|
{
|
|
10506
10767
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -10512,14 +10773,14 @@ var ScMediaApproval = (props) => {
|
|
|
10512
10773
|
}
|
|
10513
10774
|
) }),
|
|
10514
10775
|
total > 1 && /* @__PURE__ */ jsxs90(Fragment27, { children: [
|
|
10515
|
-
/* @__PURE__ */
|
|
10776
|
+
/* @__PURE__ */ jsx108(
|
|
10516
10777
|
"button",
|
|
10517
10778
|
{
|
|
10518
10779
|
type: "button",
|
|
10519
10780
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
10520
10781
|
"aria-label": "Previous",
|
|
10521
10782
|
onClick: () => goTo(safeIndex - 1),
|
|
10522
|
-
children: /* @__PURE__ */
|
|
10783
|
+
children: /* @__PURE__ */ jsx108("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx108(
|
|
10523
10784
|
"path",
|
|
10524
10785
|
{
|
|
10525
10786
|
d: "M15 6L9 12L15 18",
|
|
@@ -10531,14 +10792,14 @@ var ScMediaApproval = (props) => {
|
|
|
10531
10792
|
) })
|
|
10532
10793
|
}
|
|
10533
10794
|
),
|
|
10534
|
-
/* @__PURE__ */
|
|
10795
|
+
/* @__PURE__ */ jsx108(
|
|
10535
10796
|
"button",
|
|
10536
10797
|
{
|
|
10537
10798
|
type: "button",
|
|
10538
10799
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
10539
10800
|
"aria-label": "Next",
|
|
10540
10801
|
onClick: () => goTo(safeIndex + 1),
|
|
10541
|
-
children: /* @__PURE__ */
|
|
10802
|
+
children: /* @__PURE__ */ jsx108("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx108(
|
|
10542
10803
|
"path",
|
|
10543
10804
|
{
|
|
10544
10805
|
d: "M9 6L15 12L9 18",
|
|
@@ -10555,7 +10816,7 @@ var ScMediaApproval = (props) => {
|
|
|
10555
10816
|
" / ",
|
|
10556
10817
|
total
|
|
10557
10818
|
] }),
|
|
10558
|
-
/* @__PURE__ */
|
|
10819
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx108(
|
|
10559
10820
|
"button",
|
|
10560
10821
|
{
|
|
10561
10822
|
type: "button",
|
|
@@ -10571,8 +10832,8 @@ var ScMediaApproval = (props) => {
|
|
|
10571
10832
|
] })
|
|
10572
10833
|
] }),
|
|
10573
10834
|
/* @__PURE__ */ jsxs90("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
10574
|
-
/* @__PURE__ */
|
|
10575
|
-
/* @__PURE__ */
|
|
10835
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
10836
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ jsx108(
|
|
10576
10837
|
"textarea",
|
|
10577
10838
|
{
|
|
10578
10839
|
className: ScMediaApproval_default.textArea,
|
|
@@ -10608,8 +10869,8 @@ var ScMediaSelect_default = {
|
|
|
10608
10869
|
};
|
|
10609
10870
|
|
|
10610
10871
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
10611
|
-
import { jsx as
|
|
10612
|
-
var CheckBadge = () => /* @__PURE__ */
|
|
10872
|
+
import { jsx as jsx109, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
10873
|
+
var CheckBadge = () => /* @__PURE__ */ jsx109("span", { className: ScMediaSelect_default.checkBadge, children: /* @__PURE__ */ jsx109("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx109(
|
|
10613
10874
|
"path",
|
|
10614
10875
|
{
|
|
10615
10876
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -10619,7 +10880,7 @@ var CheckBadge = () => /* @__PURE__ */ jsx108("span", { className: ScMediaSelect
|
|
|
10619
10880
|
strokeLinejoin: "round"
|
|
10620
10881
|
}
|
|
10621
10882
|
) }) });
|
|
10622
|
-
var MaximizeIcon = () => /* @__PURE__ */
|
|
10883
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx109("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx109(
|
|
10623
10884
|
"path",
|
|
10624
10885
|
{
|
|
10625
10886
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -10651,9 +10912,9 @@ var ScMediaSelect = (props) => {
|
|
|
10651
10912
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
10652
10913
|
return /* @__PURE__ */ jsxs91("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
10653
10914
|
/* @__PURE__ */ jsxs91("div", { className: ScMediaSelect_default.header, children: [
|
|
10654
|
-
/* @__PURE__ */
|
|
10915
|
+
/* @__PURE__ */ jsx109("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
10655
10916
|
/* @__PURE__ */ jsxs91("div", { className: ScMediaSelect_default.actions, children: [
|
|
10656
|
-
/* @__PURE__ */
|
|
10917
|
+
/* @__PURE__ */ jsx109(
|
|
10657
10918
|
"button",
|
|
10658
10919
|
{
|
|
10659
10920
|
type: "button",
|
|
@@ -10662,8 +10923,8 @@ var ScMediaSelect = (props) => {
|
|
|
10662
10923
|
children: "Select all"
|
|
10663
10924
|
}
|
|
10664
10925
|
),
|
|
10665
|
-
/* @__PURE__ */
|
|
10666
|
-
/* @__PURE__ */
|
|
10926
|
+
/* @__PURE__ */ jsx109("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
10927
|
+
/* @__PURE__ */ jsx109(
|
|
10667
10928
|
"button",
|
|
10668
10929
|
{
|
|
10669
10930
|
type: "button",
|
|
@@ -10674,7 +10935,7 @@ var ScMediaSelect = (props) => {
|
|
|
10674
10935
|
)
|
|
10675
10936
|
] })
|
|
10676
10937
|
] }),
|
|
10677
|
-
/* @__PURE__ */
|
|
10938
|
+
/* @__PURE__ */ jsx109("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
10678
10939
|
const isSelected = selectedSet.has(url);
|
|
10679
10940
|
const itemClass = [
|
|
10680
10941
|
ScMediaSelect_default.item,
|
|
@@ -10689,9 +10950,9 @@ var ScMediaSelect = (props) => {
|
|
|
10689
10950
|
tabIndex: 0,
|
|
10690
10951
|
"aria-pressed": isSelected,
|
|
10691
10952
|
children: [
|
|
10692
|
-
mediaType === "video" ? /* @__PURE__ */
|
|
10693
|
-
isSelected && /* @__PURE__ */
|
|
10694
|
-
onPreview && /* @__PURE__ */
|
|
10953
|
+
mediaType === "video" ? /* @__PURE__ */ jsx109("video", { className: ScMediaSelect_default.media, src: url, muted: true, playsInline: true }) : /* @__PURE__ */ jsx109("img", { className: ScMediaSelect_default.media, src: url, alt: "" }),
|
|
10954
|
+
isSelected && /* @__PURE__ */ jsx109(CheckBadge, {}),
|
|
10955
|
+
onPreview && /* @__PURE__ */ jsx109(
|
|
10695
10956
|
"button",
|
|
10696
10957
|
{
|
|
10697
10958
|
type: "button",
|
|
@@ -10701,7 +10962,7 @@ var ScMediaSelect = (props) => {
|
|
|
10701
10962
|
onPreview(url);
|
|
10702
10963
|
},
|
|
10703
10964
|
"aria-label": "Preview",
|
|
10704
|
-
children: /* @__PURE__ */
|
|
10965
|
+
children: /* @__PURE__ */ jsx109(MaximizeIcon, {})
|
|
10705
10966
|
}
|
|
10706
10967
|
)
|
|
10707
10968
|
]
|
|
@@ -10713,7 +10974,7 @@ var ScMediaSelect = (props) => {
|
|
|
10713
10974
|
};
|
|
10714
10975
|
|
|
10715
10976
|
// src/SC-todoList/ScTodoList.tsx
|
|
10716
|
-
import { useState as
|
|
10977
|
+
import { useState as useState22 } from "react";
|
|
10717
10978
|
|
|
10718
10979
|
// src/SC-todoList/ScTodoList.module.css
|
|
10719
10980
|
var ScTodoList_default = {
|
|
@@ -10736,7 +10997,7 @@ var ScTodoList_default = {
|
|
|
10736
10997
|
};
|
|
10737
10998
|
|
|
10738
10999
|
// src/SC-todoList/ScTodoList.tsx
|
|
10739
|
-
import { jsx as
|
|
11000
|
+
import { jsx as jsx110, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
10740
11001
|
var ScTodoList = ({
|
|
10741
11002
|
items = [],
|
|
10742
11003
|
onToggle,
|
|
@@ -10746,9 +11007,9 @@ var ScTodoList = ({
|
|
|
10746
11007
|
addPlaceholder = "Add an item",
|
|
10747
11008
|
className
|
|
10748
11009
|
}) => {
|
|
10749
|
-
const [editingId, setEditingId] =
|
|
10750
|
-
const [editValue, setEditValue] =
|
|
10751
|
-
const [newValue, setNewValue] =
|
|
11010
|
+
const [editingId, setEditingId] = useState22(null);
|
|
11011
|
+
const [editValue, setEditValue] = useState22("");
|
|
11012
|
+
const [newValue, setNewValue] = useState22("");
|
|
10752
11013
|
const total = items.length;
|
|
10753
11014
|
const completed = items.filter((i) => i.status === "completed").length;
|
|
10754
11015
|
const startEditing = (item) => {
|
|
@@ -10772,7 +11033,7 @@ var ScTodoList = ({
|
|
|
10772
11033
|
};
|
|
10773
11034
|
return /* @__PURE__ */ jsxs92("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
10774
11035
|
total > 0 && /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.progress, children: [
|
|
10775
|
-
/* @__PURE__ */
|
|
11036
|
+
/* @__PURE__ */ jsx110(
|
|
10776
11037
|
"svg",
|
|
10777
11038
|
{
|
|
10778
11039
|
className: ScTodoList_default.progressIcon,
|
|
@@ -10781,7 +11042,7 @@ var ScTodoList = ({
|
|
|
10781
11042
|
viewBox: "0 0 14 14",
|
|
10782
11043
|
fill: "none",
|
|
10783
11044
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10784
|
-
children: /* @__PURE__ */
|
|
11045
|
+
children: /* @__PURE__ */ jsx110(
|
|
10785
11046
|
"path",
|
|
10786
11047
|
{
|
|
10787
11048
|
d: "M3 7L6 10L11 4",
|
|
@@ -10800,11 +11061,11 @@ var ScTodoList = ({
|
|
|
10800
11061
|
" completed"
|
|
10801
11062
|
] })
|
|
10802
11063
|
] }),
|
|
10803
|
-
/* @__PURE__ */
|
|
11064
|
+
/* @__PURE__ */ jsx110("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
10804
11065
|
const isEditing = editingId === item.id;
|
|
10805
11066
|
const isCompleted = item.status === "completed";
|
|
10806
11067
|
return /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.row, children: [
|
|
10807
|
-
/* @__PURE__ */
|
|
11068
|
+
/* @__PURE__ */ jsx110(
|
|
10808
11069
|
"button",
|
|
10809
11070
|
{
|
|
10810
11071
|
type: "button",
|
|
@@ -10820,8 +11081,8 @@ var ScTodoList = ({
|
|
|
10820
11081
|
fill: "none",
|
|
10821
11082
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10822
11083
|
children: [
|
|
10823
|
-
/* @__PURE__ */
|
|
10824
|
-
/* @__PURE__ */
|
|
11084
|
+
/* @__PURE__ */ jsx110("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
11085
|
+
/* @__PURE__ */ jsx110(
|
|
10825
11086
|
"path",
|
|
10826
11087
|
{
|
|
10827
11088
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -10833,7 +11094,7 @@ var ScTodoList = ({
|
|
|
10833
11094
|
)
|
|
10834
11095
|
]
|
|
10835
11096
|
}
|
|
10836
|
-
) : /* @__PURE__ */
|
|
11097
|
+
) : /* @__PURE__ */ jsx110(
|
|
10837
11098
|
"svg",
|
|
10838
11099
|
{
|
|
10839
11100
|
width: "18",
|
|
@@ -10841,7 +11102,7 @@ var ScTodoList = ({
|
|
|
10841
11102
|
viewBox: "0 0 18 18",
|
|
10842
11103
|
fill: "none",
|
|
10843
11104
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10844
|
-
children: /* @__PURE__ */
|
|
11105
|
+
children: /* @__PURE__ */ jsx110(
|
|
10845
11106
|
"circle",
|
|
10846
11107
|
{
|
|
10847
11108
|
cx: "9",
|
|
@@ -10855,7 +11116,7 @@ var ScTodoList = ({
|
|
|
10855
11116
|
)
|
|
10856
11117
|
}
|
|
10857
11118
|
),
|
|
10858
|
-
isEditing ? /* @__PURE__ */
|
|
11119
|
+
isEditing ? /* @__PURE__ */ jsx110(
|
|
10859
11120
|
"input",
|
|
10860
11121
|
{
|
|
10861
11122
|
className: ScTodoList_default.editInput,
|
|
@@ -10873,7 +11134,7 @@ var ScTodoList = ({
|
|
|
10873
11134
|
}
|
|
10874
11135
|
}
|
|
10875
11136
|
}
|
|
10876
|
-
) : /* @__PURE__ */
|
|
11137
|
+
) : /* @__PURE__ */ jsx110(
|
|
10877
11138
|
"span",
|
|
10878
11139
|
{
|
|
10879
11140
|
className: [
|
|
@@ -10884,14 +11145,14 @@ var ScTodoList = ({
|
|
|
10884
11145
|
}
|
|
10885
11146
|
),
|
|
10886
11147
|
!isEditing && /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.actions, children: [
|
|
10887
|
-
/* @__PURE__ */
|
|
11148
|
+
/* @__PURE__ */ jsx110(
|
|
10888
11149
|
"button",
|
|
10889
11150
|
{
|
|
10890
11151
|
type: "button",
|
|
10891
11152
|
className: ScTodoList_default.actionButton,
|
|
10892
11153
|
"aria-label": "Edit item",
|
|
10893
11154
|
onClick: () => startEditing(item),
|
|
10894
|
-
children: /* @__PURE__ */
|
|
11155
|
+
children: /* @__PURE__ */ jsx110(
|
|
10895
11156
|
"svg",
|
|
10896
11157
|
{
|
|
10897
11158
|
width: "16",
|
|
@@ -10899,7 +11160,7 @@ var ScTodoList = ({
|
|
|
10899
11160
|
viewBox: "0 0 16 16",
|
|
10900
11161
|
fill: "none",
|
|
10901
11162
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10902
|
-
children: /* @__PURE__ */
|
|
11163
|
+
children: /* @__PURE__ */ jsx110(
|
|
10903
11164
|
"path",
|
|
10904
11165
|
{
|
|
10905
11166
|
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
@@ -10913,14 +11174,14 @@ var ScTodoList = ({
|
|
|
10913
11174
|
)
|
|
10914
11175
|
}
|
|
10915
11176
|
),
|
|
10916
|
-
/* @__PURE__ */
|
|
11177
|
+
/* @__PURE__ */ jsx110(
|
|
10917
11178
|
"button",
|
|
10918
11179
|
{
|
|
10919
11180
|
type: "button",
|
|
10920
11181
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
10921
11182
|
"aria-label": "Delete item",
|
|
10922
11183
|
onClick: () => onDelete?.(item.id),
|
|
10923
|
-
children: /* @__PURE__ */
|
|
11184
|
+
children: /* @__PURE__ */ jsx110(
|
|
10924
11185
|
"svg",
|
|
10925
11186
|
{
|
|
10926
11187
|
width: "16",
|
|
@@ -10928,7 +11189,7 @@ var ScTodoList = ({
|
|
|
10928
11189
|
viewBox: "0 0 16 16",
|
|
10929
11190
|
fill: "none",
|
|
10930
11191
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10931
|
-
children: /* @__PURE__ */
|
|
11192
|
+
children: /* @__PURE__ */ jsx110(
|
|
10932
11193
|
"path",
|
|
10933
11194
|
{
|
|
10934
11195
|
d: "M2.667 4h10.666M6.667 7.333v3.334M9.333 7.333v3.334M3.333 4l.667 8a1.333 1.333 0 0 0 1.333 1.333h5.334A1.333 1.333 0 0 0 12 12l.667-8M6 4V2.667a.667.667 0 0 1 .667-.667h2.666a.667.667 0 0 1 .667.667V4",
|
|
@@ -10946,7 +11207,7 @@ var ScTodoList = ({
|
|
|
10946
11207
|
] }, item.id);
|
|
10947
11208
|
}) }),
|
|
10948
11209
|
/* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.addRow, children: [
|
|
10949
|
-
/* @__PURE__ */
|
|
11210
|
+
/* @__PURE__ */ jsx110(
|
|
10950
11211
|
"input",
|
|
10951
11212
|
{
|
|
10952
11213
|
className: ScTodoList_default.addInput,
|
|
@@ -10961,7 +11222,7 @@ var ScTodoList = ({
|
|
|
10961
11222
|
}
|
|
10962
11223
|
}
|
|
10963
11224
|
),
|
|
10964
|
-
/* @__PURE__ */
|
|
11225
|
+
/* @__PURE__ */ jsx110(
|
|
10965
11226
|
"button",
|
|
10966
11227
|
{
|
|
10967
11228
|
type: "button",
|
|
@@ -10969,7 +11230,7 @@ var ScTodoList = ({
|
|
|
10969
11230
|
"aria-label": "Add item",
|
|
10970
11231
|
disabled: newValue.trim().length === 0,
|
|
10971
11232
|
onClick: commitAdd,
|
|
10972
|
-
children: /* @__PURE__ */
|
|
11233
|
+
children: /* @__PURE__ */ jsx110(
|
|
10973
11234
|
"svg",
|
|
10974
11235
|
{
|
|
10975
11236
|
width: "18",
|
|
@@ -10977,7 +11238,7 @@ var ScTodoList = ({
|
|
|
10977
11238
|
viewBox: "0 0 18 18",
|
|
10978
11239
|
fill: "none",
|
|
10979
11240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10980
|
-
children: /* @__PURE__ */
|
|
11241
|
+
children: /* @__PURE__ */ jsx110(
|
|
10981
11242
|
"path",
|
|
10982
11243
|
{
|
|
10983
11244
|
d: "M9 4v10M4 9h10",
|
|
@@ -11004,18 +11265,18 @@ var ScRoleMobile_default = {
|
|
|
11004
11265
|
};
|
|
11005
11266
|
|
|
11006
11267
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
11007
|
-
import { jsx as
|
|
11268
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
11008
11269
|
var ScRoleMobile = ({
|
|
11009
11270
|
role = "admin",
|
|
11010
11271
|
className,
|
|
11011
11272
|
...props
|
|
11012
11273
|
}) => {
|
|
11013
|
-
return /* @__PURE__ */
|
|
11274
|
+
return /* @__PURE__ */ jsx111(
|
|
11014
11275
|
"div",
|
|
11015
11276
|
{
|
|
11016
11277
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
11017
11278
|
...props,
|
|
11018
|
-
children: /* @__PURE__ */
|
|
11279
|
+
children: /* @__PURE__ */ jsx111("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
11019
11280
|
}
|
|
11020
11281
|
);
|
|
11021
11282
|
};
|
|
@@ -11032,7 +11293,7 @@ var ScProfileV2Mobile_default = {
|
|
|
11032
11293
|
};
|
|
11033
11294
|
|
|
11034
11295
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
11035
|
-
import { jsx as
|
|
11296
|
+
import { jsx as jsx112, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
11036
11297
|
var ScProfileV2Mobile = ({
|
|
11037
11298
|
name = "Chris Hemsworth",
|
|
11038
11299
|
email = "chris@kepler.com",
|
|
@@ -11042,7 +11303,7 @@ var ScProfileV2Mobile = ({
|
|
|
11042
11303
|
...props
|
|
11043
11304
|
}) => {
|
|
11044
11305
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
11045
|
-
const profileImage = /* @__PURE__ */
|
|
11306
|
+
const profileImage = /* @__PURE__ */ jsx112("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx112("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx112("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
11046
11307
|
return /* @__PURE__ */ jsxs93(
|
|
11047
11308
|
"div",
|
|
11048
11309
|
{
|
|
@@ -11051,8 +11312,8 @@ var ScProfileV2Mobile = ({
|
|
|
11051
11312
|
children: [
|
|
11052
11313
|
dpPosition === "left" && profileImage,
|
|
11053
11314
|
/* @__PURE__ */ jsxs93("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
11054
|
-
/* @__PURE__ */
|
|
11055
|
-
/* @__PURE__ */
|
|
11315
|
+
/* @__PURE__ */ jsx112("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
11316
|
+
/* @__PURE__ */ jsx112("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
11056
11317
|
] }),
|
|
11057
11318
|
dpPosition === "right" && profileImage
|
|
11058
11319
|
]
|
|
@@ -11079,7 +11340,7 @@ var ScTableListMobile_default = {
|
|
|
11079
11340
|
};
|
|
11080
11341
|
|
|
11081
11342
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
11082
|
-
import { jsx as
|
|
11343
|
+
import { jsx as jsx113, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
11083
11344
|
var ScTableListMobile = ({
|
|
11084
11345
|
name = "Chris Hemsworth",
|
|
11085
11346
|
email = "chris@kepler.com",
|
|
@@ -11101,16 +11362,16 @@ var ScTableListMobile = ({
|
|
|
11101
11362
|
children: [
|
|
11102
11363
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
11103
11364
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
11104
|
-
/* @__PURE__ */
|
|
11105
|
-
/* @__PURE__ */
|
|
11365
|
+
/* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
11366
|
+
/* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
11106
11367
|
] }),
|
|
11107
|
-
/* @__PURE__ */
|
|
11368
|
+
/* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx113("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
11108
11369
|
] }),
|
|
11109
11370
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
11110
|
-
/* @__PURE__ */
|
|
11371
|
+
/* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
11111
11372
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
11112
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
11113
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
11373
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx113("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
11374
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx113("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
11114
11375
|
] })
|
|
11115
11376
|
] })
|
|
11116
11377
|
]
|
|
@@ -11138,7 +11399,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
11138
11399
|
};
|
|
11139
11400
|
|
|
11140
11401
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
11141
|
-
import { jsx as
|
|
11402
|
+
import { jsx as jsx114, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
11142
11403
|
var ScWorkspaceSwitchMobile = ({
|
|
11143
11404
|
storeName = "Stores",
|
|
11144
11405
|
initials = "WS",
|
|
@@ -11160,15 +11421,15 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
11160
11421
|
children: [
|
|
11161
11422
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
11162
11423
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
11163
|
-
/* @__PURE__ */
|
|
11164
|
-
/* @__PURE__ */
|
|
11424
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx114("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
11425
|
+
/* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
11165
11426
|
] }),
|
|
11166
|
-
/* @__PURE__ */
|
|
11427
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
11167
11428
|
] }),
|
|
11168
|
-
/* @__PURE__ */
|
|
11429
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
11169
11430
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
11170
|
-
/* @__PURE__ */
|
|
11171
|
-
/* @__PURE__ */
|
|
11431
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx114("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
11432
|
+
/* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
11172
11433
|
] })
|
|
11173
11434
|
]
|
|
11174
11435
|
}
|
|
@@ -11195,7 +11456,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
11195
11456
|
};
|
|
11196
11457
|
|
|
11197
11458
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
11198
|
-
import { jsx as
|
|
11459
|
+
import { jsx as jsx115, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
11199
11460
|
var ScWorkspaceSettingsMobile = ({
|
|
11200
11461
|
storeName = "Stores",
|
|
11201
11462
|
initials = "WS",
|
|
@@ -11219,19 +11480,19 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
11219
11480
|
children: [
|
|
11220
11481
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
11221
11482
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
11222
|
-
/* @__PURE__ */
|
|
11223
|
-
/* @__PURE__ */
|
|
11483
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
11484
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
11224
11485
|
] }),
|
|
11225
|
-
/* @__PURE__ */
|
|
11486
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
11226
11487
|
] }),
|
|
11227
|
-
/* @__PURE__ */
|
|
11488
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
11228
11489
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11229
|
-
/* @__PURE__ */
|
|
11230
|
-
/* @__PURE__ */
|
|
11490
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
11491
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
11231
11492
|
] }),
|
|
11232
11493
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11233
|
-
/* @__PURE__ */
|
|
11234
|
-
/* @__PURE__ */
|
|
11494
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
11495
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
11235
11496
|
] })
|
|
11236
11497
|
]
|
|
11237
11498
|
}
|
|
@@ -11254,7 +11515,7 @@ var ScMobileTopNav_default = {
|
|
|
11254
11515
|
};
|
|
11255
11516
|
|
|
11256
11517
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
11257
|
-
import { Fragment as Fragment28, jsx as
|
|
11518
|
+
import { Fragment as Fragment28, jsx as jsx116, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
11258
11519
|
var ScMobileTopNav = ({
|
|
11259
11520
|
type = "home",
|
|
11260
11521
|
searchIcon = false,
|
|
@@ -11283,16 +11544,16 @@ var ScMobileTopNav = ({
|
|
|
11283
11544
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
11284
11545
|
...props,
|
|
11285
11546
|
children: [
|
|
11286
|
-
type === "home" && /* @__PURE__ */
|
|
11547
|
+
type === "home" && /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11287
11548
|
type === "chat" && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11288
|
-
/* @__PURE__ */
|
|
11289
|
-
/* @__PURE__ */
|
|
11290
|
-
/* @__PURE__ */
|
|
11549
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11550
|
+
/* @__PURE__ */ jsx116("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
11551
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11291
11552
|
] }),
|
|
11292
11553
|
showSearch && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11293
|
-
/* @__PURE__ */
|
|
11294
|
-
/* @__PURE__ */
|
|
11295
|
-
/* @__PURE__ */
|
|
11554
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs97("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
11555
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11556
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx116(
|
|
11296
11557
|
"input",
|
|
11297
11558
|
{
|
|
11298
11559
|
type: "text",
|
|
@@ -11303,17 +11564,17 @@ var ScMobileTopNav = ({
|
|
|
11303
11564
|
}
|
|
11304
11565
|
) })
|
|
11305
11566
|
] }) }),
|
|
11306
|
-
/* @__PURE__ */
|
|
11567
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11307
11568
|
] }),
|
|
11308
11569
|
type === "inApp" && !search && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11309
|
-
/* @__PURE__ */
|
|
11310
|
-
/* @__PURE__ */
|
|
11311
|
-
/* @__PURE__ */
|
|
11570
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11571
|
+
/* @__PURE__ */ jsx116("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
11572
|
+
/* @__PURE__ */ jsx116(
|
|
11312
11573
|
"div",
|
|
11313
11574
|
{
|
|
11314
11575
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
11315
11576
|
onClick: onSearchClick,
|
|
11316
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
11577
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
11317
11578
|
}
|
|
11318
11579
|
)
|
|
11319
11580
|
] })
|
|
@@ -11334,7 +11595,7 @@ var ScMobileBottomAction_default = {
|
|
|
11334
11595
|
};
|
|
11335
11596
|
|
|
11336
11597
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
11337
|
-
import { jsx as
|
|
11598
|
+
import { jsx as jsx117, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
11338
11599
|
var ScMobileBottomAction = ({
|
|
11339
11600
|
text = "Save Changes",
|
|
11340
11601
|
disabled = false,
|
|
@@ -11352,22 +11613,22 @@ var ScMobileBottomAction = ({
|
|
|
11352
11613
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
11353
11614
|
...props,
|
|
11354
11615
|
children: [
|
|
11355
|
-
isTwoButton && /* @__PURE__ */
|
|
11616
|
+
isTwoButton && /* @__PURE__ */ jsx117(
|
|
11356
11617
|
"button",
|
|
11357
11618
|
{
|
|
11358
11619
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11359
11620
|
onClick: onSecondaryClick,
|
|
11360
11621
|
disabled: secondaryDisabled,
|
|
11361
|
-
children: /* @__PURE__ */
|
|
11622
|
+
children: /* @__PURE__ */ jsx117("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
11362
11623
|
}
|
|
11363
11624
|
),
|
|
11364
|
-
/* @__PURE__ */
|
|
11625
|
+
/* @__PURE__ */ jsx117(
|
|
11365
11626
|
"button",
|
|
11366
11627
|
{
|
|
11367
11628
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11368
11629
|
onClick,
|
|
11369
11630
|
disabled,
|
|
11370
|
-
children: /* @__PURE__ */
|
|
11631
|
+
children: /* @__PURE__ */ jsx117("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
11371
11632
|
}
|
|
11372
11633
|
)
|
|
11373
11634
|
]
|
|
@@ -11385,7 +11646,7 @@ var ScPopUpMenu_default = {
|
|
|
11385
11646
|
};
|
|
11386
11647
|
|
|
11387
11648
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
11388
|
-
import { jsx as
|
|
11649
|
+
import { jsx as jsx118, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
11389
11650
|
var ScPopUpMenu = ({
|
|
11390
11651
|
menu = "Options",
|
|
11391
11652
|
state = "default",
|
|
@@ -11401,8 +11662,8 @@ var ScPopUpMenu = ({
|
|
|
11401
11662
|
onClick,
|
|
11402
11663
|
...props,
|
|
11403
11664
|
children: [
|
|
11404
|
-
icon && /* @__PURE__ */
|
|
11405
|
-
/* @__PURE__ */
|
|
11665
|
+
icon && /* @__PURE__ */ jsx118("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
11666
|
+
/* @__PURE__ */ jsx118("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
11406
11667
|
]
|
|
11407
11668
|
}
|
|
11408
11669
|
);
|
|
@@ -11428,7 +11689,7 @@ var ScReferralCardMobile_default = {
|
|
|
11428
11689
|
};
|
|
11429
11690
|
|
|
11430
11691
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
11431
|
-
import { jsx as
|
|
11692
|
+
import { jsx as jsx119, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
11432
11693
|
var ScReferralCardMobile = ({
|
|
11433
11694
|
name = "Chris Hemsworth",
|
|
11434
11695
|
email = "chris@kepler.com",
|
|
@@ -11450,18 +11711,18 @@ var ScReferralCardMobile = ({
|
|
|
11450
11711
|
children: [
|
|
11451
11712
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
11452
11713
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
11453
|
-
/* @__PURE__ */
|
|
11714
|
+
/* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx119("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
11454
11715
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
11455
|
-
/* @__PURE__ */
|
|
11456
|
-
/* @__PURE__ */
|
|
11716
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
11717
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
11457
11718
|
] })
|
|
11458
11719
|
] }),
|
|
11459
|
-
/* @__PURE__ */
|
|
11720
|
+
/* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
11460
11721
|
] }),
|
|
11461
|
-
/* @__PURE__ */
|
|
11722
|
+
/* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.divider }),
|
|
11462
11723
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
11463
|
-
/* @__PURE__ */
|
|
11464
|
-
/* @__PURE__ */
|
|
11724
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
11725
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
11465
11726
|
] })
|
|
11466
11727
|
]
|
|
11467
11728
|
}
|
|
@@ -11478,7 +11739,7 @@ var InvoiceHistoryMobile_default = {
|
|
|
11478
11739
|
};
|
|
11479
11740
|
|
|
11480
11741
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
11481
|
-
import { jsx as
|
|
11742
|
+
import { jsx as jsx120, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
11482
11743
|
var InvoiceHistoryMobile = ({
|
|
11483
11744
|
invoiceId = "# INV-2800-2026",
|
|
11484
11745
|
date = "Nov 9th, 2025",
|
|
@@ -11487,10 +11748,10 @@ var InvoiceHistoryMobile = ({
|
|
|
11487
11748
|
}) => {
|
|
11488
11749
|
return /* @__PURE__ */ jsxs101("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
11489
11750
|
/* @__PURE__ */ jsxs101("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
11490
|
-
/* @__PURE__ */
|
|
11491
|
-
/* @__PURE__ */
|
|
11751
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
11752
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
11492
11753
|
] }),
|
|
11493
|
-
/* @__PURE__ */
|
|
11754
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
11494
11755
|
] });
|
|
11495
11756
|
};
|
|
11496
11757
|
|
|
@@ -11508,7 +11769,7 @@ var UsageHistoryMobile_default = {
|
|
|
11508
11769
|
};
|
|
11509
11770
|
|
|
11510
11771
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
11511
|
-
import { jsx as
|
|
11772
|
+
import { jsx as jsx121, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
11512
11773
|
var UsageHistoryMobile = ({
|
|
11513
11774
|
serviceName = "Artifax Generation",
|
|
11514
11775
|
credits = "50",
|
|
@@ -11519,16 +11780,16 @@ var UsageHistoryMobile = ({
|
|
|
11519
11780
|
}) => {
|
|
11520
11781
|
return /* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
11521
11782
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
11522
|
-
/* @__PURE__ */
|
|
11523
|
-
/* @__PURE__ */
|
|
11783
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
11784
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
11524
11785
|
] }),
|
|
11525
11786
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
11526
11787
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
11527
|
-
/* @__PURE__ */
|
|
11528
|
-
/* @__PURE__ */
|
|
11529
|
-
/* @__PURE__ */
|
|
11788
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
11789
|
+
/* @__PURE__ */ jsx121("div", { className: UsageHistoryMobile_default.divider }),
|
|
11790
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
11530
11791
|
] }),
|
|
11531
|
-
/* @__PURE__ */
|
|
11792
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
11532
11793
|
] })
|
|
11533
11794
|
] });
|
|
11534
11795
|
};
|
|
@@ -11552,7 +11813,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
11552
11813
|
};
|
|
11553
11814
|
|
|
11554
11815
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
11555
|
-
import { jsx as
|
|
11816
|
+
import { jsx as jsx122, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
11556
11817
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
11557
11818
|
wsName = "Workspace name is kepler",
|
|
11558
11819
|
initials = "WS",
|
|
@@ -11565,14 +11826,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11565
11826
|
className,
|
|
11566
11827
|
...props
|
|
11567
11828
|
}) => {
|
|
11568
|
-
return /* @__PURE__ */
|
|
11829
|
+
return /* @__PURE__ */ jsx122(
|
|
11569
11830
|
"div",
|
|
11570
11831
|
{
|
|
11571
11832
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
11572
11833
|
onClick,
|
|
11573
11834
|
...props,
|
|
11574
11835
|
children: /* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
11575
|
-
/* @__PURE__ */
|
|
11836
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx122(
|
|
11576
11837
|
ScDp,
|
|
11577
11838
|
{
|
|
11578
11839
|
type: imageUrl ? "image" : "initial",
|
|
@@ -11587,13 +11848,13 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11587
11848
|
}
|
|
11588
11849
|
) }),
|
|
11589
11850
|
/* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
11590
|
-
/* @__PURE__ */
|
|
11851
|
+
/* @__PURE__ */ jsx122("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
11591
11852
|
/* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
11592
|
-
/* @__PURE__ */
|
|
11593
|
-
/* @__PURE__ */
|
|
11594
|
-
/* @__PURE__ */
|
|
11595
|
-
/* @__PURE__ */
|
|
11596
|
-
/* @__PURE__ */
|
|
11853
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
11854
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
11855
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
11856
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
11857
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
11597
11858
|
] })
|
|
11598
11859
|
] })
|
|
11599
11860
|
] })
|
|
@@ -11620,7 +11881,7 @@ var ScImageField_default = {
|
|
|
11620
11881
|
|
|
11621
11882
|
// src/SC-imageField/ScImageField.tsx
|
|
11622
11883
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
11623
|
-
import { jsx as
|
|
11884
|
+
import { jsx as jsx123, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
11624
11885
|
var ScImageField = ({
|
|
11625
11886
|
label = "Label",
|
|
11626
11887
|
imagePreview,
|
|
@@ -11644,7 +11905,7 @@ var ScImageField = ({
|
|
|
11644
11905
|
e.target.value = "";
|
|
11645
11906
|
}
|
|
11646
11907
|
return /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
11647
|
-
/* @__PURE__ */
|
|
11908
|
+
/* @__PURE__ */ jsx123(
|
|
11648
11909
|
"input",
|
|
11649
11910
|
{
|
|
11650
11911
|
ref: inputRef,
|
|
@@ -11654,9 +11915,9 @@ var ScImageField = ({
|
|
|
11654
11915
|
onChange: handleChange
|
|
11655
11916
|
}
|
|
11656
11917
|
),
|
|
11657
|
-
/* @__PURE__ */
|
|
11918
|
+
/* @__PURE__ */ jsx123("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx123("div", { className: ScImageField_default.label, children: label }) }),
|
|
11658
11919
|
hasImage ? /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.previewArea, children: [
|
|
11659
|
-
/* @__PURE__ */
|
|
11920
|
+
/* @__PURE__ */ jsx123(
|
|
11660
11921
|
"img",
|
|
11661
11922
|
{
|
|
11662
11923
|
className: ScImageField_default.previewImage,
|
|
@@ -11664,8 +11925,8 @@ var ScImageField = ({
|
|
|
11664
11925
|
alt: "preview"
|
|
11665
11926
|
}
|
|
11666
11927
|
),
|
|
11667
|
-
/* @__PURE__ */
|
|
11668
|
-
/* @__PURE__ */
|
|
11928
|
+
/* @__PURE__ */ jsx123("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
11929
|
+
/* @__PURE__ */ jsx123(
|
|
11669
11930
|
SiconDelete2,
|
|
11670
11931
|
{
|
|
11671
11932
|
className: ScImageField_default.removeIcon,
|
|
@@ -11677,8 +11938,8 @@ var ScImageField = ({
|
|
|
11677
11938
|
}
|
|
11678
11939
|
)
|
|
11679
11940
|
] }) : /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
11680
|
-
/* @__PURE__ */
|
|
11681
|
-
/* @__PURE__ */
|
|
11941
|
+
/* @__PURE__ */ jsx123(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
11942
|
+
/* @__PURE__ */ jsx123("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
11682
11943
|
] })
|
|
11683
11944
|
] });
|
|
11684
11945
|
};
|
|
@@ -11692,7 +11953,7 @@ var ScSettingsTabComp_default = {
|
|
|
11692
11953
|
};
|
|
11693
11954
|
|
|
11694
11955
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
11695
|
-
import { jsx as
|
|
11956
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
11696
11957
|
var ScSettingsTabComp = ({
|
|
11697
11958
|
tabName = "Tab",
|
|
11698
11959
|
active = false,
|
|
@@ -11700,12 +11961,12 @@ var ScSettingsTabComp = ({
|
|
|
11700
11961
|
className
|
|
11701
11962
|
}) => {
|
|
11702
11963
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
11703
|
-
return /* @__PURE__ */
|
|
11964
|
+
return /* @__PURE__ */ jsx124(
|
|
11704
11965
|
"div",
|
|
11705
11966
|
{
|
|
11706
11967
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
11707
11968
|
onClick,
|
|
11708
|
-
children: /* @__PURE__ */
|
|
11969
|
+
children: /* @__PURE__ */ jsx124("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
11709
11970
|
}
|
|
11710
11971
|
);
|
|
11711
11972
|
};
|
|
@@ -11725,7 +11986,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
11725
11986
|
|
|
11726
11987
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
11727
11988
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
11728
|
-
import { jsx as
|
|
11989
|
+
import { jsx as jsx125, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
11729
11990
|
var ScCreditsUsageCardMobile = ({
|
|
11730
11991
|
usageLabel = "Credits usage",
|
|
11731
11992
|
usageText = "8,450 / 30,000",
|
|
@@ -11737,21 +11998,21 @@ var ScCreditsUsageCardMobile = ({
|
|
|
11737
11998
|
}) => {
|
|
11738
11999
|
return /* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
11739
12000
|
/* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
11740
|
-
/* @__PURE__ */
|
|
12001
|
+
/* @__PURE__ */ jsx125(
|
|
11741
12002
|
SiconCredits2,
|
|
11742
12003
|
{
|
|
11743
12004
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
11744
12005
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
11745
12006
|
}
|
|
11746
12007
|
),
|
|
11747
|
-
/* @__PURE__ */
|
|
12008
|
+
/* @__PURE__ */ jsx125("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
11748
12009
|
] }),
|
|
11749
|
-
/* @__PURE__ */
|
|
12010
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
11750
12011
|
/* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
11751
|
-
/* @__PURE__ */
|
|
11752
|
-
/* @__PURE__ */
|
|
12012
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
12013
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
11753
12014
|
] }),
|
|
11754
|
-
/* @__PURE__ */
|
|
12015
|
+
/* @__PURE__ */ jsx125(
|
|
11755
12016
|
ScButton,
|
|
11756
12017
|
{
|
|
11757
12018
|
text: buyButtonText,
|
|
@@ -11793,7 +12054,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
11793
12054
|
|
|
11794
12055
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
11795
12056
|
import { SiconBilling as SiconBilling5 } from "@streamoid/icons";
|
|
11796
|
-
import { Fragment as Fragment29, jsx as
|
|
12057
|
+
import { Fragment as Fragment29, jsx as jsx126, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
11797
12058
|
var ScPlanDetailsCardMobile = ({
|
|
11798
12059
|
planName = "Pro",
|
|
11799
12060
|
planCredits = "30,000 credits",
|
|
@@ -11810,17 +12071,17 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11810
12071
|
return /* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
11811
12072
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
11812
12073
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
11813
|
-
/* @__PURE__ */
|
|
12074
|
+
/* @__PURE__ */ jsx126(
|
|
11814
12075
|
SiconBilling5,
|
|
11815
12076
|
{
|
|
11816
12077
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
11817
12078
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
11818
12079
|
}
|
|
11819
12080
|
),
|
|
11820
|
-
/* @__PURE__ */
|
|
12081
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
11821
12082
|
] }),
|
|
11822
|
-
/* @__PURE__ */
|
|
11823
|
-
/* @__PURE__ */
|
|
12083
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
12084
|
+
/* @__PURE__ */ jsx126(
|
|
11824
12085
|
ScBadges,
|
|
11825
12086
|
{
|
|
11826
12087
|
text: badgeText,
|
|
@@ -11830,27 +12091,27 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11830
12091
|
}
|
|
11831
12092
|
),
|
|
11832
12093
|
badgeSubText && /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11833
|
-
/* @__PURE__ */
|
|
11834
|
-
/* @__PURE__ */
|
|
12094
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
12095
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
11835
12096
|
] })
|
|
11836
12097
|
] }) })
|
|
11837
12098
|
] }),
|
|
11838
|
-
/* @__PURE__ */
|
|
11839
|
-
/* @__PURE__ */
|
|
12099
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
12100
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11840
12101
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
11841
|
-
/* @__PURE__ */
|
|
11842
|
-
/* @__PURE__ */
|
|
12102
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
12103
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
11843
12104
|
] }),
|
|
11844
|
-
/* @__PURE__ */
|
|
12105
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
11845
12106
|
] }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11846
12107
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
11847
|
-
/* @__PURE__ */
|
|
11848
|
-
/* @__PURE__ */
|
|
11849
|
-
/* @__PURE__ */
|
|
12108
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
12109
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
12110
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
11850
12111
|
] }),
|
|
11851
|
-
/* @__PURE__ */
|
|
12112
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
11852
12113
|
] }) }),
|
|
11853
|
-
isLoading ? /* @__PURE__ */
|
|
12114
|
+
isLoading ? /* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx126(
|
|
11854
12115
|
ScButton,
|
|
11855
12116
|
{
|
|
11856
12117
|
text: upgradeButtonText,
|
|
@@ -11902,7 +12163,7 @@ import {
|
|
|
11902
12163
|
SiconLight as SiconLight3,
|
|
11903
12164
|
SiconDark as SiconDark3
|
|
11904
12165
|
} from "@streamoid/icons";
|
|
11905
|
-
import { Fragment as Fragment30, jsx as
|
|
12166
|
+
import { Fragment as Fragment30, jsx as jsx127, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
11906
12167
|
var activateOnKey = (handler) => (event) => {
|
|
11907
12168
|
if (!handler) return;
|
|
11908
12169
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -11953,7 +12214,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11953
12214
|
}, ref) => {
|
|
11954
12215
|
const hasWorkspaceBlock = showWorkspace || showSwitchWorkspace || !!workspaceContent;
|
|
11955
12216
|
const hasMenuBlock = showTeams || showBilling || showSettings || showWhatsNew || !!menuContent;
|
|
11956
|
-
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */
|
|
12217
|
+
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */ jsx127(
|
|
11957
12218
|
ScMenuOptions,
|
|
11958
12219
|
{
|
|
11959
12220
|
icon,
|
|
@@ -11968,7 +12229,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11968
12229
|
);
|
|
11969
12230
|
const themeTab = (mode, icon, label) => {
|
|
11970
12231
|
const active = themeMode === mode;
|
|
11971
|
-
return /* @__PURE__ */
|
|
12232
|
+
return /* @__PURE__ */ jsx127(
|
|
11972
12233
|
ScTabComp,
|
|
11973
12234
|
{
|
|
11974
12235
|
type: "icon-only",
|
|
@@ -11984,7 +12245,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11984
12245
|
}
|
|
11985
12246
|
);
|
|
11986
12247
|
};
|
|
11987
|
-
const profile = /* @__PURE__ */
|
|
12248
|
+
const profile = /* @__PURE__ */ jsx127(
|
|
11988
12249
|
ScProfile,
|
|
11989
12250
|
{
|
|
11990
12251
|
name,
|
|
@@ -12001,7 +12262,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12001
12262
|
...props,
|
|
12002
12263
|
children: [
|
|
12003
12264
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileHeader, children: [
|
|
12004
|
-
onProfileClick ? /* @__PURE__ */
|
|
12265
|
+
onProfileClick ? /* @__PURE__ */ jsx127(
|
|
12005
12266
|
"button",
|
|
12006
12267
|
{
|
|
12007
12268
|
type: "button",
|
|
@@ -12009,10 +12270,10 @@ var ScProfilePopup = forwardRef2(
|
|
|
12009
12270
|
onClick: onProfileClick,
|
|
12010
12271
|
children: profile
|
|
12011
12272
|
}
|
|
12012
|
-
) : /* @__PURE__ */
|
|
12273
|
+
) : /* @__PURE__ */ jsx127("div", { className: ScProfilePopup_default.profileBlock, children: profile }),
|
|
12013
12274
|
(headerActions || showLogout) && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.headerActions, children: [
|
|
12014
12275
|
headerActions,
|
|
12015
|
-
showLogout && /* @__PURE__ */
|
|
12276
|
+
showLogout && /* @__PURE__ */ jsx127(
|
|
12016
12277
|
"button",
|
|
12017
12278
|
{
|
|
12018
12279
|
type: "button",
|
|
@@ -12020,16 +12281,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12020
12281
|
onClick: onLogout,
|
|
12021
12282
|
"aria-label": logoutLabel,
|
|
12022
12283
|
title: logoutLabel,
|
|
12023
|
-
children: /* @__PURE__ */
|
|
12284
|
+
children: /* @__PURE__ */ jsx127(SiconLogout4, { size: 24 })
|
|
12024
12285
|
}
|
|
12025
12286
|
)
|
|
12026
12287
|
] })
|
|
12027
12288
|
] }),
|
|
12028
12289
|
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
12029
|
-
/* @__PURE__ */
|
|
12290
|
+
/* @__PURE__ */ jsx127(ScHDivider, { className: "" }),
|
|
12030
12291
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileDetails, children: [
|
|
12031
12292
|
showWorkspace && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.workspaceInfo, children: [
|
|
12032
|
-
/* @__PURE__ */
|
|
12293
|
+
/* @__PURE__ */ jsx127(
|
|
12033
12294
|
ScWorkspace,
|
|
12034
12295
|
{
|
|
12035
12296
|
workspaceName,
|
|
@@ -12039,16 +12300,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12039
12300
|
}
|
|
12040
12301
|
),
|
|
12041
12302
|
credits != null && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.creditsPill, children: [
|
|
12042
|
-
/* @__PURE__ */
|
|
12043
|
-
/* @__PURE__ */
|
|
12303
|
+
/* @__PURE__ */ jsx127(SiconCredits3, { size: 16 }),
|
|
12304
|
+
/* @__PURE__ */ jsx127("span", { className: ScProfilePopup_default.creditsValue, children: credits })
|
|
12044
12305
|
] })
|
|
12045
12306
|
] }),
|
|
12046
12307
|
(showSwitchWorkspace || workspaceContent) && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.switchWorkspaceRow, children: [
|
|
12047
|
-
showSwitchWorkspace && /* @__PURE__ */
|
|
12308
|
+
showSwitchWorkspace && /* @__PURE__ */ jsx127(
|
|
12048
12309
|
ScButton,
|
|
12049
12310
|
{
|
|
12050
12311
|
text: switchWorkspaceLabel,
|
|
12051
|
-
icon: /* @__PURE__ */
|
|
12312
|
+
icon: /* @__PURE__ */ jsx127(SiconWorkspace3, { size: 20 }),
|
|
12052
12313
|
styleVariant: "icon-left",
|
|
12053
12314
|
variant: "outline",
|
|
12054
12315
|
size: "md",
|
|
@@ -12061,12 +12322,12 @@ var ScProfilePopup = forwardRef2(
|
|
|
12061
12322
|
] })
|
|
12062
12323
|
] }),
|
|
12063
12324
|
hasMenuBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
12064
|
-
/* @__PURE__ */
|
|
12325
|
+
/* @__PURE__ */ jsx127(ScHDivider, { className: "" }),
|
|
12065
12326
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.settingsOptions, children: [
|
|
12066
|
-
showTeams && menuRow(/* @__PURE__ */
|
|
12067
|
-
showBilling && menuRow(/* @__PURE__ */
|
|
12068
|
-
showSettings && menuRow(/* @__PURE__ */
|
|
12069
|
-
showWhatsNew && menuRow(/* @__PURE__ */
|
|
12327
|
+
showTeams && menuRow(/* @__PURE__ */ jsx127(SiconTeam8, { size: 24 }), teamsLabel, onTeams),
|
|
12328
|
+
showBilling && menuRow(/* @__PURE__ */ jsx127(SiconBilling6, { size: 24 }), billingLabel, onBilling),
|
|
12329
|
+
showSettings && menuRow(/* @__PURE__ */ jsx127(SiconSettings4, { size: 24 }), settingsLabel, onSettings),
|
|
12330
|
+
showWhatsNew && menuRow(/* @__PURE__ */ jsx127(SiconBolt6, { size: 24 }), whatsNewLabel, onWhatsNew, {
|
|
12070
12331
|
variant: version ? "with-v" : "default",
|
|
12071
12332
|
...version ? { version } : {}
|
|
12072
12333
|
}),
|
|
@@ -12074,16 +12335,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12074
12335
|
] })
|
|
12075
12336
|
] }),
|
|
12076
12337
|
preFooterContent,
|
|
12077
|
-
showThemeSwitcher && /* @__PURE__ */
|
|
12338
|
+
showThemeSwitcher && /* @__PURE__ */ jsx127(
|
|
12078
12339
|
ScTabSwitcher,
|
|
12079
12340
|
{
|
|
12080
12341
|
tabCount: "3",
|
|
12081
12342
|
role: "radiogroup",
|
|
12082
12343
|
"aria-label": "Theme",
|
|
12083
12344
|
className: "",
|
|
12084
|
-
component: themeTab("system", /* @__PURE__ */
|
|
12085
|
-
component2: themeTab("light", /* @__PURE__ */
|
|
12086
|
-
component3: themeTab("dark", /* @__PURE__ */
|
|
12345
|
+
component: themeTab("system", /* @__PURE__ */ jsx127(SiconSystem3, { size: 20 }), "System theme"),
|
|
12346
|
+
component2: themeTab("light", /* @__PURE__ */ jsx127(SiconLight3, { size: 20 }), "Light theme"),
|
|
12347
|
+
component3: themeTab("dark", /* @__PURE__ */ jsx127(SiconDark3, { size: 20 }), "Dark theme")
|
|
12087
12348
|
}
|
|
12088
12349
|
),
|
|
12089
12350
|
children
|
|
@@ -12172,6 +12433,7 @@ export {
|
|
|
12172
12433
|
ScPlanDetailsCard,
|
|
12173
12434
|
ScPlanDetailsCardMobile,
|
|
12174
12435
|
ScPopUpMenu,
|
|
12436
|
+
ScPopoverArrow,
|
|
12175
12437
|
ScProfile,
|
|
12176
12438
|
ScProfileImageUpdate,
|
|
12177
12439
|
ScProfileOptions,
|
|
@@ -12237,12 +12499,18 @@ export {
|
|
|
12237
12499
|
advanceSidebarResizeGesture,
|
|
12238
12500
|
clampPanelWidth,
|
|
12239
12501
|
createStreamoidAppSwitchUtilities,
|
|
12502
|
+
formatStreamoidAppVersion,
|
|
12240
12503
|
formatSubAgentLabel,
|
|
12241
12504
|
hasCollapsedMark,
|
|
12505
|
+
resolveAnchoredPopoverArrow,
|
|
12506
|
+
resolveAnchoredPopoverPosition,
|
|
12242
12507
|
resolvePanelResize,
|
|
12243
12508
|
resolvePanelResizeKey,
|
|
12509
|
+
scAppSwitchOrder,
|
|
12244
12510
|
streamoidAppSwitchTagline,
|
|
12245
12511
|
streamoidChangelogUrl,
|
|
12512
|
+
useStreamoidAnchoredPopover,
|
|
12513
|
+
useStreamoidAnchoredPopoverPosition,
|
|
12246
12514
|
useStreamoidPanelWidth,
|
|
12247
12515
|
useStreamoidSidebarPopoverPosition,
|
|
12248
12516
|
useStreamoidSidebarPreference,
|