@streamoid/ui 0.6.31 → 0.6.33
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 +2 -2
- package/dist/docs/ScAppSwitchPanel.md +23 -6
- package/dist/docs/ScWorkspaceAccountMenu.md +59 -1
- package/dist/docs/components.json +20 -0
- package/dist/index.d.mts +95 -7
- package/dist/index.d.ts +95 -7
- package/dist/index.js +1035 -861
- package/dist/index.mjs +821 -647
- 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
|
|
@@ -119,7 +125,7 @@ function ScAppCardForCopilot({
|
|
|
119
125
|
|
|
120
126
|
// src/SC-AppSwitch/ScAppSwitchPanel.tsx
|
|
121
127
|
import { useState } from "react";
|
|
122
|
-
import {
|
|
128
|
+
import { SiconExternalLink, SiconRight as SiconRight2 } from "@streamoid/icons";
|
|
123
129
|
import { Fragment, jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
124
130
|
var STREAMOID_CHANGELOG_URLS = {
|
|
125
131
|
tactix: "https://streamoid.com/tactix/changelog",
|
|
@@ -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 = [
|
|
@@ -253,11 +275,16 @@ var ScAppSwitchRow = ({
|
|
|
253
275
|
width: "100%",
|
|
254
276
|
height: 60,
|
|
255
277
|
padding: "var(--spacing-md, 8px) var(--spacing-xl, 12px) var(--spacing-md, 8px) var(--spacing-3xl, 16px)",
|
|
256
|
-
/*
|
|
257
|
-
`--alias-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
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",
|
|
261
288
|
border: "1px solid transparent",
|
|
262
289
|
borderRadius: "var(--radius-xl, 12px)",
|
|
263
290
|
boxShadow: focused ? "inset 0 0 0 1px var(--alias-border-default, #cfcfcf)" : "none",
|
|
@@ -359,17 +386,42 @@ var ScAppSwitchRow = ({
|
|
|
359
386
|
display: "flex",
|
|
360
387
|
alignItems: "center",
|
|
361
388
|
justifyContent: "center",
|
|
362
|
-
flexShrink: 0
|
|
363
|
-
opacity: current || interactive ? 1 : 0.45,
|
|
364
|
-
transition: "opacity 120ms ease"
|
|
389
|
+
flexShrink: 0
|
|
365
390
|
},
|
|
366
|
-
children: current ? /* @__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
|
|
367
405
|
}
|
|
368
406
|
)
|
|
369
407
|
]
|
|
370
408
|
}
|
|
371
409
|
);
|
|
372
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
|
+
);
|
|
373
425
|
var ScAppSwitchSystemRow = ({ item }) => {
|
|
374
426
|
const [hover, setHover] = useState(false);
|
|
375
427
|
const [focused, setFocused] = useState(false);
|
|
@@ -425,8 +477,15 @@ var ScAppSwitchPanel = ({
|
|
|
425
477
|
apps,
|
|
426
478
|
systemItems,
|
|
427
479
|
utilities,
|
|
428
|
-
|
|
429
|
-
|
|
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",
|
|
430
489
|
className,
|
|
431
490
|
style
|
|
432
491
|
}) => {
|
|
@@ -473,6 +532,7 @@ var ScAppSwitchPanel = ({
|
|
|
473
532
|
}
|
|
474
533
|
)
|
|
475
534
|
] }) : null,
|
|
535
|
+
appsLabel ? /* @__PURE__ */ jsx4(ScAppSwitchGroupLabel, { children: appsLabel }) : null,
|
|
476
536
|
ordered.map((app) => /* @__PURE__ */ jsx4(ScAppSwitchRow, { item: app }, app.key)),
|
|
477
537
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ jsxs3(
|
|
478
538
|
"div",
|
|
@@ -485,20 +545,7 @@ var ScAppSwitchPanel = ({
|
|
|
485
545
|
borderTop: "1px solid var(--alias-border-divider, #dedede)"
|
|
486
546
|
},
|
|
487
547
|
children: [
|
|
488
|
-
systemLabel ? /* @__PURE__ */ jsx4(
|
|
489
|
-
"span",
|
|
490
|
-
{
|
|
491
|
-
style: {
|
|
492
|
-
padding: "0 var(--spacing-md, 8px) var(--spacing-sm, 4px)",
|
|
493
|
-
color: T.tertiary,
|
|
494
|
-
fontFamily: T.font,
|
|
495
|
-
fontSize: "var(--font-size-font-size-xs, 12px)",
|
|
496
|
-
lineHeight: "var(--line-height-line-height-xs, 16px)",
|
|
497
|
-
fontWeight: 500
|
|
498
|
-
},
|
|
499
|
-
children: systemLabel
|
|
500
|
-
}
|
|
501
|
-
) : null,
|
|
548
|
+
systemLabel ? /* @__PURE__ */ jsx4(ScAppSwitchGroupLabel, { children: systemLabel }) : null,
|
|
502
549
|
resolvedSystemItems.map((item) => /* @__PURE__ */ jsx4(ScAppSwitchSystemRow, { item }, item.key))
|
|
503
550
|
]
|
|
504
551
|
}
|
|
@@ -5675,10 +5722,25 @@ import {
|
|
|
5675
5722
|
useLayoutEffect,
|
|
5676
5723
|
useState as useState13
|
|
5677
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
|
+
}
|
|
5678
5739
|
var DEFAULT_GAP = 8;
|
|
5679
5740
|
var DEFAULT_INSET = 16;
|
|
5680
5741
|
function resolveAnchoredPopoverPosition({
|
|
5681
5742
|
anchor,
|
|
5743
|
+
align,
|
|
5682
5744
|
viewportWidth,
|
|
5683
5745
|
viewportHeight,
|
|
5684
5746
|
width,
|
|
@@ -5688,8 +5750,9 @@ function resolveAnchoredPopoverPosition({
|
|
|
5688
5750
|
}) {
|
|
5689
5751
|
const available = Math.max(0, viewportWidth - inset * 2);
|
|
5690
5752
|
const panelWidth = Math.min(width, available);
|
|
5691
|
-
const
|
|
5692
|
-
const
|
|
5753
|
+
const beside = align ?? anchor;
|
|
5754
|
+
const rightOfAnchor = beside.right + gap;
|
|
5755
|
+
const leftOfAnchor = beside.left - gap - panelWidth;
|
|
5693
5756
|
const fitsRight = rightOfAnchor + panelWidth <= viewportWidth - inset;
|
|
5694
5757
|
const preferredLeft = fitsRight ? rightOfAnchor : leftOfAnchor >= inset ? leftOfAnchor : rightOfAnchor;
|
|
5695
5758
|
const left = Math.max(
|
|
@@ -5707,6 +5770,74 @@ function resolveAnchoredPopoverPosition({
|
|
|
5707
5770
|
);
|
|
5708
5771
|
return { left, top, width: panelWidth };
|
|
5709
5772
|
}
|
|
5773
|
+
function useStreamoidAnchoredPopover(anchorRef, panelRef, {
|
|
5774
|
+
width,
|
|
5775
|
+
gap = DEFAULT_GAP,
|
|
5776
|
+
inset = DEFAULT_INSET,
|
|
5777
|
+
alignRef
|
|
5778
|
+
}) {
|
|
5779
|
+
const [state, setState] = useState13({
|
|
5780
|
+
style: {
|
|
5781
|
+
position: "fixed",
|
|
5782
|
+
left: 0,
|
|
5783
|
+
top: 0,
|
|
5784
|
+
width,
|
|
5785
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5786
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5787
|
+
visibility: "hidden"
|
|
5788
|
+
},
|
|
5789
|
+
arrow: null
|
|
5790
|
+
});
|
|
5791
|
+
useLayoutEffect(() => {
|
|
5792
|
+
const anchor = anchorRef.current;
|
|
5793
|
+
if (!anchor || typeof window === "undefined") return;
|
|
5794
|
+
const measure = () => {
|
|
5795
|
+
const bounds = anchor.getBoundingClientRect();
|
|
5796
|
+
const panelHeight = panelRef.current?.offsetHeight;
|
|
5797
|
+
const { left, top, width: panelWidth } = resolveAnchoredPopoverPosition({
|
|
5798
|
+
anchor: bounds,
|
|
5799
|
+
align: alignRef?.current?.getBoundingClientRect(),
|
|
5800
|
+
viewportWidth: window.innerWidth,
|
|
5801
|
+
viewportHeight: window.innerHeight,
|
|
5802
|
+
width,
|
|
5803
|
+
height: panelHeight,
|
|
5804
|
+
gap,
|
|
5805
|
+
inset
|
|
5806
|
+
});
|
|
5807
|
+
const style = {
|
|
5808
|
+
position: "fixed",
|
|
5809
|
+
left,
|
|
5810
|
+
top,
|
|
5811
|
+
width: panelWidth,
|
|
5812
|
+
maxWidth: `calc(100vw - ${inset * 2}px)`,
|
|
5813
|
+
maxHeight: `calc(100dvh - ${inset * 2}px)`,
|
|
5814
|
+
visibility: "visible"
|
|
5815
|
+
};
|
|
5816
|
+
const arrow = panelHeight ? resolveAnchoredPopoverArrow({
|
|
5817
|
+
anchor: bounds,
|
|
5818
|
+
panelLeft: left,
|
|
5819
|
+
panelTop: top,
|
|
5820
|
+
panelHeight
|
|
5821
|
+
}) : null;
|
|
5822
|
+
setState(
|
|
5823
|
+
(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 }
|
|
5824
|
+
);
|
|
5825
|
+
};
|
|
5826
|
+
measure();
|
|
5827
|
+
window.addEventListener("resize", measure);
|
|
5828
|
+
window.addEventListener("scroll", measure, true);
|
|
5829
|
+
const resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5830
|
+
resizeObserver?.observe(anchor);
|
|
5831
|
+
if (panelRef.current) resizeObserver?.observe(panelRef.current);
|
|
5832
|
+
if (alignRef?.current) resizeObserver?.observe(alignRef.current);
|
|
5833
|
+
return () => {
|
|
5834
|
+
window.removeEventListener("resize", measure);
|
|
5835
|
+
window.removeEventListener("scroll", measure, true);
|
|
5836
|
+
resizeObserver?.disconnect();
|
|
5837
|
+
};
|
|
5838
|
+
}, [anchorRef, panelRef, alignRef, width, gap, inset]);
|
|
5839
|
+
return state;
|
|
5840
|
+
}
|
|
5710
5841
|
function useStreamoidAnchoredPopoverPosition(anchorRef, panelRef, { width, gap = DEFAULT_GAP, inset = DEFAULT_INSET }) {
|
|
5711
5842
|
const [position, setPosition] = useState13({
|
|
5712
5843
|
position: "fixed",
|
|
@@ -5760,6 +5891,45 @@ function useStreamoidAnchoredPopoverPosition(anchorRef, panelRef, { width, gap =
|
|
|
5760
5891
|
return position;
|
|
5761
5892
|
}
|
|
5762
5893
|
|
|
5894
|
+
// src/SC-SidebarShell/ScPopoverArrow.tsx
|
|
5895
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5896
|
+
function ScPopoverArrow({
|
|
5897
|
+
arrow,
|
|
5898
|
+
background = "var(--alias-surface-base, #101010)",
|
|
5899
|
+
borderColor = "var(--alias-border-default, #3e3e3e)",
|
|
5900
|
+
size = 12,
|
|
5901
|
+
style
|
|
5902
|
+
}) {
|
|
5903
|
+
if (!arrow) return null;
|
|
5904
|
+
const half = size / 2;
|
|
5905
|
+
const onLeftEdge = arrow.side === "left";
|
|
5906
|
+
return /* @__PURE__ */ jsx52(
|
|
5907
|
+
"span",
|
|
5908
|
+
{
|
|
5909
|
+
"aria-hidden": true,
|
|
5910
|
+
"data-streamoid-popover-arrow": arrow.side,
|
|
5911
|
+
style: {
|
|
5912
|
+
position: "absolute",
|
|
5913
|
+
top: arrow.top - half,
|
|
5914
|
+
[onLeftEdge ? "left" : "right"]: -half,
|
|
5915
|
+
width: size,
|
|
5916
|
+
height: size,
|
|
5917
|
+
background,
|
|
5918
|
+
/* Only the two edges that face away from the card. The other two sit
|
|
5919
|
+
under it, where a border would draw a line across the card's own
|
|
5920
|
+
edge. */
|
|
5921
|
+
borderTop: onLeftEdge ? "none" : `1px solid ${borderColor}`,
|
|
5922
|
+
borderRight: onLeftEdge ? "none" : `1px solid ${borderColor}`,
|
|
5923
|
+
borderBottom: onLeftEdge ? `1px solid ${borderColor}` : "none",
|
|
5924
|
+
borderLeft: onLeftEdge ? `1px solid ${borderColor}` : "none",
|
|
5925
|
+
transform: "rotate(45deg)",
|
|
5926
|
+
pointerEvents: "none",
|
|
5927
|
+
...style
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
);
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5763
5933
|
// src/SC-SidebarShell/useStreamoidSidebarPopoverPosition.ts
|
|
5764
5934
|
import {
|
|
5765
5935
|
useLayoutEffect as useLayoutEffect2,
|
|
@@ -5882,21 +6052,21 @@ var ScArtifaxSidebar_default = {
|
|
|
5882
6052
|
|
|
5883
6053
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
5884
6054
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
5885
|
-
import { Fragment as Fragment17, jsx as
|
|
6055
|
+
import { Fragment as Fragment17, jsx as jsx53, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
5886
6056
|
function ArtifaxPlaceholderIcon() {
|
|
5887
|
-
return /* @__PURE__ */
|
|
6057
|
+
return /* @__PURE__ */ jsx53("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
5888
6058
|
}
|
|
5889
6059
|
function resolveIcon2(iconMap, item, active, expanded) {
|
|
5890
6060
|
const renderer = iconMap?.[item.iconKey];
|
|
5891
|
-
if (renderer == null) return /* @__PURE__ */
|
|
6061
|
+
if (renderer == null) return /* @__PURE__ */ jsx53(ArtifaxPlaceholderIcon, {});
|
|
5892
6062
|
if (typeof renderer === "function") {
|
|
5893
|
-
return /* @__PURE__ */
|
|
6063
|
+
return /* @__PURE__ */ jsx53(Fragment17, { children: renderer({ item, active, expanded }) });
|
|
5894
6064
|
}
|
|
5895
|
-
return /* @__PURE__ */
|
|
6065
|
+
return /* @__PURE__ */ jsx53(Fragment17, { children: renderer });
|
|
5896
6066
|
}
|
|
5897
6067
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
5898
6068
|
if (toggleIcon == null)
|
|
5899
|
-
return /* @__PURE__ */
|
|
6069
|
+
return /* @__PURE__ */ jsx53(SiconCollapse3, {});
|
|
5900
6070
|
if (typeof toggleIcon === "function") {
|
|
5901
6071
|
return toggleIcon(expanded);
|
|
5902
6072
|
}
|
|
@@ -5916,8 +6086,8 @@ function SectionHeader2({
|
|
|
5916
6086
|
onClick: onToggle,
|
|
5917
6087
|
disabled: !onToggle,
|
|
5918
6088
|
children: [
|
|
5919
|
-
/* @__PURE__ */
|
|
5920
|
-
/* @__PURE__ */
|
|
6089
|
+
/* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.sectionLabel, children: label }),
|
|
6090
|
+
/* @__PURE__ */ jsx53(Chevron2, { className: ScArtifaxSidebar_default.sectionChevron })
|
|
5921
6091
|
]
|
|
5922
6092
|
}
|
|
5923
6093
|
);
|
|
@@ -5978,7 +6148,7 @@ var ScArtifaxSidebar = ({
|
|
|
5978
6148
|
const renderMenuItem2 = (item, sectionId) => {
|
|
5979
6149
|
const active = item.id === activeItemId;
|
|
5980
6150
|
const state = active ? "active" : "default";
|
|
5981
|
-
return /* @__PURE__ */
|
|
6151
|
+
return /* @__PURE__ */ jsx53(
|
|
5982
6152
|
ScSidebarMenu,
|
|
5983
6153
|
{
|
|
5984
6154
|
icon: resolveIcon2(iconMap, item, active, expanded),
|
|
@@ -5997,7 +6167,7 @@ var ScArtifaxSidebar = ({
|
|
|
5997
6167
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + " " + ScArtifaxSidebar_default.variantExpanded + (className ? " " + className : ""),
|
|
5998
6168
|
style,
|
|
5999
6169
|
children: [
|
|
6000
|
-
resizable ? /* @__PURE__ */
|
|
6170
|
+
resizable ? /* @__PURE__ */ jsx53(
|
|
6001
6171
|
ScSidebarResizeHandle,
|
|
6002
6172
|
{
|
|
6003
6173
|
expanded: true,
|
|
@@ -6010,17 +6180,17 @@ var ScArtifaxSidebar = ({
|
|
|
6010
6180
|
"data-streamoid-sidebar-card": true,
|
|
6011
6181
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.expanded,
|
|
6012
6182
|
children: [
|
|
6013
|
-
/* @__PURE__ */
|
|
6183
|
+
/* @__PURE__ */ jsx53("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayExpanded }),
|
|
6014
6184
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.body, children: [
|
|
6015
|
-
expandedLogo ? /* @__PURE__ */
|
|
6185
|
+
expandedLogo ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.logoUnitExpanded, children: expandedLogo }) : null,
|
|
6016
6186
|
sections.map((section, idx) => {
|
|
6017
6187
|
const open = section.label ? section.collapsible !== false ? isSectionOpen(section.id) : true : true;
|
|
6018
6188
|
const showHeader = !!section.label;
|
|
6019
6189
|
const canToggle = showHeader && section.collapsible !== false;
|
|
6020
6190
|
return /* @__PURE__ */ jsxs42("div", { children: [
|
|
6021
|
-
idx > 0 ? /* @__PURE__ */
|
|
6191
|
+
idx > 0 ? /* @__PURE__ */ jsx53(ScHDivider, {}) : null,
|
|
6022
6192
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.sectionContainer, children: [
|
|
6023
|
-
showHeader ? /* @__PURE__ */
|
|
6193
|
+
showHeader ? /* @__PURE__ */ jsx53(
|
|
6024
6194
|
SectionHeader2,
|
|
6025
6195
|
{
|
|
6026
6196
|
label: section.label,
|
|
@@ -6035,7 +6205,7 @@ var ScArtifaxSidebar = ({
|
|
|
6035
6205
|
] }, section.id);
|
|
6036
6206
|
})
|
|
6037
6207
|
] }),
|
|
6038
|
-
creditWarning ? /* @__PURE__ */
|
|
6208
|
+
creditWarning ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx53(
|
|
6039
6209
|
CreditWarningBanner,
|
|
6040
6210
|
{
|
|
6041
6211
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6045,10 +6215,10 @@ var ScArtifaxSidebar = ({
|
|
|
6045
6215
|
expanded: true
|
|
6046
6216
|
}
|
|
6047
6217
|
) }) : null,
|
|
6048
|
-
assistantCta ? /* @__PURE__ */
|
|
6049
|
-
/* @__PURE__ */
|
|
6218
|
+
assistantCta ? /* @__PURE__ */ jsx53(ScAskAgentSlot, { cta: assistantCta }) : null,
|
|
6219
|
+
/* @__PURE__ */ jsx53(ScHDivider, {}),
|
|
6050
6220
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.profileRow, children: [
|
|
6051
|
-
appIdentity ? /* @__PURE__ */
|
|
6221
|
+
appIdentity ? /* @__PURE__ */ jsx53(
|
|
6052
6222
|
"button",
|
|
6053
6223
|
{
|
|
6054
6224
|
type: "button",
|
|
@@ -6064,15 +6234,15 @@ var ScArtifaxSidebar = ({
|
|
|
6064
6234
|
className: ScArtifaxSidebar_default.profileMain,
|
|
6065
6235
|
onClick: profile.onClick,
|
|
6066
6236
|
children: [
|
|
6067
|
-
/* @__PURE__ */
|
|
6237
|
+
/* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar }),
|
|
6068
6238
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.profileInfo, children: [
|
|
6069
|
-
/* @__PURE__ */
|
|
6070
|
-
profile.subtitle ? /* @__PURE__ */
|
|
6239
|
+
/* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileName, children: profile.name }),
|
|
6240
|
+
profile.subtitle ? /* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileSubtitle, children: profile.subtitle }) : null
|
|
6071
6241
|
] })
|
|
6072
6242
|
]
|
|
6073
6243
|
}
|
|
6074
|
-
) : /* @__PURE__ */
|
|
6075
|
-
!hideToggle ? /* @__PURE__ */
|
|
6244
|
+
) : /* @__PURE__ */ jsx53("span", { className: ScArtifaxSidebar_default.profileMain, "aria-hidden": "true" }),
|
|
6245
|
+
!hideToggle ? /* @__PURE__ */ jsx53(
|
|
6076
6246
|
"button",
|
|
6077
6247
|
{
|
|
6078
6248
|
type: "button",
|
|
@@ -6096,7 +6266,7 @@ var ScArtifaxSidebar = ({
|
|
|
6096
6266
|
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
6097
6267
|
style,
|
|
6098
6268
|
children: [
|
|
6099
|
-
resizable ? /* @__PURE__ */
|
|
6269
|
+
resizable ? /* @__PURE__ */ jsx53(
|
|
6100
6270
|
ScSidebarResizeHandle,
|
|
6101
6271
|
{
|
|
6102
6272
|
expanded: false,
|
|
@@ -6109,15 +6279,15 @@ var ScArtifaxSidebar = ({
|
|
|
6109
6279
|
"data-streamoid-sidebar-card": true,
|
|
6110
6280
|
className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.collapsed,
|
|
6111
6281
|
children: [
|
|
6112
|
-
/* @__PURE__ */
|
|
6282
|
+
/* @__PURE__ */ jsx53("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayCollapsed }),
|
|
6113
6283
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.body + " " + ScArtifaxSidebar_default.bodyCollapsed, children: [
|
|
6114
|
-
collapsedLogo ? /* @__PURE__ */
|
|
6284
|
+
collapsedLogo ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.logoUnitCollapsed, children: collapsedLogo }) : null,
|
|
6115
6285
|
sections.map((section, idx) => /* @__PURE__ */ jsxs42("div", { children: [
|
|
6116
|
-
idx > 0 ? /* @__PURE__ */
|
|
6117
|
-
/* @__PURE__ */
|
|
6286
|
+
idx > 0 ? /* @__PURE__ */ jsx53(ScHDivider, {}) : null,
|
|
6287
|
+
/* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.sectionContainerCollapsed, children: section.items.map((item) => renderMenuItem2(item, section.id)) })
|
|
6118
6288
|
] }, section.id))
|
|
6119
6289
|
] }),
|
|
6120
|
-
creditWarning ? /* @__PURE__ */
|
|
6290
|
+
creditWarning ? /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx53(
|
|
6121
6291
|
CreditWarningBanner,
|
|
6122
6292
|
{
|
|
6123
6293
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6127,10 +6297,10 @@ var ScArtifaxSidebar = ({
|
|
|
6127
6297
|
expanded: false
|
|
6128
6298
|
}
|
|
6129
6299
|
) }) : null,
|
|
6130
|
-
assistantCta ? /* @__PURE__ */
|
|
6131
|
-
/* @__PURE__ */
|
|
6300
|
+
assistantCta ? /* @__PURE__ */ jsx53(ScAskAgentSlot, { cta: assistantCta, collapsed: true }) : null,
|
|
6301
|
+
/* @__PURE__ */ jsx53(ScHDivider, {}),
|
|
6132
6302
|
/* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
|
|
6133
|
-
appIdentity ? /* @__PURE__ */
|
|
6303
|
+
appIdentity ? /* @__PURE__ */ jsx53(
|
|
6134
6304
|
"button",
|
|
6135
6305
|
{
|
|
6136
6306
|
type: "button",
|
|
@@ -6139,17 +6309,17 @@ var ScArtifaxSidebar = ({
|
|
|
6139
6309
|
"aria-label": appIdentity.ariaLabel ?? "Switch apps",
|
|
6140
6310
|
children: appIdentity.content
|
|
6141
6311
|
}
|
|
6142
|
-
) : profile ? /* @__PURE__ */
|
|
6312
|
+
) : profile ? /* @__PURE__ */ jsx53(
|
|
6143
6313
|
"button",
|
|
6144
6314
|
{
|
|
6145
6315
|
type: "button",
|
|
6146
6316
|
className: ScArtifaxSidebar_default.profileRowCollapsed,
|
|
6147
6317
|
onClick: profile.onClick,
|
|
6148
6318
|
"aria-label": profile.name,
|
|
6149
|
-
children: /* @__PURE__ */
|
|
6319
|
+
children: /* @__PURE__ */ jsx53("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar })
|
|
6150
6320
|
}
|
|
6151
6321
|
) : null,
|
|
6152
|
-
!hideToggle ? /* @__PURE__ */
|
|
6322
|
+
!hideToggle ? /* @__PURE__ */ jsx53(
|
|
6153
6323
|
"button",
|
|
6154
6324
|
{
|
|
6155
6325
|
type: "button",
|
|
@@ -6187,7 +6357,7 @@ var ScSidebarSwitchMenu_default = {
|
|
|
6187
6357
|
};
|
|
6188
6358
|
|
|
6189
6359
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.tsx
|
|
6190
|
-
import { Fragment as Fragment18, jsx as
|
|
6360
|
+
import { Fragment as Fragment18, jsx as jsx54, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6191
6361
|
var ScSidebarSwitchMenu = ({
|
|
6192
6362
|
icon,
|
|
6193
6363
|
state = "default",
|
|
@@ -6206,13 +6376,13 @@ var ScSidebarSwitchMenu = ({
|
|
|
6206
6376
|
className: ScSidebarSwitchMenu_default.scSidebarSwitchMenu + (className ? " " + className : "") + " " + variantsClassName,
|
|
6207
6377
|
...props,
|
|
6208
6378
|
children: [
|
|
6209
|
-
icon ? /* @__PURE__ */
|
|
6379
|
+
icon ? /* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.iconWrapper, children: icon }) : null,
|
|
6210
6380
|
variant === "expanded" && /* @__PURE__ */ jsxs43(Fragment18, { children: [
|
|
6211
6381
|
/* @__PURE__ */ jsxs43("div", { className: ScSidebarSwitchMenu_default.content, children: [
|
|
6212
|
-
/* @__PURE__ */
|
|
6213
|
-
/* @__PURE__ */
|
|
6382
|
+
/* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.text, children: text }),
|
|
6383
|
+
/* @__PURE__ */ jsx54("div", { className: ScSidebarSwitchMenu_default.description, children: description })
|
|
6214
6384
|
] }),
|
|
6215
|
-
moreIcon && /* @__PURE__ */
|
|
6385
|
+
moreIcon && /* @__PURE__ */ jsx54(
|
|
6216
6386
|
"div",
|
|
6217
6387
|
{
|
|
6218
6388
|
className: ScSidebarSwitchMenu_default.moreIconWrapper,
|
|
@@ -6247,7 +6417,7 @@ var ScSideBarLogoUnit_default = {
|
|
|
6247
6417
|
import { SiconDoubleArrow as SiconDoubleArrow2 } from "@streamoid/icons";
|
|
6248
6418
|
|
|
6249
6419
|
// src/SC-SideBarLogoUnit/wordmarks.tsx
|
|
6250
|
-
import { jsx as
|
|
6420
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6251
6421
|
var WORDMARKS = {
|
|
6252
6422
|
"CXO": {
|
|
6253
6423
|
"viewBox": "0 0 56 32",
|
|
@@ -6614,7 +6784,7 @@ function ProductWordmark({
|
|
|
6614
6784
|
}) {
|
|
6615
6785
|
const mark = WORDMARKS[product];
|
|
6616
6786
|
if (!mark) return null;
|
|
6617
|
-
return /* @__PURE__ */
|
|
6787
|
+
return /* @__PURE__ */ jsx55(
|
|
6618
6788
|
"svg",
|
|
6619
6789
|
{
|
|
6620
6790
|
viewBox: mark.viewBox,
|
|
@@ -6625,7 +6795,7 @@ function ProductWordmark({
|
|
|
6625
6795
|
role: "img",
|
|
6626
6796
|
"aria-label": product,
|
|
6627
6797
|
style: { ...MARK_STYLE, ...style },
|
|
6628
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
6798
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx55(
|
|
6629
6799
|
"path",
|
|
6630
6800
|
{
|
|
6631
6801
|
d: p.d,
|
|
@@ -6644,7 +6814,7 @@ function ProductCollapsedMark({
|
|
|
6644
6814
|
}) {
|
|
6645
6815
|
const mark = COLLAPSED_MARKS[product];
|
|
6646
6816
|
if (!mark) return null;
|
|
6647
|
-
return /* @__PURE__ */
|
|
6817
|
+
return /* @__PURE__ */ jsx55(
|
|
6648
6818
|
"svg",
|
|
6649
6819
|
{
|
|
6650
6820
|
viewBox: mark.viewBox,
|
|
@@ -6655,7 +6825,7 @@ function ProductCollapsedMark({
|
|
|
6655
6825
|
role: "img",
|
|
6656
6826
|
"aria-label": product,
|
|
6657
6827
|
style: { ...MARK_STYLE, ...style },
|
|
6658
|
-
children: mark.paths.map((p, i) => /* @__PURE__ */
|
|
6828
|
+
children: mark.paths.map((p, i) => /* @__PURE__ */ jsx55(
|
|
6659
6829
|
"path",
|
|
6660
6830
|
{
|
|
6661
6831
|
d: p.d,
|
|
@@ -6673,7 +6843,7 @@ function hasCollapsedMark(product) {
|
|
|
6673
6843
|
}
|
|
6674
6844
|
|
|
6675
6845
|
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.tsx
|
|
6676
|
-
import { jsx as
|
|
6846
|
+
import { jsx as jsx56, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6677
6847
|
var ScSideBarLogoUnit = ({
|
|
6678
6848
|
state = "expanded",
|
|
6679
6849
|
wordmark,
|
|
@@ -6688,8 +6858,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6688
6858
|
style
|
|
6689
6859
|
}) => {
|
|
6690
6860
|
const interactive = !disabled && (!!onClick || !!onSwitchClick);
|
|
6691
|
-
const expandedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
6692
|
-
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */
|
|
6861
|
+
const expandedMark = wordmark ?? (product ? /* @__PURE__ */ jsx56(ProductWordmark, { product }) : null);
|
|
6862
|
+
const collapsedMark = wordmark ?? (product ? /* @__PURE__ */ jsx56(ProductCollapsedMark, { product }) : null);
|
|
6693
6863
|
const handleClick = () => {
|
|
6694
6864
|
if (!interactive) return;
|
|
6695
6865
|
onClick?.();
|
|
@@ -6701,7 +6871,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6701
6871
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6702
6872
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6703
6873
|
].filter(Boolean).join(" ");
|
|
6704
|
-
return /* @__PURE__ */
|
|
6874
|
+
return /* @__PURE__ */ jsx56(
|
|
6705
6875
|
"div",
|
|
6706
6876
|
{
|
|
6707
6877
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + " " + ScSideBarLogoUnit_default.collapsed + (className ? " " + className : ""),
|
|
@@ -6717,8 +6887,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6717
6887
|
"aria-disabled": !interactive || disabled,
|
|
6718
6888
|
style: hover === false ? { backgroundColor: "transparent" } : void 0,
|
|
6719
6889
|
children: [
|
|
6720
|
-
/* @__PURE__ */
|
|
6721
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
6890
|
+
/* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.collapsedWordmarkSlot, children: collapsedMark }),
|
|
6891
|
+
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 }) }) })
|
|
6722
6892
|
]
|
|
6723
6893
|
}
|
|
6724
6894
|
)
|
|
@@ -6730,7 +6900,7 @@ var ScSideBarLogoUnit = ({
|
|
|
6730
6900
|
interactive ? "" : ScSideBarLogoUnit_default.nonInteractive,
|
|
6731
6901
|
hover === true ? ScSideBarLogoUnit_default.forceHover : ""
|
|
6732
6902
|
].filter(Boolean).join(" ");
|
|
6733
|
-
return /* @__PURE__ */
|
|
6903
|
+
return /* @__PURE__ */ jsx56(
|
|
6734
6904
|
"div",
|
|
6735
6905
|
{
|
|
6736
6906
|
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + (className ? " " + className : ""),
|
|
@@ -6752,8 +6922,8 @@ var ScSideBarLogoUnit = ({
|
|
|
6752
6922
|
backgroundColor: "transparent"
|
|
6753
6923
|
} : void 0,
|
|
6754
6924
|
children: [
|
|
6755
|
-
/* @__PURE__ */
|
|
6756
|
-
hideSwitch ? null : /* @__PURE__ */
|
|
6925
|
+
/* @__PURE__ */ jsx56("span", { className: ScSideBarLogoUnit_default.wordmarkSlot, children: expandedMark }),
|
|
6926
|
+
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 }) }) })
|
|
6757
6927
|
]
|
|
6758
6928
|
}
|
|
6759
6929
|
)
|
|
@@ -6769,7 +6939,7 @@ import {
|
|
|
6769
6939
|
SiconExpand,
|
|
6770
6940
|
SiconInsights
|
|
6771
6941
|
} from "@streamoid/icons";
|
|
6772
|
-
import { jsx as
|
|
6942
|
+
import { jsx as jsx57, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6773
6943
|
var PRIMARY_COLOR = "var(--alias-text---icons-primary)";
|
|
6774
6944
|
var TERTIARY_COLOR = "var(--alias-text---icons-tertiary)";
|
|
6775
6945
|
var DEFAULT_ITEMS = [
|
|
@@ -6778,9 +6948,9 @@ var DEFAULT_ITEMS = [
|
|
|
6778
6948
|
{ id: "insights", label: "Insights", iconKey: "insights" }
|
|
6779
6949
|
];
|
|
6780
6950
|
var DEFAULT_ICON_MAP = {
|
|
6781
|
-
stores: ({ active }) => /* @__PURE__ */
|
|
6782
|
-
aiTraining: ({ active }) => /* @__PURE__ */
|
|
6783
|
-
insights: ({ active }) => /* @__PURE__ */
|
|
6951
|
+
stores: ({ active }) => /* @__PURE__ */ jsx57(SiconBag, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
6952
|
+
aiTraining: ({ active }) => /* @__PURE__ */ jsx57(SiconBrain, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR }),
|
|
6953
|
+
insights: ({ active }) => /* @__PURE__ */ jsx57(SiconInsights, { color: active ? PRIMARY_COLOR : TERTIARY_COLOR })
|
|
6784
6954
|
};
|
|
6785
6955
|
function resolveIcon3(iconMap, item, active, expanded) {
|
|
6786
6956
|
const renderer = iconMap[item.iconKey];
|
|
@@ -6793,7 +6963,7 @@ function resolveIcon3(iconMap, item, active, expanded) {
|
|
|
6793
6963
|
function resolveToggleIcon3(toggleIcon, expanded) {
|
|
6794
6964
|
if (toggleIcon == null) {
|
|
6795
6965
|
const Icon = expanded ? SiconCollapse4 : SiconExpand;
|
|
6796
|
-
return /* @__PURE__ */
|
|
6966
|
+
return /* @__PURE__ */ jsx57(Icon, { className: "size-6", color: "var(--alias-text---icons-muted)" });
|
|
6797
6967
|
}
|
|
6798
6968
|
if (typeof toggleIcon === "function") {
|
|
6799
6969
|
return toggleIcon(expanded);
|
|
@@ -6822,7 +6992,7 @@ var ScCatalogixSidebar = ({
|
|
|
6822
6992
|
setAppListOpen((prev) => !prev);
|
|
6823
6993
|
onLogoClick?.();
|
|
6824
6994
|
};
|
|
6825
|
-
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
6995
|
+
const switchPanelContent = expanded && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx57(
|
|
6826
6996
|
"div",
|
|
6827
6997
|
{
|
|
6828
6998
|
className: "flex w-full flex-col items-stretch",
|
|
@@ -6831,7 +7001,7 @@ var ScCatalogixSidebar = ({
|
|
|
6831
7001
|
paddingTop: "var(--spacing-sm)",
|
|
6832
7002
|
paddingBottom: "var(--spacing-md)"
|
|
6833
7003
|
},
|
|
6834
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
7004
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx57(
|
|
6835
7005
|
ScSidebarSwitchMenu,
|
|
6836
7006
|
{
|
|
6837
7007
|
icon: app.icon,
|
|
@@ -6845,7 +7015,7 @@ var ScCatalogixSidebar = ({
|
|
|
6845
7015
|
))
|
|
6846
7016
|
}
|
|
6847
7017
|
) : void 0;
|
|
6848
|
-
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */
|
|
7018
|
+
const collapsedSwitchList = !expanded && appListOpen && switchApps && switchApps.length > 0 ? /* @__PURE__ */ jsx57(
|
|
6849
7019
|
"div",
|
|
6850
7020
|
{
|
|
6851
7021
|
className: "flex shrink-0 flex-col items-center",
|
|
@@ -6853,7 +7023,7 @@ var ScCatalogixSidebar = ({
|
|
|
6853
7023
|
gap: "var(--spacing-xxs)",
|
|
6854
7024
|
paddingBottom: "var(--spacing-xxs)"
|
|
6855
7025
|
},
|
|
6856
|
-
children: switchApps.map((app) => /* @__PURE__ */
|
|
7026
|
+
children: switchApps.map((app) => /* @__PURE__ */ jsx57(
|
|
6857
7027
|
ScSidebarSwitchMenu,
|
|
6858
7028
|
{
|
|
6859
7029
|
icon: app.icon,
|
|
@@ -6865,7 +7035,7 @@ var ScCatalogixSidebar = ({
|
|
|
6865
7035
|
))
|
|
6866
7036
|
}
|
|
6867
7037
|
) : null;
|
|
6868
|
-
const navItems = /* @__PURE__ */
|
|
7038
|
+
const navItems = /* @__PURE__ */ jsx57(
|
|
6869
7039
|
"div",
|
|
6870
7040
|
{
|
|
6871
7041
|
className: expanded ? "flex w-full shrink-0 flex-col items-stretch" : "flex shrink-0 flex-col items-center",
|
|
@@ -6876,7 +7046,7 @@ var ScCatalogixSidebar = ({
|
|
|
6876
7046
|
},
|
|
6877
7047
|
children: items.map((item) => {
|
|
6878
7048
|
const active = item.id === activeItemId;
|
|
6879
|
-
return /* @__PURE__ */
|
|
7049
|
+
return /* @__PURE__ */ jsx57(
|
|
6880
7050
|
ScSidebarMenu,
|
|
6881
7051
|
{
|
|
6882
7052
|
icon: resolveIcon3(iconMap, item, active, expanded),
|
|
@@ -6896,12 +7066,12 @@ var ScCatalogixSidebar = ({
|
|
|
6896
7066
|
className: expanded ? "flex h-full min-h-0 flex-col" : "flex w-full flex-col items-center",
|
|
6897
7067
|
children: [
|
|
6898
7068
|
collapsedSwitchList,
|
|
6899
|
-
/* @__PURE__ */
|
|
7069
|
+
/* @__PURE__ */ jsx57(ScHDivider, {}),
|
|
6900
7070
|
navItems
|
|
6901
7071
|
]
|
|
6902
7072
|
}
|
|
6903
7073
|
);
|
|
6904
|
-
const defaultExpandedLogo = /* @__PURE__ */
|
|
7074
|
+
const defaultExpandedLogo = /* @__PURE__ */ jsx57(
|
|
6905
7075
|
ScSideBarLogoUnit,
|
|
6906
7076
|
{
|
|
6907
7077
|
product: "Catalogix",
|
|
@@ -6910,7 +7080,7 @@ var ScCatalogixSidebar = ({
|
|
|
6910
7080
|
style: { paddingBottom: 0 }
|
|
6911
7081
|
}
|
|
6912
7082
|
);
|
|
6913
|
-
const defaultCollapsedLogo = /* @__PURE__ */
|
|
7083
|
+
const defaultCollapsedLogo = /* @__PURE__ */ jsx57(
|
|
6914
7084
|
ScSideBarLogoUnit,
|
|
6915
7085
|
{
|
|
6916
7086
|
state: "collapsed",
|
|
@@ -6919,7 +7089,7 @@ var ScCatalogixSidebar = ({
|
|
|
6919
7089
|
hover: appListOpen ? true : void 0
|
|
6920
7090
|
}
|
|
6921
7091
|
);
|
|
6922
|
-
return /* @__PURE__ */
|
|
7092
|
+
return /* @__PURE__ */ jsx57(
|
|
6923
7093
|
StreamoidSidebar,
|
|
6924
7094
|
{
|
|
6925
7095
|
expanded,
|
|
@@ -6937,7 +7107,7 @@ var ScCatalogixSidebar = ({
|
|
|
6937
7107
|
toggleInProfile: true,
|
|
6938
7108
|
versionText: "",
|
|
6939
7109
|
toggleIcon: (exp) => resolveToggleIcon3(toggleIcon, exp),
|
|
6940
|
-
preFooterContent: creditWarning ? /* @__PURE__ */
|
|
7110
|
+
preFooterContent: creditWarning ? /* @__PURE__ */ jsx57(
|
|
6941
7111
|
CreditWarningBanner,
|
|
6942
7112
|
{
|
|
6943
7113
|
availableCredits: creditWarning.availableCredits,
|
|
@@ -6971,7 +7141,7 @@ var ScGuide_default = {
|
|
|
6971
7141
|
|
|
6972
7142
|
// src/SC-Guide/ScGuide.tsx
|
|
6973
7143
|
import { SiconRight as SiconRight4 } from "@streamoid/icons";
|
|
6974
|
-
import { jsx as
|
|
7144
|
+
import { jsx as jsx58, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6975
7145
|
var ScGuide = ({
|
|
6976
7146
|
title = "Title",
|
|
6977
7147
|
description = "Description",
|
|
@@ -6994,12 +7164,12 @@ var ScGuide = ({
|
|
|
6994
7164
|
style,
|
|
6995
7165
|
children: [
|
|
6996
7166
|
/* @__PURE__ */ jsxs46("div", { className: ScGuide_default.header, children: [
|
|
6997
|
-
/* @__PURE__ */
|
|
6998
|
-
/* @__PURE__ */
|
|
7167
|
+
/* @__PURE__ */ jsx58("p", { className: ScGuide_default.title, children: title }),
|
|
7168
|
+
/* @__PURE__ */ jsx58("p", { className: ScGuide_default.description, children: description })
|
|
6999
7169
|
] }),
|
|
7000
|
-
/* @__PURE__ */
|
|
7170
|
+
/* @__PURE__ */ jsx58(ScHDivider, {}),
|
|
7001
7171
|
/* @__PURE__ */ jsxs46("div", { className: ScGuide_default.actions, children: [
|
|
7002
|
-
hideSkip ? /* @__PURE__ */
|
|
7172
|
+
hideSkip ? /* @__PURE__ */ jsx58("span", { className: ScGuide_default.skipSpacer, "aria-hidden": "true", children: skipLabel }) : /* @__PURE__ */ jsx58(
|
|
7003
7173
|
"button",
|
|
7004
7174
|
{
|
|
7005
7175
|
type: "button",
|
|
@@ -7009,7 +7179,7 @@ var ScGuide = ({
|
|
|
7009
7179
|
children: skipLabel
|
|
7010
7180
|
}
|
|
7011
7181
|
),
|
|
7012
|
-
stepLabel != null && /* @__PURE__ */
|
|
7182
|
+
stepLabel != null && /* @__PURE__ */ jsx58("span", { className: ScGuide_default.stepIndicator, children: stepLabel }),
|
|
7013
7183
|
!hideNext && /* @__PURE__ */ jsxs46(
|
|
7014
7184
|
"button",
|
|
7015
7185
|
{
|
|
@@ -7018,8 +7188,8 @@ var ScGuide = ({
|
|
|
7018
7188
|
onClick: onNext,
|
|
7019
7189
|
disabled,
|
|
7020
7190
|
children: [
|
|
7021
|
-
/* @__PURE__ */
|
|
7022
|
-
/* @__PURE__ */
|
|
7191
|
+
/* @__PURE__ */ jsx58("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
7192
|
+
/* @__PURE__ */ jsx58("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ jsx58(SiconRight4, { size: 16, strokeWidth: 1.5 }) })
|
|
7023
7193
|
]
|
|
7024
7194
|
}
|
|
7025
7195
|
)
|
|
@@ -7039,23 +7209,23 @@ var ScSlider_default = {
|
|
|
7039
7209
|
};
|
|
7040
7210
|
|
|
7041
7211
|
// src/SC-Slider/ScSlider.tsx
|
|
7042
|
-
import { jsx as
|
|
7212
|
+
import { jsx as jsx59, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7043
7213
|
var ScSlider = ({
|
|
7044
7214
|
className,
|
|
7045
7215
|
onValueChange,
|
|
7046
7216
|
...props
|
|
7047
7217
|
}) => {
|
|
7048
7218
|
return /* @__PURE__ */ jsxs47("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
7049
|
-
/* @__PURE__ */
|
|
7050
|
-
/* @__PURE__ */
|
|
7051
|
-
/* @__PURE__ */
|
|
7052
|
-
/* @__PURE__ */
|
|
7053
|
-
/* @__PURE__ */
|
|
7054
|
-
/* @__PURE__ */
|
|
7055
|
-
/* @__PURE__ */
|
|
7056
|
-
/* @__PURE__ */
|
|
7057
|
-
/* @__PURE__ */
|
|
7058
|
-
/* @__PURE__ */
|
|
7219
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar }),
|
|
7220
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot }),
|
|
7221
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7222
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7223
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7224
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7225
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7226
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 }),
|
|
7227
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressBar2 }),
|
|
7228
|
+
/* @__PURE__ */ jsx59("div", { className: ScSlider_default.progressDot2 })
|
|
7059
7229
|
] });
|
|
7060
7230
|
};
|
|
7061
7231
|
|
|
@@ -7067,7 +7237,7 @@ import {
|
|
|
7067
7237
|
SiconCrown,
|
|
7068
7238
|
SiconSwitch
|
|
7069
7239
|
} from "@streamoid/icons";
|
|
7070
|
-
import { jsx as
|
|
7240
|
+
import { jsx as jsx60, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7071
7241
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
7072
7242
|
function deriveInitials(name) {
|
|
7073
7243
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -7095,7 +7265,7 @@ function WorkspaceRow({
|
|
|
7095
7265
|
backdropFilter: "blur(4px)"
|
|
7096
7266
|
},
|
|
7097
7267
|
children: [
|
|
7098
|
-
/* @__PURE__ */
|
|
7268
|
+
/* @__PURE__ */ jsx60(
|
|
7099
7269
|
"div",
|
|
7100
7270
|
{
|
|
7101
7271
|
"aria-hidden": "true",
|
|
@@ -7106,7 +7276,7 @@ function WorkspaceRow({
|
|
|
7106
7276
|
}
|
|
7107
7277
|
}
|
|
7108
7278
|
),
|
|
7109
|
-
/* @__PURE__ */
|
|
7279
|
+
/* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs48(
|
|
7110
7280
|
"div",
|
|
7111
7281
|
{
|
|
7112
7282
|
className: "flex items-center w-full",
|
|
@@ -7121,14 +7291,14 @@ function WorkspaceRow({
|
|
|
7121
7291
|
className: "flex flex-1 items-center min-w-0",
|
|
7122
7292
|
style: { gap: "var(--spacing-xl)" },
|
|
7123
7293
|
children: [
|
|
7124
|
-
/* @__PURE__ */
|
|
7294
|
+
/* @__PURE__ */ jsx60(
|
|
7125
7295
|
ScIntialProfileCover,
|
|
7126
7296
|
{
|
|
7127
7297
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
7128
7298
|
className: "shrink-0"
|
|
7129
7299
|
}
|
|
7130
7300
|
),
|
|
7131
|
-
/* @__PURE__ */
|
|
7301
|
+
/* @__PURE__ */ jsx60(
|
|
7132
7302
|
"p",
|
|
7133
7303
|
{
|
|
7134
7304
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -7157,7 +7327,7 @@ function WorkspaceRow({
|
|
|
7157
7327
|
padding: "0 var(--spacing-3xl)"
|
|
7158
7328
|
},
|
|
7159
7329
|
children: [
|
|
7160
|
-
/* @__PURE__ */
|
|
7330
|
+
/* @__PURE__ */ jsx60(
|
|
7161
7331
|
ScRole,
|
|
7162
7332
|
{
|
|
7163
7333
|
type: normalizeRole(workspace.role),
|
|
@@ -7165,22 +7335,22 @@ function WorkspaceRow({
|
|
|
7165
7335
|
style: { width: 80 }
|
|
7166
7336
|
}
|
|
7167
7337
|
),
|
|
7168
|
-
/* @__PURE__ */
|
|
7338
|
+
/* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs48(
|
|
7169
7339
|
"div",
|
|
7170
7340
|
{
|
|
7171
7341
|
className: "flex items-center shrink-0",
|
|
7172
7342
|
style: { gap: "var(--spacing-3xl)" },
|
|
7173
7343
|
children: [
|
|
7174
|
-
/* @__PURE__ */
|
|
7344
|
+
/* @__PURE__ */ jsx60("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx60(
|
|
7175
7345
|
ScPairtext,
|
|
7176
7346
|
{
|
|
7177
|
-
icon: /* @__PURE__ */
|
|
7347
|
+
icon: /* @__PURE__ */ jsx60(SiconTeam5, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
7178
7348
|
content: workspace.userCount || "\u2013",
|
|
7179
7349
|
iconPosition: "left",
|
|
7180
7350
|
type: "icon"
|
|
7181
7351
|
}
|
|
7182
7352
|
) }),
|
|
7183
|
-
/* @__PURE__ */
|
|
7353
|
+
/* @__PURE__ */ jsx60(ScVDivider, {}),
|
|
7184
7354
|
/* @__PURE__ */ jsxs48(
|
|
7185
7355
|
"div",
|
|
7186
7356
|
{
|
|
@@ -7191,14 +7361,14 @@ function WorkspaceRow({
|
|
|
7191
7361
|
gap: "var(--spacing-md)"
|
|
7192
7362
|
},
|
|
7193
7363
|
children: [
|
|
7194
|
-
/* @__PURE__ */
|
|
7364
|
+
/* @__PURE__ */ jsx60(
|
|
7195
7365
|
SiconCrown,
|
|
7196
7366
|
{
|
|
7197
7367
|
className: "w-6 h-6 shrink-0",
|
|
7198
7368
|
color: PRIMARY_ICON
|
|
7199
7369
|
}
|
|
7200
7370
|
),
|
|
7201
|
-
/* @__PURE__ */
|
|
7371
|
+
/* @__PURE__ */ jsx60(
|
|
7202
7372
|
"span",
|
|
7203
7373
|
{
|
|
7204
7374
|
className: "truncate",
|
|
@@ -7220,7 +7390,7 @@ function WorkspaceRow({
|
|
|
7220
7390
|
]
|
|
7221
7391
|
}
|
|
7222
7392
|
),
|
|
7223
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
7393
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx60(
|
|
7224
7394
|
ScButton,
|
|
7225
7395
|
{
|
|
7226
7396
|
text: currentWorkspaceText,
|
|
@@ -7229,14 +7399,14 @@ function WorkspaceRow({
|
|
|
7229
7399
|
size: "lg",
|
|
7230
7400
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
7231
7401
|
}
|
|
7232
|
-
) : /* @__PURE__ */
|
|
7402
|
+
) : /* @__PURE__ */ jsx60(
|
|
7233
7403
|
ScButton,
|
|
7234
7404
|
{
|
|
7235
7405
|
text: switchWorkspaceText,
|
|
7236
7406
|
variant: "secondary",
|
|
7237
7407
|
size: "lg",
|
|
7238
7408
|
styleVariant: "icon-left",
|
|
7239
|
-
icon: /* @__PURE__ */
|
|
7409
|
+
icon: /* @__PURE__ */ jsx60(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
7240
7410
|
style: { width: 200, flexShrink: 0 },
|
|
7241
7411
|
onClick: onSwitch
|
|
7242
7412
|
}
|
|
@@ -7270,7 +7440,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7270
7440
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
7271
7441
|
}, [open, onClose]);
|
|
7272
7442
|
if (!open) return null;
|
|
7273
|
-
return /* @__PURE__ */
|
|
7443
|
+
return /* @__PURE__ */ jsx60(
|
|
7274
7444
|
"div",
|
|
7275
7445
|
{
|
|
7276
7446
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -7291,14 +7461,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7291
7461
|
height: "60vh"
|
|
7292
7462
|
},
|
|
7293
7463
|
children: [
|
|
7294
|
-
/* @__PURE__ */
|
|
7464
|
+
/* @__PURE__ */ jsx60(
|
|
7295
7465
|
"div",
|
|
7296
7466
|
{
|
|
7297
7467
|
className: "shrink-0 w-full relative",
|
|
7298
7468
|
style: {
|
|
7299
7469
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
7300
7470
|
},
|
|
7301
|
-
children: /* @__PURE__ */
|
|
7471
|
+
children: /* @__PURE__ */ jsx60("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs48(
|
|
7302
7472
|
"div",
|
|
7303
7473
|
{
|
|
7304
7474
|
className: "flex items-center w-full",
|
|
@@ -7307,7 +7477,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7307
7477
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
7308
7478
|
},
|
|
7309
7479
|
children: [
|
|
7310
|
-
/* @__PURE__ */
|
|
7480
|
+
/* @__PURE__ */ jsx60(
|
|
7311
7481
|
"p",
|
|
7312
7482
|
{
|
|
7313
7483
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -7321,13 +7491,13 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7321
7491
|
children: title
|
|
7322
7492
|
}
|
|
7323
7493
|
),
|
|
7324
|
-
/* @__PURE__ */
|
|
7494
|
+
/* @__PURE__ */ jsx60("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx60(SiconClose3, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
7325
7495
|
]
|
|
7326
7496
|
}
|
|
7327
7497
|
) })
|
|
7328
7498
|
}
|
|
7329
7499
|
),
|
|
7330
|
-
/* @__PURE__ */
|
|
7500
|
+
/* @__PURE__ */ jsx60(
|
|
7331
7501
|
"div",
|
|
7332
7502
|
{
|
|
7333
7503
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
@@ -7343,7 +7513,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7343
7513
|
gap: "var(--spacing-3xl)"
|
|
7344
7514
|
},
|
|
7345
7515
|
children: [
|
|
7346
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
7516
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx60(
|
|
7347
7517
|
"p",
|
|
7348
7518
|
{
|
|
7349
7519
|
style: {
|
|
@@ -7354,7 +7524,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
7354
7524
|
children: loadingText
|
|
7355
7525
|
}
|
|
7356
7526
|
) : null,
|
|
7357
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
7527
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx60(
|
|
7358
7528
|
WorkspaceRow,
|
|
7359
7529
|
{
|
|
7360
7530
|
workspace: ws,
|
|
@@ -7393,9 +7563,9 @@ var ScAppListingCard_default = {
|
|
|
7393
7563
|
|
|
7394
7564
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
7395
7565
|
import { SiconCart } from "@streamoid/icons";
|
|
7396
|
-
import { jsx as
|
|
7566
|
+
import { jsx as jsx61, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7397
7567
|
var ScAppListingCard = ({
|
|
7398
|
-
icon = /* @__PURE__ */
|
|
7568
|
+
icon = /* @__PURE__ */ jsx61(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
7399
7569
|
title = "Stores",
|
|
7400
7570
|
descrp = "Centralized product and asset management for every storefront",
|
|
7401
7571
|
className,
|
|
@@ -7403,7 +7573,7 @@ var ScAppListingCard = ({
|
|
|
7403
7573
|
}) => {
|
|
7404
7574
|
return /* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
7405
7575
|
/* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.header, children: [
|
|
7406
|
-
/* @__PURE__ */
|
|
7576
|
+
/* @__PURE__ */ jsx61("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
7407
7577
|
/* @__PURE__ */ jsxs49("div", { className: ScAppListingCard_default.title, children: [
|
|
7408
7578
|
title,
|
|
7409
7579
|
" "
|
|
@@ -7427,16 +7597,16 @@ var ScAppCard_default = {
|
|
|
7427
7597
|
|
|
7428
7598
|
// src/SC-appCard/ScAppCard.tsx
|
|
7429
7599
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
7430
|
-
import { jsx as
|
|
7600
|
+
import { jsx as jsx62, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7431
7601
|
var ScAppCard = ({
|
|
7432
|
-
appIcon = /* @__PURE__ */
|
|
7602
|
+
appIcon = /* @__PURE__ */ jsx62(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
7433
7603
|
appName = "Artifax",
|
|
7434
7604
|
appDescription = "Info about artifax",
|
|
7435
7605
|
className,
|
|
7436
7606
|
...props
|
|
7437
7607
|
}) => {
|
|
7438
7608
|
return /* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
7439
|
-
/* @__PURE__ */
|
|
7609
|
+
/* @__PURE__ */ jsx62("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
7440
7610
|
/* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.textContainer, children: [
|
|
7441
7611
|
/* @__PURE__ */ jsxs50("div", { className: ScAppCard_default.title, children: [
|
|
7442
7612
|
appName,
|
|
@@ -7469,9 +7639,9 @@ var ScAppCardV3_default = {
|
|
|
7469
7639
|
|
|
7470
7640
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
7471
7641
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
7472
|
-
import { jsx as
|
|
7642
|
+
import { jsx as jsx63, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7473
7643
|
var ScAppCardV3 = ({
|
|
7474
|
-
appIcon = /* @__PURE__ */
|
|
7644
|
+
appIcon = /* @__PURE__ */ jsx63(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
7475
7645
|
appName = "Stores",
|
|
7476
7646
|
description = "Centralized product and asset management for every storefront",
|
|
7477
7647
|
active = false,
|
|
@@ -7483,25 +7653,25 @@ var ScAppCardV3 = ({
|
|
|
7483
7653
|
ScAppCardV3_default.scAppCardV3,
|
|
7484
7654
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
7485
7655
|
].filter(Boolean).join(" ");
|
|
7486
|
-
return /* @__PURE__ */
|
|
7656
|
+
return /* @__PURE__ */ jsx63(
|
|
7487
7657
|
"div",
|
|
7488
7658
|
{
|
|
7489
7659
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7490
7660
|
style,
|
|
7491
7661
|
...props,
|
|
7492
7662
|
children: /* @__PURE__ */ jsxs51("div", { className: cardClass, children: [
|
|
7493
|
-
/* @__PURE__ */
|
|
7494
|
-
/* @__PURE__ */
|
|
7663
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.glow }),
|
|
7664
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.glowHover }),
|
|
7495
7665
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.header, children: [
|
|
7496
7666
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
7497
|
-
/* @__PURE__ */
|
|
7667
|
+
/* @__PURE__ */ jsx63("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
7498
7668
|
/* @__PURE__ */ jsxs51("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
7499
|
-
/* @__PURE__ */
|
|
7500
|
-
/* @__PURE__ */
|
|
7501
|
-
/* @__PURE__ */
|
|
7669
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
7670
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
7671
|
+
/* @__PURE__ */ jsx63("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
7502
7672
|
] })
|
|
7503
7673
|
] }),
|
|
7504
|
-
/* @__PURE__ */
|
|
7674
|
+
/* @__PURE__ */ jsx63("p", { className: ScAppCardV3_default.description, children: description })
|
|
7505
7675
|
] })
|
|
7506
7676
|
] })
|
|
7507
7677
|
}
|
|
@@ -7520,7 +7690,7 @@ var ScBriefCard_default = {
|
|
|
7520
7690
|
};
|
|
7521
7691
|
|
|
7522
7692
|
// src/SC-BriefCard/ScBriefCard.tsx
|
|
7523
|
-
import { jsx as
|
|
7693
|
+
import { jsx as jsx64, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7524
7694
|
var ScBriefCard = ({
|
|
7525
7695
|
description = "Centralized product and asset management for every storefront",
|
|
7526
7696
|
active = false,
|
|
@@ -7532,16 +7702,16 @@ var ScBriefCard = ({
|
|
|
7532
7702
|
ScBriefCard_default.scBriefCard,
|
|
7533
7703
|
active ? ScBriefCard_default.scBriefCardActive : ""
|
|
7534
7704
|
].filter(Boolean).join(" ");
|
|
7535
|
-
return /* @__PURE__ */
|
|
7705
|
+
return /* @__PURE__ */ jsx64(
|
|
7536
7706
|
"div",
|
|
7537
7707
|
{
|
|
7538
7708
|
className: [ScBriefCard_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
7539
7709
|
style,
|
|
7540
7710
|
...props,
|
|
7541
7711
|
children: /* @__PURE__ */ jsxs52("div", { className: cardClass, children: [
|
|
7542
|
-
/* @__PURE__ */
|
|
7543
|
-
/* @__PURE__ */
|
|
7544
|
-
/* @__PURE__ */
|
|
7712
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.glow }),
|
|
7713
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.glowHover }),
|
|
7714
|
+
/* @__PURE__ */ jsx64("div", { className: ScBriefCard_default.body, children: /* @__PURE__ */ jsx64("p", { className: ScBriefCard_default.description, children: description }) })
|
|
7545
7715
|
] })
|
|
7546
7716
|
}
|
|
7547
7717
|
);
|
|
@@ -7578,7 +7748,7 @@ var ScToggleSwitch_default = {
|
|
|
7578
7748
|
};
|
|
7579
7749
|
|
|
7580
7750
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
7581
|
-
import { jsx as
|
|
7751
|
+
import { jsx as jsx65, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7582
7752
|
var ScToggleSwitch = ({
|
|
7583
7753
|
active = "false",
|
|
7584
7754
|
checked,
|
|
@@ -7589,7 +7759,7 @@ var ScToggleSwitch = ({
|
|
|
7589
7759
|
}) => {
|
|
7590
7760
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
7591
7761
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
7592
|
-
return /* @__PURE__ */
|
|
7762
|
+
return /* @__PURE__ */ jsx65(
|
|
7593
7763
|
"div",
|
|
7594
7764
|
{
|
|
7595
7765
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -7605,19 +7775,19 @@ var ScToggleSwitch = ({
|
|
|
7605
7775
|
...props.style
|
|
7606
7776
|
},
|
|
7607
7777
|
children: isActive ? /* @__PURE__ */ jsxs53("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7608
|
-
/* @__PURE__ */
|
|
7609
|
-
/* @__PURE__ */
|
|
7778
|
+
/* @__PURE__ */ jsx65("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
7779
|
+
/* @__PURE__ */ jsx65("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
7610
7780
|
] }) : /* @__PURE__ */ jsxs53("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7611
|
-
/* @__PURE__ */
|
|
7612
|
-
/* @__PURE__ */
|
|
7613
|
-
/* @__PURE__ */
|
|
7781
|
+
/* @__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)" }),
|
|
7782
|
+
/* @__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)" }),
|
|
7783
|
+
/* @__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)" })
|
|
7614
7784
|
] })
|
|
7615
7785
|
}
|
|
7616
7786
|
);
|
|
7617
7787
|
};
|
|
7618
7788
|
|
|
7619
7789
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
7620
|
-
import { jsx as
|
|
7790
|
+
import { jsx as jsx66, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7621
7791
|
var ScArtifaxInvite = ({
|
|
7622
7792
|
active = "true",
|
|
7623
7793
|
appName = "Artifax",
|
|
@@ -7636,16 +7806,16 @@ var ScArtifaxInvite = ({
|
|
|
7636
7806
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
7637
7807
|
...props,
|
|
7638
7808
|
children: [
|
|
7639
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ jsx66(
|
|
7640
7810
|
ScAppCard,
|
|
7641
7811
|
{
|
|
7642
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
7812
|
+
appIcon: appIcon || /* @__PURE__ */ jsx66(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
7643
7813
|
appName,
|
|
7644
7814
|
appDescription,
|
|
7645
7815
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
7646
7816
|
}
|
|
7647
7817
|
),
|
|
7648
|
-
/* @__PURE__ */
|
|
7818
|
+
/* @__PURE__ */ jsx66(
|
|
7649
7819
|
ScToggleSwitch,
|
|
7650
7820
|
{
|
|
7651
7821
|
checked: isEnabled,
|
|
@@ -7671,12 +7841,12 @@ var ScPhtogenixInvite_default = {
|
|
|
7671
7841
|
|
|
7672
7842
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
7673
7843
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
7674
|
-
import { jsx as
|
|
7844
|
+
import { jsx as jsx67, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7675
7845
|
var ScPhtogenixInvite = ({
|
|
7676
7846
|
active = "true",
|
|
7677
7847
|
scAppCardappDescription = "Info about photogenix",
|
|
7678
7848
|
scAppCardappName = "Photogenix",
|
|
7679
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
7849
|
+
scAppCardappIcon = /* @__PURE__ */ jsx67(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
7680
7850
|
className,
|
|
7681
7851
|
enabled,
|
|
7682
7852
|
onToggle,
|
|
@@ -7689,7 +7859,7 @@ var ScPhtogenixInvite = ({
|
|
|
7689
7859
|
{
|
|
7690
7860
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
7691
7861
|
children: [
|
|
7692
|
-
/* @__PURE__ */
|
|
7862
|
+
/* @__PURE__ */ jsx67(
|
|
7693
7863
|
ScAppCard,
|
|
7694
7864
|
{
|
|
7695
7865
|
appIcon: scAppCardappIcon,
|
|
@@ -7698,7 +7868,7 @@ var ScPhtogenixInvite = ({
|
|
|
7698
7868
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
7699
7869
|
}
|
|
7700
7870
|
),
|
|
7701
|
-
/* @__PURE__ */
|
|
7871
|
+
/* @__PURE__ */ jsx67(
|
|
7702
7872
|
ScToggleSwitch,
|
|
7703
7873
|
{
|
|
7704
7874
|
checked: isEnabled,
|
|
@@ -7748,10 +7918,10 @@ var ScOnlyField_default = {
|
|
|
7748
7918
|
|
|
7749
7919
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
7750
7920
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
7751
|
-
import { jsx as
|
|
7921
|
+
import { jsx as jsx68, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7752
7922
|
var ScOnlyField = ({
|
|
7753
|
-
tfRightIcon = /* @__PURE__ */
|
|
7754
|
-
tfLeftIcon = /* @__PURE__ */
|
|
7923
|
+
tfRightIcon = /* @__PURE__ */ jsx68(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
7924
|
+
tfLeftIcon = /* @__PURE__ */ jsx68(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
7755
7925
|
state = "default",
|
|
7756
7926
|
tfGroup = "icon-right",
|
|
7757
7927
|
labelGroup = "none",
|
|
@@ -7764,14 +7934,14 @@ var ScOnlyField = ({
|
|
|
7764
7934
|
...props
|
|
7765
7935
|
}) => {
|
|
7766
7936
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
7767
|
-
return /* @__PURE__ */
|
|
7937
|
+
return /* @__PURE__ */ jsx68(
|
|
7768
7938
|
"div",
|
|
7769
7939
|
{
|
|
7770
7940
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
7771
7941
|
...props,
|
|
7772
7942
|
children: /* @__PURE__ */ jsxs56("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
7773
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
7774
|
-
/* @__PURE__ */
|
|
7943
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx68("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
7944
|
+
/* @__PURE__ */ jsx68(
|
|
7775
7945
|
"input",
|
|
7776
7946
|
{
|
|
7777
7947
|
className: ScOnlyField_default.inputText,
|
|
@@ -7791,7 +7961,7 @@ var ScOnlyField = ({
|
|
|
7791
7961
|
...inputProps
|
|
7792
7962
|
}
|
|
7793
7963
|
),
|
|
7794
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
7964
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx68("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
7795
7965
|
] })
|
|
7796
7966
|
}
|
|
7797
7967
|
);
|
|
@@ -7799,7 +7969,7 @@ var ScOnlyField = ({
|
|
|
7799
7969
|
|
|
7800
7970
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
7801
7971
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
7802
|
-
import { Fragment as Fragment19, jsx as
|
|
7972
|
+
import { Fragment as Fragment19, jsx as jsx69, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7803
7973
|
var ScCatalogixInvite = ({
|
|
7804
7974
|
active = "false",
|
|
7805
7975
|
appName = "Catalogix",
|
|
@@ -7828,16 +7998,16 @@ var ScCatalogixInvite = ({
|
|
|
7828
7998
|
...props,
|
|
7829
7999
|
children: [
|
|
7830
8000
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
7831
|
-
/* @__PURE__ */
|
|
8001
|
+
/* @__PURE__ */ jsx69(
|
|
7832
8002
|
ScAppCard,
|
|
7833
8003
|
{
|
|
7834
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
8004
|
+
appIcon: appIcon || /* @__PURE__ */ jsx69(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
7835
8005
|
appDescription,
|
|
7836
8006
|
appName,
|
|
7837
8007
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
7838
8008
|
}
|
|
7839
8009
|
),
|
|
7840
|
-
/* @__PURE__ */
|
|
8010
|
+
/* @__PURE__ */ jsx69(
|
|
7841
8011
|
ScToggleSwitch,
|
|
7842
8012
|
{
|
|
7843
8013
|
checked: isEnabled,
|
|
@@ -7846,7 +8016,7 @@ var ScCatalogixInvite = ({
|
|
|
7846
8016
|
}
|
|
7847
8017
|
)
|
|
7848
8018
|
] }),
|
|
7849
|
-
isEnabled && /* @__PURE__ */
|
|
8019
|
+
isEnabled && /* @__PURE__ */ jsx69(Fragment19, { children: /* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
7850
8020
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
7851
8021
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
7852
8022
|
storeAccessTitle,
|
|
@@ -7857,18 +8027,18 @@ var ScCatalogixInvite = ({
|
|
|
7857
8027
|
" "
|
|
7858
8028
|
] })
|
|
7859
8029
|
] }),
|
|
7860
|
-
/* @__PURE__ */
|
|
8030
|
+
/* @__PURE__ */ jsx69(
|
|
7861
8031
|
ScOnlyField,
|
|
7862
8032
|
{
|
|
7863
|
-
tfLeftIcon: /* @__PURE__ */
|
|
7864
|
-
tfRightIcon: /* @__PURE__ */
|
|
8033
|
+
tfLeftIcon: /* @__PURE__ */ jsx69(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
8034
|
+
tfRightIcon: /* @__PURE__ */ jsx69(SiconSearch2, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
7865
8035
|
placeholderFilled: searchPlaceholder,
|
|
7866
8036
|
value: searchValue,
|
|
7867
8037
|
onInputChange: onSearchChange,
|
|
7868
8038
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
7869
8039
|
}
|
|
7870
8040
|
),
|
|
7871
|
-
/* @__PURE__ */
|
|
8041
|
+
/* @__PURE__ */ jsx69("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx69(
|
|
7872
8042
|
ScPairtext,
|
|
7873
8043
|
{
|
|
7874
8044
|
content: store.name,
|
|
@@ -7879,53 +8049,53 @@ var ScCatalogixInvite = ({
|
|
|
7879
8049
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7880
8050
|
},
|
|
7881
8051
|
store.id
|
|
7882
|
-
)) : /* @__PURE__ */
|
|
8052
|
+
)) : /* @__PURE__ */ jsx69("div", { style: {
|
|
7883
8053
|
padding: "var(--spacing-3xl, 16px)",
|
|
7884
8054
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
7885
8055
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
7886
8056
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
7887
8057
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
7888
8058
|
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(Fragment19, { children: [
|
|
7889
|
-
/* @__PURE__ */
|
|
8059
|
+
/* @__PURE__ */ jsx69(
|
|
7890
8060
|
ScPairtext,
|
|
7891
8061
|
{
|
|
7892
|
-
icon: /* @__PURE__ */
|
|
8062
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7893
8063
|
iconPosition: "right",
|
|
7894
8064
|
type: "checkbox",
|
|
7895
8065
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7896
8066
|
}
|
|
7897
8067
|
),
|
|
7898
|
-
/* @__PURE__ */
|
|
8068
|
+
/* @__PURE__ */ jsx69(
|
|
7899
8069
|
ScPairtext,
|
|
7900
8070
|
{
|
|
7901
|
-
icon: /* @__PURE__ */
|
|
8071
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7902
8072
|
iconPosition: "right",
|
|
7903
8073
|
type: "checkbox",
|
|
7904
8074
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7905
8075
|
}
|
|
7906
8076
|
),
|
|
7907
|
-
/* @__PURE__ */
|
|
8077
|
+
/* @__PURE__ */ jsx69(
|
|
7908
8078
|
ScPairtext,
|
|
7909
8079
|
{
|
|
7910
|
-
icon: /* @__PURE__ */
|
|
8080
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7911
8081
|
iconPosition: "right",
|
|
7912
8082
|
type: "checkbox",
|
|
7913
8083
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7914
8084
|
}
|
|
7915
8085
|
),
|
|
7916
|
-
/* @__PURE__ */
|
|
8086
|
+
/* @__PURE__ */ jsx69(
|
|
7917
8087
|
ScPairtext,
|
|
7918
8088
|
{
|
|
7919
|
-
icon: /* @__PURE__ */
|
|
8089
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7920
8090
|
iconPosition: "right",
|
|
7921
8091
|
type: "checkbox",
|
|
7922
8092
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
7923
8093
|
}
|
|
7924
8094
|
),
|
|
7925
|
-
/* @__PURE__ */
|
|
8095
|
+
/* @__PURE__ */ jsx69(
|
|
7926
8096
|
ScPairtext,
|
|
7927
8097
|
{
|
|
7928
|
-
icon: /* @__PURE__ */
|
|
8098
|
+
icon: /* @__PURE__ */ jsx69(SiconHome9, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
7929
8099
|
iconPosition: "right",
|
|
7930
8100
|
type: "checkbox",
|
|
7931
8101
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -7939,7 +8109,7 @@ var ScCatalogixInvite = ({
|
|
|
7939
8109
|
};
|
|
7940
8110
|
|
|
7941
8111
|
// src/SC-appField/ScAppField.tsx
|
|
7942
|
-
import { jsx as
|
|
8112
|
+
import { jsx as jsx70, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7943
8113
|
var ScAppField = ({
|
|
7944
8114
|
appFieldTitle = "App permission",
|
|
7945
8115
|
className,
|
|
@@ -7957,12 +8127,12 @@ var ScAppField = ({
|
|
|
7957
8127
|
...props
|
|
7958
8128
|
}) => {
|
|
7959
8129
|
return /* @__PURE__ */ jsxs58("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
7960
|
-
/* @__PURE__ */
|
|
8130
|
+
/* @__PURE__ */ jsx70("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs58("div", { className: ScAppField_default.title, children: [
|
|
7961
8131
|
appFieldTitle,
|
|
7962
8132
|
" "
|
|
7963
8133
|
] }) }),
|
|
7964
8134
|
/* @__PURE__ */ jsxs58("div", { className: ScAppField_default.inputContainer, children: [
|
|
7965
|
-
/* @__PURE__ */
|
|
8135
|
+
/* @__PURE__ */ jsx70(
|
|
7966
8136
|
ScArtifaxInvite,
|
|
7967
8137
|
{
|
|
7968
8138
|
enabled: artifaxEnabled,
|
|
@@ -7970,18 +8140,18 @@ var ScAppField = ({
|
|
|
7970
8140
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
7971
8141
|
}
|
|
7972
8142
|
),
|
|
7973
|
-
/* @__PURE__ */
|
|
8143
|
+
/* @__PURE__ */ jsx70(
|
|
7974
8144
|
ScPhtogenixInvite,
|
|
7975
8145
|
{
|
|
7976
8146
|
enabled: photogenixEnabled,
|
|
7977
8147
|
onToggle: onPhotogenixToggle,
|
|
7978
8148
|
scAppCardappDescription: "Info about photogenix",
|
|
7979
8149
|
scAppCardappName: "Photogenix",
|
|
7980
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
8150
|
+
scAppCardappIcon: /* @__PURE__ */ jsx70(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
7981
8151
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
7982
8152
|
}
|
|
7983
8153
|
),
|
|
7984
|
-
/* @__PURE__ */
|
|
8154
|
+
/* @__PURE__ */ jsx70(
|
|
7985
8155
|
ScCatalogixInvite,
|
|
7986
8156
|
{
|
|
7987
8157
|
enabled: catalogixEnabled,
|
|
@@ -8008,13 +8178,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
8008
8178
|
};
|
|
8009
8179
|
|
|
8010
8180
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
8011
|
-
import { jsx as
|
|
8181
|
+
import { jsx as jsx71, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8012
8182
|
var ScBillingHistoryHeader = ({
|
|
8013
8183
|
className,
|
|
8014
8184
|
...props
|
|
8015
8185
|
}) => {
|
|
8016
8186
|
return /* @__PURE__ */ jsxs59("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
8017
|
-
/* @__PURE__ */
|
|
8187
|
+
/* @__PURE__ */ jsx71(
|
|
8018
8188
|
ScHeader,
|
|
8019
8189
|
{
|
|
8020
8190
|
text: "Invoice",
|
|
@@ -8022,7 +8192,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8022
8192
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
8023
8193
|
}
|
|
8024
8194
|
),
|
|
8025
|
-
/* @__PURE__ */
|
|
8195
|
+
/* @__PURE__ */ jsx71(
|
|
8026
8196
|
ScHeader,
|
|
8027
8197
|
{
|
|
8028
8198
|
text: "Amount",
|
|
@@ -8030,7 +8200,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8030
8200
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
8031
8201
|
}
|
|
8032
8202
|
),
|
|
8033
|
-
/* @__PURE__ */
|
|
8203
|
+
/* @__PURE__ */ jsx71(
|
|
8034
8204
|
ScHeader,
|
|
8035
8205
|
{
|
|
8036
8206
|
text: "Date",
|
|
@@ -8038,7 +8208,7 @@ var ScBillingHistoryHeader = ({
|
|
|
8038
8208
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
8039
8209
|
}
|
|
8040
8210
|
),
|
|
8041
|
-
/* @__PURE__ */
|
|
8211
|
+
/* @__PURE__ */ jsx71(
|
|
8042
8212
|
ScHeader,
|
|
8043
8213
|
{
|
|
8044
8214
|
text: "Action",
|
|
@@ -8060,7 +8230,7 @@ var ScCheckField_default = {
|
|
|
8060
8230
|
|
|
8061
8231
|
// src/SC-checkField/ScCheckField.tsx
|
|
8062
8232
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
8063
|
-
import { Fragment as Fragment20, jsx as
|
|
8233
|
+
import { Fragment as Fragment20, jsx as jsx72, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8064
8234
|
var ScCheckField = ({
|
|
8065
8235
|
label = "Label",
|
|
8066
8236
|
className,
|
|
@@ -8068,11 +8238,11 @@ var ScCheckField = ({
|
|
|
8068
8238
|
...props
|
|
8069
8239
|
}) => {
|
|
8070
8240
|
return /* @__PURE__ */ jsxs60("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
8071
|
-
/* @__PURE__ */
|
|
8241
|
+
/* @__PURE__ */ jsx72("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs60("div", { className: ScCheckField_default.label, children: [
|
|
8072
8242
|
label,
|
|
8073
8243
|
" "
|
|
8074
8244
|
] }) }),
|
|
8075
|
-
/* @__PURE__ */
|
|
8245
|
+
/* @__PURE__ */ jsx72("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx72(
|
|
8076
8246
|
ScPairtext,
|
|
8077
8247
|
{
|
|
8078
8248
|
content: item.label,
|
|
@@ -8083,18 +8253,18 @@ var ScCheckField = ({
|
|
|
8083
8253
|
},
|
|
8084
8254
|
i
|
|
8085
8255
|
)) : /* @__PURE__ */ jsxs60(Fragment20, { children: [
|
|
8086
|
-
/* @__PURE__ */
|
|
8256
|
+
/* @__PURE__ */ jsx72(
|
|
8087
8257
|
ScPairtext,
|
|
8088
8258
|
{
|
|
8089
|
-
icon: /* @__PURE__ */
|
|
8259
|
+
icon: /* @__PURE__ */ jsx72(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
8090
8260
|
type: "checkbox",
|
|
8091
8261
|
className: ScCheckField_default.scPairtextInstance
|
|
8092
8262
|
}
|
|
8093
8263
|
),
|
|
8094
|
-
/* @__PURE__ */
|
|
8264
|
+
/* @__PURE__ */ jsx72(
|
|
8095
8265
|
ScPairtext,
|
|
8096
8266
|
{
|
|
8097
|
-
icon: /* @__PURE__ */
|
|
8267
|
+
icon: /* @__PURE__ */ jsx72(SiconHome10, { className: ScCheckField_default.siconHomeInstance }),
|
|
8098
8268
|
type: "checkbox",
|
|
8099
8269
|
className: ScCheckField_default.scPairtextInstance
|
|
8100
8270
|
}
|
|
@@ -8115,9 +8285,9 @@ var ScFieldButton_default = {
|
|
|
8115
8285
|
|
|
8116
8286
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
8117
8287
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
8118
|
-
import { Fragment as Fragment21, jsx as
|
|
8288
|
+
import { Fragment as Fragment21, jsx as jsx73, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8119
8289
|
var ScFieldButton = ({
|
|
8120
|
-
icon = /* @__PURE__ */
|
|
8290
|
+
icon = /* @__PURE__ */ jsx73(SiconHome11, { className: ScFieldButton_default.siconHomeInstance }),
|
|
8121
8291
|
type = "default",
|
|
8122
8292
|
state = "default",
|
|
8123
8293
|
className,
|
|
@@ -8125,18 +8295,18 @@ var ScFieldButton = ({
|
|
|
8125
8295
|
...props
|
|
8126
8296
|
}) => {
|
|
8127
8297
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
8128
|
-
return /* @__PURE__ */
|
|
8298
|
+
return /* @__PURE__ */ jsx73(
|
|
8129
8299
|
"div",
|
|
8130
8300
|
{
|
|
8131
8301
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
8132
8302
|
...props,
|
|
8133
8303
|
children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.container, children: [
|
|
8134
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
8135
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */
|
|
8304
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx73(Fragment21, { children: icon }),
|
|
8305
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx73(Fragment21, { children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.label, children: [
|
|
8136
8306
|
text,
|
|
8137
8307
|
" "
|
|
8138
8308
|
] }) }),
|
|
8139
|
-
type === "icon-left" && /* @__PURE__ */
|
|
8309
|
+
type === "icon-left" && /* @__PURE__ */ jsx73(Fragment21, { children: icon })
|
|
8140
8310
|
] })
|
|
8141
8311
|
}
|
|
8142
8312
|
);
|
|
@@ -8151,16 +8321,16 @@ var ScPendingAction_default = {
|
|
|
8151
8321
|
|
|
8152
8322
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
8153
8323
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
8154
|
-
import { jsx as
|
|
8324
|
+
import { jsx as jsx74, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8155
8325
|
var ScPendingAction = ({
|
|
8156
8326
|
className,
|
|
8157
8327
|
...props
|
|
8158
8328
|
}) => {
|
|
8159
8329
|
return /* @__PURE__ */ jsxs62("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
8160
|
-
/* @__PURE__ */
|
|
8330
|
+
/* @__PURE__ */ jsx74(
|
|
8161
8331
|
ScButton,
|
|
8162
8332
|
{
|
|
8163
|
-
icon: /* @__PURE__ */
|
|
8333
|
+
icon: /* @__PURE__ */ jsx74(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8164
8334
|
text: "Cancel",
|
|
8165
8335
|
variant: "error",
|
|
8166
8336
|
type: "tertiary",
|
|
@@ -8168,11 +8338,11 @@ var ScPendingAction = ({
|
|
|
8168
8338
|
className: ScPendingAction_default.scButtonInstance
|
|
8169
8339
|
}
|
|
8170
8340
|
),
|
|
8171
|
-
/* @__PURE__ */
|
|
8172
|
-
/* @__PURE__ */
|
|
8341
|
+
/* @__PURE__ */ jsx74(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
8342
|
+
/* @__PURE__ */ jsx74(
|
|
8173
8343
|
ScButton,
|
|
8174
8344
|
{
|
|
8175
|
-
icon: /* @__PURE__ */
|
|
8345
|
+
icon: /* @__PURE__ */ jsx74(SiconHome12, { className: ScPendingAction_default.siconHomeInstance }),
|
|
8176
8346
|
text: "Resend",
|
|
8177
8347
|
variant: "tertiary",
|
|
8178
8348
|
size: "sm",
|
|
@@ -8196,7 +8366,7 @@ var ScQuickPrompt_default = {
|
|
|
8196
8366
|
|
|
8197
8367
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
8198
8368
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
8199
|
-
import { jsx as
|
|
8369
|
+
import { jsx as jsx75, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8200
8370
|
var ScQuickPrompt = ({
|
|
8201
8371
|
appName = "Photogenix",
|
|
8202
8372
|
heading = "Swap Model and Background",
|
|
@@ -8206,8 +8376,8 @@ var ScQuickPrompt = ({
|
|
|
8206
8376
|
}) => {
|
|
8207
8377
|
return /* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
8208
8378
|
/* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.header, children: [
|
|
8209
|
-
/* @__PURE__ */
|
|
8210
|
-
/* @__PURE__ */
|
|
8379
|
+
/* @__PURE__ */ jsx75("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx75(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
8380
|
+
/* @__PURE__ */ jsx75("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs63("div", { className: ScQuickPrompt_default.title, children: [
|
|
8211
8381
|
appName,
|
|
8212
8382
|
" "
|
|
8213
8383
|
] }) })
|
|
@@ -8234,13 +8404,13 @@ var ScReferralTableHeader_default = {
|
|
|
8234
8404
|
};
|
|
8235
8405
|
|
|
8236
8406
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
8237
|
-
import { jsx as
|
|
8407
|
+
import { jsx as jsx76, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8238
8408
|
var ScReferralTableHeader = ({
|
|
8239
8409
|
className,
|
|
8240
8410
|
...props
|
|
8241
8411
|
}) => {
|
|
8242
8412
|
return /* @__PURE__ */ jsxs64("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
8243
|
-
/* @__PURE__ */
|
|
8413
|
+
/* @__PURE__ */ jsx76(
|
|
8244
8414
|
ScHeader,
|
|
8245
8415
|
{
|
|
8246
8416
|
text: "User",
|
|
@@ -8248,7 +8418,7 @@ var ScReferralTableHeader = ({
|
|
|
8248
8418
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
8249
8419
|
}
|
|
8250
8420
|
),
|
|
8251
|
-
/* @__PURE__ */
|
|
8421
|
+
/* @__PURE__ */ jsx76(
|
|
8252
8422
|
ScHeader,
|
|
8253
8423
|
{
|
|
8254
8424
|
text: "Date",
|
|
@@ -8256,7 +8426,7 @@ var ScReferralTableHeader = ({
|
|
|
8256
8426
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
8257
8427
|
}
|
|
8258
8428
|
),
|
|
8259
|
-
/* @__PURE__ */
|
|
8429
|
+
/* @__PURE__ */ jsx76(
|
|
8260
8430
|
ScHeader,
|
|
8261
8431
|
{
|
|
8262
8432
|
text: "Status",
|
|
@@ -8264,7 +8434,7 @@ var ScReferralTableHeader = ({
|
|
|
8264
8434
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
8265
8435
|
}
|
|
8266
8436
|
),
|
|
8267
|
-
/* @__PURE__ */
|
|
8437
|
+
/* @__PURE__ */ jsx76(
|
|
8268
8438
|
ScHeader,
|
|
8269
8439
|
{
|
|
8270
8440
|
text: "Reward",
|
|
@@ -8285,7 +8455,7 @@ var ScReferralTableList_default = {
|
|
|
8285
8455
|
};
|
|
8286
8456
|
|
|
8287
8457
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
8288
|
-
import { jsx as
|
|
8458
|
+
import { jsx as jsx77, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8289
8459
|
var ScReferralTableList = ({
|
|
8290
8460
|
userEmail = "chris@kepler.com",
|
|
8291
8461
|
userName,
|
|
@@ -8296,7 +8466,7 @@ var ScReferralTableList = ({
|
|
|
8296
8466
|
...props
|
|
8297
8467
|
}) => {
|
|
8298
8468
|
return /* @__PURE__ */ jsxs65("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
8299
|
-
/* @__PURE__ */
|
|
8469
|
+
/* @__PURE__ */ jsx77(
|
|
8300
8470
|
ScProfile,
|
|
8301
8471
|
{
|
|
8302
8472
|
subText: userEmail,
|
|
@@ -8308,7 +8478,7 @@ var ScReferralTableList = ({
|
|
|
8308
8478
|
date,
|
|
8309
8479
|
" "
|
|
8310
8480
|
] }),
|
|
8311
|
-
/* @__PURE__ */
|
|
8481
|
+
/* @__PURE__ */ jsx77(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
8312
8482
|
/* @__PURE__ */ jsxs65("div", { className: ScReferralTableList_default.points, children: [
|
|
8313
8483
|
points,
|
|
8314
8484
|
" "
|
|
@@ -8325,33 +8495,33 @@ var ScSettingsNav_default = {
|
|
|
8325
8495
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
8326
8496
|
import { SiconTeam as SiconTeam6 } from "@streamoid/icons";
|
|
8327
8497
|
import { SiconWorkspace as SiconWorkspace2, SiconReferral } from "@streamoid/icons";
|
|
8328
|
-
import { jsx as
|
|
8498
|
+
import { jsx as jsx78, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8329
8499
|
var ScSettingsNav = ({
|
|
8330
8500
|
className,
|
|
8331
8501
|
...props
|
|
8332
8502
|
}) => {
|
|
8333
|
-
return /* @__PURE__ */
|
|
8334
|
-
/* @__PURE__ */
|
|
8503
|
+
return /* @__PURE__ */ jsx78("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs66("div", { className: ScSettingsNav_default.container, children: [
|
|
8504
|
+
/* @__PURE__ */ jsx78(
|
|
8335
8505
|
ScSidebarMenu,
|
|
8336
8506
|
{
|
|
8337
|
-
icon: /* @__PURE__ */
|
|
8507
|
+
icon: /* @__PURE__ */ jsx78(SiconTeam6, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
8338
8508
|
text: "Profile",
|
|
8339
8509
|
state: "active",
|
|
8340
8510
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8341
8511
|
}
|
|
8342
8512
|
),
|
|
8343
|
-
/* @__PURE__ */
|
|
8513
|
+
/* @__PURE__ */ jsx78(
|
|
8344
8514
|
ScSidebarMenu,
|
|
8345
8515
|
{
|
|
8346
|
-
icon: /* @__PURE__ */
|
|
8516
|
+
icon: /* @__PURE__ */ jsx78(SiconWorkspace2, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
8347
8517
|
text: "Workspace",
|
|
8348
8518
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8349
8519
|
}
|
|
8350
8520
|
),
|
|
8351
|
-
/* @__PURE__ */
|
|
8521
|
+
/* @__PURE__ */ jsx78(
|
|
8352
8522
|
ScSidebarMenu,
|
|
8353
8523
|
{
|
|
8354
|
-
icon: /* @__PURE__ */
|
|
8524
|
+
icon: /* @__PURE__ */ jsx78(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
8355
8525
|
text: "Referral",
|
|
8356
8526
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
8357
8527
|
}
|
|
@@ -8367,7 +8537,7 @@ var ScTabField_default = {
|
|
|
8367
8537
|
};
|
|
8368
8538
|
|
|
8369
8539
|
// src/SC-tabField/ScTabField.tsx
|
|
8370
|
-
import { jsx as
|
|
8540
|
+
import { jsx as jsx79, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8371
8541
|
var ScTabField = ({
|
|
8372
8542
|
label = "Label",
|
|
8373
8543
|
className,
|
|
@@ -8377,16 +8547,16 @@ var ScTabField = ({
|
|
|
8377
8547
|
...props
|
|
8378
8548
|
}) => {
|
|
8379
8549
|
return /* @__PURE__ */ jsxs67("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
8380
|
-
/* @__PURE__ */
|
|
8550
|
+
/* @__PURE__ */ jsx79("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs67("div", { className: ScTabField_default.label, children: [
|
|
8381
8551
|
label,
|
|
8382
8552
|
" "
|
|
8383
8553
|
] }) }),
|
|
8384
|
-
tabs ? /* @__PURE__ */
|
|
8554
|
+
tabs ? /* @__PURE__ */ jsx79(
|
|
8385
8555
|
ScTabSwitcher,
|
|
8386
8556
|
{
|
|
8387
8557
|
tabCount: String(tabs.length),
|
|
8388
8558
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
8389
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
8559
|
+
component: tabs[0] ? /* @__PURE__ */ jsx79(
|
|
8390
8560
|
ScTabComp,
|
|
8391
8561
|
{
|
|
8392
8562
|
text: tabs[0].label,
|
|
@@ -8396,7 +8566,7 @@ var ScTabField = ({
|
|
|
8396
8566
|
style: { flex: 1 }
|
|
8397
8567
|
}
|
|
8398
8568
|
) : void 0,
|
|
8399
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
8569
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx79(
|
|
8400
8570
|
ScTabComp,
|
|
8401
8571
|
{
|
|
8402
8572
|
text: tabs[1].label,
|
|
@@ -8407,7 +8577,7 @@ var ScTabField = ({
|
|
|
8407
8577
|
}
|
|
8408
8578
|
) : void 0
|
|
8409
8579
|
}
|
|
8410
|
-
) : /* @__PURE__ */
|
|
8580
|
+
) : /* @__PURE__ */ jsx79(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
8411
8581
|
] });
|
|
8412
8582
|
};
|
|
8413
8583
|
|
|
@@ -8424,7 +8594,7 @@ var ScTableHeader_default = {
|
|
|
8424
8594
|
};
|
|
8425
8595
|
|
|
8426
8596
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
8427
|
-
import { Fragment as Fragment22, jsx as
|
|
8597
|
+
import { Fragment as Fragment22, jsx as jsx80, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8428
8598
|
var ScTableHeader = ({
|
|
8429
8599
|
type = "default",
|
|
8430
8600
|
className,
|
|
@@ -8436,7 +8606,7 @@ var ScTableHeader = ({
|
|
|
8436
8606
|
{
|
|
8437
8607
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
8438
8608
|
children: [
|
|
8439
|
-
/* @__PURE__ */
|
|
8609
|
+
/* @__PURE__ */ jsx80(
|
|
8440
8610
|
ScHeader,
|
|
8441
8611
|
{
|
|
8442
8612
|
text: "User",
|
|
@@ -8444,7 +8614,7 @@ var ScTableHeader = ({
|
|
|
8444
8614
|
className: ScTableHeader_default.scHeaderInstance
|
|
8445
8615
|
}
|
|
8446
8616
|
),
|
|
8447
|
-
/* @__PURE__ */
|
|
8617
|
+
/* @__PURE__ */ jsx80(
|
|
8448
8618
|
ScHeader,
|
|
8449
8619
|
{
|
|
8450
8620
|
text: "Role",
|
|
@@ -8452,7 +8622,7 @@ var ScTableHeader = ({
|
|
|
8452
8622
|
className: ScTableHeader_default.scHeaderInstance2
|
|
8453
8623
|
}
|
|
8454
8624
|
),
|
|
8455
|
-
/* @__PURE__ */
|
|
8625
|
+
/* @__PURE__ */ jsx80(
|
|
8456
8626
|
ScHeader,
|
|
8457
8627
|
{
|
|
8458
8628
|
text: "Access",
|
|
@@ -8460,7 +8630,7 @@ var ScTableHeader = ({
|
|
|
8460
8630
|
className: ScTableHeader_default.scHeaderInstance3
|
|
8461
8631
|
}
|
|
8462
8632
|
),
|
|
8463
|
-
/* @__PURE__ */
|
|
8633
|
+
/* @__PURE__ */ jsx80(
|
|
8464
8634
|
ScHeader,
|
|
8465
8635
|
{
|
|
8466
8636
|
text: "Invited by",
|
|
@@ -8468,7 +8638,7 @@ var ScTableHeader = ({
|
|
|
8468
8638
|
className: ScTableHeader_default.scHeaderInstance4
|
|
8469
8639
|
}
|
|
8470
8640
|
),
|
|
8471
|
-
type === "pending" && /* @__PURE__ */
|
|
8641
|
+
type === "pending" && /* @__PURE__ */ jsx80(Fragment22, { children: /* @__PURE__ */ jsx80(
|
|
8472
8642
|
ScHeader,
|
|
8473
8643
|
{
|
|
8474
8644
|
text: "Invite action",
|
|
@@ -8476,7 +8646,7 @@ var ScTableHeader = ({
|
|
|
8476
8646
|
className: ScTableHeader_default.scHeaderInstance5
|
|
8477
8647
|
}
|
|
8478
8648
|
) }),
|
|
8479
|
-
type === "default" && /* @__PURE__ */
|
|
8649
|
+
type === "default" && /* @__PURE__ */ jsx80(Fragment22, { children: /* @__PURE__ */ jsx80(
|
|
8480
8650
|
ScHeader,
|
|
8481
8651
|
{
|
|
8482
8652
|
text: "Signed On",
|
|
@@ -8510,7 +8680,7 @@ var ScTableList_default = {
|
|
|
8510
8680
|
// src/SC-tableList/ScTableList.tsx
|
|
8511
8681
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
8512
8682
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
8513
|
-
import { Fragment as Fragment23, jsx as
|
|
8683
|
+
import { Fragment as Fragment23, jsx as jsx81, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8514
8684
|
var ScTableList = ({
|
|
8515
8685
|
invitedBy = "Rohan",
|
|
8516
8686
|
signedOn = "Nov 9th, 2025",
|
|
@@ -8529,28 +8699,28 @@ var ScTableList = ({
|
|
|
8529
8699
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
8530
8700
|
...props,
|
|
8531
8701
|
children: [
|
|
8532
|
-
/* @__PURE__ */
|
|
8702
|
+
/* @__PURE__ */ jsx81(
|
|
8533
8703
|
ScProfile,
|
|
8534
8704
|
{
|
|
8535
8705
|
subText: userEmail,
|
|
8536
8706
|
className: ScTableList_default.scProfileInstance
|
|
8537
8707
|
}
|
|
8538
8708
|
),
|
|
8539
|
-
/* @__PURE__ */
|
|
8709
|
+
/* @__PURE__ */ jsx81(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
8540
8710
|
/* @__PURE__ */ jsxs69("div", { className: ScTableList_default.accessInfo, children: [
|
|
8541
|
-
/* @__PURE__ */
|
|
8711
|
+
/* @__PURE__ */ jsx81(
|
|
8542
8712
|
ScAccess,
|
|
8543
8713
|
{
|
|
8544
|
-
component: /* @__PURE__ */
|
|
8545
|
-
component2: /* @__PURE__ */
|
|
8714
|
+
component: /* @__PURE__ */ jsx81(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
8715
|
+
component2: /* @__PURE__ */ jsx81(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
8546
8716
|
className: ScTableList_default.scAccessInstance
|
|
8547
8717
|
}
|
|
8548
8718
|
),
|
|
8549
|
-
/* @__PURE__ */
|
|
8719
|
+
/* @__PURE__ */ jsx81(
|
|
8550
8720
|
ScAccess,
|
|
8551
8721
|
{
|
|
8552
|
-
component: /* @__PURE__ */
|
|
8553
|
-
component2: /* @__PURE__ */
|
|
8722
|
+
component: /* @__PURE__ */ jsx81(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
8723
|
+
component2: /* @__PURE__ */ jsx81(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
8554
8724
|
visibleSiconCatalogix: false,
|
|
8555
8725
|
className: ScTableList_default.scAccessInstance
|
|
8556
8726
|
}
|
|
@@ -8560,13 +8730,13 @@ var ScTableList = ({
|
|
|
8560
8730
|
invitedBy,
|
|
8561
8731
|
" "
|
|
8562
8732
|
] }),
|
|
8563
|
-
variant === "pending" && /* @__PURE__ */
|
|
8733
|
+
variant === "pending" && /* @__PURE__ */ jsx81(Fragment23, { children: /* @__PURE__ */ jsx81(
|
|
8564
8734
|
ScPendingAction,
|
|
8565
8735
|
{
|
|
8566
8736
|
className: ScTableList_default.scPendingActionInstance
|
|
8567
8737
|
}
|
|
8568
8738
|
) }),
|
|
8569
|
-
variant === "active" && /* @__PURE__ */
|
|
8739
|
+
variant === "active" && /* @__PURE__ */ jsx81(Fragment23, { children: /* @__PURE__ */ jsxs69("div", { className: ScTableList_default.date, children: [
|
|
8570
8740
|
signedOn,
|
|
8571
8741
|
" "
|
|
8572
8742
|
] }) })
|
|
@@ -8601,7 +8771,7 @@ import {
|
|
|
8601
8771
|
SiconSwitch as SiconSwitch2,
|
|
8602
8772
|
SiconLogout as SiconLogout2
|
|
8603
8773
|
} from "@streamoid/icons";
|
|
8604
|
-
import { jsx as
|
|
8774
|
+
import { jsx as jsx82, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
8605
8775
|
var ScWorkspaceCard = ({
|
|
8606
8776
|
workspaceName = "Stores",
|
|
8607
8777
|
role = "Admin",
|
|
@@ -8613,7 +8783,7 @@ var ScWorkspaceCard = ({
|
|
|
8613
8783
|
}) => {
|
|
8614
8784
|
return /* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
8615
8785
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
8616
|
-
/* @__PURE__ */
|
|
8786
|
+
/* @__PURE__ */ jsx82(
|
|
8617
8787
|
ScIntialProfileCover,
|
|
8618
8788
|
{
|
|
8619
8789
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
@@ -8625,7 +8795,7 @@ var ScWorkspaceCard = ({
|
|
|
8625
8795
|
] })
|
|
8626
8796
|
] }),
|
|
8627
8797
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
8628
|
-
/* @__PURE__ */
|
|
8798
|
+
/* @__PURE__ */ jsx82(
|
|
8629
8799
|
ScBadges,
|
|
8630
8800
|
{
|
|
8631
8801
|
text: role,
|
|
@@ -8634,40 +8804,40 @@ var ScWorkspaceCard = ({
|
|
|
8634
8804
|
}
|
|
8635
8805
|
),
|
|
8636
8806
|
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
8637
|
-
/* @__PURE__ */
|
|
8807
|
+
/* @__PURE__ */ jsx82(
|
|
8638
8808
|
ScPairtext,
|
|
8639
8809
|
{
|
|
8640
|
-
icon: /* @__PURE__ */
|
|
8810
|
+
icon: /* @__PURE__ */ jsx82(SiconTeam7, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
8641
8811
|
content: userCount,
|
|
8642
8812
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8643
8813
|
}
|
|
8644
8814
|
),
|
|
8645
|
-
/* @__PURE__ */
|
|
8646
|
-
/* @__PURE__ */
|
|
8815
|
+
/* @__PURE__ */ jsx82(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
8816
|
+
/* @__PURE__ */ jsx82(
|
|
8647
8817
|
ScPairtext,
|
|
8648
8818
|
{
|
|
8649
|
-
icon: /* @__PURE__ */
|
|
8819
|
+
icon: /* @__PURE__ */ jsx82(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
8650
8820
|
content: ownerEmail,
|
|
8651
8821
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
8652
8822
|
}
|
|
8653
8823
|
)
|
|
8654
8824
|
] })
|
|
8655
8825
|
] }),
|
|
8656
|
-
/* @__PURE__ */
|
|
8826
|
+
/* @__PURE__ */ jsx82(
|
|
8657
8827
|
ScButton,
|
|
8658
8828
|
{
|
|
8659
|
-
icon: /* @__PURE__ */
|
|
8829
|
+
icon: /* @__PURE__ */ jsx82(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
8660
8830
|
text: buttonText,
|
|
8661
8831
|
state: "disabled",
|
|
8662
8832
|
variant: "outline",
|
|
8663
8833
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
8664
8834
|
}
|
|
8665
8835
|
),
|
|
8666
|
-
/* @__PURE__ */
|
|
8836
|
+
/* @__PURE__ */ jsx82(
|
|
8667
8837
|
ScButton,
|
|
8668
8838
|
{
|
|
8669
8839
|
text: "Leave workspace",
|
|
8670
|
-
icon: /* @__PURE__ */
|
|
8840
|
+
icon: /* @__PURE__ */ jsx82(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
8671
8841
|
styleVariant: "icon-only",
|
|
8672
8842
|
variant: "error",
|
|
8673
8843
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -8703,7 +8873,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
8703
8873
|
};
|
|
8704
8874
|
|
|
8705
8875
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
8706
|
-
import { jsx as
|
|
8876
|
+
import { jsx as jsx83, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8707
8877
|
function ScWorkspaceSwitchCard({
|
|
8708
8878
|
wsName = "Workspace name is kepler",
|
|
8709
8879
|
role = "Admin",
|
|
@@ -8733,7 +8903,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8733
8903
|
].filter(Boolean).join(" ");
|
|
8734
8904
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
8735
8905
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
8736
|
-
return /* @__PURE__ */
|
|
8906
|
+
return /* @__PURE__ */ jsx83(
|
|
8737
8907
|
"div",
|
|
8738
8908
|
{
|
|
8739
8909
|
className: cardClass,
|
|
@@ -8756,7 +8926,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8756
8926
|
}
|
|
8757
8927
|
} : void 0,
|
|
8758
8928
|
children: /* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
8759
|
-
/* @__PURE__ */
|
|
8929
|
+
/* @__PURE__ */ jsx83(
|
|
8760
8930
|
ScDp,
|
|
8761
8931
|
{
|
|
8762
8932
|
type: imageUrl ? "image" : "initial",
|
|
@@ -8771,25 +8941,25 @@ function ScWorkspaceSwitchCard({
|
|
|
8771
8941
|
}
|
|
8772
8942
|
),
|
|
8773
8943
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
8774
|
-
/* @__PURE__ */
|
|
8944
|
+
/* @__PURE__ */ jsx83("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
8775
8945
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
8776
8946
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
8777
|
-
/* @__PURE__ */
|
|
8778
|
-
/* @__PURE__ */
|
|
8947
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
8948
|
+
/* @__PURE__ */ jsx83("span", { className: roleColorClass, children: displayRole })
|
|
8779
8949
|
] }),
|
|
8780
|
-
/* @__PURE__ */
|
|
8950
|
+
/* @__PURE__ */ jsx83(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
8781
8951
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
8782
|
-
/* @__PURE__ */
|
|
8783
|
-
/* @__PURE__ */
|
|
8952
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
8953
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
8784
8954
|
] }),
|
|
8785
|
-
/* @__PURE__ */
|
|
8955
|
+
/* @__PURE__ */ jsx83(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
8786
8956
|
/* @__PURE__ */ jsxs71("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
8787
|
-
/* @__PURE__ */
|
|
8788
|
-
/* @__PURE__ */
|
|
8957
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
8958
|
+
/* @__PURE__ */ jsx83("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
8789
8959
|
] })
|
|
8790
8960
|
] })
|
|
8791
8961
|
] }),
|
|
8792
|
-
isHover && isOther && /* @__PURE__ */
|
|
8962
|
+
isHover && isOther && /* @__PURE__ */ jsx83(
|
|
8793
8963
|
"div",
|
|
8794
8964
|
{
|
|
8795
8965
|
onClick: (e) => {
|
|
@@ -8797,19 +8967,19 @@ function ScWorkspaceSwitchCard({
|
|
|
8797
8967
|
onSwitch?.();
|
|
8798
8968
|
},
|
|
8799
8969
|
style: { cursor: "pointer" },
|
|
8800
|
-
children: /* @__PURE__ */
|
|
8970
|
+
children: /* @__PURE__ */ jsx83(
|
|
8801
8971
|
ScButton,
|
|
8802
8972
|
{
|
|
8803
8973
|
text: "Switch Workspace",
|
|
8804
8974
|
variant: "secondary",
|
|
8805
8975
|
size: "sm",
|
|
8806
8976
|
styleVariant: "icon-left",
|
|
8807
|
-
icon: /* @__PURE__ */
|
|
8977
|
+
icon: /* @__PURE__ */ jsx83(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
8808
8978
|
}
|
|
8809
8979
|
)
|
|
8810
8980
|
}
|
|
8811
8981
|
),
|
|
8812
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
8982
|
+
isHover && isAdmin && /* @__PURE__ */ jsx83(
|
|
8813
8983
|
"div",
|
|
8814
8984
|
{
|
|
8815
8985
|
onClick: (e) => {
|
|
@@ -8817,18 +8987,18 @@ function ScWorkspaceSwitchCard({
|
|
|
8817
8987
|
onSettings?.();
|
|
8818
8988
|
},
|
|
8819
8989
|
style: { cursor: "pointer" },
|
|
8820
|
-
children: /* @__PURE__ */
|
|
8990
|
+
children: /* @__PURE__ */ jsx83(
|
|
8821
8991
|
ScButton,
|
|
8822
8992
|
{
|
|
8823
8993
|
styleVariant: "icon-only",
|
|
8824
8994
|
variant: "outline",
|
|
8825
8995
|
size: "sm",
|
|
8826
|
-
icon: /* @__PURE__ */
|
|
8996
|
+
icon: /* @__PURE__ */ jsx83(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
8827
8997
|
}
|
|
8828
8998
|
)
|
|
8829
8999
|
}
|
|
8830
9000
|
),
|
|
8831
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
9001
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx83(
|
|
8832
9002
|
"div",
|
|
8833
9003
|
{
|
|
8834
9004
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -8836,7 +9006,7 @@ function ScWorkspaceSwitchCard({
|
|
|
8836
9006
|
e.stopPropagation();
|
|
8837
9007
|
onLeave?.();
|
|
8838
9008
|
},
|
|
8839
|
-
children: /* @__PURE__ */
|
|
9009
|
+
children: /* @__PURE__ */ jsx83(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
8840
9010
|
}
|
|
8841
9011
|
)
|
|
8842
9012
|
] })
|
|
@@ -8856,7 +9026,7 @@ var ScModal_default = {
|
|
|
8856
9026
|
};
|
|
8857
9027
|
|
|
8858
9028
|
// src/SC-Modal/ScModal.tsx
|
|
8859
|
-
import { jsx as
|
|
9029
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
8860
9030
|
var ScModal = ({
|
|
8861
9031
|
children,
|
|
8862
9032
|
onClose,
|
|
@@ -8878,7 +9048,7 @@ var ScModal = ({
|
|
|
8878
9048
|
}, [open, closeOnEsc, onClose]);
|
|
8879
9049
|
if (!open || typeof document === "undefined") return null;
|
|
8880
9050
|
return createPortal(
|
|
8881
|
-
/* @__PURE__ */
|
|
9051
|
+
/* @__PURE__ */ jsx84(
|
|
8882
9052
|
"div",
|
|
8883
9053
|
{
|
|
8884
9054
|
className: [ScModal_default.backdrop, className].filter(Boolean).join(" "),
|
|
@@ -8886,7 +9056,7 @@ var ScModal = ({
|
|
|
8886
9056
|
onMouseDown: (e) => {
|
|
8887
9057
|
if (closeOnBackdrop && e.target === e.currentTarget) onClose?.();
|
|
8888
9058
|
},
|
|
8889
|
-
children: /* @__PURE__ */
|
|
9059
|
+
children: /* @__PURE__ */ jsx84(
|
|
8890
9060
|
"div",
|
|
8891
9061
|
{
|
|
8892
9062
|
className: [ScModal_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -8914,7 +9084,7 @@ var ScDrawer_default = {
|
|
|
8914
9084
|
};
|
|
8915
9085
|
|
|
8916
9086
|
// src/SC-Drawer/ScDrawer.tsx
|
|
8917
|
-
import { Fragment as Fragment24, jsx as
|
|
9087
|
+
import { Fragment as Fragment24, jsx as jsx85, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8918
9088
|
var ScDrawer = ({
|
|
8919
9089
|
children,
|
|
8920
9090
|
onClose,
|
|
@@ -8950,7 +9120,7 @@ var ScDrawer = ({
|
|
|
8950
9120
|
if (!open || typeof document === "undefined") return null;
|
|
8951
9121
|
return createPortal2(
|
|
8952
9122
|
/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
8953
|
-
backdrop && /* @__PURE__ */
|
|
9123
|
+
backdrop && /* @__PURE__ */ jsx85(
|
|
8954
9124
|
"div",
|
|
8955
9125
|
{
|
|
8956
9126
|
className: ScDrawer_default.backdrop,
|
|
@@ -8958,13 +9128,13 @@ var ScDrawer = ({
|
|
|
8958
9128
|
"aria-hidden": true
|
|
8959
9129
|
}
|
|
8960
9130
|
),
|
|
8961
|
-
/* @__PURE__ */
|
|
9131
|
+
/* @__PURE__ */ jsx85(
|
|
8962
9132
|
"div",
|
|
8963
9133
|
{
|
|
8964
9134
|
ref: panelRef,
|
|
8965
9135
|
className: [ScDrawer_default.drawer, ScDrawer_default["side-" + side], className].filter(Boolean).join(" "),
|
|
8966
9136
|
style: zIndex != null ? { ...style, zIndex } : style,
|
|
8967
|
-
children: /* @__PURE__ */
|
|
9137
|
+
children: /* @__PURE__ */ jsx85(
|
|
8968
9138
|
"div",
|
|
8969
9139
|
{
|
|
8970
9140
|
className: [ScDrawer_default.content, contentClassName].filter(Boolean).join(" "),
|
|
@@ -8990,7 +9160,7 @@ var ScTabs_default = {
|
|
|
8990
9160
|
};
|
|
8991
9161
|
|
|
8992
9162
|
// src/SC-Tabs/ScTabs.tsx
|
|
8993
|
-
import { jsx as
|
|
9163
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
8994
9164
|
var ScTabs = ({
|
|
8995
9165
|
tabs,
|
|
8996
9166
|
activeTab,
|
|
@@ -9000,7 +9170,7 @@ var ScTabs = ({
|
|
|
9000
9170
|
isCompact,
|
|
9001
9171
|
className
|
|
9002
9172
|
}) => {
|
|
9003
|
-
return /* @__PURE__ */
|
|
9173
|
+
return /* @__PURE__ */ jsx86(
|
|
9004
9174
|
"div",
|
|
9005
9175
|
{
|
|
9006
9176
|
className: [
|
|
@@ -9013,7 +9183,7 @@ var ScTabs = ({
|
|
|
9013
9183
|
children: tabs.map((tab, idx) => {
|
|
9014
9184
|
const label = typeof tab === "string" ? tab : tab.label ?? tab.value ?? "";
|
|
9015
9185
|
const value = typeof tab === "string" ? tab : tab.value ?? tab.label ?? "";
|
|
9016
|
-
return /* @__PURE__ */
|
|
9186
|
+
return /* @__PURE__ */ jsx86(
|
|
9017
9187
|
"div",
|
|
9018
9188
|
{
|
|
9019
9189
|
className: [ScTabs_default.tab, activeTab === value && ScTabs_default.active].filter(Boolean).join(" "),
|
|
@@ -9040,7 +9210,7 @@ var ScCounter_default = {
|
|
|
9040
9210
|
};
|
|
9041
9211
|
|
|
9042
9212
|
// src/SC-Counter/ScCounter.tsx
|
|
9043
|
-
import { jsx as
|
|
9213
|
+
import { jsx as jsx87, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
9044
9214
|
var ScCounter = ({
|
|
9045
9215
|
count,
|
|
9046
9216
|
onChange,
|
|
@@ -9063,9 +9233,9 @@ var ScCounter = ({
|
|
|
9063
9233
|
className: [ScCounter_default.counter, className].filter(Boolean).join(" "),
|
|
9064
9234
|
style,
|
|
9065
9235
|
children: [
|
|
9066
|
-
/* @__PURE__ */
|
|
9236
|
+
/* @__PURE__ */ jsx87("div", { className: ScCounter_default.step, onClick: () => set(count - 1), children: /* @__PURE__ */ jsx87(SiconMinus, { size: 24, color: "var(--alias-text-and-icons-primary)" }) }),
|
|
9067
9237
|
showInput ? /* @__PURE__ */ jsxs73("div", { className: ScCounter_default.inputContainer, children: [
|
|
9068
|
-
/* @__PURE__ */
|
|
9238
|
+
/* @__PURE__ */ jsx87(
|
|
9069
9239
|
"input",
|
|
9070
9240
|
{
|
|
9071
9241
|
value: count,
|
|
@@ -9076,13 +9246,13 @@ var ScCounter = ({
|
|
|
9076
9246
|
onBlur: () => setShowInput(false)
|
|
9077
9247
|
}
|
|
9078
9248
|
),
|
|
9079
|
-
/* @__PURE__ */
|
|
9249
|
+
/* @__PURE__ */ jsx87("div", { children: label })
|
|
9080
9250
|
] }) : /* @__PURE__ */ jsxs73("div", { className: ScCounter_default.value, onClick: () => setShowInput(true), children: [
|
|
9081
9251
|
count,
|
|
9082
9252
|
" ",
|
|
9083
9253
|
label
|
|
9084
9254
|
] }),
|
|
9085
|
-
/* @__PURE__ */
|
|
9255
|
+
/* @__PURE__ */ jsx87("div", { className: ScCounter_default.step, onClick: () => set(count + 1), children: /* @__PURE__ */ jsx87(SiconPlus2, { size: 24, color: "var(--alias-text-and-icons-primary)" }) })
|
|
9086
9256
|
]
|
|
9087
9257
|
}
|
|
9088
9258
|
);
|
|
@@ -9101,7 +9271,7 @@ var ScPagination_default = {
|
|
|
9101
9271
|
};
|
|
9102
9272
|
|
|
9103
9273
|
// src/SC-Pagination/ScPagination.tsx
|
|
9104
|
-
import { jsx as
|
|
9274
|
+
import { jsx as jsx88, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
9105
9275
|
var ScPagination = ({
|
|
9106
9276
|
itemsCount,
|
|
9107
9277
|
itemsPerPage,
|
|
@@ -9140,8 +9310,8 @@ var ScPagination = ({
|
|
|
9140
9310
|
onPageChangeAction();
|
|
9141
9311
|
}
|
|
9142
9312
|
};
|
|
9143
|
-
return /* @__PURE__ */
|
|
9144
|
-
/* @__PURE__ */
|
|
9313
|
+
return /* @__PURE__ */ jsx88("div", { className: ScPagination_default.scPagination + (className ? " " + className : ""), children: /* @__PURE__ */ jsxs74("div", { className: ScPagination_default.section, children: [
|
|
9314
|
+
/* @__PURE__ */ jsx88(
|
|
9145
9315
|
SiconRight5,
|
|
9146
9316
|
{
|
|
9147
9317
|
size: 24,
|
|
@@ -9150,7 +9320,7 @@ var ScPagination = ({
|
|
|
9150
9320
|
onClick: () => step("dec")
|
|
9151
9321
|
}
|
|
9152
9322
|
),
|
|
9153
|
-
/* @__PURE__ */
|
|
9323
|
+
/* @__PURE__ */ jsx88("span", { className: ScPagination_default.page, children: /* @__PURE__ */ jsx88(
|
|
9154
9324
|
"input",
|
|
9155
9325
|
{
|
|
9156
9326
|
type: "number",
|
|
@@ -9160,7 +9330,7 @@ var ScPagination = ({
|
|
|
9160
9330
|
onBlur: commit
|
|
9161
9331
|
}
|
|
9162
9332
|
) }),
|
|
9163
|
-
/* @__PURE__ */
|
|
9333
|
+
/* @__PURE__ */ jsx88(
|
|
9164
9334
|
SiconRight5,
|
|
9165
9335
|
{
|
|
9166
9336
|
size: 24,
|
|
@@ -9185,13 +9355,13 @@ var ScBeacon_default = {
|
|
|
9185
9355
|
};
|
|
9186
9356
|
|
|
9187
9357
|
// src/SC-Beacon/ScBeacon.tsx
|
|
9188
|
-
import { jsx as
|
|
9358
|
+
import { jsx as jsx89, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
9189
9359
|
var ScBeacon = ({
|
|
9190
9360
|
tone = "neutral",
|
|
9191
9361
|
className,
|
|
9192
9362
|
...props
|
|
9193
9363
|
}) => {
|
|
9194
|
-
return /* @__PURE__ */
|
|
9364
|
+
return /* @__PURE__ */ jsx89(
|
|
9195
9365
|
"span",
|
|
9196
9366
|
{
|
|
9197
9367
|
className: ScBeacon_default.scBeacon + " " + ScBeacon_default[tone] + (className ? " " + className : ""),
|
|
@@ -9206,8 +9376,8 @@ var ScBeacon = ({
|
|
|
9206
9376
|
fill: "none",
|
|
9207
9377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9208
9378
|
children: [
|
|
9209
|
-
/* @__PURE__ */
|
|
9210
|
-
/* @__PURE__ */
|
|
9379
|
+
/* @__PURE__ */ jsx89("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor", fillOpacity: "0.24" }),
|
|
9380
|
+
/* @__PURE__ */ jsx89("circle", { cx: "10", cy: "10", r: "4", fill: "currentColor" })
|
|
9211
9381
|
]
|
|
9212
9382
|
}
|
|
9213
9383
|
)
|
|
@@ -9227,7 +9397,7 @@ var ScStoreCard_default = {
|
|
|
9227
9397
|
};
|
|
9228
9398
|
|
|
9229
9399
|
// src/SC-StoreCard/ScStoreCard.tsx
|
|
9230
|
-
import { jsx as
|
|
9400
|
+
import { jsx as jsx90, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
9231
9401
|
var ScStoreCard = ({
|
|
9232
9402
|
storeName = "Store Name",
|
|
9233
9403
|
noOfProducts = "1490 Products",
|
|
@@ -9242,12 +9412,12 @@ var ScStoreCard = ({
|
|
|
9242
9412
|
className: ScStoreCard_default.scStoreCard + (className ? " " + className : ""),
|
|
9243
9413
|
...props,
|
|
9244
9414
|
children: [
|
|
9245
|
-
/* @__PURE__ */
|
|
9246
|
-
/* @__PURE__ */
|
|
9415
|
+
/* @__PURE__ */ jsx90("div", { className: ScStoreCard_default.nameSection, children: /* @__PURE__ */ jsx90("p", { className: ScStoreCard_default.storeName, title: storeName, children: storeName }) }),
|
|
9416
|
+
/* @__PURE__ */ jsx90(ScHDivider, { className: ScStoreCard_default.divider }),
|
|
9247
9417
|
/* @__PURE__ */ jsxs76("div", { className: ScStoreCard_default.footer, children: [
|
|
9248
|
-
/* @__PURE__ */
|
|
9249
|
-
/* @__PURE__ */
|
|
9250
|
-
/* @__PURE__ */
|
|
9418
|
+
/* @__PURE__ */ jsx90(ScBeacon, { tone }),
|
|
9419
|
+
/* @__PURE__ */ jsx90("span", { className: ScStoreCard_default.products, children: noOfProducts }),
|
|
9420
|
+
/* @__PURE__ */ jsx90("span", { className: ScStoreCard_default.date, children: dateCreated })
|
|
9251
9421
|
] })
|
|
9252
9422
|
]
|
|
9253
9423
|
}
|
|
@@ -9266,7 +9436,7 @@ var ScCatalogixStoreHeader_default = {
|
|
|
9266
9436
|
};
|
|
9267
9437
|
|
|
9268
9438
|
// src/SC-Catalogix-Store-Header/ScCatalogixStoreHeader.tsx
|
|
9269
|
-
import { jsx as
|
|
9439
|
+
import { jsx as jsx91, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
9270
9440
|
var ScCatalogixStoreHeader = ({
|
|
9271
9441
|
storeNameLabel = "Store name",
|
|
9272
9442
|
statusLabel = "Status",
|
|
@@ -9285,12 +9455,12 @@ var ScCatalogixStoreHeader = ({
|
|
|
9285
9455
|
className: ScCatalogixStoreHeader_default.scCatalogixStoreHeader + (className ? " " + className : ""),
|
|
9286
9456
|
...props,
|
|
9287
9457
|
children: [
|
|
9288
|
-
/* @__PURE__ */
|
|
9289
|
-
/* @__PURE__ */
|
|
9290
|
-
/* @__PURE__ */
|
|
9291
|
-
showAssets && /* @__PURE__ */
|
|
9292
|
-
/* @__PURE__ */
|
|
9293
|
-
showCreatedBy && /* @__PURE__ */
|
|
9458
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colName, children: storeNameLabel }),
|
|
9459
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colStatus, children: statusLabel }),
|
|
9460
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: productsLabel }),
|
|
9461
|
+
showAssets && /* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colNum, children: assetsLabel }),
|
|
9462
|
+
/* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colDate, children: createdOnLabel }),
|
|
9463
|
+
showCreatedBy && /* @__PURE__ */ jsx91("span", { className: ScCatalogixStoreHeader_default.label + " " + ScCatalogixStoreHeader_default.colBy, children: createdByLabel })
|
|
9294
9464
|
]
|
|
9295
9465
|
}
|
|
9296
9466
|
);
|
|
@@ -9312,7 +9482,7 @@ var ScCatalogixStoreTableList_default = {
|
|
|
9312
9482
|
};
|
|
9313
9483
|
|
|
9314
9484
|
// src/SC-CatalogixStoreTableList/ScCatalogixStoreTableList.tsx
|
|
9315
|
-
import { jsx as
|
|
9485
|
+
import { jsx as jsx92, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
9316
9486
|
var STATUS_TONE_CLASS = {
|
|
9317
9487
|
success: "statusSuccess",
|
|
9318
9488
|
warning: "statusWarning",
|
|
@@ -9339,12 +9509,12 @@ var ScCatalogixStoreTableList = ({
|
|
|
9339
9509
|
className: ScCatalogixStoreTableList_default.scCatalogixStoreTableList + (className ? " " + className : ""),
|
|
9340
9510
|
...props,
|
|
9341
9511
|
children: [
|
|
9342
|
-
/* @__PURE__ */
|
|
9343
|
-
/* @__PURE__ */
|
|
9344
|
-
/* @__PURE__ */
|
|
9345
|
-
showAssets && /* @__PURE__ */
|
|
9346
|
-
/* @__PURE__ */
|
|
9347
|
-
showCreatedBy && /* @__PURE__ */
|
|
9512
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.name, title: storeName, children: storeName }),
|
|
9513
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.status + " " + toneClass, children: status }),
|
|
9514
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: products }),
|
|
9515
|
+
showAssets && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colNum, children: assets }),
|
|
9516
|
+
/* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colDate, children: createdOn }),
|
|
9517
|
+
showCreatedBy && /* @__PURE__ */ jsx92("span", { className: ScCatalogixStoreTableList_default.cell + " " + ScCatalogixStoreTableList_default.colBy, children: createdBy })
|
|
9348
9518
|
]
|
|
9349
9519
|
}
|
|
9350
9520
|
);
|
|
@@ -9360,7 +9530,7 @@ var ScDefaultCard_default = {
|
|
|
9360
9530
|
};
|
|
9361
9531
|
|
|
9362
9532
|
// src/SC-DefaultCard/ScDefaultCard.tsx
|
|
9363
|
-
import { jsx as
|
|
9533
|
+
import { jsx as jsx93, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
9364
9534
|
var ScDefaultCard = ({
|
|
9365
9535
|
title = "Title",
|
|
9366
9536
|
description = "Description",
|
|
@@ -9371,14 +9541,14 @@ var ScDefaultCard = ({
|
|
|
9371
9541
|
}) => {
|
|
9372
9542
|
const variantsClassName = ScDefaultCard_default["state-" + state];
|
|
9373
9543
|
const hasDescription = showDescription && Boolean(description);
|
|
9374
|
-
return /* @__PURE__ */
|
|
9544
|
+
return /* @__PURE__ */ jsx93(
|
|
9375
9545
|
"div",
|
|
9376
9546
|
{
|
|
9377
9547
|
className: [ScDefaultCard_default.scDefaultCard, variantsClassName, className].filter(Boolean).join(" "),
|
|
9378
9548
|
...props,
|
|
9379
9549
|
children: /* @__PURE__ */ jsxs79("div", { className: ScDefaultCard_default.content, children: [
|
|
9380
|
-
/* @__PURE__ */
|
|
9381
|
-
hasDescription && /* @__PURE__ */
|
|
9550
|
+
/* @__PURE__ */ jsx93("p", { className: ScDefaultCard_default.title, children: title }),
|
|
9551
|
+
hasDescription && /* @__PURE__ */ jsx93("p", { className: ScDefaultCard_default.description, children: description })
|
|
9382
9552
|
] })
|
|
9383
9553
|
}
|
|
9384
9554
|
);
|
|
@@ -9397,7 +9567,7 @@ var ScValueMappingL1_default = {
|
|
|
9397
9567
|
};
|
|
9398
9568
|
|
|
9399
9569
|
// src/SC-ValueMappingL1/ScValueMappingL1.tsx
|
|
9400
|
-
import { jsx as
|
|
9570
|
+
import { jsx as jsx94, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
9401
9571
|
var ScValueMappingL1 = ({
|
|
9402
9572
|
label = "Title",
|
|
9403
9573
|
state = "default",
|
|
@@ -9417,8 +9587,8 @@ var ScValueMappingL1 = ({
|
|
|
9417
9587
|
].filter(Boolean).join(" "),
|
|
9418
9588
|
...props,
|
|
9419
9589
|
children: [
|
|
9420
|
-
/* @__PURE__ */
|
|
9421
|
-
updated && /* @__PURE__ */
|
|
9590
|
+
/* @__PURE__ */ jsx94("div", { className: ScValueMappingL1_default.labelWrap, children: /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.label, title: label, children: label }) }),
|
|
9591
|
+
updated && /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.dot, "aria-hidden": true, children: /* @__PURE__ */ jsx94("span", { className: ScValueMappingL1_default.dotInner }) })
|
|
9422
9592
|
]
|
|
9423
9593
|
}
|
|
9424
9594
|
);
|
|
@@ -9438,7 +9608,7 @@ var ScTaxonomyPill_default = {
|
|
|
9438
9608
|
|
|
9439
9609
|
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
9440
9610
|
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
9441
|
-
import { Fragment as Fragment25, jsx as
|
|
9611
|
+
import { Fragment as Fragment25, jsx as jsx95, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
9442
9612
|
var ScTaxonomyPill = ({
|
|
9443
9613
|
type = "pill",
|
|
9444
9614
|
state = "default",
|
|
@@ -9453,13 +9623,13 @@ var ScTaxonomyPill = ({
|
|
|
9453
9623
|
ScTaxonomyPill_default["state-" + state],
|
|
9454
9624
|
className
|
|
9455
9625
|
].filter(Boolean).join(" ");
|
|
9456
|
-
return /* @__PURE__ */
|
|
9457
|
-
type === "pill" && /* @__PURE__ */
|
|
9626
|
+
return /* @__PURE__ */ jsx95("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs81("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
9627
|
+
type === "pill" && /* @__PURE__ */ jsx95("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
9458
9628
|
type === "expand" && /* @__PURE__ */ jsxs81(Fragment25, { children: [
|
|
9459
|
-
/* @__PURE__ */
|
|
9460
|
-
/* @__PURE__ */
|
|
9629
|
+
/* @__PURE__ */ jsx95("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
9630
|
+
/* @__PURE__ */ jsx95(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9461
9631
|
] }),
|
|
9462
|
-
type === "collapse" && /* @__PURE__ */
|
|
9632
|
+
type === "collapse" && /* @__PURE__ */ jsx95(SiconUp2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9463
9633
|
] }) });
|
|
9464
9634
|
};
|
|
9465
9635
|
|
|
@@ -9472,7 +9642,7 @@ var ScSelectionPill_default = {
|
|
|
9472
9642
|
};
|
|
9473
9643
|
|
|
9474
9644
|
// src/SC-SelectionPill/ScSelectionPill.tsx
|
|
9475
|
-
import { jsx as
|
|
9645
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
9476
9646
|
var ScSelectionPill = ({
|
|
9477
9647
|
label = "All Products",
|
|
9478
9648
|
selected = false,
|
|
@@ -9487,7 +9657,7 @@ var ScSelectionPill = ({
|
|
|
9487
9657
|
onClick?.(event);
|
|
9488
9658
|
onSelect?.(value);
|
|
9489
9659
|
};
|
|
9490
|
-
return /* @__PURE__ */
|
|
9660
|
+
return /* @__PURE__ */ jsx96(
|
|
9491
9661
|
"button",
|
|
9492
9662
|
{
|
|
9493
9663
|
type: "button",
|
|
@@ -9495,7 +9665,7 @@ var ScSelectionPill = ({
|
|
|
9495
9665
|
"aria-pressed": selected,
|
|
9496
9666
|
onClick: handleClick,
|
|
9497
9667
|
...props,
|
|
9498
|
-
children: /* @__PURE__ */
|
|
9668
|
+
children: /* @__PURE__ */ jsx96("span", { className: ScSelectionPill_default.label, children: label })
|
|
9499
9669
|
}
|
|
9500
9670
|
);
|
|
9501
9671
|
};
|
|
@@ -9506,7 +9676,7 @@ var ScSelectionPillGroup_default = {
|
|
|
9506
9676
|
};
|
|
9507
9677
|
|
|
9508
9678
|
// src/SC-SelectionPillGroup/ScSelectionPillGroup.tsx
|
|
9509
|
-
import { jsx as
|
|
9679
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9510
9680
|
var ScSelectionPillGroup = ({
|
|
9511
9681
|
options = [],
|
|
9512
9682
|
value,
|
|
@@ -9514,13 +9684,13 @@ var ScSelectionPillGroup = ({
|
|
|
9514
9684
|
className,
|
|
9515
9685
|
...props
|
|
9516
9686
|
}) => {
|
|
9517
|
-
return /* @__PURE__ */
|
|
9687
|
+
return /* @__PURE__ */ jsx97(
|
|
9518
9688
|
"div",
|
|
9519
9689
|
{
|
|
9520
9690
|
className: [ScSelectionPillGroup_default.scSelectionPillGroup, className].filter(Boolean).join(" "),
|
|
9521
9691
|
role: "tablist",
|
|
9522
9692
|
...props,
|
|
9523
|
-
children: options.map((opt) => /* @__PURE__ */
|
|
9693
|
+
children: options.map((opt) => /* @__PURE__ */ jsx97(
|
|
9524
9694
|
ScSelectionPill,
|
|
9525
9695
|
{
|
|
9526
9696
|
label: opt.label,
|
|
@@ -9541,7 +9711,7 @@ import {
|
|
|
9541
9711
|
SiconPlus as SiconPlus3,
|
|
9542
9712
|
SiconRight as SiconRight6,
|
|
9543
9713
|
SiconWarning,
|
|
9544
|
-
SiconCheck
|
|
9714
|
+
SiconCheck,
|
|
9545
9715
|
SiconClose as SiconClose4
|
|
9546
9716
|
} from "@streamoid/icons";
|
|
9547
9717
|
|
|
@@ -9583,7 +9753,7 @@ var ScMappingCard_default = {
|
|
|
9583
9753
|
};
|
|
9584
9754
|
|
|
9585
9755
|
// src/SC-MappingCard/ScMappingCard.tsx
|
|
9586
|
-
import { Fragment as Fragment26, jsx as
|
|
9756
|
+
import { Fragment as Fragment26, jsx as jsx98, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
9587
9757
|
var ScMappingCard = ({
|
|
9588
9758
|
badge,
|
|
9589
9759
|
columnName,
|
|
@@ -9610,19 +9780,19 @@ var ScMappingCard = ({
|
|
|
9610
9780
|
className: [ScMappingCard_default.scMappingCard, ScMappingCard_default["status-" + status], className].filter(Boolean).join(" "),
|
|
9611
9781
|
...props,
|
|
9612
9782
|
children: [
|
|
9613
|
-
badge != null && /* @__PURE__ */
|
|
9783
|
+
badge != null && /* @__PURE__ */ jsx98("div", { className: ScMappingCard_default.badge, "aria-hidden": true, children: /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.badgeLetter, children: badge }) }),
|
|
9614
9784
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.content, children: [
|
|
9615
9785
|
isDefault ? /* @__PURE__ */ jsxs82("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCard].join(" "), children: [
|
|
9616
9786
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.sourceHeader, children: [
|
|
9617
|
-
/* @__PURE__ */
|
|
9618
|
-
/* @__PURE__ */
|
|
9787
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }),
|
|
9788
|
+
/* @__PURE__ */ jsx98(
|
|
9619
9789
|
"button",
|
|
9620
9790
|
{
|
|
9621
9791
|
type: "button",
|
|
9622
9792
|
className: ScMappingCard_default.addBtn,
|
|
9623
9793
|
onClick: onAddColumn,
|
|
9624
9794
|
"aria-label": "Add column",
|
|
9625
|
-
children: /* @__PURE__ */
|
|
9795
|
+
children: /* @__PURE__ */ jsx98(
|
|
9626
9796
|
SiconPlus3,
|
|
9627
9797
|
{
|
|
9628
9798
|
size: 24,
|
|
@@ -9632,12 +9802,12 @@ var ScMappingCard = ({
|
|
|
9632
9802
|
}
|
|
9633
9803
|
)
|
|
9634
9804
|
] }),
|
|
9635
|
-
sampleRows.length > 0 && /* @__PURE__ */
|
|
9636
|
-
] }) : /* @__PURE__ */
|
|
9805
|
+
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)) })
|
|
9806
|
+
] }) : /* @__PURE__ */ jsx98("div", { className: [ScMappingCard_default.source, ScMappingCard_default.sourceCollapsed].join(" "), children: /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.columnName, title: columnName, children: columnName }) }),
|
|
9637
9807
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRegion, children: [
|
|
9638
9808
|
isDefault && targets,
|
|
9639
9809
|
isConfirmed && confirmedTargets.map((t, i) => /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRow, children: [
|
|
9640
|
-
/* @__PURE__ */
|
|
9810
|
+
/* @__PURE__ */ jsx98(
|
|
9641
9811
|
SiconRight6,
|
|
9642
9812
|
{
|
|
9643
9813
|
size: 20,
|
|
@@ -9645,10 +9815,10 @@ var ScMappingCard = ({
|
|
|
9645
9815
|
className: ScMappingCard_default.connector
|
|
9646
9816
|
}
|
|
9647
9817
|
),
|
|
9648
|
-
/* @__PURE__ */
|
|
9818
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.targetBox, title: t, children: t })
|
|
9649
9819
|
] }, i)),
|
|
9650
9820
|
isIgnored && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.targetRow, children: [
|
|
9651
|
-
/* @__PURE__ */
|
|
9821
|
+
/* @__PURE__ */ jsx98(
|
|
9652
9822
|
SiconRight6,
|
|
9653
9823
|
{
|
|
9654
9824
|
size: 24,
|
|
@@ -9656,23 +9826,23 @@ var ScMappingCard = ({
|
|
|
9656
9826
|
className: ScMappingCard_default.connector
|
|
9657
9827
|
}
|
|
9658
9828
|
),
|
|
9659
|
-
/* @__PURE__ */
|
|
9829
|
+
/* @__PURE__ */ jsx98("span", { className: [ScMappingCard_default.targetBox, ScMappingCard_default.targetBoxDash].join(" "), children: "-" })
|
|
9660
9830
|
] }),
|
|
9661
9831
|
isDefault && warning != null && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.warning, children: [
|
|
9662
|
-
/* @__PURE__ */
|
|
9832
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.warningIcon, "aria-hidden": true, children: /* @__PURE__ */ jsx98(
|
|
9663
9833
|
SiconWarning,
|
|
9664
9834
|
{
|
|
9665
9835
|
size: 20,
|
|
9666
9836
|
color: "var(--alias-text-and-icons-error, #d11a1a)"
|
|
9667
9837
|
}
|
|
9668
9838
|
) }),
|
|
9669
|
-
/* @__PURE__ */
|
|
9839
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.warningText, children: warning })
|
|
9670
9840
|
] })
|
|
9671
9841
|
] }),
|
|
9672
9842
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actions, children: [
|
|
9673
9843
|
isDefault && /* @__PURE__ */ jsxs82(Fragment26, { children: [
|
|
9674
9844
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9675
|
-
/* @__PURE__ */
|
|
9845
|
+
/* @__PURE__ */ jsx98(
|
|
9676
9846
|
"button",
|
|
9677
9847
|
{
|
|
9678
9848
|
type: "button",
|
|
@@ -9681,7 +9851,7 @@ var ScMappingCard = ({
|
|
|
9681
9851
|
children: "Ignore Column"
|
|
9682
9852
|
}
|
|
9683
9853
|
),
|
|
9684
|
-
canConfirm && /* @__PURE__ */
|
|
9854
|
+
canConfirm && /* @__PURE__ */ jsx98(
|
|
9685
9855
|
"button",
|
|
9686
9856
|
{
|
|
9687
9857
|
type: "button",
|
|
@@ -9693,7 +9863,7 @@ var ScMappingCard = ({
|
|
|
9693
9863
|
}
|
|
9694
9864
|
)
|
|
9695
9865
|
] }),
|
|
9696
|
-
validityText && /* @__PURE__ */
|
|
9866
|
+
validityText && /* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.validityText, children: validityText })
|
|
9697
9867
|
] }),
|
|
9698
9868
|
isConfirmed && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9699
9869
|
/* @__PURE__ */ jsxs82(
|
|
@@ -9701,8 +9871,8 @@ var ScMappingCard = ({
|
|
|
9701
9871
|
{
|
|
9702
9872
|
className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusSuccess].join(" "),
|
|
9703
9873
|
children: [
|
|
9704
|
-
/* @__PURE__ */
|
|
9705
|
-
|
|
9874
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx98(
|
|
9875
|
+
SiconCheck,
|
|
9706
9876
|
{
|
|
9707
9877
|
size: 24,
|
|
9708
9878
|
color: "var(--alias-text-and-icons-success, #00b96b)"
|
|
@@ -9712,7 +9882,7 @@ var ScMappingCard = ({
|
|
|
9712
9882
|
]
|
|
9713
9883
|
}
|
|
9714
9884
|
),
|
|
9715
|
-
/* @__PURE__ */
|
|
9885
|
+
/* @__PURE__ */ jsx98(
|
|
9716
9886
|
"button",
|
|
9717
9887
|
{
|
|
9718
9888
|
type: "button",
|
|
@@ -9724,7 +9894,7 @@ var ScMappingCard = ({
|
|
|
9724
9894
|
] }),
|
|
9725
9895
|
isIgnored && /* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9726
9896
|
/* @__PURE__ */ jsxs82("span", { className: [ScMappingCard_default.statusLabel, ScMappingCard_default.statusError].join(" "), children: [
|
|
9727
|
-
/* @__PURE__ */
|
|
9897
|
+
/* @__PURE__ */ jsx98("span", { className: ScMappingCard_default.statusIcon, children: /* @__PURE__ */ jsx98(
|
|
9728
9898
|
SiconClose4,
|
|
9729
9899
|
{
|
|
9730
9900
|
size: 24,
|
|
@@ -9733,7 +9903,7 @@ var ScMappingCard = ({
|
|
|
9733
9903
|
) }),
|
|
9734
9904
|
"Column Ignored"
|
|
9735
9905
|
] }),
|
|
9736
|
-
/* @__PURE__ */
|
|
9906
|
+
/* @__PURE__ */ jsx98(
|
|
9737
9907
|
"button",
|
|
9738
9908
|
{
|
|
9739
9909
|
type: "button",
|
|
@@ -9764,7 +9934,7 @@ var ScThinkingStepIcon_default = {
|
|
|
9764
9934
|
};
|
|
9765
9935
|
|
|
9766
9936
|
// src/SC-ThinkingStepIcon/ScThinkingStepIcon.tsx
|
|
9767
|
-
import { jsx as
|
|
9937
|
+
import { jsx as jsx99, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
9768
9938
|
var ScThinkingStepIcon = ({
|
|
9769
9939
|
state = "default",
|
|
9770
9940
|
size = 12,
|
|
@@ -9773,7 +9943,7 @@ var ScThinkingStepIcon = ({
|
|
|
9773
9943
|
...props
|
|
9774
9944
|
}) => {
|
|
9775
9945
|
const variantsClassName = ScThinkingStepIcon_default["state-" + state];
|
|
9776
|
-
return /* @__PURE__ */
|
|
9946
|
+
return /* @__PURE__ */ jsx99(
|
|
9777
9947
|
"span",
|
|
9778
9948
|
{
|
|
9779
9949
|
className: ScThinkingStepIcon_default.scThinkingStepIcon + " " + (className ?? "") + " " + variantsClassName,
|
|
@@ -9790,7 +9960,7 @@ var ScThinkingStepIcon = ({
|
|
|
9790
9960
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9791
9961
|
"aria-hidden": "true",
|
|
9792
9962
|
children: [
|
|
9793
|
-
state === "default" && /* @__PURE__ */
|
|
9963
|
+
state === "default" && /* @__PURE__ */ jsx99(
|
|
9794
9964
|
"circle",
|
|
9795
9965
|
{
|
|
9796
9966
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9801,7 +9971,7 @@ var ScThinkingStepIcon = ({
|
|
|
9801
9971
|
strokeLinecap: "round"
|
|
9802
9972
|
}
|
|
9803
9973
|
),
|
|
9804
|
-
state === "working" && /* @__PURE__ */
|
|
9974
|
+
state === "working" && /* @__PURE__ */ jsx99(
|
|
9805
9975
|
"path",
|
|
9806
9976
|
{
|
|
9807
9977
|
className: ScThinkingStepIcon_default.stroke + " " + ScThinkingStepIcon_default.spinner,
|
|
@@ -9811,7 +9981,7 @@ var ScThinkingStepIcon = ({
|
|
|
9811
9981
|
strokeLinejoin: "round"
|
|
9812
9982
|
}
|
|
9813
9983
|
),
|
|
9814
|
-
state === "completed" && /* @__PURE__ */
|
|
9984
|
+
state === "completed" && /* @__PURE__ */ jsx99(
|
|
9815
9985
|
"path",
|
|
9816
9986
|
{
|
|
9817
9987
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9821,7 +9991,7 @@ var ScThinkingStepIcon = ({
|
|
|
9821
9991
|
strokeLinejoin: "round"
|
|
9822
9992
|
}
|
|
9823
9993
|
),
|
|
9824
|
-
state === "error" && /* @__PURE__ */
|
|
9994
|
+
state === "error" && /* @__PURE__ */ jsx99(
|
|
9825
9995
|
"path",
|
|
9826
9996
|
{
|
|
9827
9997
|
className: ScThinkingStepIcon_default.stroke,
|
|
@@ -9861,7 +10031,7 @@ var ScInChatList_default = {
|
|
|
9861
10031
|
|
|
9862
10032
|
// src/SC-InChatList/ScInChatList.tsx
|
|
9863
10033
|
import { SiconUp as SiconUp3, SiconDown as SiconDown3, SiconDot as SiconDot2 } from "@streamoid/icons";
|
|
9864
|
-
import { jsx as
|
|
10034
|
+
import { jsx as jsx100, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
9865
10035
|
var ScInChatList = ({
|
|
9866
10036
|
title = "Infrastructure that helps modern brands scale",
|
|
9867
10037
|
description = "Description",
|
|
@@ -9884,27 +10054,27 @@ var ScInChatList = ({
|
|
|
9884
10054
|
className: ScInChatList_default.scInChatList + (className ? " " + className : ""),
|
|
9885
10055
|
style,
|
|
9886
10056
|
children: [
|
|
9887
|
-
leadingIndicator && /* @__PURE__ */
|
|
10057
|
+
leadingIndicator && /* @__PURE__ */ jsx100("div", { className: ScInChatList_default.indicatorWrapper, children: /* @__PURE__ */ jsx100(ScThinkingStepIcon, { state: iconState }) }),
|
|
9888
10058
|
/* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.content, children: [
|
|
9889
10059
|
/* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.headerArea, children: [
|
|
9890
|
-
showSteps && /* @__PURE__ */
|
|
10060
|
+
showSteps && /* @__PURE__ */ jsx100("p", { className: ScInChatList_default.stepCount, children: stepCount }),
|
|
9891
10061
|
/* @__PURE__ */ jsxs84(
|
|
9892
10062
|
"div",
|
|
9893
10063
|
{
|
|
9894
10064
|
className: ScInChatList_default.titleRow + " " + (isExpandable ? ScInChatList_default.titleRowClickable : ScInChatList_default.titleRowStatic),
|
|
9895
10065
|
onClick: isExpandable ? onToggle : void 0,
|
|
9896
10066
|
children: [
|
|
9897
|
-
/* @__PURE__ */
|
|
9898
|
-
isExpandable && /* @__PURE__ */
|
|
10067
|
+
/* @__PURE__ */ jsx100("p", { className: ScInChatList_default.title, children: title }),
|
|
10068
|
+
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 }) })
|
|
9899
10069
|
]
|
|
9900
10070
|
}
|
|
9901
10071
|
),
|
|
9902
10072
|
isExpanded && /* @__PURE__ */ jsxs84("div", { className: ScInChatList_default.descriptionRow, children: [
|
|
9903
|
-
/* @__PURE__ */
|
|
9904
|
-
/* @__PURE__ */
|
|
10073
|
+
/* @__PURE__ */ jsx100("div", { className: ScInChatList_default.descriptionIcon, children: /* @__PURE__ */ jsx100(SiconDot2, { size: 20, className: ScInChatList_default.descriptionDot }) }),
|
|
10074
|
+
/* @__PURE__ */ jsx100("p", { className: ScInChatList_default.descriptionText, children: description })
|
|
9905
10075
|
] })
|
|
9906
10076
|
] }),
|
|
9907
|
-
showTool && /* @__PURE__ */
|
|
10077
|
+
showTool && /* @__PURE__ */ jsx100("div", { className: ScInChatList_default.toolPill, children: /* @__PURE__ */ jsx100("p", { className: ScInChatList_default.toolText, children: toolUsing }) })
|
|
9908
10078
|
] })
|
|
9909
10079
|
]
|
|
9910
10080
|
}
|
|
@@ -9918,7 +10088,7 @@ var ScSubAgent_default = {
|
|
|
9918
10088
|
};
|
|
9919
10089
|
|
|
9920
10090
|
// src/SC-SubAgent/ScSubAgent.tsx
|
|
9921
|
-
import { jsx as
|
|
10091
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
9922
10092
|
function formatSubAgentLabel(agentName) {
|
|
9923
10093
|
const normalized = (agentName ?? "").trim();
|
|
9924
10094
|
if (!normalized) return "Using sub-agent...";
|
|
@@ -9931,12 +10101,12 @@ var ScSubAgent = ({
|
|
|
9931
10101
|
...props
|
|
9932
10102
|
}) => {
|
|
9933
10103
|
const label = text ?? formatSubAgentLabel(agentName);
|
|
9934
|
-
return /* @__PURE__ */
|
|
10104
|
+
return /* @__PURE__ */ jsx101(
|
|
9935
10105
|
"div",
|
|
9936
10106
|
{
|
|
9937
10107
|
className: [ScSubAgent_default.scSubAgent, className].filter(Boolean).join(" "),
|
|
9938
10108
|
...props,
|
|
9939
|
-
children: /* @__PURE__ */
|
|
10109
|
+
children: /* @__PURE__ */ jsx101("p", { className: ScSubAgent_default.label, children: label })
|
|
9940
10110
|
}
|
|
9941
10111
|
);
|
|
9942
10112
|
};
|
|
@@ -9950,7 +10120,7 @@ var ScInChatMessage_default = {
|
|
|
9950
10120
|
};
|
|
9951
10121
|
|
|
9952
10122
|
// src/SC-InChatMessage/ScInChatMessage.tsx
|
|
9953
|
-
import { jsx as
|
|
10123
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
9954
10124
|
var ScInChatMessage = ({
|
|
9955
10125
|
type = "input",
|
|
9956
10126
|
text,
|
|
@@ -9960,13 +10130,13 @@ var ScInChatMessage = ({
|
|
|
9960
10130
|
...props
|
|
9961
10131
|
}) => {
|
|
9962
10132
|
const variantsClassName = ScInChatMessage_default["type-" + type];
|
|
9963
|
-
return /* @__PURE__ */
|
|
10133
|
+
return /* @__PURE__ */ jsx102(
|
|
9964
10134
|
"div",
|
|
9965
10135
|
{
|
|
9966
10136
|
className: [ScInChatMessage_default.scInChatMessage, variantsClassName, className].filter(Boolean).join(" "),
|
|
9967
10137
|
id,
|
|
9968
10138
|
...props,
|
|
9969
|
-
children: /* @__PURE__ */
|
|
10139
|
+
children: /* @__PURE__ */ jsx102("p", { className: ScInChatMessage_default.text, children: children ?? text })
|
|
9970
10140
|
}
|
|
9971
10141
|
);
|
|
9972
10142
|
};
|
|
@@ -9983,7 +10153,7 @@ var ScSelection_default = {
|
|
|
9983
10153
|
};
|
|
9984
10154
|
|
|
9985
10155
|
// src/SC-Selection/ScSelection.tsx
|
|
9986
|
-
import { jsx as
|
|
10156
|
+
import { jsx as jsx103, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
9987
10157
|
var ScSelection = ({
|
|
9988
10158
|
title = "Title",
|
|
9989
10159
|
description = "Description",
|
|
@@ -10006,7 +10176,7 @@ var ScSelection = ({
|
|
|
10006
10176
|
onClick: handleClick,
|
|
10007
10177
|
...props,
|
|
10008
10178
|
children: [
|
|
10009
|
-
/* @__PURE__ */
|
|
10179
|
+
/* @__PURE__ */ jsx103(
|
|
10010
10180
|
ScRadio,
|
|
10011
10181
|
{
|
|
10012
10182
|
state: active ? "selected" : "default",
|
|
@@ -10014,8 +10184,8 @@ var ScSelection = ({
|
|
|
10014
10184
|
}
|
|
10015
10185
|
),
|
|
10016
10186
|
/* @__PURE__ */ jsxs85("div", { className: ScSelection_default.wrapper, children: [
|
|
10017
|
-
/* @__PURE__ */
|
|
10018
|
-
description && /* @__PURE__ */
|
|
10187
|
+
/* @__PURE__ */ jsx103("p", { className: ScSelection_default.title, children: title }),
|
|
10188
|
+
description && /* @__PURE__ */ jsx103("p", { className: ScSelection_default.description, children: description })
|
|
10019
10189
|
] })
|
|
10020
10190
|
]
|
|
10021
10191
|
}
|
|
@@ -10042,7 +10212,7 @@ var ScSelectionList_default = {
|
|
|
10042
10212
|
};
|
|
10043
10213
|
|
|
10044
10214
|
// src/SC-SelectionList/ScSelectionList.tsx
|
|
10045
|
-
import { jsx as
|
|
10215
|
+
import { jsx as jsx104, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
10046
10216
|
var ScSelectionList = ({
|
|
10047
10217
|
state = "default",
|
|
10048
10218
|
label = "Suggested Colours: ",
|
|
@@ -10072,7 +10242,7 @@ var ScSelectionList = ({
|
|
|
10072
10242
|
...props,
|
|
10073
10243
|
children: [
|
|
10074
10244
|
/* @__PURE__ */ jsxs86("div", { className: ScSelectionList_default.toggles, children: [
|
|
10075
|
-
/* @__PURE__ */
|
|
10245
|
+
/* @__PURE__ */ jsx104(
|
|
10076
10246
|
"button",
|
|
10077
10247
|
{
|
|
10078
10248
|
type: "button",
|
|
@@ -10081,7 +10251,7 @@ var ScSelectionList = ({
|
|
|
10081
10251
|
disabled,
|
|
10082
10252
|
"aria-pressed": state === "approved",
|
|
10083
10253
|
"aria-label": state === "approved" ? "Revoke approval" : "Approve",
|
|
10084
|
-
children: /* @__PURE__ */
|
|
10254
|
+
children: /* @__PURE__ */ jsx104(
|
|
10085
10255
|
"svg",
|
|
10086
10256
|
{
|
|
10087
10257
|
className: ScSelectionList_default.checkIcon,
|
|
@@ -10090,7 +10260,7 @@ var ScSelectionList = ({
|
|
|
10090
10260
|
viewBox: "0 0 8 6",
|
|
10091
10261
|
fill: "none",
|
|
10092
10262
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10093
|
-
children: /* @__PURE__ */
|
|
10263
|
+
children: /* @__PURE__ */ jsx104(
|
|
10094
10264
|
"path",
|
|
10095
10265
|
{
|
|
10096
10266
|
d: "M0.5 3.5L2.5 5.5L7.5 0.5",
|
|
@@ -10103,7 +10273,7 @@ var ScSelectionList = ({
|
|
|
10103
10273
|
)
|
|
10104
10274
|
}
|
|
10105
10275
|
),
|
|
10106
|
-
/* @__PURE__ */
|
|
10276
|
+
/* @__PURE__ */ jsx104(
|
|
10107
10277
|
"button",
|
|
10108
10278
|
{
|
|
10109
10279
|
type: "button",
|
|
@@ -10112,7 +10282,7 @@ var ScSelectionList = ({
|
|
|
10112
10282
|
disabled,
|
|
10113
10283
|
"aria-pressed": state === "rejected",
|
|
10114
10284
|
"aria-label": state === "rejected" ? "Revoke rejection" : "Reject",
|
|
10115
|
-
children: /* @__PURE__ */
|
|
10285
|
+
children: /* @__PURE__ */ jsx104(
|
|
10116
10286
|
"svg",
|
|
10117
10287
|
{
|
|
10118
10288
|
className: ScSelectionList_default.closeIcon,
|
|
@@ -10121,7 +10291,7 @@ var ScSelectionList = ({
|
|
|
10121
10291
|
viewBox: "0 0 6.24261 6.24262",
|
|
10122
10292
|
fill: "none",
|
|
10123
10293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10124
|
-
children: /* @__PURE__ */
|
|
10294
|
+
children: /* @__PURE__ */ jsx104(
|
|
10125
10295
|
"path",
|
|
10126
10296
|
{
|
|
10127
10297
|
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",
|
|
@@ -10135,9 +10305,9 @@ var ScSelectionList = ({
|
|
|
10135
10305
|
}
|
|
10136
10306
|
)
|
|
10137
10307
|
] }),
|
|
10138
|
-
/* @__PURE__ */
|
|
10139
|
-
/* @__PURE__ */
|
|
10140
|
-
/* @__PURE__ */
|
|
10308
|
+
/* @__PURE__ */ jsx104("div", { className: ScSelectionList_default.content, children: /* @__PURE__ */ jsxs86("div", { className: ScSelectionList_default.row, children: [
|
|
10309
|
+
/* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.label, children: label }),
|
|
10310
|
+
/* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.valuesPill, children: /* @__PURE__ */ jsx104("span", { className: ScSelectionList_default.valuesText, children: optionValues }) })
|
|
10141
10311
|
] }) })
|
|
10142
10312
|
]
|
|
10143
10313
|
}
|
|
@@ -10164,7 +10334,7 @@ var ScTextArea_default = {
|
|
|
10164
10334
|
};
|
|
10165
10335
|
|
|
10166
10336
|
// src/SC-textArea/ScTextArea.tsx
|
|
10167
|
-
import { jsx as
|
|
10337
|
+
import { jsx as jsx105, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
10168
10338
|
var ScTextArea = ({
|
|
10169
10339
|
state,
|
|
10170
10340
|
labelGroup = "",
|
|
@@ -10195,7 +10365,7 @@ var ScTextArea = ({
|
|
|
10195
10365
|
" "
|
|
10196
10366
|
] })
|
|
10197
10367
|
] }),
|
|
10198
|
-
/* @__PURE__ */
|
|
10368
|
+
/* @__PURE__ */ jsx105("div", { className: ScTextArea_default.inputContainer, children: /* @__PURE__ */ jsx105(
|
|
10199
10369
|
"textarea",
|
|
10200
10370
|
{
|
|
10201
10371
|
className: ScTextArea_default.inputText,
|
|
@@ -10242,7 +10412,7 @@ var ScSelect_default = {
|
|
|
10242
10412
|
};
|
|
10243
10413
|
|
|
10244
10414
|
// src/SC-select/ScSelect.tsx
|
|
10245
|
-
import { jsx as
|
|
10415
|
+
import { jsx as jsx106, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
10246
10416
|
var ScSelect = (props) => {
|
|
10247
10417
|
const {
|
|
10248
10418
|
value,
|
|
@@ -10283,7 +10453,7 @@ var ScSelect = (props) => {
|
|
|
10283
10453
|
className
|
|
10284
10454
|
].filter(Boolean).join(" ");
|
|
10285
10455
|
return /* @__PURE__ */ jsxs88("div", { className: rootClass, ref: rootRef, children: [
|
|
10286
|
-
labelGroup === "label" && label ? /* @__PURE__ */
|
|
10456
|
+
labelGroup === "label" && label ? /* @__PURE__ */ jsx106("div", { className: ScSelect_default.labelContainer, children: /* @__PURE__ */ jsx106("div", { className: ScSelect_default.label, children: label }) }) : null,
|
|
10287
10457
|
/* @__PURE__ */ jsxs88("div", { className: ScSelect_default.selectArea, children: [
|
|
10288
10458
|
/* @__PURE__ */ jsxs88(
|
|
10289
10459
|
"button",
|
|
@@ -10295,18 +10465,18 @@ var ScSelect = (props) => {
|
|
|
10295
10465
|
"aria-haspopup": "listbox",
|
|
10296
10466
|
"aria-expanded": open,
|
|
10297
10467
|
children: [
|
|
10298
|
-
/* @__PURE__ */
|
|
10468
|
+
/* @__PURE__ */ jsx106(
|
|
10299
10469
|
"span",
|
|
10300
10470
|
{
|
|
10301
10471
|
className: [ScSelect_default.triggerText, selected ? void 0 : ScSelect_default.placeholder].filter(Boolean).join(" "),
|
|
10302
10472
|
children: selected ? selected.label : placeholder
|
|
10303
10473
|
}
|
|
10304
10474
|
),
|
|
10305
|
-
/* @__PURE__ */
|
|
10475
|
+
/* @__PURE__ */ jsx106(
|
|
10306
10476
|
"span",
|
|
10307
10477
|
{
|
|
10308
10478
|
className: [ScSelect_default.chevron, open ? ScSelect_default.chevronOpen : void 0].filter(Boolean).join(" "),
|
|
10309
|
-
children: /* @__PURE__ */
|
|
10479
|
+
children: /* @__PURE__ */ jsx106("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx106(
|
|
10310
10480
|
"path",
|
|
10311
10481
|
{
|
|
10312
10482
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
@@ -10321,7 +10491,7 @@ var ScSelect = (props) => {
|
|
|
10321
10491
|
]
|
|
10322
10492
|
}
|
|
10323
10493
|
),
|
|
10324
|
-
open ? /* @__PURE__ */
|
|
10494
|
+
open ? /* @__PURE__ */ jsx106("div", { className: ScSelect_default.menu, role: "listbox", children: options.map((option) => {
|
|
10325
10495
|
const isSelected = option.id === value;
|
|
10326
10496
|
const optionClass = [
|
|
10327
10497
|
ScSelect_default.option,
|
|
@@ -10335,8 +10505,8 @@ var ScSelect = (props) => {
|
|
|
10335
10505
|
"aria-selected": isSelected,
|
|
10336
10506
|
onClick: () => handleSelect(option.id),
|
|
10337
10507
|
children: [
|
|
10338
|
-
/* @__PURE__ */
|
|
10339
|
-
option.description ? /* @__PURE__ */
|
|
10508
|
+
/* @__PURE__ */ jsx106("span", { className: ScSelect_default.optionLabel, children: option.label }),
|
|
10509
|
+
option.description ? /* @__PURE__ */ jsx106("span", { className: ScSelect_default.optionDescription, children: option.description }) : null
|
|
10340
10510
|
]
|
|
10341
10511
|
},
|
|
10342
10512
|
option.id
|
|
@@ -10371,7 +10541,7 @@ var ScFileField_default = {
|
|
|
10371
10541
|
};
|
|
10372
10542
|
|
|
10373
10543
|
// src/SC-fileField/ScFileField.tsx
|
|
10374
|
-
import { jsx as
|
|
10544
|
+
import { jsx as jsx107, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
10375
10545
|
var ScFileField = (props) => {
|
|
10376
10546
|
const {
|
|
10377
10547
|
onFileSelect,
|
|
@@ -10408,9 +10578,9 @@ var ScFileField = (props) => {
|
|
|
10408
10578
|
strokeLinejoin: "round",
|
|
10409
10579
|
"aria-hidden": "true",
|
|
10410
10580
|
children: [
|
|
10411
|
-
/* @__PURE__ */
|
|
10412
|
-
/* @__PURE__ */
|
|
10413
|
-
/* @__PURE__ */
|
|
10581
|
+
/* @__PURE__ */ jsx107("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
10582
|
+
/* @__PURE__ */ jsx107("path", { d: "M12 16V4" }),
|
|
10583
|
+
/* @__PURE__ */ jsx107("path", { d: "M7 9l5-5 5 5" })
|
|
10414
10584
|
]
|
|
10415
10585
|
}
|
|
10416
10586
|
);
|
|
@@ -10428,8 +10598,8 @@ var ScFileField = (props) => {
|
|
|
10428
10598
|
strokeLinejoin: "round",
|
|
10429
10599
|
"aria-hidden": "true",
|
|
10430
10600
|
children: [
|
|
10431
|
-
/* @__PURE__ */
|
|
10432
|
-
/* @__PURE__ */
|
|
10601
|
+
/* @__PURE__ */ jsx107("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
10602
|
+
/* @__PURE__ */ jsx107("path", { d: "M14 2v6h6" })
|
|
10433
10603
|
]
|
|
10434
10604
|
}
|
|
10435
10605
|
);
|
|
@@ -10446,20 +10616,20 @@ var ScFileField = (props) => {
|
|
|
10446
10616
|
strokeLinejoin: "round",
|
|
10447
10617
|
"aria-hidden": "true",
|
|
10448
10618
|
children: [
|
|
10449
|
-
/* @__PURE__ */
|
|
10450
|
-
/* @__PURE__ */
|
|
10619
|
+
/* @__PURE__ */ jsx107("path", { d: "M18 6L6 18" }),
|
|
10620
|
+
/* @__PURE__ */ jsx107("path", { d: "M6 6l12 12" })
|
|
10451
10621
|
]
|
|
10452
10622
|
}
|
|
10453
10623
|
);
|
|
10454
10624
|
const rootClass = [ScFileField_default.scFileField, className].filter(Boolean).join(" ");
|
|
10455
10625
|
const showRow = hasFile || isUploading;
|
|
10456
10626
|
return /* @__PURE__ */ jsxs89("div", { className: rootClass, children: [
|
|
10457
|
-
label ? /* @__PURE__ */
|
|
10627
|
+
label ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.labelContainer, children: /* @__PURE__ */ jsx107("div", { className: ScFileField_default.label, children: label }) }) : null,
|
|
10458
10628
|
showRow ? /* @__PURE__ */ jsxs89("div", { className: ScFileField_default.inputContainer, children: [
|
|
10459
10629
|
fileIcon,
|
|
10460
10630
|
/* @__PURE__ */ jsxs89("div", { className: ScFileField_default.fileInfo, children: [
|
|
10461
|
-
/* @__PURE__ */
|
|
10462
|
-
isUploading ? /* @__PURE__ */
|
|
10631
|
+
/* @__PURE__ */ jsx107("span", { className: ScFileField_default.fileName, children: fileName }),
|
|
10632
|
+
isUploading ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.progressTrack, children: /* @__PURE__ */ jsx107(
|
|
10463
10633
|
"div",
|
|
10464
10634
|
{
|
|
10465
10635
|
className: ScFileField_default.progressFill,
|
|
@@ -10467,7 +10637,7 @@ var ScFileField = (props) => {
|
|
|
10467
10637
|
}
|
|
10468
10638
|
) }) : null
|
|
10469
10639
|
] }),
|
|
10470
|
-
!isUploading ? /* @__PURE__ */
|
|
10640
|
+
!isUploading ? /* @__PURE__ */ jsx107(
|
|
10471
10641
|
"button",
|
|
10472
10642
|
{
|
|
10473
10643
|
type: "button",
|
|
@@ -10478,7 +10648,7 @@ var ScFileField = (props) => {
|
|
|
10478
10648
|
}
|
|
10479
10649
|
) : null
|
|
10480
10650
|
] }) : /* @__PURE__ */ jsxs89("label", { className: ScFileField_default.dropzone, children: [
|
|
10481
|
-
/* @__PURE__ */
|
|
10651
|
+
/* @__PURE__ */ jsx107(
|
|
10482
10652
|
"input",
|
|
10483
10653
|
{
|
|
10484
10654
|
ref: inputRef,
|
|
@@ -10491,7 +10661,7 @@ var ScFileField = (props) => {
|
|
|
10491
10661
|
),
|
|
10492
10662
|
uploadIcon,
|
|
10493
10663
|
/* @__PURE__ */ jsxs89("div", { className: ScFileField_default.dropzoneText, children: [
|
|
10494
|
-
/* @__PURE__ */
|
|
10664
|
+
/* @__PURE__ */ jsx107("span", { className: ScFileField_default.dropzoneAction, children: "Click to upload" }),
|
|
10495
10665
|
" or drag and drop"
|
|
10496
10666
|
] }),
|
|
10497
10667
|
accept ? /* @__PURE__ */ jsxs89("div", { className: ScFileField_default.acceptedText, children: [
|
|
@@ -10499,7 +10669,7 @@ var ScFileField = (props) => {
|
|
|
10499
10669
|
accept
|
|
10500
10670
|
] }) : null
|
|
10501
10671
|
] }),
|
|
10502
|
-
error ? /* @__PURE__ */
|
|
10672
|
+
error ? /* @__PURE__ */ jsx107("div", { className: ScFileField_default.errorText, children: error }) : null
|
|
10503
10673
|
] });
|
|
10504
10674
|
};
|
|
10505
10675
|
|
|
@@ -10529,7 +10699,7 @@ var ScMediaApproval_default = {
|
|
|
10529
10699
|
};
|
|
10530
10700
|
|
|
10531
10701
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10532
|
-
import { Fragment as Fragment27, jsx as
|
|
10702
|
+
import { Fragment as Fragment27, jsx as jsx108, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
10533
10703
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
10534
10704
|
var isVideoUrl = (url, mediaType) => {
|
|
10535
10705
|
if (mediaType === "video") return true;
|
|
@@ -10573,7 +10743,7 @@ var ScMediaApproval = (props) => {
|
|
|
10573
10743
|
};
|
|
10574
10744
|
return /* @__PURE__ */ jsxs90("div", { className: [ScMediaApproval_default.scMediaApproval, className].filter(Boolean).join(" "), children: [
|
|
10575
10745
|
/* @__PURE__ */ jsxs90("div", { className: ScMediaApproval_default.mediaFrame, children: [
|
|
10576
|
-
currentUrl ? currentIsVideo ? /* @__PURE__ */
|
|
10746
|
+
currentUrl ? currentIsVideo ? /* @__PURE__ */ jsx108(
|
|
10577
10747
|
"video",
|
|
10578
10748
|
{
|
|
10579
10749
|
className: ScMediaApproval_default.media,
|
|
@@ -10582,7 +10752,7 @@ var ScMediaApproval = (props) => {
|
|
|
10582
10752
|
onClick: handlePreview,
|
|
10583
10753
|
onLoadedData: () => setMediaLoading(false)
|
|
10584
10754
|
}
|
|
10585
|
-
) : /* @__PURE__ */
|
|
10755
|
+
) : /* @__PURE__ */ jsx108(
|
|
10586
10756
|
"img",
|
|
10587
10757
|
{
|
|
10588
10758
|
className: ScMediaApproval_default.media,
|
|
@@ -10591,8 +10761,8 @@ var ScMediaApproval = (props) => {
|
|
|
10591
10761
|
onClick: handlePreview,
|
|
10592
10762
|
onLoad: () => setMediaLoading(false)
|
|
10593
10763
|
}
|
|
10594
|
-
) : /* @__PURE__ */
|
|
10595
|
-
(loading || mediaLoading) && /* @__PURE__ */
|
|
10764
|
+
) : /* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.mediaEmpty }),
|
|
10765
|
+
(loading || mediaLoading) && /* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.spinnerOverlay, children: /* @__PURE__ */ jsx108(
|
|
10596
10766
|
"svg",
|
|
10597
10767
|
{
|
|
10598
10768
|
className: ScMediaApproval_default.spinner,
|
|
@@ -10600,7 +10770,7 @@ var ScMediaApproval = (props) => {
|
|
|
10600
10770
|
height: "32",
|
|
10601
10771
|
viewBox: "0 0 24 24",
|
|
10602
10772
|
fill: "none",
|
|
10603
|
-
children: /* @__PURE__ */
|
|
10773
|
+
children: /* @__PURE__ */ jsx108(
|
|
10604
10774
|
"path",
|
|
10605
10775
|
{
|
|
10606
10776
|
d: "M12 3a9 9 0 1 0 9 9",
|
|
@@ -10612,14 +10782,14 @@ var ScMediaApproval = (props) => {
|
|
|
10612
10782
|
}
|
|
10613
10783
|
) }),
|
|
10614
10784
|
total > 1 && /* @__PURE__ */ jsxs90(Fragment27, { children: [
|
|
10615
|
-
/* @__PURE__ */
|
|
10785
|
+
/* @__PURE__ */ jsx108(
|
|
10616
10786
|
"button",
|
|
10617
10787
|
{
|
|
10618
10788
|
type: "button",
|
|
10619
10789
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navPrev].join(" "),
|
|
10620
10790
|
"aria-label": "Previous",
|
|
10621
10791
|
onClick: () => goTo(safeIndex - 1),
|
|
10622
|
-
children: /* @__PURE__ */
|
|
10792
|
+
children: /* @__PURE__ */ jsx108("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx108(
|
|
10623
10793
|
"path",
|
|
10624
10794
|
{
|
|
10625
10795
|
d: "M15 6L9 12L15 18",
|
|
@@ -10631,14 +10801,14 @@ var ScMediaApproval = (props) => {
|
|
|
10631
10801
|
) })
|
|
10632
10802
|
}
|
|
10633
10803
|
),
|
|
10634
|
-
/* @__PURE__ */
|
|
10804
|
+
/* @__PURE__ */ jsx108(
|
|
10635
10805
|
"button",
|
|
10636
10806
|
{
|
|
10637
10807
|
type: "button",
|
|
10638
10808
|
className: [ScMediaApproval_default.navButton, ScMediaApproval_default.navNext].join(" "),
|
|
10639
10809
|
"aria-label": "Next",
|
|
10640
10810
|
onClick: () => goTo(safeIndex + 1),
|
|
10641
|
-
children: /* @__PURE__ */
|
|
10811
|
+
children: /* @__PURE__ */ jsx108("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx108(
|
|
10642
10812
|
"path",
|
|
10643
10813
|
{
|
|
10644
10814
|
d: "M9 6L15 12L9 18",
|
|
@@ -10655,7 +10825,7 @@ var ScMediaApproval = (props) => {
|
|
|
10655
10825
|
" / ",
|
|
10656
10826
|
total
|
|
10657
10827
|
] }),
|
|
10658
|
-
/* @__PURE__ */
|
|
10828
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.dots, children: mediaUrls.map((_, i) => /* @__PURE__ */ jsx108(
|
|
10659
10829
|
"button",
|
|
10660
10830
|
{
|
|
10661
10831
|
type: "button",
|
|
@@ -10671,8 +10841,8 @@ var ScMediaApproval = (props) => {
|
|
|
10671
10841
|
] })
|
|
10672
10842
|
] }),
|
|
10673
10843
|
/* @__PURE__ */ jsxs90("div", { className: ScMediaApproval_default.feedbackBlock, children: [
|
|
10674
|
-
/* @__PURE__ */
|
|
10675
|
-
/* @__PURE__ */
|
|
10844
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.label, children: feedbackLabel }),
|
|
10845
|
+
/* @__PURE__ */ jsx108("div", { className: ScMediaApproval_default.inputContainer, children: /* @__PURE__ */ jsx108(
|
|
10676
10846
|
"textarea",
|
|
10677
10847
|
{
|
|
10678
10848
|
className: ScMediaApproval_default.textArea,
|
|
@@ -10708,8 +10878,8 @@ var ScMediaSelect_default = {
|
|
|
10708
10878
|
};
|
|
10709
10879
|
|
|
10710
10880
|
// src/SC-mediaSelect/ScMediaSelect.tsx
|
|
10711
|
-
import { jsx as
|
|
10712
|
-
var CheckBadge = () => /* @__PURE__ */
|
|
10881
|
+
import { jsx as jsx109, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
10882
|
+
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(
|
|
10713
10883
|
"path",
|
|
10714
10884
|
{
|
|
10715
10885
|
d: "M3.5 7.25L6 9.75L10.5 4.75",
|
|
@@ -10719,7 +10889,7 @@ var CheckBadge = () => /* @__PURE__ */ jsx108("span", { className: ScMediaSelect
|
|
|
10719
10889
|
strokeLinejoin: "round"
|
|
10720
10890
|
}
|
|
10721
10891
|
) }) });
|
|
10722
|
-
var MaximizeIcon = () => /* @__PURE__ */
|
|
10892
|
+
var MaximizeIcon = () => /* @__PURE__ */ jsx109("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx109(
|
|
10723
10893
|
"path",
|
|
10724
10894
|
{
|
|
10725
10895
|
d: "M15 3H21V9M9 21H3V15M21 3L14 10M3 21L10 14",
|
|
@@ -10751,9 +10921,9 @@ var ScMediaSelect = (props) => {
|
|
|
10751
10921
|
if (resolvedMax < total) countLabel += " (max " + resolvedMax + ")";
|
|
10752
10922
|
return /* @__PURE__ */ jsxs91("div", { className: [ScMediaSelect_default.scMediaSelect, className].filter(Boolean).join(" "), children: [
|
|
10753
10923
|
/* @__PURE__ */ jsxs91("div", { className: ScMediaSelect_default.header, children: [
|
|
10754
|
-
/* @__PURE__ */
|
|
10924
|
+
/* @__PURE__ */ jsx109("span", { className: ScMediaSelect_default.countLabel, children: countLabel }),
|
|
10755
10925
|
/* @__PURE__ */ jsxs91("div", { className: ScMediaSelect_default.actions, children: [
|
|
10756
|
-
/* @__PURE__ */
|
|
10926
|
+
/* @__PURE__ */ jsx109(
|
|
10757
10927
|
"button",
|
|
10758
10928
|
{
|
|
10759
10929
|
type: "button",
|
|
@@ -10762,8 +10932,8 @@ var ScMediaSelect = (props) => {
|
|
|
10762
10932
|
children: "Select all"
|
|
10763
10933
|
}
|
|
10764
10934
|
),
|
|
10765
|
-
/* @__PURE__ */
|
|
10766
|
-
/* @__PURE__ */
|
|
10935
|
+
/* @__PURE__ */ jsx109("span", { className: ScMediaSelect_default.divider, children: "|" }),
|
|
10936
|
+
/* @__PURE__ */ jsx109(
|
|
10767
10937
|
"button",
|
|
10768
10938
|
{
|
|
10769
10939
|
type: "button",
|
|
@@ -10774,7 +10944,7 @@ var ScMediaSelect = (props) => {
|
|
|
10774
10944
|
)
|
|
10775
10945
|
] })
|
|
10776
10946
|
] }),
|
|
10777
|
-
/* @__PURE__ */
|
|
10947
|
+
/* @__PURE__ */ jsx109("div", { className: ScMediaSelect_default.grid, children: items.map((url, index) => {
|
|
10778
10948
|
const isSelected = selectedSet.has(url);
|
|
10779
10949
|
const itemClass = [
|
|
10780
10950
|
ScMediaSelect_default.item,
|
|
@@ -10789,9 +10959,9 @@ var ScMediaSelect = (props) => {
|
|
|
10789
10959
|
tabIndex: 0,
|
|
10790
10960
|
"aria-pressed": isSelected,
|
|
10791
10961
|
children: [
|
|
10792
|
-
mediaType === "video" ? /* @__PURE__ */
|
|
10793
|
-
isSelected && /* @__PURE__ */
|
|
10794
|
-
onPreview && /* @__PURE__ */
|
|
10962
|
+
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: "" }),
|
|
10963
|
+
isSelected && /* @__PURE__ */ jsx109(CheckBadge, {}),
|
|
10964
|
+
onPreview && /* @__PURE__ */ jsx109(
|
|
10795
10965
|
"button",
|
|
10796
10966
|
{
|
|
10797
10967
|
type: "button",
|
|
@@ -10801,7 +10971,7 @@ var ScMediaSelect = (props) => {
|
|
|
10801
10971
|
onPreview(url);
|
|
10802
10972
|
},
|
|
10803
10973
|
"aria-label": "Preview",
|
|
10804
|
-
children: /* @__PURE__ */
|
|
10974
|
+
children: /* @__PURE__ */ jsx109(MaximizeIcon, {})
|
|
10805
10975
|
}
|
|
10806
10976
|
)
|
|
10807
10977
|
]
|
|
@@ -10836,7 +11006,7 @@ var ScTodoList_default = {
|
|
|
10836
11006
|
};
|
|
10837
11007
|
|
|
10838
11008
|
// src/SC-todoList/ScTodoList.tsx
|
|
10839
|
-
import { jsx as
|
|
11009
|
+
import { jsx as jsx110, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
10840
11010
|
var ScTodoList = ({
|
|
10841
11011
|
items = [],
|
|
10842
11012
|
onToggle,
|
|
@@ -10872,7 +11042,7 @@ var ScTodoList = ({
|
|
|
10872
11042
|
};
|
|
10873
11043
|
return /* @__PURE__ */ jsxs92("div", { className: [ScTodoList_default.scTodoList, className].filter(Boolean).join(" "), children: [
|
|
10874
11044
|
total > 0 && /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.progress, children: [
|
|
10875
|
-
/* @__PURE__ */
|
|
11045
|
+
/* @__PURE__ */ jsx110(
|
|
10876
11046
|
"svg",
|
|
10877
11047
|
{
|
|
10878
11048
|
className: ScTodoList_default.progressIcon,
|
|
@@ -10881,7 +11051,7 @@ var ScTodoList = ({
|
|
|
10881
11051
|
viewBox: "0 0 14 14",
|
|
10882
11052
|
fill: "none",
|
|
10883
11053
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10884
|
-
children: /* @__PURE__ */
|
|
11054
|
+
children: /* @__PURE__ */ jsx110(
|
|
10885
11055
|
"path",
|
|
10886
11056
|
{
|
|
10887
11057
|
d: "M3 7L6 10L11 4",
|
|
@@ -10900,11 +11070,11 @@ var ScTodoList = ({
|
|
|
10900
11070
|
" completed"
|
|
10901
11071
|
] })
|
|
10902
11072
|
] }),
|
|
10903
|
-
/* @__PURE__ */
|
|
11073
|
+
/* @__PURE__ */ jsx110("div", { className: ScTodoList_default.rows, children: items.map((item) => {
|
|
10904
11074
|
const isEditing = editingId === item.id;
|
|
10905
11075
|
const isCompleted = item.status === "completed";
|
|
10906
11076
|
return /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.row, children: [
|
|
10907
|
-
/* @__PURE__ */
|
|
11077
|
+
/* @__PURE__ */ jsx110(
|
|
10908
11078
|
"button",
|
|
10909
11079
|
{
|
|
10910
11080
|
type: "button",
|
|
@@ -10920,8 +11090,8 @@ var ScTodoList = ({
|
|
|
10920
11090
|
fill: "none",
|
|
10921
11091
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10922
11092
|
children: [
|
|
10923
|
-
/* @__PURE__ */
|
|
10924
|
-
/* @__PURE__ */
|
|
11093
|
+
/* @__PURE__ */ jsx110("circle", { cx: "9", cy: "9", r: "9", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
11094
|
+
/* @__PURE__ */ jsx110(
|
|
10925
11095
|
"path",
|
|
10926
11096
|
{
|
|
10927
11097
|
d: "M5.25 9L7.75 11.5L12.75 6.5",
|
|
@@ -10933,7 +11103,7 @@ var ScTodoList = ({
|
|
|
10933
11103
|
)
|
|
10934
11104
|
]
|
|
10935
11105
|
}
|
|
10936
|
-
) : /* @__PURE__ */
|
|
11106
|
+
) : /* @__PURE__ */ jsx110(
|
|
10937
11107
|
"svg",
|
|
10938
11108
|
{
|
|
10939
11109
|
width: "18",
|
|
@@ -10941,7 +11111,7 @@ var ScTodoList = ({
|
|
|
10941
11111
|
viewBox: "0 0 18 18",
|
|
10942
11112
|
fill: "none",
|
|
10943
11113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10944
|
-
children: /* @__PURE__ */
|
|
11114
|
+
children: /* @__PURE__ */ jsx110(
|
|
10945
11115
|
"circle",
|
|
10946
11116
|
{
|
|
10947
11117
|
cx: "9",
|
|
@@ -10955,7 +11125,7 @@ var ScTodoList = ({
|
|
|
10955
11125
|
)
|
|
10956
11126
|
}
|
|
10957
11127
|
),
|
|
10958
|
-
isEditing ? /* @__PURE__ */
|
|
11128
|
+
isEditing ? /* @__PURE__ */ jsx110(
|
|
10959
11129
|
"input",
|
|
10960
11130
|
{
|
|
10961
11131
|
className: ScTodoList_default.editInput,
|
|
@@ -10973,7 +11143,7 @@ var ScTodoList = ({
|
|
|
10973
11143
|
}
|
|
10974
11144
|
}
|
|
10975
11145
|
}
|
|
10976
|
-
) : /* @__PURE__ */
|
|
11146
|
+
) : /* @__PURE__ */ jsx110(
|
|
10977
11147
|
"span",
|
|
10978
11148
|
{
|
|
10979
11149
|
className: [
|
|
@@ -10984,14 +11154,14 @@ var ScTodoList = ({
|
|
|
10984
11154
|
}
|
|
10985
11155
|
),
|
|
10986
11156
|
!isEditing && /* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.actions, children: [
|
|
10987
|
-
/* @__PURE__ */
|
|
11157
|
+
/* @__PURE__ */ jsx110(
|
|
10988
11158
|
"button",
|
|
10989
11159
|
{
|
|
10990
11160
|
type: "button",
|
|
10991
11161
|
className: ScTodoList_default.actionButton,
|
|
10992
11162
|
"aria-label": "Edit item",
|
|
10993
11163
|
onClick: () => startEditing(item),
|
|
10994
|
-
children: /* @__PURE__ */
|
|
11164
|
+
children: /* @__PURE__ */ jsx110(
|
|
10995
11165
|
"svg",
|
|
10996
11166
|
{
|
|
10997
11167
|
width: "16",
|
|
@@ -10999,7 +11169,7 @@ var ScTodoList = ({
|
|
|
10999
11169
|
viewBox: "0 0 16 16",
|
|
11000
11170
|
fill: "none",
|
|
11001
11171
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11002
|
-
children: /* @__PURE__ */
|
|
11172
|
+
children: /* @__PURE__ */ jsx110(
|
|
11003
11173
|
"path",
|
|
11004
11174
|
{
|
|
11005
11175
|
d: "M11.333 2.667a1.414 1.414 0 0 1 2 2L5.333 12.667l-2.667.667.667-2.667 8-8Z",
|
|
@@ -11013,14 +11183,14 @@ var ScTodoList = ({
|
|
|
11013
11183
|
)
|
|
11014
11184
|
}
|
|
11015
11185
|
),
|
|
11016
|
-
/* @__PURE__ */
|
|
11186
|
+
/* @__PURE__ */ jsx110(
|
|
11017
11187
|
"button",
|
|
11018
11188
|
{
|
|
11019
11189
|
type: "button",
|
|
11020
11190
|
className: [ScTodoList_default.actionButton, ScTodoList_default.actionButtonDanger].filter(Boolean).join(" "),
|
|
11021
11191
|
"aria-label": "Delete item",
|
|
11022
11192
|
onClick: () => onDelete?.(item.id),
|
|
11023
|
-
children: /* @__PURE__ */
|
|
11193
|
+
children: /* @__PURE__ */ jsx110(
|
|
11024
11194
|
"svg",
|
|
11025
11195
|
{
|
|
11026
11196
|
width: "16",
|
|
@@ -11028,7 +11198,7 @@ var ScTodoList = ({
|
|
|
11028
11198
|
viewBox: "0 0 16 16",
|
|
11029
11199
|
fill: "none",
|
|
11030
11200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11031
|
-
children: /* @__PURE__ */
|
|
11201
|
+
children: /* @__PURE__ */ jsx110(
|
|
11032
11202
|
"path",
|
|
11033
11203
|
{
|
|
11034
11204
|
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",
|
|
@@ -11046,7 +11216,7 @@ var ScTodoList = ({
|
|
|
11046
11216
|
] }, item.id);
|
|
11047
11217
|
}) }),
|
|
11048
11218
|
/* @__PURE__ */ jsxs92("div", { className: ScTodoList_default.addRow, children: [
|
|
11049
|
-
/* @__PURE__ */
|
|
11219
|
+
/* @__PURE__ */ jsx110(
|
|
11050
11220
|
"input",
|
|
11051
11221
|
{
|
|
11052
11222
|
className: ScTodoList_default.addInput,
|
|
@@ -11061,7 +11231,7 @@ var ScTodoList = ({
|
|
|
11061
11231
|
}
|
|
11062
11232
|
}
|
|
11063
11233
|
),
|
|
11064
|
-
/* @__PURE__ */
|
|
11234
|
+
/* @__PURE__ */ jsx110(
|
|
11065
11235
|
"button",
|
|
11066
11236
|
{
|
|
11067
11237
|
type: "button",
|
|
@@ -11069,7 +11239,7 @@ var ScTodoList = ({
|
|
|
11069
11239
|
"aria-label": "Add item",
|
|
11070
11240
|
disabled: newValue.trim().length === 0,
|
|
11071
11241
|
onClick: commitAdd,
|
|
11072
|
-
children: /* @__PURE__ */
|
|
11242
|
+
children: /* @__PURE__ */ jsx110(
|
|
11073
11243
|
"svg",
|
|
11074
11244
|
{
|
|
11075
11245
|
width: "18",
|
|
@@ -11077,7 +11247,7 @@ var ScTodoList = ({
|
|
|
11077
11247
|
viewBox: "0 0 18 18",
|
|
11078
11248
|
fill: "none",
|
|
11079
11249
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11080
|
-
children: /* @__PURE__ */
|
|
11250
|
+
children: /* @__PURE__ */ jsx110(
|
|
11081
11251
|
"path",
|
|
11082
11252
|
{
|
|
11083
11253
|
d: "M9 4v10M4 9h10",
|
|
@@ -11104,18 +11274,18 @@ var ScRoleMobile_default = {
|
|
|
11104
11274
|
};
|
|
11105
11275
|
|
|
11106
11276
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
11107
|
-
import { jsx as
|
|
11277
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
11108
11278
|
var ScRoleMobile = ({
|
|
11109
11279
|
role = "admin",
|
|
11110
11280
|
className,
|
|
11111
11281
|
...props
|
|
11112
11282
|
}) => {
|
|
11113
|
-
return /* @__PURE__ */
|
|
11283
|
+
return /* @__PURE__ */ jsx111(
|
|
11114
11284
|
"div",
|
|
11115
11285
|
{
|
|
11116
11286
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
11117
11287
|
...props,
|
|
11118
|
-
children: /* @__PURE__ */
|
|
11288
|
+
children: /* @__PURE__ */ jsx111("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
11119
11289
|
}
|
|
11120
11290
|
);
|
|
11121
11291
|
};
|
|
@@ -11132,7 +11302,7 @@ var ScProfileV2Mobile_default = {
|
|
|
11132
11302
|
};
|
|
11133
11303
|
|
|
11134
11304
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
11135
|
-
import { jsx as
|
|
11305
|
+
import { jsx as jsx112, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
11136
11306
|
var ScProfileV2Mobile = ({
|
|
11137
11307
|
name = "Chris Hemsworth",
|
|
11138
11308
|
email = "chris@kepler.com",
|
|
@@ -11142,7 +11312,7 @@ var ScProfileV2Mobile = ({
|
|
|
11142
11312
|
...props
|
|
11143
11313
|
}) => {
|
|
11144
11314
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
11145
|
-
const profileImage = /* @__PURE__ */
|
|
11315
|
+
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 }) });
|
|
11146
11316
|
return /* @__PURE__ */ jsxs93(
|
|
11147
11317
|
"div",
|
|
11148
11318
|
{
|
|
@@ -11151,8 +11321,8 @@ var ScProfileV2Mobile = ({
|
|
|
11151
11321
|
children: [
|
|
11152
11322
|
dpPosition === "left" && profileImage,
|
|
11153
11323
|
/* @__PURE__ */ jsxs93("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
11154
|
-
/* @__PURE__ */
|
|
11155
|
-
/* @__PURE__ */
|
|
11324
|
+
/* @__PURE__ */ jsx112("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
11325
|
+
/* @__PURE__ */ jsx112("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
11156
11326
|
] }),
|
|
11157
11327
|
dpPosition === "right" && profileImage
|
|
11158
11328
|
]
|
|
@@ -11179,7 +11349,7 @@ var ScTableListMobile_default = {
|
|
|
11179
11349
|
};
|
|
11180
11350
|
|
|
11181
11351
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
11182
|
-
import { jsx as
|
|
11352
|
+
import { jsx as jsx113, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
11183
11353
|
var ScTableListMobile = ({
|
|
11184
11354
|
name = "Chris Hemsworth",
|
|
11185
11355
|
email = "chris@kepler.com",
|
|
@@ -11201,16 +11371,16 @@ var ScTableListMobile = ({
|
|
|
11201
11371
|
children: [
|
|
11202
11372
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
11203
11373
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
11204
|
-
/* @__PURE__ */
|
|
11205
|
-
/* @__PURE__ */
|
|
11374
|
+
/* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
11375
|
+
/* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
11206
11376
|
] }),
|
|
11207
|
-
/* @__PURE__ */
|
|
11377
|
+
/* @__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 }) })
|
|
11208
11378
|
] }),
|
|
11209
11379
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
11210
|
-
/* @__PURE__ */
|
|
11380
|
+
/* @__PURE__ */ jsx113("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx113("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
11211
11381
|
/* @__PURE__ */ jsxs94("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
11212
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
11213
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
11382
|
+
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)) }),
|
|
11383
|
+
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)) })
|
|
11214
11384
|
] })
|
|
11215
11385
|
] })
|
|
11216
11386
|
]
|
|
@@ -11238,7 +11408,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
11238
11408
|
};
|
|
11239
11409
|
|
|
11240
11410
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
11241
|
-
import { jsx as
|
|
11411
|
+
import { jsx as jsx114, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
11242
11412
|
var ScWorkspaceSwitchMobile = ({
|
|
11243
11413
|
storeName = "Stores",
|
|
11244
11414
|
initials = "WS",
|
|
@@ -11260,15 +11430,15 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
11260
11430
|
children: [
|
|
11261
11431
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
11262
11432
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
11263
|
-
/* @__PURE__ */
|
|
11264
|
-
/* @__PURE__ */
|
|
11433
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx114("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
11434
|
+
/* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
11265
11435
|
] }),
|
|
11266
|
-
/* @__PURE__ */
|
|
11436
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
11267
11437
|
] }),
|
|
11268
|
-
/* @__PURE__ */
|
|
11438
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
11269
11439
|
/* @__PURE__ */ jsxs95("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
11270
|
-
/* @__PURE__ */
|
|
11271
|
-
/* @__PURE__ */
|
|
11440
|
+
/* @__PURE__ */ jsx114("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx114("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
11441
|
+
/* @__PURE__ */ jsx114("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
11272
11442
|
] })
|
|
11273
11443
|
]
|
|
11274
11444
|
}
|
|
@@ -11295,7 +11465,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
11295
11465
|
};
|
|
11296
11466
|
|
|
11297
11467
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
11298
|
-
import { jsx as
|
|
11468
|
+
import { jsx as jsx115, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
11299
11469
|
var ScWorkspaceSettingsMobile = ({
|
|
11300
11470
|
storeName = "Stores",
|
|
11301
11471
|
initials = "WS",
|
|
@@ -11319,19 +11489,19 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
11319
11489
|
children: [
|
|
11320
11490
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
11321
11491
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
11322
|
-
/* @__PURE__ */
|
|
11323
|
-
/* @__PURE__ */
|
|
11492
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
11493
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
11324
11494
|
] }),
|
|
11325
|
-
/* @__PURE__ */
|
|
11495
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
11326
11496
|
] }),
|
|
11327
|
-
/* @__PURE__ */
|
|
11497
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
11328
11498
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11329
|
-
/* @__PURE__ */
|
|
11330
|
-
/* @__PURE__ */
|
|
11499
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
11500
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
11331
11501
|
] }),
|
|
11332
11502
|
/* @__PURE__ */ jsxs96("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
11333
|
-
/* @__PURE__ */
|
|
11334
|
-
/* @__PURE__ */
|
|
11503
|
+
/* @__PURE__ */ jsx115("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx115("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
11504
|
+
/* @__PURE__ */ jsx115("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
11335
11505
|
] })
|
|
11336
11506
|
]
|
|
11337
11507
|
}
|
|
@@ -11354,7 +11524,7 @@ var ScMobileTopNav_default = {
|
|
|
11354
11524
|
};
|
|
11355
11525
|
|
|
11356
11526
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
11357
|
-
import { Fragment as Fragment28, jsx as
|
|
11527
|
+
import { Fragment as Fragment28, jsx as jsx116, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
11358
11528
|
var ScMobileTopNav = ({
|
|
11359
11529
|
type = "home",
|
|
11360
11530
|
searchIcon = false,
|
|
@@ -11383,16 +11553,16 @@ var ScMobileTopNav = ({
|
|
|
11383
11553
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
11384
11554
|
...props,
|
|
11385
11555
|
children: [
|
|
11386
|
-
type === "home" && /* @__PURE__ */
|
|
11556
|
+
type === "home" && /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11387
11557
|
type === "chat" && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11388
|
-
/* @__PURE__ */
|
|
11389
|
-
/* @__PURE__ */
|
|
11390
|
-
/* @__PURE__ */
|
|
11558
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11559
|
+
/* @__PURE__ */ jsx116("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
11560
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11391
11561
|
] }),
|
|
11392
11562
|
showSearch && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11393
|
-
/* @__PURE__ */
|
|
11394
|
-
/* @__PURE__ */
|
|
11395
|
-
/* @__PURE__ */
|
|
11563
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs97("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
11564
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11565
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx116(
|
|
11396
11566
|
"input",
|
|
11397
11567
|
{
|
|
11398
11568
|
type: "text",
|
|
@@ -11403,17 +11573,17 @@ var ScMobileTopNav = ({
|
|
|
11403
11573
|
}
|
|
11404
11574
|
) })
|
|
11405
11575
|
] }) }),
|
|
11406
|
-
/* @__PURE__ */
|
|
11576
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11407
11577
|
] }),
|
|
11408
11578
|
type === "inApp" && !search && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11409
|
-
/* @__PURE__ */
|
|
11410
|
-
/* @__PURE__ */
|
|
11411
|
-
/* @__PURE__ */
|
|
11579
|
+
/* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11580
|
+
/* @__PURE__ */ jsx116("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
11581
|
+
/* @__PURE__ */ jsx116(
|
|
11412
11582
|
"div",
|
|
11413
11583
|
{
|
|
11414
11584
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
11415
11585
|
onClick: onSearchClick,
|
|
11416
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
11586
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx116("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
11417
11587
|
}
|
|
11418
11588
|
)
|
|
11419
11589
|
] })
|
|
@@ -11434,7 +11604,7 @@ var ScMobileBottomAction_default = {
|
|
|
11434
11604
|
};
|
|
11435
11605
|
|
|
11436
11606
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
11437
|
-
import { jsx as
|
|
11607
|
+
import { jsx as jsx117, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
11438
11608
|
var ScMobileBottomAction = ({
|
|
11439
11609
|
text = "Save Changes",
|
|
11440
11610
|
disabled = false,
|
|
@@ -11452,22 +11622,22 @@ var ScMobileBottomAction = ({
|
|
|
11452
11622
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
11453
11623
|
...props,
|
|
11454
11624
|
children: [
|
|
11455
|
-
isTwoButton && /* @__PURE__ */
|
|
11625
|
+
isTwoButton && /* @__PURE__ */ jsx117(
|
|
11456
11626
|
"button",
|
|
11457
11627
|
{
|
|
11458
11628
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11459
11629
|
onClick: onSecondaryClick,
|
|
11460
11630
|
disabled: secondaryDisabled,
|
|
11461
|
-
children: /* @__PURE__ */
|
|
11631
|
+
children: /* @__PURE__ */ jsx117("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
11462
11632
|
}
|
|
11463
11633
|
),
|
|
11464
|
-
/* @__PURE__ */
|
|
11634
|
+
/* @__PURE__ */ jsx117(
|
|
11465
11635
|
"button",
|
|
11466
11636
|
{
|
|
11467
11637
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
11468
11638
|
onClick,
|
|
11469
11639
|
disabled,
|
|
11470
|
-
children: /* @__PURE__ */
|
|
11640
|
+
children: /* @__PURE__ */ jsx117("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
11471
11641
|
}
|
|
11472
11642
|
)
|
|
11473
11643
|
]
|
|
@@ -11485,7 +11655,7 @@ var ScPopUpMenu_default = {
|
|
|
11485
11655
|
};
|
|
11486
11656
|
|
|
11487
11657
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
11488
|
-
import { jsx as
|
|
11658
|
+
import { jsx as jsx118, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
11489
11659
|
var ScPopUpMenu = ({
|
|
11490
11660
|
menu = "Options",
|
|
11491
11661
|
state = "default",
|
|
@@ -11501,8 +11671,8 @@ var ScPopUpMenu = ({
|
|
|
11501
11671
|
onClick,
|
|
11502
11672
|
...props,
|
|
11503
11673
|
children: [
|
|
11504
|
-
icon && /* @__PURE__ */
|
|
11505
|
-
/* @__PURE__ */
|
|
11674
|
+
icon && /* @__PURE__ */ jsx118("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
11675
|
+
/* @__PURE__ */ jsx118("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
11506
11676
|
]
|
|
11507
11677
|
}
|
|
11508
11678
|
);
|
|
@@ -11528,7 +11698,7 @@ var ScReferralCardMobile_default = {
|
|
|
11528
11698
|
};
|
|
11529
11699
|
|
|
11530
11700
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
11531
|
-
import { jsx as
|
|
11701
|
+
import { jsx as jsx119, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
11532
11702
|
var ScReferralCardMobile = ({
|
|
11533
11703
|
name = "Chris Hemsworth",
|
|
11534
11704
|
email = "chris@kepler.com",
|
|
@@ -11550,18 +11720,18 @@ var ScReferralCardMobile = ({
|
|
|
11550
11720
|
children: [
|
|
11551
11721
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
11552
11722
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
11553
|
-
/* @__PURE__ */
|
|
11723
|
+
/* @__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 }) }),
|
|
11554
11724
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
11555
|
-
/* @__PURE__ */
|
|
11556
|
-
/* @__PURE__ */
|
|
11725
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
11726
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
11557
11727
|
] })
|
|
11558
11728
|
] }),
|
|
11559
|
-
/* @__PURE__ */
|
|
11729
|
+
/* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
11560
11730
|
] }),
|
|
11561
|
-
/* @__PURE__ */
|
|
11731
|
+
/* @__PURE__ */ jsx119("div", { className: ScReferralCardMobile_default.divider }),
|
|
11562
11732
|
/* @__PURE__ */ jsxs100("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
11563
|
-
/* @__PURE__ */
|
|
11564
|
-
/* @__PURE__ */
|
|
11733
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
11734
|
+
/* @__PURE__ */ jsx119("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
11565
11735
|
] })
|
|
11566
11736
|
]
|
|
11567
11737
|
}
|
|
@@ -11578,7 +11748,7 @@ var InvoiceHistoryMobile_default = {
|
|
|
11578
11748
|
};
|
|
11579
11749
|
|
|
11580
11750
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
11581
|
-
import { jsx as
|
|
11751
|
+
import { jsx as jsx120, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
11582
11752
|
var InvoiceHistoryMobile = ({
|
|
11583
11753
|
invoiceId = "# INV-2800-2026",
|
|
11584
11754
|
date = "Nov 9th, 2025",
|
|
@@ -11587,10 +11757,10 @@ var InvoiceHistoryMobile = ({
|
|
|
11587
11757
|
}) => {
|
|
11588
11758
|
return /* @__PURE__ */ jsxs101("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
11589
11759
|
/* @__PURE__ */ jsxs101("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
11590
|
-
/* @__PURE__ */
|
|
11591
|
-
/* @__PURE__ */
|
|
11760
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
11761
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
11592
11762
|
] }),
|
|
11593
|
-
/* @__PURE__ */
|
|
11763
|
+
/* @__PURE__ */ jsx120("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
11594
11764
|
] });
|
|
11595
11765
|
};
|
|
11596
11766
|
|
|
@@ -11608,7 +11778,7 @@ var UsageHistoryMobile_default = {
|
|
|
11608
11778
|
};
|
|
11609
11779
|
|
|
11610
11780
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
11611
|
-
import { jsx as
|
|
11781
|
+
import { jsx as jsx121, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
11612
11782
|
var UsageHistoryMobile = ({
|
|
11613
11783
|
serviceName = "Artifax Generation",
|
|
11614
11784
|
credits = "50",
|
|
@@ -11619,16 +11789,16 @@ var UsageHistoryMobile = ({
|
|
|
11619
11789
|
}) => {
|
|
11620
11790
|
return /* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
11621
11791
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
11622
|
-
/* @__PURE__ */
|
|
11623
|
-
/* @__PURE__ */
|
|
11792
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
11793
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
11624
11794
|
] }),
|
|
11625
11795
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
11626
11796
|
/* @__PURE__ */ jsxs102("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
11627
|
-
/* @__PURE__ */
|
|
11628
|
-
/* @__PURE__ */
|
|
11629
|
-
/* @__PURE__ */
|
|
11797
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
11798
|
+
/* @__PURE__ */ jsx121("div", { className: UsageHistoryMobile_default.divider }),
|
|
11799
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
11630
11800
|
] }),
|
|
11631
|
-
/* @__PURE__ */
|
|
11801
|
+
/* @__PURE__ */ jsx121("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
11632
11802
|
] })
|
|
11633
11803
|
] });
|
|
11634
11804
|
};
|
|
@@ -11652,7 +11822,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
11652
11822
|
};
|
|
11653
11823
|
|
|
11654
11824
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
11655
|
-
import { jsx as
|
|
11825
|
+
import { jsx as jsx122, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
11656
11826
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
11657
11827
|
wsName = "Workspace name is kepler",
|
|
11658
11828
|
initials = "WS",
|
|
@@ -11665,14 +11835,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11665
11835
|
className,
|
|
11666
11836
|
...props
|
|
11667
11837
|
}) => {
|
|
11668
|
-
return /* @__PURE__ */
|
|
11838
|
+
return /* @__PURE__ */ jsx122(
|
|
11669
11839
|
"div",
|
|
11670
11840
|
{
|
|
11671
11841
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
11672
11842
|
onClick,
|
|
11673
11843
|
...props,
|
|
11674
11844
|
children: /* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
11675
|
-
/* @__PURE__ */
|
|
11845
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx122(
|
|
11676
11846
|
ScDp,
|
|
11677
11847
|
{
|
|
11678
11848
|
type: imageUrl ? "image" : "initial",
|
|
@@ -11687,13 +11857,13 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
11687
11857
|
}
|
|
11688
11858
|
) }),
|
|
11689
11859
|
/* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
11690
|
-
/* @__PURE__ */
|
|
11860
|
+
/* @__PURE__ */ jsx122("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
11691
11861
|
/* @__PURE__ */ jsxs103("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
11692
|
-
/* @__PURE__ */
|
|
11693
|
-
/* @__PURE__ */
|
|
11694
|
-
/* @__PURE__ */
|
|
11695
|
-
/* @__PURE__ */
|
|
11696
|
-
/* @__PURE__ */
|
|
11862
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
11863
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
11864
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
11865
|
+
/* @__PURE__ */ jsx122("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
11866
|
+
/* @__PURE__ */ jsx122("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
11697
11867
|
] })
|
|
11698
11868
|
] })
|
|
11699
11869
|
] })
|
|
@@ -11720,7 +11890,7 @@ var ScImageField_default = {
|
|
|
11720
11890
|
|
|
11721
11891
|
// src/SC-imageField/ScImageField.tsx
|
|
11722
11892
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
11723
|
-
import { jsx as
|
|
11893
|
+
import { jsx as jsx123, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
11724
11894
|
var ScImageField = ({
|
|
11725
11895
|
label = "Label",
|
|
11726
11896
|
imagePreview,
|
|
@@ -11744,7 +11914,7 @@ var ScImageField = ({
|
|
|
11744
11914
|
e.target.value = "";
|
|
11745
11915
|
}
|
|
11746
11916
|
return /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
11747
|
-
/* @__PURE__ */
|
|
11917
|
+
/* @__PURE__ */ jsx123(
|
|
11748
11918
|
"input",
|
|
11749
11919
|
{
|
|
11750
11920
|
ref: inputRef,
|
|
@@ -11754,9 +11924,9 @@ var ScImageField = ({
|
|
|
11754
11924
|
onChange: handleChange
|
|
11755
11925
|
}
|
|
11756
11926
|
),
|
|
11757
|
-
/* @__PURE__ */
|
|
11927
|
+
/* @__PURE__ */ jsx123("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx123("div", { className: ScImageField_default.label, children: label }) }),
|
|
11758
11928
|
hasImage ? /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.previewArea, children: [
|
|
11759
|
-
/* @__PURE__ */
|
|
11929
|
+
/* @__PURE__ */ jsx123(
|
|
11760
11930
|
"img",
|
|
11761
11931
|
{
|
|
11762
11932
|
className: ScImageField_default.previewImage,
|
|
@@ -11764,8 +11934,8 @@ var ScImageField = ({
|
|
|
11764
11934
|
alt: "preview"
|
|
11765
11935
|
}
|
|
11766
11936
|
),
|
|
11767
|
-
/* @__PURE__ */
|
|
11768
|
-
/* @__PURE__ */
|
|
11937
|
+
/* @__PURE__ */ jsx123("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
11938
|
+
/* @__PURE__ */ jsx123(
|
|
11769
11939
|
SiconDelete2,
|
|
11770
11940
|
{
|
|
11771
11941
|
className: ScImageField_default.removeIcon,
|
|
@@ -11777,8 +11947,8 @@ var ScImageField = ({
|
|
|
11777
11947
|
}
|
|
11778
11948
|
)
|
|
11779
11949
|
] }) : /* @__PURE__ */ jsxs104("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
11780
|
-
/* @__PURE__ */
|
|
11781
|
-
/* @__PURE__ */
|
|
11950
|
+
/* @__PURE__ */ jsx123(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
11951
|
+
/* @__PURE__ */ jsx123("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
11782
11952
|
] })
|
|
11783
11953
|
] });
|
|
11784
11954
|
};
|
|
@@ -11792,7 +11962,7 @@ var ScSettingsTabComp_default = {
|
|
|
11792
11962
|
};
|
|
11793
11963
|
|
|
11794
11964
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
11795
|
-
import { jsx as
|
|
11965
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
11796
11966
|
var ScSettingsTabComp = ({
|
|
11797
11967
|
tabName = "Tab",
|
|
11798
11968
|
active = false,
|
|
@@ -11800,12 +11970,12 @@ var ScSettingsTabComp = ({
|
|
|
11800
11970
|
className
|
|
11801
11971
|
}) => {
|
|
11802
11972
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
11803
|
-
return /* @__PURE__ */
|
|
11973
|
+
return /* @__PURE__ */ jsx124(
|
|
11804
11974
|
"div",
|
|
11805
11975
|
{
|
|
11806
11976
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
11807
11977
|
onClick,
|
|
11808
|
-
children: /* @__PURE__ */
|
|
11978
|
+
children: /* @__PURE__ */ jsx124("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
11809
11979
|
}
|
|
11810
11980
|
);
|
|
11811
11981
|
};
|
|
@@ -11825,7 +11995,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
11825
11995
|
|
|
11826
11996
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
11827
11997
|
import { SiconCredits as SiconCredits2 } from "@streamoid/icons";
|
|
11828
|
-
import { jsx as
|
|
11998
|
+
import { jsx as jsx125, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
11829
11999
|
var ScCreditsUsageCardMobile = ({
|
|
11830
12000
|
usageLabel = "Credits usage",
|
|
11831
12001
|
usageText = "8,450 / 30,000",
|
|
@@ -11837,21 +12007,21 @@ var ScCreditsUsageCardMobile = ({
|
|
|
11837
12007
|
}) => {
|
|
11838
12008
|
return /* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
11839
12009
|
/* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
11840
|
-
/* @__PURE__ */
|
|
12010
|
+
/* @__PURE__ */ jsx125(
|
|
11841
12011
|
SiconCredits2,
|
|
11842
12012
|
{
|
|
11843
12013
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
11844
12014
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
11845
12015
|
}
|
|
11846
12016
|
),
|
|
11847
|
-
/* @__PURE__ */
|
|
12017
|
+
/* @__PURE__ */ jsx125("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
11848
12018
|
] }),
|
|
11849
|
-
/* @__PURE__ */
|
|
12019
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
11850
12020
|
/* @__PURE__ */ jsxs105("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
11851
|
-
/* @__PURE__ */
|
|
11852
|
-
/* @__PURE__ */
|
|
12021
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
12022
|
+
/* @__PURE__ */ jsx125("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
11853
12023
|
] }),
|
|
11854
|
-
/* @__PURE__ */
|
|
12024
|
+
/* @__PURE__ */ jsx125(
|
|
11855
12025
|
ScButton,
|
|
11856
12026
|
{
|
|
11857
12027
|
text: buyButtonText,
|
|
@@ -11893,7 +12063,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
11893
12063
|
|
|
11894
12064
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
11895
12065
|
import { SiconBilling as SiconBilling5 } from "@streamoid/icons";
|
|
11896
|
-
import { Fragment as Fragment29, jsx as
|
|
12066
|
+
import { Fragment as Fragment29, jsx as jsx126, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
11897
12067
|
var ScPlanDetailsCardMobile = ({
|
|
11898
12068
|
planName = "Pro",
|
|
11899
12069
|
planCredits = "30,000 credits",
|
|
@@ -11910,17 +12080,17 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11910
12080
|
return /* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
11911
12081
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
11912
12082
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
11913
|
-
/* @__PURE__ */
|
|
12083
|
+
/* @__PURE__ */ jsx126(
|
|
11914
12084
|
SiconBilling5,
|
|
11915
12085
|
{
|
|
11916
12086
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
11917
12087
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
11918
12088
|
}
|
|
11919
12089
|
),
|
|
11920
|
-
/* @__PURE__ */
|
|
12090
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
11921
12091
|
] }),
|
|
11922
|
-
/* @__PURE__ */
|
|
11923
|
-
/* @__PURE__ */
|
|
12092
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
12093
|
+
/* @__PURE__ */ jsx126(
|
|
11924
12094
|
ScBadges,
|
|
11925
12095
|
{
|
|
11926
12096
|
text: badgeText,
|
|
@@ -11930,27 +12100,27 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11930
12100
|
}
|
|
11931
12101
|
),
|
|
11932
12102
|
badgeSubText && /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11933
|
-
/* @__PURE__ */
|
|
11934
|
-
/* @__PURE__ */
|
|
12103
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
12104
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
11935
12105
|
] })
|
|
11936
12106
|
] }) })
|
|
11937
12107
|
] }),
|
|
11938
|
-
/* @__PURE__ */
|
|
11939
|
-
/* @__PURE__ */
|
|
12108
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
12109
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11940
12110
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
11941
|
-
/* @__PURE__ */
|
|
11942
|
-
/* @__PURE__ */
|
|
12111
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
12112
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
11943
12113
|
] }),
|
|
11944
|
-
/* @__PURE__ */
|
|
12114
|
+
/* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
11945
12115
|
] }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11946
12116
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
11947
|
-
/* @__PURE__ */
|
|
11948
|
-
/* @__PURE__ */
|
|
11949
|
-
/* @__PURE__ */
|
|
12117
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
12118
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
12119
|
+
/* @__PURE__ */ jsx126("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
11950
12120
|
] }),
|
|
11951
|
-
/* @__PURE__ */
|
|
12121
|
+
/* @__PURE__ */ jsx126("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
11952
12122
|
] }) }),
|
|
11953
|
-
isLoading ? /* @__PURE__ */
|
|
12123
|
+
isLoading ? /* @__PURE__ */ jsx126("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx126(
|
|
11954
12124
|
ScButton,
|
|
11955
12125
|
{
|
|
11956
12126
|
text: upgradeButtonText,
|
|
@@ -12002,7 +12172,7 @@ import {
|
|
|
12002
12172
|
SiconLight as SiconLight3,
|
|
12003
12173
|
SiconDark as SiconDark3
|
|
12004
12174
|
} from "@streamoid/icons";
|
|
12005
|
-
import { Fragment as Fragment30, jsx as
|
|
12175
|
+
import { Fragment as Fragment30, jsx as jsx127, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
12006
12176
|
var activateOnKey = (handler) => (event) => {
|
|
12007
12177
|
if (!handler) return;
|
|
12008
12178
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -12053,7 +12223,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12053
12223
|
}, ref) => {
|
|
12054
12224
|
const hasWorkspaceBlock = showWorkspace || showSwitchWorkspace || !!workspaceContent;
|
|
12055
12225
|
const hasMenuBlock = showTeams || showBilling || showSettings || showWhatsNew || !!menuContent;
|
|
12056
|
-
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */
|
|
12226
|
+
const menuRow = (icon, text, onClick, extra) => /* @__PURE__ */ jsx127(
|
|
12057
12227
|
ScMenuOptions,
|
|
12058
12228
|
{
|
|
12059
12229
|
icon,
|
|
@@ -12068,7 +12238,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12068
12238
|
);
|
|
12069
12239
|
const themeTab = (mode, icon, label) => {
|
|
12070
12240
|
const active = themeMode === mode;
|
|
12071
|
-
return /* @__PURE__ */
|
|
12241
|
+
return /* @__PURE__ */ jsx127(
|
|
12072
12242
|
ScTabComp,
|
|
12073
12243
|
{
|
|
12074
12244
|
type: "icon-only",
|
|
@@ -12084,7 +12254,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12084
12254
|
}
|
|
12085
12255
|
);
|
|
12086
12256
|
};
|
|
12087
|
-
const profile = /* @__PURE__ */
|
|
12257
|
+
const profile = /* @__PURE__ */ jsx127(
|
|
12088
12258
|
ScProfile,
|
|
12089
12259
|
{
|
|
12090
12260
|
name,
|
|
@@ -12101,7 +12271,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
12101
12271
|
...props,
|
|
12102
12272
|
children: [
|
|
12103
12273
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileHeader, children: [
|
|
12104
|
-
onProfileClick ? /* @__PURE__ */
|
|
12274
|
+
onProfileClick ? /* @__PURE__ */ jsx127(
|
|
12105
12275
|
"button",
|
|
12106
12276
|
{
|
|
12107
12277
|
type: "button",
|
|
@@ -12109,10 +12279,10 @@ var ScProfilePopup = forwardRef2(
|
|
|
12109
12279
|
onClick: onProfileClick,
|
|
12110
12280
|
children: profile
|
|
12111
12281
|
}
|
|
12112
|
-
) : /* @__PURE__ */
|
|
12282
|
+
) : /* @__PURE__ */ jsx127("div", { className: ScProfilePopup_default.profileBlock, children: profile }),
|
|
12113
12283
|
(headerActions || showLogout) && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.headerActions, children: [
|
|
12114
12284
|
headerActions,
|
|
12115
|
-
showLogout && /* @__PURE__ */
|
|
12285
|
+
showLogout && /* @__PURE__ */ jsx127(
|
|
12116
12286
|
"button",
|
|
12117
12287
|
{
|
|
12118
12288
|
type: "button",
|
|
@@ -12120,16 +12290,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12120
12290
|
onClick: onLogout,
|
|
12121
12291
|
"aria-label": logoutLabel,
|
|
12122
12292
|
title: logoutLabel,
|
|
12123
|
-
children: /* @__PURE__ */
|
|
12293
|
+
children: /* @__PURE__ */ jsx127(SiconLogout4, { size: 24 })
|
|
12124
12294
|
}
|
|
12125
12295
|
)
|
|
12126
12296
|
] })
|
|
12127
12297
|
] }),
|
|
12128
12298
|
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
12129
|
-
/* @__PURE__ */
|
|
12299
|
+
/* @__PURE__ */ jsx127(ScHDivider, { className: "" }),
|
|
12130
12300
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileDetails, children: [
|
|
12131
12301
|
showWorkspace && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.workspaceInfo, children: [
|
|
12132
|
-
/* @__PURE__ */
|
|
12302
|
+
/* @__PURE__ */ jsx127(
|
|
12133
12303
|
ScWorkspace,
|
|
12134
12304
|
{
|
|
12135
12305
|
workspaceName,
|
|
@@ -12139,16 +12309,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12139
12309
|
}
|
|
12140
12310
|
),
|
|
12141
12311
|
credits != null && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.creditsPill, children: [
|
|
12142
|
-
/* @__PURE__ */
|
|
12143
|
-
/* @__PURE__ */
|
|
12312
|
+
/* @__PURE__ */ jsx127(SiconCredits3, { size: 16 }),
|
|
12313
|
+
/* @__PURE__ */ jsx127("span", { className: ScProfilePopup_default.creditsValue, children: credits })
|
|
12144
12314
|
] })
|
|
12145
12315
|
] }),
|
|
12146
12316
|
(showSwitchWorkspace || workspaceContent) && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.switchWorkspaceRow, children: [
|
|
12147
|
-
showSwitchWorkspace && /* @__PURE__ */
|
|
12317
|
+
showSwitchWorkspace && /* @__PURE__ */ jsx127(
|
|
12148
12318
|
ScButton,
|
|
12149
12319
|
{
|
|
12150
12320
|
text: switchWorkspaceLabel,
|
|
12151
|
-
icon: /* @__PURE__ */
|
|
12321
|
+
icon: /* @__PURE__ */ jsx127(SiconWorkspace3, { size: 20 }),
|
|
12152
12322
|
styleVariant: "icon-left",
|
|
12153
12323
|
variant: "outline",
|
|
12154
12324
|
size: "md",
|
|
@@ -12161,12 +12331,12 @@ var ScProfilePopup = forwardRef2(
|
|
|
12161
12331
|
] })
|
|
12162
12332
|
] }),
|
|
12163
12333
|
hasMenuBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
12164
|
-
/* @__PURE__ */
|
|
12334
|
+
/* @__PURE__ */ jsx127(ScHDivider, { className: "" }),
|
|
12165
12335
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.settingsOptions, children: [
|
|
12166
|
-
showTeams && menuRow(/* @__PURE__ */
|
|
12167
|
-
showBilling && menuRow(/* @__PURE__ */
|
|
12168
|
-
showSettings && menuRow(/* @__PURE__ */
|
|
12169
|
-
showWhatsNew && menuRow(/* @__PURE__ */
|
|
12336
|
+
showTeams && menuRow(/* @__PURE__ */ jsx127(SiconTeam8, { size: 24 }), teamsLabel, onTeams),
|
|
12337
|
+
showBilling && menuRow(/* @__PURE__ */ jsx127(SiconBilling6, { size: 24 }), billingLabel, onBilling),
|
|
12338
|
+
showSettings && menuRow(/* @__PURE__ */ jsx127(SiconSettings4, { size: 24 }), settingsLabel, onSettings),
|
|
12339
|
+
showWhatsNew && menuRow(/* @__PURE__ */ jsx127(SiconBolt6, { size: 24 }), whatsNewLabel, onWhatsNew, {
|
|
12170
12340
|
variant: version ? "with-v" : "default",
|
|
12171
12341
|
...version ? { version } : {}
|
|
12172
12342
|
}),
|
|
@@ -12174,16 +12344,16 @@ var ScProfilePopup = forwardRef2(
|
|
|
12174
12344
|
] })
|
|
12175
12345
|
] }),
|
|
12176
12346
|
preFooterContent,
|
|
12177
|
-
showThemeSwitcher && /* @__PURE__ */
|
|
12347
|
+
showThemeSwitcher && /* @__PURE__ */ jsx127(
|
|
12178
12348
|
ScTabSwitcher,
|
|
12179
12349
|
{
|
|
12180
12350
|
tabCount: "3",
|
|
12181
12351
|
role: "radiogroup",
|
|
12182
12352
|
"aria-label": "Theme",
|
|
12183
12353
|
className: "",
|
|
12184
|
-
component: themeTab("system", /* @__PURE__ */
|
|
12185
|
-
component2: themeTab("light", /* @__PURE__ */
|
|
12186
|
-
component3: themeTab("dark", /* @__PURE__ */
|
|
12354
|
+
component: themeTab("system", /* @__PURE__ */ jsx127(SiconSystem3, { size: 20 }), "System theme"),
|
|
12355
|
+
component2: themeTab("light", /* @__PURE__ */ jsx127(SiconLight3, { size: 20 }), "Light theme"),
|
|
12356
|
+
component3: themeTab("dark", /* @__PURE__ */ jsx127(SiconDark3, { size: 20 }), "Dark theme")
|
|
12187
12357
|
}
|
|
12188
12358
|
),
|
|
12189
12359
|
children
|
|
@@ -12272,6 +12442,7 @@ export {
|
|
|
12272
12442
|
ScPlanDetailsCard,
|
|
12273
12443
|
ScPlanDetailsCardMobile,
|
|
12274
12444
|
ScPopUpMenu,
|
|
12445
|
+
ScPopoverArrow,
|
|
12275
12446
|
ScProfile,
|
|
12276
12447
|
ScProfileImageUpdate,
|
|
12277
12448
|
ScProfileOptions,
|
|
@@ -12337,14 +12508,17 @@ export {
|
|
|
12337
12508
|
advanceSidebarResizeGesture,
|
|
12338
12509
|
clampPanelWidth,
|
|
12339
12510
|
createStreamoidAppSwitchUtilities,
|
|
12511
|
+
formatStreamoidAppVersion,
|
|
12340
12512
|
formatSubAgentLabel,
|
|
12341
12513
|
hasCollapsedMark,
|
|
12514
|
+
resolveAnchoredPopoverArrow,
|
|
12342
12515
|
resolveAnchoredPopoverPosition,
|
|
12343
12516
|
resolvePanelResize,
|
|
12344
12517
|
resolvePanelResizeKey,
|
|
12345
12518
|
scAppSwitchOrder,
|
|
12346
12519
|
streamoidAppSwitchTagline,
|
|
12347
12520
|
streamoidChangelogUrl,
|
|
12521
|
+
useStreamoidAnchoredPopover,
|
|
12348
12522
|
useStreamoidAnchoredPopoverPosition,
|
|
12349
12523
|
useStreamoidPanelWidth,
|
|
12350
12524
|
useStreamoidSidebarPopoverPosition,
|