@alicloud/console-components-search 0.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/README.md +193 -0
- package/config/breezr.docs.config.ts +28 -0
- package/config/components-with-style.tsx +2 -0
- package/config/config.ts +14 -0
- package/config/demoOpts.ts +12 -0
- package/demos/demo1.demo.tsx +143 -0
- package/demos/demo2.demo.tsx +110 -0
- package/demos/demo3.demo.tsx +115 -0
- package/demos/demo4.demo.tsx +144 -0
- package/dist/index.css +1 -0
- package/dist/index.js +60 -0
- package/doc-dist/0.js +27 -0
- package/doc-dist/1.js +1928 -0
- package/doc-dist/10.js +6 -0
- package/doc-dist/11.js +6 -0
- package/doc-dist/12.js +6 -0
- package/doc-dist/13.js +6 -0
- package/doc-dist/14.js +6 -0
- package/doc-dist/15.js +6 -0
- package/doc-dist/16.js +6 -0
- package/doc-dist/17.js +6 -0
- package/doc-dist/18.js +6 -0
- package/doc-dist/19.js +6 -0
- package/doc-dist/20.js +6 -0
- package/doc-dist/3.js +104 -0
- package/doc-dist/4.js +6 -0
- package/doc-dist/5.js +13 -0
- package/doc-dist/6.css +1 -0
- package/doc-dist/6.js +6 -0
- package/doc-dist/6.os.css +1 -0
- package/doc-dist/7.js +6 -0
- package/doc-dist/8.js +6 -0
- package/doc-dist/9.js +6 -0
- package/doc-dist/console-fe-test-rc-search-doc.manifest.json +18 -0
- package/doc-dist/deps/console-fe-test-rc-search-doc-deps.manifest.json +18 -0
- package/doc-dist/deps/index.html +14 -0
- package/doc-dist/deps/main.css +1 -0
- package/doc-dist/deps/main.js +66 -0
- package/doc-dist/deps/main.os.css +1 -0
- package/doc-dist/index.css +1 -0
- package/doc-dist/index.html +14 -0
- package/doc-dist/index.js +19 -0
- package/doc-dist/index.os.css +1 -0
- package/doc-dist/log-deps-build.log +16 -0
- package/docs/markdown-render.doc.md +21 -0
- package/docs/test.doc.md +8 -0
- package/es/constants.js +6 -0
- package/es/index.js +7 -0
- package/es/modeSingleMulti/index.js +862 -0
- package/es/modeSingleSingle/index.js +213 -0
- package/es/provider/LoggerProvider.js +37 -0
- package/es/search.js +23 -0
- package/es/searchTagList/index.js +58 -0
- package/es/style.js +14 -0
- package/es/types/IRcSearchOptions.type.js +1 -0
- package/es/types/IRcSearchProps.type.js +1 -0
- package/es/types/IRcSearchTagItemProps.type.js +1 -0
- package/es/types/IRcSearchTagListProps.type.js +1 -0
- package/es/utils.js +149 -0
- package/lib/constants.d.ts +2 -0
- package/lib/constants.js +15 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +55 -0
- package/lib/modeSingleMulti/index.d.ts +4 -0
- package/lib/modeSingleMulti/index.js +883 -0
- package/lib/modeSingleSingle/index.d.ts +4 -0
- package/lib/modeSingleSingle/index.js +237 -0
- package/lib/provider/LoggerProvider.d.ts +8 -0
- package/lib/provider/LoggerProvider.js +47 -0
- package/lib/search.d.ts +4 -0
- package/lib/search.js +42 -0
- package/lib/searchTagList/index.d.ts +4 -0
- package/lib/searchTagList/index.js +75 -0
- package/lib/style.d.ts +5 -0
- package/lib/style.js +34 -0
- package/lib/types/IRcSearchOptions.type.d.ts +26 -0
- package/lib/types/IRcSearchOptions.type.js +5 -0
- package/lib/types/IRcSearchProps.type.d.ts +76 -0
- package/lib/types/IRcSearchProps.type.js +5 -0
- package/lib/types/IRcSearchTagItemProps.type.d.ts +23 -0
- package/lib/types/IRcSearchTagItemProps.type.js +5 -0
- package/lib/types/IRcSearchTagListProps.type.d.ts +32 -0
- package/lib/types/IRcSearchTagListProps.type.js +5 -0
- package/lib/utils.d.ts +14 -0
- package/lib/utils.js +177 -0
- package/package.json +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html .DemoContainer-___index-scoped__container___2J8VW{width:800px;max-width:100%;border:1px solid #e3e4e6;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}html .DemoContainer-___index-scoped__container___2J8VW.canFullScreen{width:1200px}html .DemoContainer-___index-scoped__container___2J8VW:hover{-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.16);-moz-box-shadow:0 2px 4px 0 rgba(0,0,0,.16);box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__title___1oo1m{height:40px;line-height:40px;font-family:PingFangSC-Medium;font-size:14px;color:#303030;letter-spacing:0;border-bottom:1px solid #dedede;padding-left:16px;margin:0}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__demo___17jE8{border-bottom:1px solid #dedede;width:100%;overflow-x:auto}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__demo___17jE8 .DemoContainer-___index-scoped__demoInner___1rt9f{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;min-width:100%;padding:32px 16px}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__describe___najBj{padding:12px 0 16px 12px;border-bottom:1px solid #dedede}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__describe___najBj p{font-size:12px;margin:0}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__operations___1YsVs{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:40px;color:#666;font-size:15px;opacity:.7}html .DemoContainer-___index-scoped__container___2J8VW .DemoContainer-___index-scoped__operations___1YsVs>.DemoContainer-___index-scoped__operation___1EAz9{width:16px;height:16px;cursor:pointer;margin-right:16px}html .DemoContainer-___index-scoped__codemirror___QVlTJ{border-top:1px solid #dedede}html .DemoContainer-___index-scoped__fullViewDialog___1_Bbc.DemoContainer-___index-scoped__fullViewDialog___1_Bbc{width:-webkit-calc(100% - 24px);width:-moz-calc(100% - 24px);width:calc(100% - 24px);height:-webkit-calc(100% - 24px);height:-moz-calc(100% - 24px);height:calc(100% - 24px);margin:12px}html .DemoContainer-___index-scoped__fullViewDialog___1_Bbc .rc-dialog-content{height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}html .DemoContainer-___index-scoped__fullViewDialog___1_Bbc .rc-dialog-content .rc-dialog-header{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}html .DemoContainer-___index-scoped__fullViewDialog___1_Bbc .rc-dialog-content .rc-dialog-body{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;overflow:auto}html .CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}html .CodeMirror-lines{padding:4px 0}html .CodeMirror pre.CodeMirror-line,html .CodeMirror pre.CodeMirror-line-like{padding:0 4px}html .CodeMirror-gutter-filler,html .CodeMirror-scrollbar-filler{background-color:#fff}html .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}html .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}html .CodeMirror-guttermarker{color:#000}html .CodeMirror-guttermarker-subtle{color:#999}html .CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}html .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}html .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}html .cm-fat-cursor div.CodeMirror-cursors{z-index:1}html .cm-fat-cursor .CodeMirror-line::selection,html .cm-fat-cursor .CodeMirror-line>span::selection,html .cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}html .cm-fat-cursor .CodeMirror-line::-moz-selection,html .cm-fat-cursor .CodeMirror-line>span::-moz-selection,html .cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}html .cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@-o-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}html .cm-tab{display:inline-block;text-decoration:inherit}html .CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}html .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}html .cm-s-default .cm-header{color:#00f}html .cm-s-default .cm-quote{color:#090}html .cm-negative{color:#d44}html .cm-positive{color:#292}html .cm-header,html .cm-strong{font-weight:700}html .cm-em{font-style:italic}html .cm-link{text-decoration:underline}html .cm-strikethrough{text-decoration:line-through}html .cm-s-default .cm-keyword{color:#708}html .cm-s-default .cm-atom{color:#219}html .cm-s-default .cm-number{color:#164}html .cm-s-default .cm-def{color:#00f}html .cm-s-default .cm-variable-2{color:#05a}html .cm-s-default .cm-type,html .cm-s-default .cm-variable-3{color:#085}html .cm-s-default .cm-comment{color:#a50}html .cm-s-default .cm-string{color:#a11}html .cm-s-default .cm-string-2{color:#f50}html .cm-s-default .cm-meta,html .cm-s-default .cm-qualifier{color:#555}html .cm-s-default .cm-builtin{color:#30a}html .cm-s-default .cm-bracket{color:#997}html .cm-s-default .cm-tag{color:#170}html .cm-s-default .cm-attribute{color:#00c}html .cm-s-default .cm-hr{color:#999}html .cm-s-default .cm-link{color:#00c}html .cm-invalidchar,html .cm-s-default .cm-error{color:red}html .CodeMirror-composing{border-bottom:2px solid}html div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}html div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}html .CodeMirror-matchingtag{background:rgba(255,150,0,.3)}html .CodeMirror-activeline-background{background:#e8f2ff}html .CodeMirror{position:relative;overflow:hidden;background:#fff}html .CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}html .CodeMirror-sizer{position:relative;border-right:50px solid transparent}html .CodeMirror-gutter-filler,html .CodeMirror-hscrollbar,html .CodeMirror-scrollbar-filler,html .CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}html .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}html .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}html .CodeMirror-scrollbar-filler{right:0;bottom:0}html .CodeMirror-gutter-filler{left:0;bottom:0}html .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}html .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}html .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}html .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}html .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}html .CodeMirror-gutter-wrapper ::selection{background-color:transparent}html .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}html .CodeMirror-lines{cursor:text;min-height:1px}html .CodeMirror pre.CodeMirror-line,html .CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;-moz-font-variant-ligatures:contextual;font-variant-ligatures:contextual}html .CodeMirror-wrap pre.CodeMirror-line,html .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}html .CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}html .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}html .CodeMirror-rtl pre{direction:rtl}html .CodeMirror-code{outline:none}html .CodeMirror-gutter,html .CodeMirror-gutters,html .CodeMirror-linenumber,html .CodeMirror-scroll,html .CodeMirror-sizer{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}html .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}html .CodeMirror-cursor{position:absolute;pointer-events:none}html .CodeMirror-measure pre{position:static}html div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}html .CodeMirror-focused div.CodeMirror-cursors,html div.CodeMirror-dragcursors{visibility:visible}html .CodeMirror-selected{background:#d9d9d9}html .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}html .CodeMirror-crosshair{cursor:crosshair}html .CodeMirror-line::selection,html .CodeMirror-line>span::selection,html .CodeMirror-line>span>span::selection{background:#d7d4f0}html .CodeMirror-line::-moz-selection,html .CodeMirror-line>span::-moz-selection,html .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}html .cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}html .cm-force-border{padding-right:.1px}@media print{html .CodeMirror div.CodeMirror-cursors{visibility:hidden}}html .cm-tab-wrap-hack:after{content:""}html span.CodeMirror-selectedtext{background:none}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
开始构建微应用external依赖...
|
|
2
|
+
BreezrPluginStyledComponentsIsolation The plugin will trying to use the package's name as isolation id of styled-components. This behavior usually occurred on dev mode. And if you were received this warning on publish mode then you should to set `options.styledComponentStyleSheetId` implicitly.
|
|
3
|
+
ℹ Compiling Webpack
|
|
4
|
+
✔ Webpack: Compiled successfully in 13.03s
|
|
5
|
+
WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
6
|
+
This can impact web performance.
|
|
7
|
+
Assets:
|
|
8
|
+
main.js (2.3 MiB),entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
9
|
+
Entrypoints:
|
|
10
|
+
main (2.3 MiB)
|
|
11
|
+
main.css
|
|
12
|
+
main.js
|
|
13
|
+
,webpack performance recommendations:
|
|
14
|
+
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
|
|
15
|
+
For more info visit https://webpack.js.org/guides/code-splitting/
|
|
16
|
+
成功构建微应用external依赖
|
package/docs/test.doc.md
ADDED
package/es/constants.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var baseClassName = 'rc-search';
|
|
2
|
+
export var baseTagListClassName = "".concat(baseClassName, "-taglist"); // export const titleClassName = `${baseClassName}-title`
|
|
3
|
+
// export const titleContainerClassName = `${titleClassName}-container`
|
|
4
|
+
// export const titleExtraClassName = `${titleClassName}-extra`
|
|
5
|
+
// export const titleChildrenClassName = `${titleClassName}-children`
|
|
6
|
+
// export const contentClassName = `${baseClassName}-content`
|
package/es/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Search } from "./search";
|
|
2
|
+
import SearchTagList from "./searchTagList";
|
|
3
|
+
import { IRcSearchProps } from "./types/IRcSearchProps.type";
|
|
4
|
+
import { IRcSearchTagListProps } from "./types/IRcSearchTagListProps.type";
|
|
5
|
+
import { IRcSearchTagItemProps } from './types/IRcSearchTagItemProps.type';
|
|
6
|
+
import { IRcSearchOptionsProps } from './types/IRcSearchOptions.type';
|
|
7
|
+
export { Search, SearchTagList, IRcSearchProps, IRcSearchTagListProps, IRcSearchOptionsProps, IRcSearchTagItemProps };
|