MCPcopy Index your code
hub / github.com/aoju/hibiscus.js

github.com/aoju/hibiscus.js @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,883 symbols 3,212 edges 419 files 37 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<a target="_blank" href="https://www.mit-license.org">
    <img src="https://img.shields.io/badge/license-MIT-green.svg">
</a>
<a target="_blank" href="https://nodejs.org">
    <img src="https://img.shields.io/badge/node-%3E=8.0.0-brightgreen.svg">
</a>
<a target="_blank" href="https://www.npmjs.com">
    <img src="https://img.shields.io/badge/npm-%3E=7.0.0-green.svg">
</a>
    <a target="_blank" href="https://eslint.org">
    <img src="https://img.shields.io/badge/eslint-%5E3.0.0-blue.svg">
</a>
<a target="_blank" href="https://travis-ci.org/aoju/hibiscus.js">
    <img src="https://travis-ci.org/aoju/hibiscus.js.svg?branch=master">
</a>







-- QQ群①:<a href="https://shang.qq.com/wpa/qunwpa?idkey=17fadd02891457034c6536c984f0d7db29b73ea14c9b86bba39ce18ed7a90e18">839128</a> --
-- QQ群②:<a href="https://shang.qq.com/wpa/qunwpa?idkey=c207666cbc107d03d368bde8fc15605bb883ebc482e28d440de149e3e2217460">839120</a> --

Getting started

Native Angular directives for Bootstrap4

  • Angular (requires Angular version 4.0.0 or higher)
  • Bootstrap CSS (bootstrap-sass 4.0.0)
  • DateFns (date-fns 1.27.2 or higher. It is for DatePicker parse & format date)

Notice: OnPush @Input is recommended in @hibiscus.js, so use Immutable.js will be easy.

  • Angular 4: version <= 0.0.23; Angular 5: version >= 0.1.0 Angular 6: version >= 0.1.0

Components

  • [x] Accordion
  • [x] Action button
  • [x] Alert Confirm
  • [x] Badge
  • [x] Breadcrumbs
  • [ ] Calendar
  • [x] Carousel
  • [x] Cascader
  • [x] Checkbox Group
  • [x] DatePicker
  • [x] Dialog
  • [ ] Echarts
  • [x] File Upload
  • [x] Flow Steps
  • [x] http
  • [x] Image Cropper
  • [x] Image Upload
  • [x] Infinite Scroll
  • [x] Modal
  • [x] Message
  • [x] Notify
  • [x] Notification
  • [x] OAuth2
  • [x] Overlay
  • [x] Pager
  • [x] Pagination
  • [x] Popconfirm
  • [x] Popover
  • [x] Progress Bar
  • [x] Radio Group
  • [x] Rating
  • [x] Select
  • [x] Select Button
  • [x] Storage
  • [x] Switch
  • [x] Spin
  • [x] Tabs
  • [x] Tags
  • [x] TimePicker
  • [x] Tooltip
  • [x] Tree View
  • [x] Validators

Installation

After installing the above dependencies, install @hibiscus.js via:

npm install --save hibiscus.js

Once installed you need to import our main module.

import { HiNGModule } from 'hibiscus.js';

Then use HiNGModule to declare on your root module:

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    HiNGModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

And use HiNGModule to declare on your feature module:

@NgModule({
  imports: [CommonModule, FormsModule, HiNGModule],
  exports: [DatePickerDemoComponent],
  declarations: [DatePickerDemoComponent],
  providers: [],
})
export class DatePickerDemoModule {}

Animations

@hibiscus.js have got animations done. So You should include BrowserAnimationsModule or NoopAnimationsModule to your AppModule.

example:

import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    SharedModule,
    HiNGModule,
    BrowserAnimationsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

Contributors

Kemosabe | Chenalan :---: |:---: | Kemosabe |Chenalan

Extension points exported contracts — how you extend this code

IStorage (Interface)
(no doc) [5 implementers]
src/app/exports/storage/storage.service.ts
SystemJS (Interface)
(no doc)
src/typings.d.ts
Modal (Interface)
(no doc) [5 implementers]
src/app/exports/modal/modal.model.ts
GlobalEnvironment (Interface)
(no doc)
src/typings.d.ts
IDataCacheStrategy (Interface)
(no doc) [4 implementers]
src/app/exports/storage/storage.service.ts
Es6PromiseLoader (Interface)
(no doc)
src/typings.d.ts
DateConverter (Interface)
(no doc) [2 implementers]
src/app/exports/utils/date-converter.ts
WebpackModule (Interface)
(no doc)
src/typings.d.ts

Core symbols most depended-on inside this repo

borrow
called by 52
src/app/exports/image-cropper/model/point.ts
setStyle
called by 31
src/app/exports/image-cropper/image-cropper.utils.ts
log
called by 28
src/app/exports/image-cropper/exif.ts
log
called by 26
src/app/widget/demo/accordion/accordion-demo.component.ts
toString
called by 21
src/app/exports/time-picker/time-picker.component.ts
get
called by 20
src/app/exports/storage/storage.service.ts
isPresent
called by 19
src/app/exports/validators/validators.ts
parse
called by 17
src/app/exports/utils/date-converter.ts

Shape

Method 1,105
Class 630
Function 93
Interface 51
Enum 4

Languages

TypeScript100%

Modules by API surface

src/app/exports/cascader/cascader.component.ts94 symbols
src/app/exports/validators/validators.directive.ts64 symbols
src/app/exports/storage/storage.service.ts64 symbols
src/app/exports/image-cropper/image-cropper.utils.ts48 symbols
src/app/exports/select/select.component.ts40 symbols
src/app/exports/http/http.service.ts32 symbols
src/app/exports/image-cropper/exif.ts28 symbols
src/app/exports/time-picker/time-picker.component.ts27 symbols
src/app/exports/auto-complete/auto-complete.directive.ts27 symbols
src/app/exports/select/option-container.component.ts26 symbols
src/app/exports/input/input-group.component.ts26 symbols
src/app/exports/date-picker/date-picker-popup.component.ts26 symbols

For agents

$ claude mcp add hibiscus.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact