@bimdata/design-system 2.1.0-rc.9 → 2.1.0
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/package.json +2 -2
- package/src/BIMDataComponents/BIMDataDropdownList/_BIMDataDropdownList.scss +0 -1
- package/src/BIMDataComponents/BIMDataDropdownMenu/_BIMDataDropdownMenu.scss +0 -1
- package/src/BIMDataComponents/BIMDataFileIcon/BIMDataFileIcon.vue +4 -17
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/e57.svg +16 -0
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/index.js +47 -562
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/las.svg +16 -0
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/laz.svg +16 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconAddGavel.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconAddList.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconCaret.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconCreateSpace.vue +20 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconCreateZone.vue +20 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconFolderLocation.vue +20 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/{BIMDataIconDeploy.vue → BIMDataIconGavel.vue} +3 -3
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconNamingConvention.vue +20 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconPlan.vue +20 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSpace2.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconStructure.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconZone2.vue +19 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/index.js +12 -1
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddGavel.vue +21 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/AddList.vue +27 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Caret.vue +3 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/CreateSpace.vue +17 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/CreateZone.vue +32 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/FolderLocation.vue +14 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Gavel.vue +5 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/List.vue +6 -12
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/NamingConvention.vue +12 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Plan.vue +7 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Space2.vue +9 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Structure.vue +7 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Warning.vue +1 -1
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Zone2.vue +24 -0
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/index.js +24 -2
- package/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/CreateList.vue +214 -0
- package/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/EmptyNamingConvention.vue +47 -0
- package/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ManageList.vue +206 -0
- package/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/RenameFile.vue +175 -0
- package/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js +10 -2
- package/src/BIMDataComponents/BIMDataInput/BIMDataInput.vue +3 -2
- package/src/BIMDataComponents/BIMDataInput/_BIMDataInput.scss +8 -8
- package/src/BIMDataComponents/BIMDataInputOutlined/BIMDataInputOutlined.vue +182 -0
- package/src/BIMDataComponents/BIMDataInputOutlined/_BIMDataInputOutlined.scss +96 -0
- package/src/BIMDataComponents/BIMDataList/BIMDataList.vue +106 -0
- package/src/BIMDataComponents/BIMDataRadio/BIMDataRadio.vue +8 -4
- package/src/BIMDataComponents/BIMDataRadio/_BIMDataRadio.scss +41 -32
- package/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue +6 -1
- package/src/BIMDataComponents/BIMDataSearch/_BIMDataSearch.scss +6 -0
- package/src/BIMDataComponents/BIMDataSlider/_BIMDataSlider.scss +2 -0
- package/src/BIMDataComponents/BIMDataTable/BIMDataTable.vue +234 -34
- package/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss +4 -0
- package/src/BIMDataComponents/BIMDataTable/column-filters/ColumnFilters.vue +95 -0
- package/src/BIMDataComponents/BIMDataTable/column-filters/_ColumnFilters.scss +14 -0
- package/src/BIMDataComponents/BIMDataTable/column-sorting/ColumnSorting.vue +66 -0
- package/src/BIMDataComponents/BIMDataTable/table-row-selection.js +1 -1
- package/src/BIMDataComponents/BIMDataTree/BIMDataTree.vue +135 -0
- package/src/BIMDataComponents/BIMDataTree/Node.vue +265 -0
- package/src/BIMDataComponents/BIMDataTree/state.js +239 -0
- package/src/BIMDataComponents/index.js +3 -0
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/3g2.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/3ga.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/3gp.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/7z.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aa.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aac.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/accdb.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/accdt.svg +0 -39
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/adn.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ai.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aif.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aifc.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aiff.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ait.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/amr.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ani.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/apk.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/app.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/asax.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ascx.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/asf.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ash.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ashx.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/asmx.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/asp.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aspx.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/asx.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/au.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aup.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/avi.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/axd.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/aze.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/bash.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/bat.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/bin.svg +0 -91
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/blank.svg +0 -14
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/bpg.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/browser.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/bz2.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/c.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cab.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/caf.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cal.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cd.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cer.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/class.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cmd.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/com.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/compile.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/config.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cpp.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cr2.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/crt.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/crypt.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cs.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/csh.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/csproj.svg +0 -38
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/css.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/cue.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dat.svg +0 -90
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/db.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dbf.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/deb.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dgn.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dll.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dmg.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dng.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/docb.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/docm.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/docx.svg +0 -40
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dot.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dotm.svg +0 -40
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dotx.svg +0 -39
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dpj.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/dtd.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/eot.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/eps.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/epub.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/exe.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/f4v.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/fax.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/fb2.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/fla.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/flac.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/flv.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/folder.svg +0 -13
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/folder2.svg +0 -10
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gadget.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gem.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gif.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gitignore.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gpg.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/gz.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/h.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/htm.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/html.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ibooks.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ico.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ics.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/idx.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/iff.svg +0 -23
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/image.svg +0 -19
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/img.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/indd.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/inf.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ini.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/iso.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/jar.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/java.svg +0 -44
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/jpe.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/jpg.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/js.svg +0 -39
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/json.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/jsp.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/key.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/kf8.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ksh.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/less.svg +0 -40
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/licx.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/lit.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/log.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/lua.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m2v.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m3u.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m3u8.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m4a.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m4r.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/m4v.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/master.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/md.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mdb.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mdf.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mid.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/midi.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mkv.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mobi.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mov.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mp2.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpa.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpd.svg +0 -51
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpe.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpeg.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpg.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpga.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpp.svg +0 -51
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/mpt.svg +0 -50
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/msi.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/msu.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/nef.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/nes.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/odb.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/odt.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ogg.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ogv.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ost.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/otf.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ott.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ovf.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/p12.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/p7b.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pages.svg +0 -53
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/part.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pcd.svg +0 -23
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pdb.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pem.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pfx.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pgp.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/php.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/po.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pot.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/potx.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pps.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ppsx.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pptm.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pptx.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/prop.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ps.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/psd.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/psp.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pst.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/pub.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/py.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/qt.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ra.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ram.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rar.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/raw.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rb.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rdf.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/resx.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rm.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rpm.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rtf.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/rub.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sass.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/scss.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sdf.svg +0 -35
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sh.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sitemap.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/skin.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sldm.svg +0 -37
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sldx.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sln.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/step.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/stl.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/swd.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/swf.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/swift.svg +0 -47
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/sys.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tar.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tcsh.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tex.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tga.svg +0 -26
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tgz.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tif.svg +0 -23
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tiff.svg +0 -24
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/torrent.svg +0 -39
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ts.svg +0 -21
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/tsv.svg +0 -55
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/ttf.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/udf.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vb.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vbproj.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vcd.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vcs.svg +0 -45
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vdi.svg +0 -36
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vdx.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vmdk.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vob.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vsd.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vss.svg +0 -44
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vst.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vsx.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/vtx.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/war.svg +0 -43
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wav.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wbk.svg +0 -39
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/webinfo.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/webm.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/webp.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wma.svg +0 -28
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wmf.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wmv.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/woff.svg +0 -40
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/woff2.svg +0 -42
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/wsf.svg +0 -30
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xaml.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xcf.svg +0 -41
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xlm.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xlsm.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xlsx.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xlt.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xltm.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xltx.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xml.svg +0 -31
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xpi.svg +0 -75
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xps.svg +0 -32
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xrb.svg +0 -34
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xspf.svg +0 -33
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/xz.svg +0 -27
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/yml.svg +0 -29
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/z.svg +0 -25
- package/src/BIMDataComponents/BIMDataFileIcon/file-icons/zsh.svg +0 -30
- package/src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Deploy.vue +0 -3
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="bimdata-input-outlined"
|
|
4
|
+
:class="{
|
|
5
|
+
error,
|
|
6
|
+
success,
|
|
7
|
+
disabled,
|
|
8
|
+
loading,
|
|
9
|
+
empty:
|
|
10
|
+
modelValue === undefined || modelValue === null || modelValue === '',
|
|
11
|
+
}"
|
|
12
|
+
:style="style"
|
|
13
|
+
>
|
|
14
|
+
<fieldset>
|
|
15
|
+
<label v-if="label" :for="`bimdata-input-outlined-${uuid}`" class="m-b-6"
|
|
16
|
+
><slot name="label">Label here</slot></label
|
|
17
|
+
>
|
|
18
|
+
<div class="flex items-center">
|
|
19
|
+
<slot name="prefix"></slot>
|
|
20
|
+
<div class="bimdata-input-outlined__container">
|
|
21
|
+
<div class="bimdata-input-outlined__container__prefix-inner">
|
|
22
|
+
<slot name="prefixInner"></slot>
|
|
23
|
+
</div>
|
|
24
|
+
<input
|
|
25
|
+
ref="input"
|
|
26
|
+
:type="inputType"
|
|
27
|
+
:id="`bimdata-input-${uuid}`"
|
|
28
|
+
@input="$emit('update:modelValue', $event.currentTarget.value)"
|
|
29
|
+
:disabled="disabled"
|
|
30
|
+
:value="modelValue"
|
|
31
|
+
:placeholder="placeholder"
|
|
32
|
+
@focus="
|
|
33
|
+
$event.target.select();
|
|
34
|
+
$emit('focus', $event);
|
|
35
|
+
"
|
|
36
|
+
@blur="$emit('blur', $event)"
|
|
37
|
+
@keypress="$emit('keypress', $event)"
|
|
38
|
+
@change="$emit('change', $event)"
|
|
39
|
+
:autocomplete="autocomplete ? 'on' : 'off'"
|
|
40
|
+
v-bind="$attrs"
|
|
41
|
+
:maxlength="maxLength"
|
|
42
|
+
/>
|
|
43
|
+
<BIMDataSpinner v-if="loading" class="items-center"></BIMDataSpinner>
|
|
44
|
+
<div class="bimdata-input-outlined__container__suffix-inner">
|
|
45
|
+
<slot name="suffixInner"></slot>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<slot name="suffix"></slot>
|
|
49
|
+
</div>
|
|
50
|
+
</fieldset>
|
|
51
|
+
<div
|
|
52
|
+
class="flex items-center"
|
|
53
|
+
:class="error || success ? 'justify-between' : 'justify-end'"
|
|
54
|
+
>
|
|
55
|
+
<span v-if="error" class="error">{{ errorMessage }}</span>
|
|
56
|
+
<span v-if="success" class="success">{{ successMessage }}</span>
|
|
57
|
+
<span v-if="counter" class="counter m-l-12">
|
|
58
|
+
{{ modelValue.length }}
|
|
59
|
+
/ {{ maxLength }}
|
|
60
|
+
</span>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
<script>
|
|
66
|
+
let uuid = 0;
|
|
67
|
+
|
|
68
|
+
export default {
|
|
69
|
+
model: {
|
|
70
|
+
prop: "modelValue",
|
|
71
|
+
event: "update:modelValue",
|
|
72
|
+
},
|
|
73
|
+
props: {
|
|
74
|
+
autocomplete: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: false,
|
|
77
|
+
},
|
|
78
|
+
counter: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: false,
|
|
81
|
+
},
|
|
82
|
+
disabled: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: false,
|
|
85
|
+
},
|
|
86
|
+
error: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false,
|
|
89
|
+
},
|
|
90
|
+
errorMessage: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: "",
|
|
93
|
+
},
|
|
94
|
+
inputType: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: "text",
|
|
97
|
+
validator: type => {
|
|
98
|
+
const possibleTypes = [
|
|
99
|
+
"text",
|
|
100
|
+
"password",
|
|
101
|
+
"number",
|
|
102
|
+
"file",
|
|
103
|
+
"url",
|
|
104
|
+
"time",
|
|
105
|
+
"email",
|
|
106
|
+
"tel",
|
|
107
|
+
];
|
|
108
|
+
return possibleTypes.includes(type);
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
label: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: false,
|
|
114
|
+
},
|
|
115
|
+
loading: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: false,
|
|
118
|
+
},
|
|
119
|
+
margin: {
|
|
120
|
+
type: String,
|
|
121
|
+
default: "12px 0px",
|
|
122
|
+
},
|
|
123
|
+
maxLength: {
|
|
124
|
+
type: Number,
|
|
125
|
+
default: 100,
|
|
126
|
+
},
|
|
127
|
+
modelValue: {
|
|
128
|
+
type: [String, Number],
|
|
129
|
+
default: "",
|
|
130
|
+
},
|
|
131
|
+
placeholder: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: "",
|
|
134
|
+
},
|
|
135
|
+
success: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: false,
|
|
138
|
+
},
|
|
139
|
+
successMessage: {
|
|
140
|
+
type: String,
|
|
141
|
+
default: "",
|
|
142
|
+
},
|
|
143
|
+
width: {
|
|
144
|
+
type: String,
|
|
145
|
+
default: "250px",
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
emits: ["update:modelValue", "blur", "keypress", "focus", "change"],
|
|
149
|
+
computed: {
|
|
150
|
+
style() {
|
|
151
|
+
return {
|
|
152
|
+
margin: `${this.margin}`,
|
|
153
|
+
width: `${this.width}`,
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
beforeCreate() {
|
|
158
|
+
this.uuid = uuid.toString();
|
|
159
|
+
uuid += 1;
|
|
160
|
+
},
|
|
161
|
+
created() {
|
|
162
|
+
this.$watch(
|
|
163
|
+
() => this.success && this.error,
|
|
164
|
+
successAndError => {
|
|
165
|
+
if (successAndError) {
|
|
166
|
+
throw new Error("Input state cannot be both success and error.");
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
);
|
|
170
|
+
},
|
|
171
|
+
methods: {
|
|
172
|
+
focus() {
|
|
173
|
+
this.$refs.input?.focus();
|
|
174
|
+
},
|
|
175
|
+
blur() {
|
|
176
|
+
this.$refs.input?.blur();
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
</script>
|
|
181
|
+
|
|
182
|
+
<style scoped lang="scss" src="./_BIMDataInputOutlined.scss"></style>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@import "../../assets/scss/mixins/_font-size.scss";
|
|
2
|
+
|
|
3
|
+
input:-webkit-autofill {
|
|
4
|
+
box-shadow: 0 0 0px 1000px var(--color-white) inset;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.bimdata-input-outlined {
|
|
8
|
+
position: relative;
|
|
9
|
+
font-family: var(--primary-font);
|
|
10
|
+
color: var(--color-primary);
|
|
11
|
+
fieldset {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
border: none;
|
|
15
|
+
label {
|
|
16
|
+
display: block;
|
|
17
|
+
font-size: 10px;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
letter-spacing: 0.6px;
|
|
21
|
+
color: var(--color-granite-light);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&__container {
|
|
25
|
+
padding: 0 calc(var(--spacing-unit) / 2);
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
border: 1px solid var(--color-silver);
|
|
29
|
+
border-radius: 3px;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex: 1;
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
position: relative;
|
|
35
|
+
z-index: 0;
|
|
36
|
+
input {
|
|
37
|
+
width: 100%;
|
|
38
|
+
min-height: 32px;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
color: var(--color-primary);
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
border-style: none;
|
|
43
|
+
cursor: auto;
|
|
44
|
+
font-family: inherit;
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
&__prefix-inner,
|
|
50
|
+
&__suffix-inner {
|
|
51
|
+
align-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.error {
|
|
58
|
+
color: var(--color-high);
|
|
59
|
+
font-size: 11px;
|
|
60
|
+
}
|
|
61
|
+
.success {
|
|
62
|
+
color: var(--color-success);
|
|
63
|
+
font-size: 11px;
|
|
64
|
+
}
|
|
65
|
+
&.disabled {
|
|
66
|
+
opacity: 0.6;
|
|
67
|
+
cursor: default;
|
|
68
|
+
}
|
|
69
|
+
&.error {
|
|
70
|
+
.bimdata-input-outlined__container {
|
|
71
|
+
border-color: var(--color-high);
|
|
72
|
+
background-color: var(--color-high-lighter);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&.success {
|
|
76
|
+
.bimdata-input-outlined__container {
|
|
77
|
+
border-color: var(--color-success);
|
|
78
|
+
background-color: var(--color-success-lighter);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.counter {
|
|
82
|
+
font-size: 11px;
|
|
83
|
+
letter-spacing: -0.5px;
|
|
84
|
+
color: var(--color-granite-light);
|
|
85
|
+
}
|
|
86
|
+
&[type="file"] {
|
|
87
|
+
.bimdata-input-outlined__container {
|
|
88
|
+
border: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
&[type="number"] {
|
|
92
|
+
input {
|
|
93
|
+
appearance: textfield;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="bimdata-list"
|
|
4
|
+
@scroll="computeIndexes"
|
|
5
|
+
:style="`--bimdata-list--item-height: ${itemHeight}px`"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
class="bimdata-list__placeholder"
|
|
9
|
+
:style="`height: ${items.length * itemHeight}px;`"
|
|
10
|
+
></div>
|
|
11
|
+
<div
|
|
12
|
+
class="bimdata-list__element"
|
|
13
|
+
v-for="(item, index) in displayedItems"
|
|
14
|
+
:key="itemKey ? item[itemKey] : item"
|
|
15
|
+
:style="`height: ${itemHeight}px; top: ${
|
|
16
|
+
(offsetedStartIndex + index) * itemHeight
|
|
17
|
+
}px`"
|
|
18
|
+
>
|
|
19
|
+
<slot :item="item" :index="offsetedStartIndex + index">
|
|
20
|
+
{{ item }}
|
|
21
|
+
</slot>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script>
|
|
27
|
+
export default {
|
|
28
|
+
name: "BIMDataList",
|
|
29
|
+
props: {
|
|
30
|
+
items: {
|
|
31
|
+
type: Array,
|
|
32
|
+
required: true,
|
|
33
|
+
},
|
|
34
|
+
itemHeight: {
|
|
35
|
+
type: Number,
|
|
36
|
+
default: 30,
|
|
37
|
+
},
|
|
38
|
+
offset: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 20,
|
|
41
|
+
},
|
|
42
|
+
itemKey: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: null,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
data() {
|
|
48
|
+
return {
|
|
49
|
+
startIndex: 0,
|
|
50
|
+
endIndex: 0,
|
|
51
|
+
};
|
|
52
|
+
},
|
|
53
|
+
computed: {
|
|
54
|
+
offsetedStartIndex() {
|
|
55
|
+
return Math.max(this.startIndex - this.offset, 0);
|
|
56
|
+
},
|
|
57
|
+
offsetedEndIndex() {
|
|
58
|
+
return Math.min(this.endIndex + this.offset, this.items.length - 1);
|
|
59
|
+
},
|
|
60
|
+
displayedItems() {
|
|
61
|
+
return this.items.slice(
|
|
62
|
+
this.offsetedStartIndex,
|
|
63
|
+
this.offsetedEndIndex + 1
|
|
64
|
+
);
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
mounted() {
|
|
68
|
+
this.computeIndexes();
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
computeIndexes() {
|
|
72
|
+
const { itemHeight, items, $el } = this;
|
|
73
|
+
const { scrollTop, clientHeight } = $el;
|
|
74
|
+
|
|
75
|
+
const startIndex = Math.floor(scrollTop / itemHeight);
|
|
76
|
+
|
|
77
|
+
const endIndex = Math.min(
|
|
78
|
+
startIndex + Math.ceil(clientHeight / itemHeight),
|
|
79
|
+
items.length - 1
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
this.startIndex = startIndex;
|
|
83
|
+
this.endIndex = endIndex;
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
<style scoped lang="scss">
|
|
90
|
+
.bimdata-list {
|
|
91
|
+
margin: 0;
|
|
92
|
+
padding: 0;
|
|
93
|
+
list-style: none;
|
|
94
|
+
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
overflow: auto;
|
|
98
|
+
|
|
99
|
+
position: relative;
|
|
100
|
+
|
|
101
|
+
&__element {
|
|
102
|
+
position: absolute;
|
|
103
|
+
width: 100%;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
</style>
|
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
:disabled="disabled"
|
|
11
11
|
@click="onClick"
|
|
12
12
|
>
|
|
13
|
-
<div class="bimdata-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
<div class="bimdata-radio__btn">
|
|
14
|
+
<div class="bimdata-radio__background" />
|
|
15
|
+
<div class="bimdata-radio__circle"></div>
|
|
16
|
+
<div class="bimdata-radio__dot"></div>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="bimdata-radio__text">
|
|
19
|
+
<slot>{{ text }}</slot>
|
|
20
|
+
</div>
|
|
17
21
|
</button>
|
|
18
22
|
</template>
|
|
19
23
|
|
|
@@ -14,10 +14,33 @@
|
|
|
14
14
|
align-items: center;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
|
|
17
|
+
&__btn {
|
|
18
|
+
position: relative;
|
|
19
|
+
width: 23px;
|
|
20
|
+
height: 23px;
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
&__text {
|
|
18
24
|
font-size: calculateEm(12px);
|
|
19
25
|
}
|
|
20
26
|
|
|
27
|
+
&__background {
|
|
28
|
+
cursor: inherit;
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
margin: 0;
|
|
33
|
+
width: 23px;
|
|
34
|
+
height: 23px;
|
|
35
|
+
border: none;
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
outline: none;
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: scale(1);
|
|
40
|
+
background-color: var(--color-granite);
|
|
41
|
+
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
|
42
|
+
}
|
|
43
|
+
|
|
21
44
|
&__circle,
|
|
22
45
|
&__dot {
|
|
23
46
|
content: '';
|
|
@@ -45,7 +68,25 @@
|
|
|
45
68
|
transform: translate(5px, 5px) scale(0);
|
|
46
69
|
}
|
|
47
70
|
|
|
71
|
+
&--checked {
|
|
72
|
+
.bimdata-radio__background {
|
|
73
|
+
background-color: var(--color-primary);
|
|
74
|
+
}
|
|
75
|
+
.bimdata-radio__circle {
|
|
76
|
+
border-color: var(--color-primary);
|
|
77
|
+
}
|
|
78
|
+
.bimdata-radio__dot {
|
|
79
|
+
background-color: var(--color-primary);
|
|
80
|
+
transform: translate(5px, 5px) scale(1);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
48
84
|
&--big {
|
|
85
|
+
.bimdata-radio__btn,
|
|
86
|
+
.bimdata-radio__background {
|
|
87
|
+
width: 30px;
|
|
88
|
+
height: 30px;
|
|
89
|
+
}
|
|
49
90
|
.bimdata-radio__circle {
|
|
50
91
|
width: 24px;
|
|
51
92
|
height: 24px;
|
|
@@ -58,38 +99,6 @@
|
|
|
58
99
|
top: 1px;
|
|
59
100
|
left: 1px;
|
|
60
101
|
}
|
|
61
|
-
.bimdata-radio__background {
|
|
62
|
-
width: 30px;
|
|
63
|
-
height: 30px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// custom INPUT : radio button background
|
|
68
|
-
&__background {
|
|
69
|
-
cursor: inherit;
|
|
70
|
-
margin: 0;
|
|
71
|
-
width: 23px;
|
|
72
|
-
height: 23px;
|
|
73
|
-
border: none;
|
|
74
|
-
border-radius: 50%;
|
|
75
|
-
outline: none;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
transform: scale(1);
|
|
78
|
-
background-color: var(--color-granite);
|
|
79
|
-
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&--checked {
|
|
83
|
-
.bimdata-radio__background {
|
|
84
|
-
background-color: var(--color-primary);
|
|
85
|
-
}
|
|
86
|
-
.bimdata-radio__circle {
|
|
87
|
-
border-color: var(--color-primary);
|
|
88
|
-
}
|
|
89
|
-
.bimdata-radio__dot {
|
|
90
|
-
background-color: var(--color-primary);
|
|
91
|
-
transform: translate(5px, 5px) scale(1);
|
|
92
|
-
}
|
|
93
102
|
}
|
|
94
103
|
|
|
95
104
|
&:hover:not(.disabled) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
class="bimdata-search-bar"
|
|
4
4
|
v-clickaway="away"
|
|
5
5
|
:style="{ width: width, height: height }"
|
|
6
|
-
:class="{ focus: focused, ...classes }"
|
|
6
|
+
:class="{ focus: focused, disabled, ...classes }"
|
|
7
7
|
>
|
|
8
8
|
<span class="bimdata-search-icon">
|
|
9
9
|
<BIMDataIconSearch size="xxs" />
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
:placeholder="placeholder"
|
|
19
19
|
@keyup.enter="$emit('enter', $event.target.value)"
|
|
20
20
|
:autocomplete="autocomplete ? 'on' : 'off'"
|
|
21
|
+
:disabled="disabled"
|
|
21
22
|
/>
|
|
22
23
|
<BIMDataButton
|
|
23
24
|
width="25px"
|
|
@@ -99,6 +100,10 @@ export default {
|
|
|
99
100
|
type: Boolean,
|
|
100
101
|
default: false,
|
|
101
102
|
},
|
|
103
|
+
disabled: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: false,
|
|
106
|
+
},
|
|
102
107
|
},
|
|
103
108
|
emits: ["update:modelValue", "enter", "clear"],
|
|
104
109
|
data() {
|